joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4912e6
Capabilities:
Packed with generic packer

Disassembly:
xchg esp, eax
adc byte [eax], al
adc byte [eax], al
add byte [eax], al
xchg esp, eax
adc byte [eax], al
adc al, 0
add byte [eax], al
xchg esp, eax
adc byte [eax], al
and al, 0
add byte [eax], al
xchg esp, eax
adc byte [eax], al
sub byte [eax], al
add byte [eax], al
xchg esp, eax
adc byte [eax], al
dec eax
add byte [eax], al
add byte [ebx], dl
push esp
dec ecx
inc ebp
outsb dx, byte [esi]
je 0x49137f
je 0x491391
dec eax
popal
jb 0x491368
outsb dx, byte [esi]
outsw dx, word [esi]
mov eax, eax
sub byte [ebx], dl
dec ecx
add byte [edi], al
adc edx, dword [ecx + ecx*2 + 0x64]
inc ebp
outsb dx, byte [esi]

Function at 0x49133d
Capabilities:
Packed with generic packer

Disassembly:
mov al, 0x12
dec ecx
add byte [eax + 0x7a], bh
inc ecx
add byte [esi], cl
add byte [eax], dl
dec ecx
dec eax
push esp
push esp
push eax
dec eax
popal
jb 0x49139e
outsb dx, byte [esi]
outsw dx, word [esi]
push cs
add byte [eax + edx + 0x40040], dl
add bh, bh
add al, 0
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add byte [eax], al
or al, 0x43
popal
arpl word [eax + 0x65], bp
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x4913f1
outsd dx, dword [esi]
insb byte es:[edi], dx
xchg esp, eax
adc byte [eax], al
or al, 0
add bh, bh
or al, 0
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add dword [eax], eax
or al, byte [ebx + 0x6f]
outsb dx, byte [esi]
outsb dx, byte [esi]
arpl word gs:[ecx + ebp*2 + 0x6f], si
outsb dx, byte [esi]
xchg esp, eax
adc byte [eax], al
adc byte [eax], al
add bh, bh
adc byte [eax], al
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add byte [eax], 0
add byte [eax + 0x430f0002], al
outsd dx, dword [esi]
outsb dx, byte [esi]
je fcn.0049142b
outsb dx, byte [esi]
je 0x49140e
outsb dx, byte [esi]
arpl word [edi + 0x64], bp
add byte [eax], al
add byte [eax + 0x430d0004], al
outsd dx, dword [esi]

Function at 0x4913cd
Capabilities:
Packed with generic packer

Disassembly:
imul ebp, dword [esi + 0x67], 0x401094
adc al, 0
add bh, bh
adc al, 0
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
Function at 0x4913e2
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax - 0x80000000], al
add eax, dword [eax]
add byte [edi], cl
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x491455
outsb dx, byte [esi]
je 0x49143f
popal
outsb dx, byte [esi]
jne 0x491459
cmp al, 0x10
inc eax
add byte [eax], bl
add byte [eax], al
jmp dword [eax + 0x2f]
outsb dx, byte [esi]
je 0x4914a7
outsb dx, byte [esi]
je 0x491497
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax], al
add byte [esi], 0
invalid
inc ebx
outsb dx, byte gs:[esi]
je 0x4914ef
jns 0x49150d
xchg esp, eax
adc byte [eax], al
sub byte [eax], al
add bh, bh
sub byte [eax], al
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
or byte [eax], al
push cs
inc ebx
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x430e0008], al
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x491523
outsb dx, byte [esi]
je 0x491517
adc al, 0x12
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x4507000b], al
inc ebp
add byte [eax], al
or byte [ebx], 0
pop es
js 0x49159c
imul esi, dword [edx + 0x65], 0x40121473
add byte [eax], al
add bh, bh
inc eax
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x4c0c000c], al
sbb al, 0

Function at 0x491417
Capabilities:
Packed with generic packer

Disassembly:
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add al, 0
or eax, 0x746e6f43
outsb dx, byte [esi]
je 0x49147f
outsb dx, byte [esi]

Function at 0x491445
Capabilities:
Packed with generic packer

Disassembly:
popal
outsb dx, byte [esi]
inc ebp
outsb dx, byte [esi]
jl 0x49145e
inc eax
add byte [eax], ah
add byte [eax], al
jmp dword [eax]
add byte [eax - 0x80000000], al
push es
add byte [ecx], dl
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x4914d1
outsb dx, byte [esi]
je fcn.004914c1
popal
outsb dx, byte [esi]
push ebx
je 0x4914d7
jb 0x4914ec
xchg esp, eax
adc byte [eax], al
and al, 0
add bh, bh
and al, 0
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
pop es
add byte [ebx], cl
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
add byte [eax], al
add byte [eax - 0x80000000], al
or dword [eax], eax
or eax, 0x74737543
outsd dx, dword [esi]
jb 0x491562
Function at 0x49157a
Capabilities:
Packed with generic packer

Disassembly:
dec ecx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, dl
adc eax, 0x16100049

Function at 0x4915b4
Capabilities:
Packed with generic packer

Disassembly:
inc eax
add byte [ebp + esi + 0x40], dl
add byte [eax + 0x35], bl
inc eax
add byte [ebp + esi + 0x40], bl
add byte [eax + 0x35], dl
push eax
xor eax, 0x32980040
inc eax
add byte [edx + esi + 0x23040040], dh
dec ecx

Function at 0x491643
Capabilities:
Packed with generic packer

Disassembly:
add eax, 0x40100000
add byte [eax], bl
add byte [eax], al
call [eax]
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x42130000], al
adc eax, dword [edx + 0x61]
jae 0x4916cd
arpl word [ecx + 0x75], ax
je 0x4916d1
outsb dx, byte gs:[esi]
je 0x4916d6
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add eax, dword [eax]
add byte [ebx], 0
or edx, dword [eax + 0x72]
outsd dx, dword [esi]
js 0x491758
push ebx

Function at 0x49166d
Capabilities:
Packed with generic packer

Disassembly:
arpl word [ecx + 0x74], sp
imul ebp, dword [edi + 0x6e], 0x401094

Function at 0x491691
Capabilities:
Packed with generic packer

Disassembly:
add bh, bh
or byte [eax], al
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
add dword [eax], eax
or eax, 0x786f7250
js 0x49170c
push eax
jb 0x49167a

Function at 0x4916bf
Capabilities:
Packed with generic packer

Disassembly:
xchg esp, eax
adc byte [eax], al
adc byte [eax], al
add bh, bh
call 0x1526abc
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x500b0003], al
jb 0x49174c
push eax
xor eax, 0x32980040
inc eax
add byte [edx + esi + 0x1bf00040], dh
dec ecx
add byte [eax + 0x27], bh
dec ecx
add byte [eax - 0x63ffbe57], cl
test al, 0x41
add byte [0x28940049], dl
dec ecx
add byte [eax], bl
sub byte [ecx], cl
mov byte [ebx], bl
dec ecx
add byte [esi], cl

Function at 0x4916e0
Capabilities:
Packed with generic packer

Disassembly:
dec dword [eax]
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
jb 0x491759
jb 0x49167a
adc byte [eax], al
adc al, 0
add bh, bh
adc al, 0
add bh, bh
add dword [eax], eax
add byte [eax], al
add byte [eax], al
Function at 0x492be3
Capabilities:
Packed with generic packer

Disassembly:
add byte [ebp + 0x73], dl
jb 0x492c16
inc ecx
outsb dx, byte gs:[si]
je 0x492bef
add byte [eax], al
add byte [eax], al
add bh, bh
invalid
add byte [eax], al
bound edi, qword [ecx + 0x74]
jae 0x492c5b
add byte [eax], al
add byte [ebp + 0x73], dl
jb 0x492ccf
popal
insd dword es:[edi], dx
add byte gs:[eax], al
add byte [eax], al
nop
push ebx
push esi
call fcn.004957a3
sub al, byte [eax]
add byte [ebx - 0x720f7426], cl
inc esi
pushal

Function at 0x495474
Capabilities:
Access peb ldr_data

Disassembly:
rcl byte [ebp + 0x68], 0x5d
push ebp
dec ecx
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
mov eax, dword [0x4affa0]
call 0x4c48ef
xor eax, eax
push ebp
push 0x495533
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call 0x528b2c
mov ebx, eax
lea eax, [ebp - 4]
cld

Function at 0x498422
Capabilities:
Encode data using xor

Disassembly:
add cl, byte [eax]
pop es
inc ecx
push ebx
outsb dx, byte gs:[esi]
jb 0x498434
push esp
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + ecx + 0x11], si
or byte [ecx], dl
inc ecx
inc ebx
outsd dx, dword [esi]
outsd dx, dword [esi]
imul ebp, dword [ecx + 0x65], 0x43
outsd dx, dword [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
arpl word gs:[ecx + ebp*2 + 0x6f], si
outsb dx, byte [esi]
or dl, byte [ecx + ecx*2 + 0x64]
inc ebx
outsd dx, dword [esi]
outsd dx, dword [esi]
imul ebp, dword [ecx + 0x65], 0x73
add byte [ecx + edx], dl
inc eax
add byte [ecx + esi*2], ah
dec ecx
add byte [eax + 0x4984a8], dl
add byte [eax], al

Function at 0x498c62
Capabilities:
Access peb ldr_data

Disassembly:
inc ecx
add byte [eax], bh
lea ecx, [ecx]
adc eax, 0x41644954
jne 0x498ce3
push 0x69746e65
arpl word [ecx + 0x74], sp
imul ebp, dword [edi + 0x6e], 0x6d657449
mov eax, eax
test byte [ecx + ecx*2 + 0x54150700], cl
dec ecx
inc ecx
jne 0x498d00
add byte [edi + edi*8 + 0x32], ah
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call 0x530db2
mov ebx, eax
lea edx, [ebp - 4]
invalid

Function at 0x4a296c
Capabilities:
Packed with generic packer

Disassembly:
jb 0x4a29d1
pop esp
push esp
outsb dx, byte [esi]
je 0x4a29b7
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x4a29ea
outsd dx, dword [esi]
insb byte es:[edi], dx
jae 0x4a29aa
jo 0x4a29df
jae 0x4a2980
add byte [eax], al
mov edx, 0x4a29e0
lodsb al, byte [esi]
xor al, 0
add byte [esi - 0x75], ah
inc ebx
push es
cmp word [ebx + 4], 0xff
jne 0x4a29d0
mov word [ebx + 4], ax
mov word [ebx + 6], 0
pop ebx
ret
mov dword [ebx + 6], 0xc35b0000
add byte [ebx + 0x3a], al
pop esp
push eax
jb 0x4a2a55
jb 0x4a2a4a
insd dword es:[edi], dx
and byte [esi + 0x69], al
insb byte es:[edi], dx
jae 0x4a2a4d
push esp
outsb dx, byte [esi]
je 0x4a2a4c
popal
jb 0x4a2a5d
pop esp
inc esp
insb byte es:[edi], dx
jo 0x4a2a66
imul esp, dword [eax], 0x63696e55
outsd dx, dword [esi]
and byte gs:[ebx + 0x6f], al
outsb dx, byte [esi]
je 0x4a2a7f
outsd dx, dword [esi]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
dec edx
Function at 0x436180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
or ebp, 0xffffffff
jmp 0x4361a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4361a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x436198
mov eax, 1
add ebx, ebx
jne 0x4361bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4361b0
jne 0x4361cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4361b0
xor ecx, ecx
sub eax, 3
jb 0x4361e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x436252
mov ebp, eax
add ebx, ebx
jne 0x4361eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4361f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43621c
inc ecx
add ebx, ebx
jne 0x436208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4361fd
jne 0x436219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4361fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43623c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43622d
jmp 0x43619e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43623c
add edi, ecx
jmp 0x43619e
pop esi
mov edi, esi
mov ecx, 0x11fb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43625a
cmp byte [edi], 0x13
jne 0x43625a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43625f
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x4362d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36a48]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36ac0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43628c
mov ecx, edi
jns 0x4362bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36ac4]
or eax, eax
je 0x4362d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4362a9
call dword [esi + 0x36ac8]
popal
jmp 0x419405
Function at 0x401e10
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x4042d8
call fcn.00401f7c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x405478
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x401bd1
cmp eax, esi
jne 0x401bc4
xor esi, esi
inc esi
mov ebx, esi
jmp 0x401bd4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401bab
xor esi, esi
inc esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401be7
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401c16
mov eax, dword [0x405474]
test eax, eax
jne 0x401c10
mov dword [0x405474], esi
push 0x4030e4
push 0x4030d8
call fcn.00401b1a
pop ecx
pop ecx
test eax, eax
je 0x401c16
jmp 0x401d3e
mov dword [0x40513c], esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401c3a
push 0x4030d4
push 0x4030cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405474], 2
test ebx, ebx
jne 0x401c46
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40547c], 0
je 0x401c6a
push 0x40547c
call fcn.00401f04
pop ecx
test eax, eax
je 0x401c6a
push 0
push 2
push 0
call dword [0x40547c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401cc6
test al, al
je 0x401c84
cmp dword [ebp - 0x1c], 0
jne 0x401cc6
mov al, byte [esi]
test al, al
je 0x401c94
cmp al, 0x20
ja 0x401c94
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401c84
test byte [ebp - 0x3c], 1
je 0x401ca0
movzx eax, word [ebp - 0x38]
jmp 0x401ca3
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x405138], eax
cmp dword [0x40512c], 0
jne 0x401d1a
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x401cd5
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401ce8
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401c71
cmp dword [0x40513c], 0
jne 0x401d29
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x405138]
jmp 0x401d4a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401fc1
ret
call fcn.004020ab
jmp 0x401b71

Function at 0x100018c0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push 0x100030e8
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [esp + 8], 1
jne 0x100018f8
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.100010a0
test eax, eax
jne 0x100018f8
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
Function at 0x401240
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x190
push 0xfe
push 0x445e80
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x19c]
push ecx
call fcn.00404d60
add esp, 4
test al, al
jne 0x40127a
xor eax, eax
add esp, 0x190
ret 0x10
lea edx, [esp]
push esi
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0x4257d0
call dword [sym.imp.dhnetsdk.dll_Ordinal_1]
push 0
push 0x4257d0
call dword [sym.imp.dhnetsdk.dll_Ordinal_127]
push 0
push 0x401040
call dword [sym.imp.dhnetsdk.dll_Ordinal_7]
push 0
push 0x1388
call dword [sym.imp.dhnetsdk.dll_Ordinal_3]
push 0x5960
call fcn.0040bba2
add esp, 4
test eax, eax
je 0x401374
mov ecx, eax
call fcn.00401680
mov esi, eax
test esi, esi
je 0x401374
mov ecx, 0x445d58
call fcn.00414f20
mov ecx, 0x445d58
mov dword [0x445d74], esi
call fcn.00414f30
mov cx, word [0x43817c]
mov eax, dword [esi]
push str.admin
push 0x4380b4
push ecx
push str.192.168.8.213
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x401347
mov al, byte [0x445f88]
test al, al
jne 0x401347
mov ecx, esi
call fcn.00401a50
push 0x3e8
call fcn.00415680
mov al, byte [0x445f88]
add esp, 4
test al, al
je 0x40132a
mov ecx, 0x445d58
call fcn.00414f20
mov ecx, 0x445d58
mov dword [0x445d74], 0
call fcn.00414f30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x7c]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
call dword [sym.imp.dhnetsdk.dll_Ordinal_2]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
pop esi
add esp, 0x190
ret 0x10

Function at 0x4067b1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x264]
mov ecx, ebx
call fcn.00416160
test al, al
jne 0x40689a
push edi
cmp dword [esi + 0x194], 2
jne 0x406880
mov eax, dword [esi + 0x158]
lea ecx, [esi + 0x158]
call dword [eax + 0x10]
mov edi, eax
test edi, edi
je 0x406812
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0x698], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
lea edx, [edi + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00406dd0
push edi
call fcn.0040b650
jmp 0x406819
push 1
call fcn.00415680
add esp, 4
mov ecx, esi
call fcn.00408cc0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [esi + 0x210]
test ecx, ecx
jne 0x40683a
mov dword [esi + 0x210], eax
jmp 0x406853
mov edx, eax
sub edx, ecx
cmp edx, 0x2710
jbe 0x406853
mov ecx, esi
mov dword [esi + 0x210], eax
call fcn.00406190
mov ecx, esi
call fcn.00406930
test al, al
je 0x40688a
push 0x4383a8
mov ecx, esi
call fcn.00409be0
lea ecx, [esi + 0x198]
call fcn.00415080
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x30]
jmp 0x40688a
push 0x64
call fcn.00415680
add esp, 4
mov ecx, ebx
call fcn.00416160
test al, al
je 0x4067ca
pop edi
pop esi
pop ebx
ret
Function at 0x4150a0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0xffffffff
je 0x4150ae
mov al, 1
pop esi
ret 4
mov eax, dword [esp + 8]
push 0
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi], eax
setne al
pop esi
ret 4

Function at 0x4151d0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov ecx, dword [esi]
push eax
mov edi, 1
push 0x8004667e
push ecx
mov dword [esp + 0x18], edi
call ebx
mov edx, dword [esp + 0x120]
mov eax, dword [esi]
push 0x10
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ecx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x20]
mov edx, dword [esp + 0x124]
mov dword [esp + 0x14], eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
push ecx
push 0
push 2
mov dword [esp + 0x24], edx
call dword [sym.imp.WS2_32.dll_select]
lea edx, [esp + 0xc]
mov edi, eax
mov eax, dword [esi]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x18], 0
call ebx
test edi, edi
pop edi
pop esi
setg al
pop ebx
add esp, 0x110
ret 8

Function at 0x4152a0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x4152bc
or eax, eax
pop esi
add esp, 0x10c
ret 0xc
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x120]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push 0
push edx
push 0
push 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop edi
jg 0x415310
xor eax, eax
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
pop esi
add esp, 0x10c
ret 0xc

Function at 0x415370
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x415412
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x120]
lea ecx, [esp + 8]
push ecx
push 0
lea edx, [esp + 0x18]
push 0
push edx
push 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop edi
jg 0x4153d8
xor eax, eax
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x415410
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
pop esi
neg eax
sbb eax, eax
add esp, 0x10c
ret 0xc
jne 0x415415
or eax, 0xffffffff
pop esi
add esp, 0x10c
ret 0xc
Function at 0x415420
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x41543c
or eax, eax
pop esi
add esp, 0x10c
ret 0xc
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x128]
push 0
push edx
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop edi
jg 0x41548c
xor eax, eax
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x4154c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
pop esi
neg eax
sbb eax, eax
and al, 0xfe
add esp, 0x10c
ret 0xc
jne 0x4154cd
mov eax, 0xfffffffd
pop esi
add esp, 0x10c
ret 0xc

Function at 0x415426
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi]
cmp eax, 0xffffffff
jne 0x41543c
or eax, eax
pop esi
add esp, 0x10c
ret 0xc
push edi
mov dword [esp + 0x14], eax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x128]
push 0
push edx
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
pop edi
jg 0x41548c
xor eax, eax
pop esi
add esp, 0x10c
ret 0xc
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov edx, dword [esi]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x4154c6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
pop esi
neg eax
sbb eax, eax
and al, 0xfe
add esp, 0x10c
ret 0xc
jne 0x4154cd
mov eax, 0xfffffffd
pop esi
add esp, 0x10c
ret 0xc

Function at 0x4154e0
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4154f8
xor al, al
add esp, 0x20
ret
mov ecx, dword [eax + 0xc]
push esi
push edi
push 0
mov esi, dword [ecx]
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xa], ax
mov edx, dword [esi]
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x10], edx
call fcn.00414fb0
lea ecx, [esp + 0x18]
call fcn.00415040
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov al, 1
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x20
ret