joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a1c7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
or eax, 0xffffffff
push ebx
mov ebx, ecx
push esi
cmp dword [ebx + 0x68], eax
je 0x46a2f7
cmp dword [ebx + 0x6c], eax
je 0x46a2f7
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x46a1fe
mov eax, dword [ebx + 0x74]
lea ecx, [ebx + 0x70]
push eax
mov edx, dword [eax]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0046a497
mov edx, dword [ebx + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [0x100756c4]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
sub eax, esi
mov esi, dword [esp + 0x20]
cdq
idiv dword [ebx + 0x68]
mov edx, dword [esp + 0x18]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, esi
sub eax, edx
cdq
idiv dword [ebx + 0x6c]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x46a2f7
push ebp
push edi
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp ecx, ebp
jle 0x46a2e4
mov dword [esp + 0x3c], ebp
mov ecx, dword [ebx + 0x68]
mov edx, dword [esp + 0x1c]
mov eax, ecx
push 0x1c
imul eax, ebp
add eax, edx
mov edx, dword [esp + 0x14]
inc edx
mov dword [esp + 0x30], eax
lea edi, [ecx + eax]
mov ecx, dword [ebx + 0x6c]
imul edx, ecx
sub esi, edx
mov dword [esp + 0x38], edi
mov edx, esi
mov esi, dword [ebx + 0x74]
add ecx, edx
mov dword [esp + 0x34], edx
mov edi, dword [esi + 4]
mov dword [esp + 0x3c], ecx
call fcn.00478aa7
add esp, 4
mov ecx, esi
test esi, esi
jne 0x46a2a1
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x46a2a9
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x46a2c8
mov ecx, 5
lea esi, [esp + 0x2c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
inc edx
inc ebp
mov dword [ebx + 0x78], edx
cmp ebp, eax
jl 0x46a257
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x10], ecx
jl 0x46a245
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x46c3e7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007447e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004308f7
mov al, byte [esp + 0xf]
xor edi, edi
mov ebx, 1
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
lea ecx, [esi + 0x94]
mov dword [esp + 0x1c], edi
mov byte [esi + 0x90], al
call fcn.00470247
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
push 0x33
mov byte [esp + 0x20], bl
mov dword [esi + 0x130], edi
call dword [0x100757a0]
mov dword [esi + 0x15c], eax
lea ebx, [esi + 0x170]
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
xor edx, edx
push 0x10060030
push 0x1005fff0
mov dword [ebx + 4], ecx
push 2
lea ecx, [esi + 0x19c]
push 0x14
mov dword [ebx + 8], edx
push ecx
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x16c], edi
mov dword [ebx + 0xc], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
call fcn.0047914d
push 0x10060030
push 0x1005fff0
push 2
lea edx, [esi + 0x1c4]
push 0x14
push edx
mov byte [esp + 0x30], 2
call fcn.0047914d
push 0x10060030
push 0x1005fff0
push 2
lea eax, [esi + 0x1ec]
push 0x14
push eax
mov byte [esp + 0x30], 3
call fcn.0047914d
mov byte [esp + 0x1c], 4
push 0x10060030
push 0x1005fff0
push 2
lea ecx, [esi + 0x214]
push 0x14
push ecx
call fcn.0047914d
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x23c], edi
mov dword [esi], 0x1007d680
mov edx, dword [0x10091710]
add edx, 0xe4
mov dword [esi + 0x138], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x20], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46eec7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10074588
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [esp + 0x64]
push edi
test esi, esi
mov edi, ecx
jne 0x46ef17
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18
push ebp
lea ecx, [esp + 0x30]
call fcn.00478b49
mov ebp, dword [esp + 0x64]
lea ecx, [esp + 0x30]
push ebp
mov dword [esp + 0x5c], 0
call fcn.00478b43
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x50]
push esi
push ecx
mov ecx, edi
call fcn.0046eda7
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x214]
test eax, eax
je 0x46ef88
mov eax, 1
mov dword [esp + 0x6c], eax
jmp 0x46ef8c
mov eax, dword [esp + 0x6c]
lea ecx, [eax + eax*4]
push 1
push 0xff00ff
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
lea ecx, [esp + 0x18]
lea eax, [esi + edx*4 + 0x21c]
push eax
push ecx
push ebp
call fcn.0043e527
add esp, 0x14
test eax, eax
jne 0x46eff3
push 5
call fcn.00410a37
add esp, 4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
push edx
call fcn.00478b37
push 0x10
call fcn.00410a37
add esp, 4
push eax
push 0x14
call fcn.00410a37
add esp, 4
lea ecx, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00478d05
mov eax, dword [esi + 0xe2c]
mov edi, dword [esp + 0x10]
sub eax, dword [esi + 0xe34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], edi
sub eax, edi
mov ecx, dword [esp + 0x14]
add eax, edx
mov ebx, dword [esp + 0x1c]
cdq
sub eax, edx
mov edx, dword [esi + 0xe34]
sar eax, 1
add eax, edi
mov edi, dword [esi + 0xe2c]
sub edx, edi
mov dword [esp + 0x20], eax
add edx, eax
mov eax, dword [esi + 0xe30]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xe38]
sub eax, edx
mov edi, dword [esi + 0xe30]
sub eax, ecx
push 1
add eax, ebx
add esi, 0xd24
cdq
sub eax, edx
push 0xff00ff
sar eax, 1
add ecx, eax
mov eax, dword [esi + 0x114]
sub eax, edi
mov dword [esp + 0x2c], ecx
add eax, ecx
lea ecx, [esp + 0x28]
push esi
push ecx
push ebp
mov dword [esp + 0x40], eax
call fcn.0043e527
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.00478b55
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, esi
mov dword [esp + 0x58], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x30]
call fcn.00478b2b
mov ecx, dword [esp + 0x50]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x18
Function at 0x472e37
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10074721
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov al, byte [esp + 0x34]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov byte [esi + 0x1ac], al
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esp + 0xc], esi
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov edi, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
push edi
mov dword [esi], 0x100777cc
call fcn.00441847
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x1007dcbc
sete cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], cl
lea edx, [esp + 0x10]
push edi
push edx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.00473097
push 0x1e0
call fcn.00478aa7
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x472f1f
push 1
push 1
push 1
push esi
mov ecx, eax
call fcn.00441f27
jmp 0x472f21
xor eax, eax
mov dword [esi + 0x1dc], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], 0x1007dcbc
je 0x472f47
cmp byte [esp + 0x1c], bl
je 0x472f47
push eax
call dword [0x10075554]
add esp, 4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x401db0
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45ebe2
push eax
mov eax, dword [0x480894]
mov dword fs:[0], esp
sub esp, 0x1d4
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
jne 0x401df4
mov eax, 1
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x1e0
ret
mov eax, dword [0x47d208]
mov dword [esp + 8], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], ebx
push ecx
mov dword [esp + 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1ec]
cmp ecx, 5
mov eax, 1
ja 0x401e3a
cmp dword [esp + 0x24], eax
jb 0x401f38
mov dword [esp + 0x20], eax
mov ecx, dword [0x47d208]
mov dword [esp + 0xc], ecx
mov edx, dword [0x47fbcc]
mov byte [esp + 0x1e4], al
push edx
lea eax, [esp + 0x10]
push 0x4792c0
push eax
call fcn.0044d006
add esp, 0xc
lea ecx, [esp + 8]
push esi
call fcn.0044f1a2
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0044f431
mov byte [esp + 0x1e4], bl
lea ecx, [esp + 0xc]
call fcn.0044f019
lea ecx, [esp + 0xb0]
call fcn.00418ea0
mov edx, dword [esp + 0x1f0]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x1ec], 3
call fcn.0044f087
push ecx
mov byte [esp + 0x1ec], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.0044f087
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x1f4], 5
call fcn.0044ed8e
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1f0], 3
call fcn.00418fb0
lea ecx, [esp + 0xb0]
mov esi, eax
mov byte [esp + 0x1e4], bl
call fcn.00418ee0
lea ecx, [esp + 8]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.0044f019
mov ecx, dword [esp + 0x1dc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1e0
ret
lea edx, [esp + 0xc]
mov dword [esp + 0x20], ebx
push edx
call fcn.00401c80
add esp, 4
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x1e8], 2
call fcn.0044f152
mov byte [esp + 0x1e4], bl
lea ecx, [esp + 0xc]
jmp 0x401e87
Function at 0x40adc0
Capabilities:
Resume thread

Disassembly:
push esi
push 0
push 4
push 0
push 0
mov esi, ecx
push 0x465898
call fcn.0044e607
test eax, eax
mov dword [esi + 0xc4], eax
je 0x40ae04
mov ecx, dword [esi + 0xc8]
lea edx, [esi + 0x2c]
mov dword [eax + 0x6c], ecx
mov eax, dword [esi + 0xc4]
mov dword [eax + 0x68], edx
mov ecx, dword [esi + 0xc4]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

Function at 0x40b400
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x45ff20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00416b60
add esp, 4
push 0x4792a8
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.0044f2ae
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 2
call fcn.0044f019
lea edx, [esp + 4]
push 0x479aec
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0044f2ae
lea ecx, [esp + 4]
push str.Sk5Inst.dll
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x38], 3
call fcn.0044f2ae
lea eax, [esp + 4]
push str.Sk5Lsp.dll
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x38], 4
call fcn.0044f2ae
lea edx, [esp + 4]
push 0x479ad4
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x38], 5
call fcn.0044f2ae
lea ecx, [esp + 4]
push str.SPORDER.DLL
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x38], 6
call fcn.0044f2ae
lea eax, [esp + 4]
push 0x479294
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x38], 7
call fcn.0044f2ae
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call esi
test eax, eax
je 0x40b5b3
mov eax, dword [esp + 0x18]
push eax
call esi
test eax, eax
je 0x40b5b3
mov ecx, dword [esp + 0x14]
push ecx
call esi
test eax, eax
je 0x40b5b3
mov edx, dword [esp + 0x10]
push edx
call esi
test eax, eax
je 0x40b5b3
mov eax, dword [esp + 0xc]
push eax
call esi
test eax, eax
je 0x40b5b3
mov ecx, dword [esp + 8]
push ecx
call esi
test eax, eax
je 0x40b5b3
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 7
call fcn.0044f019
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call fcn.0044f019
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.0044f019
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0044f019
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0044f019
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0044f019
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044f019
mov eax, 1
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 7
call fcn.0044f019
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call fcn.0044f019
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call fcn.0044f019
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.0044f019
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0044f019
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0044f019
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0044f019
mov ecx, dword [esp + 0x24]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x414600
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
mov esi, ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41462a
mov dword [esi], 0
mov eax, esi
pop esi
add esp, 0x190
ret
mov cx, word [esp + 4]
mov eax, esi
mov word [0x480984], cx
mov dword [esi], 1
pop esi
add esp, 0x190
ret

Function at 0x4146c0
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 1
mov eax, dword [esi + 4]
test eax, eax
jl 0x4146d9
call fcn.00414730
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push eax
push edi
push 2
call dword [sym.imp.WS2_32.dll_socket]
test eax, eax
mov dword [esi + 4], eax
jge 0x4146fa
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
cmp edi, 1
jne 0x414724
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x414724
lea ecx, [esp + 8]
push 4
push ecx
push edi
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x414724
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
pop edi
mov eax, 1
pop esi
pop ecx
ret 0xc

Function at 0x4147f0
Capabilities:
Connect socket
Resolve dns

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x414808
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x414857
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4147fe
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x414851
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_connect]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x10
ret 8

Function at 0x414890
Capabilities:
Set socket configuration

Disassembly:
mov al, byte [0x480984]
push esi
cmp al, 2
push edi
mov esi, ecx
jae 0x4148a4
pop edi
xor eax, eax
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x20], eax
call edi
cmp eax, 0xffffffff
jne 0x4148d5
pop edi
xor eax, eax
pop esi
ret 4
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call edi
xor edx, edx
cmp eax, 0xffffffff
setne dl
pop edi
mov eax, edx
pop esi
ret 4

Function at 0x414940
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 0
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
ret 0x10
Function at 0x414970
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 0
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
ret 0x10

Function at 0x4155d0
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x20
xor ecx, ecx
push ebx
push esi
xor eax, eax
mov dword [esp + 8], ecx
mov esi, 2
xor edx, edx
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov word [esp + 0x1c], si
mov word [esp + 0x1e], dx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [edi], ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 4], ecx
push edx
mov dword [esp + 0x24], eax
mov word [esp + 0x10], si
mov dword [edi + 8], eax
mov word [esp + 0x12], dx
mov dword [edi + 0xc], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, ecx
sub eax, esi
neg eax
sbb eax, eax
and al, 0xf5
add eax, 0x11
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_socket]
lea edx, [esp + 0xc]
mov esi, eax
push 0x10
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
mov dword [esp + 0x40], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [edx], eax
mov eax, dword [esp + 0x10]
pop esi
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
add esp, 0x20
ret

Function at 0x4169f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x461135
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x47d208]
mov dword [esp + 4], 0
mov dword [esp], eax
lea ecx, [esp + 8]
push 0x12c
push ecx
mov dword [esp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x416a49
lea edx, [esp + 8]
lea ecx, [esp]
push edx
call fcn.0044f1a2
push esi
mov esi, dword [esp + 0x148]
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.0044ed8e
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x140], 0
call fcn.0044f019
mov ecx, dword [esp + 0x138]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x140
ret
Function at 0x416a90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x461165
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x47d208]
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x120], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x416b04
mov esi, dword [esp + 0x124]
push esi
call fcn.004169f0
add esp, 4
mov dword [esp + 0xc], 1
jmp 0x416b2d
lea edx, [esp + 0x10]
lea ecx, [esp + 8]
push edx
call fcn.0044f1a2
mov esi, dword [esp + 0x124]
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0044ed8e
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.0044f019
mov ecx, dword [esp + 0x114]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret

Function at 0x417bda
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 0x202
mov dword [esi], 0x466b10
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, esi
pop esi
add esp, 0x190
ret
mov ecx, 0x485314
jmp 0x417bd0

Function at 0x4186d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
xor ebx, ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.0044f449
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.0044f498
mov edi, dword [esp + 0x2c]
push esi
push edi
call sub.RASAPI32.dll_RasValidateEntryNameA
cmp eax, 0xb7
jne 0x418787
lea eax, [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
push ebx
push esi
push edi
mov byte [esp + 0x48], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [ebp], 0x828
call sub.RASAPI32.dll_RasGetEntryPropertiesA
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
push ebp
push esi
push edi
call sub.RASAPI32.dll_RasGetEntryPropertiesA
lea ecx, [esp + 0x28]
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call fcn.0044f019
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044f019
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 0x2f3
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x418fb0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4615d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
mov esi, ecx
lea eax, [esp + 0x18]
mov dword [esp + 0xb4], 2
push eax
mov dword [esp + 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 5
ja 0x419006
cmp dword [esp + 0x20], 1
jb 0x419101
mov dword [esp + 0x1c], 1
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x47fbb0
call fcn.0044f087
push ecx
mov byte [esp + 0xbc], 3
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x47fbb0
call fcn.0044f087
push 1
push 4
push ecx
mov byte [esp + 0xc8], 4
mov ecx, esp
mov dword [esp + 0x18], esp
push str.test_adsl
call fcn.0044f087
push ecx
mov byte [esp + 0xcc], 5
mov ecx, esp
mov dword [esp + 0x24], esp
push str.PPPoE
call fcn.0044f087
push ecx
lea eax, [esp + 0xd8]
mov ecx, esp
mov dword [esp + 0x30], esp
mov byte [esp + 0xd0], 6
push eax
call fcn.0044ed8e
add esi, 4
mov byte [esp + 0xd0], 2
mov ecx, esi
call fcn.00418460
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00418ce0
test eax, eax
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0xbc]
jne 0x419185
call fcn.0044f019
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb4], 0
call fcn.0044f019
lea ecx, [esp + 0xc4]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0044f019
xor eax, eax
jmp 0x4191ba
push ecx
mov dword [esp + 0x20], 0
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x47fbb0
call fcn.0044f087
push ecx
mov byte [esp + 0xbc], 7
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x47fbb0
call fcn.0044f087
push 1
push 4
push ecx
mov byte [esp + 0xc8], 8
mov ecx, esp
mov dword [esp + 0x18], esp
push str.test_adsl
call fcn.0044f087
push ecx
mov byte [esp + 0xcc], 9
mov ecx, esp
mov dword [esp + 0x20], esp
push str.isdn
call fcn.0044f087
push ecx
lea edx, [esp + 0xd8]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov byte [esp + 0xd0], 0xa
push edx
jmp 0x41907d
call fcn.0044f019
lea ecx, [esp + 0xc0]
mov byte [esp + 0xb4], 0
call fcn.0044f019
lea ecx, [esp + 0xc4]
mov dword [esp + 0xb4], 0xffffffff
call fcn.0044f019
mov eax, 1
mov ecx, dword [esp + 0xac]
pop esi
mov dword fs:[0], ecx
add esp, 0xb4
ret 0xc