joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push 0x578
lea ecx, [esp + 0xc]
call fcn.00401090
mov ecx, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
call fcn.0040b920
push eax
push str.Player_information_request_from__s._n
push 0x47e730
call fcn.0041a310
add esp, 0xc
mov ecx, 0x499158
call fcn.0041c390
test eax, eax
lea ecx, [esp + 8]
jne 0x4106ee
mov dword [esp + 0x30], 0xffffffff
call fcn.00401080
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
push edi
push 0xffffffffffffffff
call fcn.00401770
push 0x44
lea ecx, [esp + 0x10]
call fcn.00401750
mov ecx, 0x499158
call fcn.0041c370
push eax
lea ecx, [esp + 0x10]
call fcn.00401750
mov eax, dword [0x499178]
xor edi, edi
cmp eax, ebx
jle 0x41076f
push esi
mov esi, 0x49997c
mov eax, dword [esi + 0x138]
test eax, eax
je 0x41075e
inc edi
lea ecx, [esp + 0x10]
push edi
call fcn.00401750
push esi
lea ecx, [esp + 0x14]
call fcn.004017b0
push 0
lea ecx, [esp + 0x14]
call fcn.00401770
push 0x3f800000
lea ecx, [esp + 0x14]
call fcn.00401780
mov eax, dword [0x499178]
inc ebx
add esi, 0x254
cmp ebx, eax
jl 0x410726
pop esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004018e0
push eax
lea ecx, [ebp + 0xd928]
call fcn.0040dc20
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0xffffffff
call fcn.00401080
mov ecx, dword [esp + 0x2c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x4107c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x434f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
push 0x578
lea ecx, [esp + 0xc]
call fcn.00401090
mov edi, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov ecx, edi
call fcn.0040b920
push eax
push str.Rules_information_request_from__s._n
push 0x47e730
call fcn.0041a310
add esp, 0xc
mov ecx, 0x499158
call fcn.0041c390
test eax, eax
lea ecx, [esp + 8]
je 0x4108f1
push 0xffffffffffffffff
call fcn.00401770
push 0x45
lea ecx, [esp + 0xc]
call fcn.00401750
push 3
lea ecx, [esp + 0xc]
call fcn.00401760
push str.GameServer
lea ecx, [esp + 0xc]
call fcn.004017b0
mov ecx, 0x461e78
call fcn.00417b40
test eax, eax
je 0x41086b
mov ecx, 0x478ac8
call fcn.004071d0
jmp 0x410875
mov ecx, 0x517b58
call fcn.0040b920
lea ecx, [esp + 8]
push eax
call fcn.004017b0
push str.Info
lea ecx, [esp + 0xc]
call fcn.004017b0
push 0x45e83c
lea ecx, [esp + 0xc]
call fcn.004017b0
push str.HLTVProxy
lea ecx, [esp + 0xc]
call fcn.004017b0
mov ecx, 0x450ff8
call fcn.00412450
neg eax
sbb eax, eax
add eax, 2
push eax
push 0x43c544
call fcn.004135d0
add esp, 8
lea ecx, [esp + 8]
push eax
call fcn.004017b0
mov eax, dword [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.004018e0
push eax
lea ecx, [esi + 0xd928]
call fcn.0040dc20
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401080
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x412ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
push 0x90
lea ecx, [esp + 0xc]
call fcn.00401090
mov eax, dword [esp + 0x3c]
lea edi, [esi + 0xd8b8]
push 0x4f
push eax
push edi
mov dword [esp + 0x3c], 0
call fcn.00413210
push edi
mov byte [esi + 0xd907], 0
call fcn.00413ad0
add esp, 0x10
lea ecx, [esp + 8]
lea edx, [esi + 0xd894]
push ecx
push edx
mov ecx, esi
call fcn.00412650
push 1
push 0xf
lea ecx, [esp + 0x10]
call fcn.004018e0
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00410e50
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00401080
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x4187a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4352c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0x80
lea ecx, [esp + 0x14]
call fcn.00401090
push 0x20
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call fcn.004015d0
push 0x49
lea ecx, [esp + 0x14]
call fcn.00401750
push 0
lea ecx, [esp + 0x14]
call fcn.00401750
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.00401760
mov eax, dword [0x45e808]
test eax, eax
je 0x41882d
push 1
lea ecx, [esp + 0x14]
call fcn.00401750
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.00418980
jmp 0x418884
mov ecx, 0x450ff8
call fcn.00412460
push eax
lea ecx, [esp + 0x14]
call fcn.00401750
mov ecx, 0x449ed8
call fcn.0040f370
mov ecx, 0x461e90
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.0040d3e0
fcomp dword [0x45e00c]
fnstsw ax
and eax, 0x4100
jne 0x41887a
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
jmp 0x418884
mov edx, dword [0x451000]
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.00401770
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401770
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push edx
call fcn.00401760
mov eax, dword [esp + 0x18]
add esi, 0x13c
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004018e0
push eax
mov ecx, 0x45e920
call fcn.0040dc20
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00401080
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x418f70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push 0x3f
push ecx
lea edx, [esi + 0x33d8]
mov dword [esi + 0x3420], 1
push edx
mov dword [esi + 0x339c], eax
call fcn.00413210
mov eax, dword [esp + 0x30]
add esp, 0xc
xor ebx, ebx
lea ecx, [esi + 0x2090]
push eax
mov byte [esi + 0x3417], bl
mov dword [esi + 0x3448], ebx
mov dword [esi + 0x344c], ebx
call fcn.004043f0
test eax, eax
jne 0x418fd1
pop esi
pop ebx
add esp, 0x10
ret 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x418fe8
pop esi
pop ebx
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x33b8], ebx
cmp edx, ebx
jne 0x419015
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
fcomp qword [0x436c78]
fnstsw ax
and eax, 0x4100
jne 0x41902f
mov eax, dword [esi + 0x33b8]
inc eax
mov dword [esi + 0x33b8], eax
mov eax, edx
shl eax, 0x1f
shr ecx, 1
or ecx, eax
shr edx, 1
jmp 0x418ff6
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
fild qword [esp + 0x10]
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x18]
fdivr qword [0x436548]
fstp qword [esi + 0x33d0]
call dword [edx + 4]
test eax, eax
jne 0x419065
mov ecx, esi
call fcn.004192b0
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0xc
mov eax, dword [esi + 0x3434]
lea ecx, [esi + 0x3434]
call dword [eax + 0x1c]
mov edx, dword [esi + 0x3424]
lea ecx, [esi + 0x3424]
call dword [edx + 0x1c]
mov dword [esi + 0x3418], ebx
call fcn.00413b50
push str._highpriority
mov ecx, esi
call fcn.00419940
test eax, eax
je 0x4190b0
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push str._maxfps
mov ecx, esi
call fcn.00419940
test eax, eax
je 0x4190f2
push str._maxfps
mov ecx, esi
call fcn.00419940
push eax
call fcn.00413420
fst dword [esi + 0x3444]
fcomp dword [0x436c70]
add esp, 4
fnstsw ax
test ah, 5
jp 0x4190f2
mov dword [esi + 0x3444], 0x41f00000
lea eax, [esi + 0x3298]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x419d10
push esi
push str.cmdlist
mov ecx, esi
call fcn.00419740
push 0x419d10
push esi
push str.help
mov ecx, esi
call fcn.00419740
push 0x419d60
push esi
push str.logfile
mov ecx, esi
call fcn.00419740
push 0x41a1c0
push esi
push str.status
mov ecx, esi
call fcn.00419740
push 0x41a240
push esi
push str.exec
mov ecx, esi
call fcn.00419740
push 0x41a290
push esi
push str.developer
mov ecx, esi
call fcn.00419740
push str.System_initialized._n
push esi
call fcn.004195f0
add esp, 8
mov eax, 1
pop esi
pop ebx
add esp, 0x10
ret 0xc
Function at 0x41b220
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, ecx
push edi
lea eax, [esi + 8]
push eax
push 1
call fcn.004204a0
add esp, 8
test eax, eax
jne 0x41b259
push str.WON::Init:_could_not_load_Crypt_API._n
push 0x47e730
call fcn.004191f0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x410
ret
push str._comm
mov ecx, 0x47e730
call fcn.00419940
test eax, eax
je 0x41b289
push 0x103
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00413210
add esp, 0xc
mov byte [esp + 0x10b], 0
jmp 0x41b29b
lea edx, [esp + 8]
push str.woncomm.lst
push edx
call fcn.004131e0
add esp, 8
lea eax, [esp + 0x10c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x41b2cf
push str.HLTV_proxy::Init:_could_not_detect_current_directory._n
push 0x47e730
call fcn.004191f0
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x410
ret
lea ecx, [esp + 0x314]
lea edi, [esi + 0x70]
push 0x104
push ecx
push 0
mov dword [edi], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b2fa
pop edi
pop esi
add esp, 0x410
ret
lea edx, [esp + 0x10c]
lea eax, [esp + 0x210]
push edx
push str._s_valve
push 0x104
push eax
call fcn.00427f00
lea ecx, [esp + 0x220]
lea edx, [esp + 0x18]
lea eax, [esp + 0x324]
push edi
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], 0x4635fc
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0x419680
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
call dword [esi + 0x10]
add esp, 0x14
mov ecx, esi
call fcn.0041b500
push str.WON_initialized._n
push 0x47e730
call fcn.004195f0
add esp, 8
mov eax, 1
pop edi
pop esi
add esp, 0x410
ret

Function at 0x41ef00
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x80
xor eax, eax
lea edx, [esp]
push edi
mov edi, dword [esp + 0x8c]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov word [edi + 2], ax
mov eax, dword [esp + 0x88]
mov word [edi], 2
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41ef33
mov al, byte [esp + 4]
push esi
test al, al
lea esi, [esp + 8]
je 0x41ef74
cmp byte [esi], 0x3a
jne 0x41ef68
lea edx, [esi + 1]
mov byte [esi], 0
push edx
call fcn.00427d53
add esp, 4
push eax
call sub.WSOCK32.dll_htons
mov word [edi + 2], ax
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41ef4a
mov al, byte [esp + 8]
cmp al, 0x30
pop esi
jl 0x41efad
cmp al, 0x39
jg 0x41efad
lea eax, [esp + 4]
push 0x43ca30
push eax
call fcn.00429a40
add esp, 8
test eax, eax
je 0x41efad
lea ecx, [esp + 4]
push ecx
call sub.WSOCK32.dll_inet_addr
mov dword [edi + 4], eax
mov eax, 1
pop edi
add esp, 0x80
ret
lea edx, [esp + 4]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x41efc3
pop edi
add esp, 0x80
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, 1
mov edx, dword [ecx]
mov dword [edi + 4], edx
pop edi
add esp, 0x80
ret
Function at 0x41f4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
push edi
cmp ebx, 7
ja case.default.0x41f4c8
jmp dword [ebx*4 + 0x41f6fc]
mov ecx, esi
and ecx, 3
sub ebx, ecx
dec ecx
je 0x41f515
dec ecx
je 0x41f4fa
dec ecx
jne 0x41f530
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
inc esi
xor edx, edx
mov ecx, eax
mov dl, byte [esi]
and ecx, 0xff
xor edx, ecx
shr eax, 8
mov edx, dword [edx*4 + 0x436cb8]
xor eax, edx
inc esi
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
inc esi
mov edi, ebx
sar edi, 3
je 0x41f5ee
mov edx, dword [esi]
add esi, 8
xor eax, edx
mov edx, eax
mov ecx, eax
and edx, 0xff
shr ecx, 8
mov eax, dword [edx*4 + 0x436cb8]
xor eax, ecx
mov edx, eax
and edx, 0xff
shr eax, 8
mov ecx, dword [edx*4 + 0x436cb8]
xor ecx, eax
mov eax, ecx
and eax, 0xff
shr ecx, 8
mov edx, dword [eax*4 + 0x436cb8]
xor edx, ecx
mov ecx, edx
and ecx, 0xff
shr edx, 8
mov eax, dword [ecx*4 + 0x436cb8]
mov ecx, dword [esi - 4]
xor eax, ecx
xor eax, edx
mov edx, eax
and edx, 0xff
shr eax, 8
mov ecx, dword [edx*4 + 0x436cb8]
xor ecx, eax
mov eax, ecx
and eax, 0xff
shr ecx, 8
mov eax, dword [eax*4 + 0x436cb8]
xor eax, ecx
mov ecx, eax
and ecx, 0xff
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor ecx, eax
mov edx, ecx
and edx, 0xff
shr ecx, 8
mov eax, dword [edx*4 + 0x436cb8]
xor eax, ecx
dec edi
jne 0x41f53b
and ebx, 7
jmp 0x41f4c3
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
inc esi
xor edx, edx
mov ecx, eax
mov dl, byte [esi]
and ecx, 0xff
xor edx, ecx
shr eax, 8
mov edx, dword [edx*4 + 0x436cb8]
xor eax, edx
inc esi
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
inc esi
mov ecx, dword [esi]
pop edi
xor eax, ecx
pop esi
mov edx, eax
and edx, 0xff
shr eax, 8
mov ecx, dword [edx*4 + 0x436cb8]
xor ecx, eax
mov eax, ecx
and eax, 0xff
shr ecx, 8
mov eax, dword [eax*4 + 0x436cb8]
xor eax, ecx
mov ecx, eax
and ecx, 0xff
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor ecx, eax
mov edx, ecx
and edx, 0xff
shr ecx, 8
mov eax, dword [edx*4 + 0x436cb8]
xor eax, ecx
mov dword [ebp], eax
pop ebp
pop ebx
ret
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
inc esi
xor edx, edx
mov ecx, eax
mov dl, byte [esi]
and ecx, 0xff
xor edx, ecx
shr eax, 8
mov edx, dword [edx*4 + 0x436cb8]
xor eax, edx
inc esi
xor ecx, ecx
mov edx, eax
mov cl, byte [esi]
and edx, 0xff
xor ecx, edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x436cb8]
xor eax, ecx
pop edi
mov dword [ebp], eax
pop esi
pop ebp
pop ebx
ret
Function at 0x4242c0
Capabilities:
Encode data using xor

Disassembly:
push esi
lea edx, [esp + 8]
xor eax, eax
mov esi, 4
push edi
movzx di, byte [edx]
xor edi, eax
add eax, edi
inc edx
dec esi
jne 0x4242cd
lea edx, [esp + 0x10]
mov esi, 2
movzx di, byte [edx]
xor edi, eax
add eax, edi
inc edx
dec esi
jne 0x4242e2
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 2
push eax
call fcn.00424240
mov esi, dword [esp + 0x14]
pop edi
mov edx, esi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x424305
mov byte [esi + 4], cl
pop esi
ret 0xc

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

Disassembly:
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call sub.KERNEL32.dll_GetTickCount
mov esi, dword [esp + 0x24]
mov edi, eax
mov eax, dword [ebx + 0x28]
cmp eax, 4
jae 0x424e94
lea ecx, [esp + 0xc]
push esi
push ecx
mov ecx, dword [ebx + 0x20]
mov edx, 4
add ecx, eax
sub edx, eax
push edx
push ecx
mov ecx, ebx
call fcn.00426200
test eax, eax
jne 0x424ebb
mov edx, dword [esp + 0xc]
mov eax, dword [ebx + 0x28]
add eax, edx
mov dword [ebx + 0x28], eax
mov ecx, ebx
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp eax, esi
jb 0x424ea3
xor esi, esi
mov edx, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov edi, dword [edx]
cmp edi, ecx
jbe 0x424edc
pop edi
pop esi
mov eax, 7
pop ebx
pop ecx
ret 0x14
cmp eax, 5
jne 0x424f72
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 0x28]
add ecx, eax
pop edi
mov dword [ebx + 0x28], ecx
pop esi
mov eax, 0xc
pop ebx
pop ecx
ret 0x14
cmp edi, 0xc
jae 0x424eed
pop edi
pop esi
mov eax, 0xa
pop ebx
pop ecx
ret 0x14
mov ecx, dword [ebx + 0x28]
sub esi, eax
lea eax, [esp + 0xc]
push esi
push eax
mov eax, edi
sub eax, ecx
add edx, ecx
push eax
push edx
mov ecx, ebx
call fcn.00426200
cmp eax, 5
jne 0x424f24
mov ecx, dword [esp + 0xc]
mov eax, dword [ebx + 0x28]
add eax, ecx
pop edi
mov dword [ebx + 0x28], eax
pop esi
mov eax, 0xc
pop ebx
pop ecx
ret 0x14
test eax, eax
jne 0x424f72
mov eax, dword [esp + 0x18]
test eax, eax
je 0x424f32
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x424f42
mov edx, dword [ebx + 0x20]
mov ecx, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x424f52
mov edx, dword [ebx + 0x20]
mov ecx, dword [edx + 8]
mov dword [eax], ecx
mov esi, dword [ebx + 0x20]
mov ecx, edi
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x28], 0
pop edi
pop esi
pop ebx
pop ecx
ret 0x14

Function at 0x425d40
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
jne 0x425d51
mov eax, 0x4370c4
push eax
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x425d7b
mov eax, dword [esi + 4]
test eax, eax
jne 0x425d68
mov eax, 0x4370c4
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x425d74
pop esi
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop esi
ret
Function at 0x425da0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.00425c80
test eax, eax
jne 0x425db4
call fcn.00426360
mov eax, dword [esi + 8]
sub eax, 0
je 0x425e6c
dec eax
je 0x425dcc
dec eax
jne 0x425dda
push 0x11
push 2
jmp 0x425dd0
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x425df5
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
pop esi
add esp, 8
ret
cmp dword [esi + 8], 1
jne 0x425e32
lea ecx, [esp + 4]
push 4
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [esp + 0x18], 1
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x425e32
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
pop esi
add esp, 8
ret
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x14], 1
call sub.WSOCK32.dll_ioctlsocket
cmp eax, 0xffffffff
jne 0x425e65
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x425e80
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 1
jne 0x425e8f
call fcn.00426310
cmp dword [esi + 4], 0xffffffff
jne 0x425ea0
mov ecx, esi
call fcn.00425da0
test eax, eax
jne 0x425f18
mov edi, dword [esp + 0xc]
mov eax, dword [esi + 4]
push 0x10
push edi
push eax
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x425eca
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
cmp eax, 0x2733
jne 0x425f18
mov dword [esi + 0x1c], 1
mov edx, dword [edi]
lea ecx, [esi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
mov dword [ecx + 8], edx
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x425f16
cmp dword [esi + 8], 1
jne 0x425f16
push eax
mov ecx, esi
call fcn.00426030
test eax, eax
jne 0x425f16
mov ecx, esi
call fcn.00426310
pop edi
mov eax, 0xc
pop esi
ret 8
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x426010
Capabilities:
Get socket status

Disassembly:
call fcn.00425c80
test eax, eax
je 0x42601e
xor eax, eax
ret 4
jmp fcn.00426030

Function at 0x426030
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
call fcn.00425c80
test eax, eax
je 0x42604a
xor eax, eax
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x110]
test eax, eax
jge 0x426057
xor eax, eax
push esi
mov esi, 0x3e8
cdq
idiv esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
lea eax, [edx + edx*4]
lea edx, [esp + 4]
push edx
push 0
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push 0x40
call sub.WSOCK32.dll_select
dec eax
pop esi
neg eax
sbb eax, eax
inc eax
add esp, 0x10c
ret 4
Function at 0x4260b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
call fcn.00425c80
test eax, eax
je 0x4260ca
xor eax, eax
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x110]
test eax, eax
jge 0x4260d7
xor eax, eax
push esi
mov esi, 0x3e8
cdq
idiv esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
lea eax, [edx + edx*4]
lea edx, [esp + 4]
push edx
push 0
lea eax, [eax + eax*4]
push 0
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push 0x40
call sub.WSOCK32.dll_select
dec eax
pop esi
neg eax
sbb eax, eax
inc eax
add esp, 0x10c
ret 4

Function at 0x426130
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00425c80
test eax, eax
je 0x42614d
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret 0x10
mov ecx, edi
call sub.KERNEL32.dll_GetTickCount
mov ebp, dword [esp + 0x24]
xor esi, esi
mov ebx, eax
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x1c]
jge 0x4261bc
mov ecx, edi
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
sub ecx, ebx
cmp ecx, ebp
jb 0x426181
xor ecx, ecx
mov dword [esp + 0x10], 1
jmp 0x426187
mov ecx, ebx
sub ecx, eax
add ecx, ebp
push ecx
mov ecx, edi
call fcn.00426030
cmp eax, 1
jne 0x4261b4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, esi
push 0
push edx
mov edx, dword [edi + 4]
lea ecx, [esi + eax]
push ecx
push edx
call sub.WSOCK32.dll_send
test eax, eax
jl 0x4261dd
add esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x426160
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4261c6
mov dword [eax], esi
mov edi, dword [esp + 0x1c]
xor eax, eax
cmp esi, edi
pop edi
setge al
dec eax
pop esi
pop ebp
and eax, 4
pop ebx
pop ecx
ret 0x10
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x426200
Capabilities:
Check for time delay via gettickcount
Receive data
Receive data on socket

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00425c80
test eax, eax
je 0x42621d
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
pop ecx
ret 0x10
mov ecx, esi
call sub.KERNEL32.dll_GetTickCount
xor ebp, ebp
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp edi, dword [esp + 0x1c]
jge 0x4262a0
mov ecx, esi
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esp + 0x10]
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
cmp ecx, edx
jb 0x426254
xor ecx, ecx
mov ebp, 1
jmp 0x42625c
mov ecx, dword [esp + 0x10]
sub ecx, eax
add ecx, edx
push ecx
mov ecx, esi
call fcn.004260b0
cmp eax, 1
jne 0x42629c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edx, edi
push 0
push edx
mov edx, dword [esi + 4]
lea ecx, [edi + eax]
push ecx
push edx
call sub.WSOCK32.dll_recv
test eax, eax
jl 0x4262bb
jne 0x42628e
mov ebp, 1
add edi, eax
mov eax, dword [esi + 8]
mov ebx, 1
cmp eax, ebx
jne 0x4262a0
test ebp, ebp
je 0x42622e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4262aa
mov dword [eax], edi
test ebx, ebx
jne 0x4262d1
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
pop ecx
ret 0x10
call sub.WSOCK32.dll_WSAGetLastError
push eax
call fcn.004263d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp dword [esi + 8], 1
jne 0x4262ff
test edi, edi
jne 0x4262e8
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
pop ecx
ret 0x10
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp edi, esi
pop edi
setge al
dec eax
pop esi
pop ebp
and eax, 5
pop ebx
pop ecx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10

Function at 0x426310
Capabilities:
Connect socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 0
cmp eax, 1
je 0x42634b
mov edx, dword [esi + 4]
xor eax, eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
push 0x10
mov dword [esp + 0x10], eax
push ecx
push edx
mov dword [esp + 0x1c], eax
call sub.WSOCK32.dll_connect
test eax, eax
je 0x426352
mov ecx, esi
call fcn.00426360
pop esi
add esp, 0x10
ret