joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d43c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44d4b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044ce9c
call fcn.00407464
mov ebx, eax
push 0
call fcn.0040756c
call fcn.00407464
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44d461
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044ca9c
cmp dword [ebp - 4], 0
je 0x44d4a3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call fcn.00407dd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d4c0
lea eax, [ebp - 4]
call fcn.00404e18
ret

Function at 0x450afc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x535f20], 0
je 0x450c4b
push 0x11
call fcn.00407a44
test ax, 0x8000
setne al
mov edx, dword [0x531b98]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x450c4b
mov eax, dword [0x535f24]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x535f20]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x450c1a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x535f20]
call fcn.0041f6dc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x450c12
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x450c12
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x450c12
mov eax, dword [ebp - 0x14]
call fcn.00459794
push eax
call fcn.00407bac
test eax, eax
je 0x450c12
push ebp
call fcn.00450ab8
pop ecx
test al, al
jne 0x450c12
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x450bce
mov eax, dword [ebp - 0x14]
call fcn.004582c4
dec eax
jle 0x450c12
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00404294
cmp byte [ebp - 1], 0
je 0x450c12
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call fcn.00407c44
test eax, eax
je 0x450c12
mov edx, dword [ebp - 0x14]
mov eax, dword [0x535f24]
call fcn.00450284
inc edi
dec ebx
jne 0x450b61
mov eax, dword [0x535f24]
cmp dword [eax + 8], 0
jle 0x450c32
mov eax, dword [0x535f24]
call fcn.00450314
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x450c4b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00450920
pop ecx
test al, al
jne 0x450c4b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45422c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x454278
mov eax, esi
call fcn.00469fd4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x454278
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x454278
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4543b7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4542b8
cmp eax, 0x108
ja 0x4542b8
mov eax, esi
call fcn.00469fd4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4543ae
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4543b7
jmp 0x4543ae
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x454397
cmp eax, 0x20a
ja 0x454397
test byte [esi + 0x50], 0x80
jne 0x4542ea
sub eax, 0x203
je 0x4542e7
sub eax, 3
je 0x4542e7
sub eax, 3
jne 0x4542ea
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4542fe
dec eax
je 0x454313
dec eax
je 0x454330
dec eax
je 0x454313
jmp 0x454337
mov ecx, ebx
mov eax, dword [0x531b98]
mov eax, dword [eax]
mov edx, esi
call fcn.00473944
jmp 0x4543ae
cmp byte [esi + 0x5d], 1
jne 0x454329
mov eax, esi
mov si, 0xffed
call fcn.00404294
jmp 0x4543b7
or word [esi + 0x54], 1
jmp 0x4543ae
and word [esi + 0x54], 0xfffe
jmp 0x4543ae
mov eax, dword [0x535edc]
cmp byte [eax + 0x20], 0
je 0x4543ae
mov eax, dword [0x535edc]
cmp dword [eax + 0x1c], 0
je 0x4543ae
mov eax, dword [ebx]
mov edx, dword [0x535edc]
cmp eax, dword [edx + 0x1c]
jne 0x4543ae
lea eax, [ebp - 0x114]
push eax
call fcn.00407a5c
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00469f18
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00404294
jmp 0x4543b7
cmp eax, 0xb00b
jne 0x4543ae
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00452b4c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457924
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x457940
cmp dword [esi + 4], 0
je 0x45796d
test byte [ebx + 0x55], 1
jne 0x45795f
mov eax, ebx
call fcn.004564c4
test eax, eax
jne 0x45795f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x457a7d
mov edx, esi
mov eax, ebx
call fcn.00457448
jmp 0x457a7d
push 0
call fcn.00407a04
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call fcn.004075f4
mov dword [ebp - 8], eax
push edi
push 0
call fcn.00407c74
push 0
call fcn.004075fc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004077ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x457a76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00459794
push eax
call fcn.0040786c
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00454160
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00457924
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call fcn.004075d4
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00459794
push eax
call fcn.0040797c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457a7d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004077ac
mov eax, dword [ebp - 4]
push eax
call fcn.00407644
mov eax, dword [ebp - 8]
push eax
call fcn.00407654
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e194
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x53211c]
cmp byte [eax + 0xc], 0
je 0x45e301
push 0x8000
call fcn.00407544
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e2fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x535f30], 0
jne 0x45e1e8
push 0x45e308
call fcn.0040742c
mov ebx, eax
push 0x45e310
push ebx
call fcn.0040743c
mov dword [0x535f30], eax
cmp dword [0x52daec], 0
jne 0x45e2e3
push 0x45e320
call fcn.004074e4
mov dword [0x52daec], eax
cmp dword [0x52daec], 0
je 0x45e2e3
push 0x45e32c
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f34], eax
push 0x45e33c
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f38], eax
push 0x45e350
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f3c], eax
push 0x45e368
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f40], eax
push 0x45e380
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f44], eax
push 0x45e394
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f48], eax
push 0x45e3ac
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f4c], eax
push 0x45e3c4
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f50], eax
push 0x45e3e0
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f54], eax
push 0x45e3ec
mov eax, dword [0x52daec]
push eax
call fcn.0040743c
mov dword [0x535f58], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e301
mov eax, dword [ebp - 4]
push eax
call fcn.00407544
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x462660
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404e18
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call fcn.00407bec
shl eax, 0x10
test eax, eax
je 0x4626af
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.00407a3c
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405088
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x469e88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x469ed8]
test si, 4
je 0x469e9c
or bl, 1
test si, 8
je 0x469ea6
or bl, 4
test si, 1
je 0x469eb0
or bl, 8
test si, 2
je 0x469eba
or bl, 0x10
test si, 0x10
je 0x469ec4
or bl, 0x20
push 0x12
call fcn.00407a44
test ax, ax
jge 0x469ed3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x469edc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x469f14]
push 0x10
call fcn.00407a44
test ax, ax
jge 0x469ef5
or bl, 1
push 0x11
call fcn.00407a44
test ax, ax
jge 0x469f04
or bl, 4
test esi, 0x20000000
je 0x469f0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4705d8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4705ea
add esp, 0xfffffff0
call fcn.004043c4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004259c8
mov eax, dword [0x5315dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x47097c
mov eax, dword [0x5315f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x470988
mov eax, ebx
call fcn.00470994
push 0
call fcn.00407a4c
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41d1e8]
call fcn.0040405c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41d1e8]
call fcn.0040405c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41d1e8]
call fcn.0040405c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41d1e8]
call fcn.0040405c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41d1e8]
call fcn.0040405c
mov dword [ebx + 0x7c], eax
push 0
call fcn.00407a04
mov esi, eax
push 0x5a
push esi
call fcn.004076b4
mov dword [ebx + 0x40], eax
push esi
push 0
call fcn.00407c74
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x46cdac
push eax
push 0
push 0
mov eax, dword [0x5319e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427474]
call fcn.00428c0c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427474]
call fcn.00428c0c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427474]
call fcn.00428c0c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00470de4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470cac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470cac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x470cac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x470727
call fcn.0040441c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x470a90
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x470c1c
mov dl, 1
mov eax, dword [0x41d790]
call fcn.0040405c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404e18
lea eax, [ebp - 0x114]
push eax
push 0x40
call fcn.00407a54
dec eax
test eax, eax
jl 0x470c0b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045e4f4
test al, al
je 0x470bfe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x470c4c
lea eax, [ebp - 0x254]
call fcn.0040bbd0
push eax
push 0x80000002
call fcn.004072ec
test eax, eax
jne 0x470bfe
xor eax, eax
push ebp
push 0x470bf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x470c84
mov eax, dword [ebp - 0xc]
push eax
call fcn.004072f4
test eax, eax
jne 0x470be0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405088
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x470be0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470bfe
mov eax, dword [ebp - 0xc]
push eax
call fcn.004072d4
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x470b01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421ad0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470c42
lea eax, [ebp - 0x260]
call fcn.00404e18
ret

Function at 0x471584
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x535f7c]
cmp byte [eax + 0xa5], 0
jne 0x4715f5
cmp dword [0x535f94], 0
jne 0x4715b6
call fcn.004073dc
push eax
push 0
mov eax, 0x471540
push eax
push 3
call fcn.00407d5c
mov dword [0x535f94], eax
cmp dword [0x535f90], 0
jne 0x4715d1
push 0
push 0
push 0
push 0
call fcn.0040730c
mov dword [0x535f90], eax
cmp dword [0x535f98], 0
jne 0x4715f5
push esp
push 0
push 0
push 0x4714e4
push 0x3e8
push 0
call fcn.00407344
mov dword [0x535f98], eax
pop edx
ret
Function at 0x471c88
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x535f7c]
cmp dword [eax + 0x30], 0
je 0x471d32
cmp dword [ebx + 0x94], 0
jne 0x471d2c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x471c18
call fcn.00407994
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x471d2c
push 3
mov eax, dword [esp + 4]
push eax
call fcn.00407b04
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call fcn.00407b14
test al, 8
je 0x471cf2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x471d2c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041f6dc
push eax
call fcn.00407d4c
dec esi
cmp esi, 0xffffffff
jne 0x471d01
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x472890
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4728c5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call fcn.00407b2c
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f08
jmp 0x4728d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e6c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x473a8c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x473acd
mov eax, esi
call fcn.00459a98
test al, al
je 0x473acd
mov eax, dword [ebx + 0x84]
call fcn.00459794
push eax
call fcn.00407bac
test eax, eax
je 0x473acd
push 0
mov eax, dword [ebx + 0x84]
call fcn.00459794
push eax
call fcn.00407d7c
pop esi
pop ebx
ret

Function at 0x474c40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x474cc9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x535fa4
push 0x101
call fcn.004743f8
mov ebx, eax
test ebx, ebx
je 0x474cb3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040df7c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x474ce0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x531dd4]
mov dl, 1
mov eax, dword [0x474440]
call fcn.0040e8bc
call fcn.0040482c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474cd0
lea eax, [ebp - 0x1c]
call fcn.00404e18
ret
Function at 0x475380
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0047529c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404294
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00474378
mov edx, eax
mov ecx, 0x4753e8
mov eax, ebx
call fcn.00474b84
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4753da
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404294
pop esi
pop ebx
ret

Function at 0x47540c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.004052d8
push eax
call fcn.004743c0
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.004038c0
cmp dword [esp + 4], 0
je 0x47545e
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret

Function at 0x475544
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x475575
mov ecx, dword [0x531adc]
mov dl, 1
mov eax, dword [0x474440]
call fcn.0040e880
call fcn.0040482c
push 0
push 1
push 2
call fcn.004743b8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4755a2
mov ecx, dword [0x531978]
mov dl, 1
mov eax, dword [0x474440]
call fcn.0040e880
call fcn.0040482c
xor eax, eax
push ebp
push 0x47561e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404294
cmp byte [ebp + 8], 0
je 0x4755fa
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004754ac
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00475380
jmp 0x475614
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00474e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47563b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475824
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475138
xor eax, eax
push ebp
push 0x475996
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x475980
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x475870
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x47587a
call fcn.004048d8
jmp 0x47599d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421b80
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x475975
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call fcn.004743b0
mov edi, eax
cmp edi, 0xffffffff
jne 0x475928
call fcn.004743f0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x475915
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404294
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.004757dc
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4759a8]
cmp dl, byte [eax + 0x28]
je 0x47597c
call fcn.0040e798
jmp 0x47597c
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421ba0
jmp 0x47597c
cmp edi, ebx
jge 0x475944
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421ba0
jmp 0x47587a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00421b80
cmp edx, dword [esp + 4]
jne 0x475964
cmp eax, dword [esp]
pop edx
pop eax
jne 0x47587a
push ebp
call fcn.004757dc
pop ecx
jmp 0x47597c
push ebp
call fcn.004757dc
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47599d
mov eax, dword [ebp - 4]
call fcn.00475144
ret
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret