joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bf20
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bcbe8]
cmp dword [eax + 0x30], 0
je 0x45bfca
cmp dword [ebx + 0x94], 0
jne 0x45bfc4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45beb0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bfc4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45bf8a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bfc4
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.00414db8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bf99
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45cb2c
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 0x45cb61
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404180
jmp 0x45cb6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45dc78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45dcb9
mov eax, esi
call fcn.00443d24
test al, al
je 0x45dcb9
mov eax, dword [ebx + 0x84]
call fcn.00443a20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45dcb9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443a20
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46ede4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46ee12
mov eax, ebx
call fcn.0046f898
cmp dword [ebx + 0x40], 0
je 0x46ee0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46ee83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46ee75
cmp dword [ebx + 8], 0
je 0x46ee34
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46ee46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46ee75
cmp dword [ebx + 8], 0
je 0x46ee27
cmp eax, 3
je 0x46ee59
dec eax
jne 0x46ee27
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46ee27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46ee27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46eea1
cmp dword [ebx + 0x14], 0xcc
je 0x46eea1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046eeac
pop ebx
ret
Function at 0x485f08
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x486029
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4bb5ec]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4bb5ec]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x486040
call fcn.004092a0
mov eax, dword [ebp - 4]
call fcn.004a3514
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4bb2e8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4bb5a8]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x48605c
call fcn.004092a0
mov eax, dword [ebp - 0x10]
call fcn.004a3514
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x485ae8
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x48607c
call fcn.004092a0
mov eax, dword [ebp - 0x24]
call fcn.004a3514
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x486094
call fcn.004092a0
mov eax, dword [ebp - 0x28]
call fcn.004a3514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486030
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004040b4
lea eax, [ebp - 0x10]
call fcn.00404090
lea eax, [ebp - 4]
call fcn.00404090
ret

Function at 0x48c198
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48c1f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0048c1fc
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c1f9
ret

Function at 0x493dac
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00443a20
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043d158
pop ebx
ret
Function at 0x498af4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x498bb5
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00454210
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.00498790
mov edi, eax
test edi, edi
je 0x498b53
mov al, byte [0x498bc0]
cmp al, bl
jne 0x498b53
mov edx, edi
mov eax, esi
call fcn.004986c8
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x498bb5
cmp byte [esi + 0x161], 2
jne 0x498b7e
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4bb660]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043e3ec
test eax, eax
jne 0x498bb5
jmp 0x498ba8
mov eax, dword [0x4bb528]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x498ba8
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4bb528]
mov edx, 0xb006
call fcn.0043e3ec
xor eax, eax
mov dword [ebp + 0xc], eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49d2bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49d376
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040479c
mov eax, dword [0x4bb1c0]
cmp byte [eax], 0
je 0x49d32b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404afc
mov eax, dword [ebx]
call fcn.00404928
push eax
mov eax, dword [ebx]
call fcn.00404918
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404928
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404afc
jmp 0x49d35d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408db0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d37d
lea eax, [ebp - 0x3f0]
call fcn.00404090
ret

Function at 0x49d384
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408db0
add esp, 0x3ec
pop ebx
ret
Function at 0x49eb18
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x49eb4c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49eb88
jmp 0x49eb50
pop edx
pop eax
jge 0x49eb88
mov eax, dword [0x4bb660]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004999b4
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x49ebad
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x49ebad
cmp dword [ebx + 0x11c], 0
je 0x49ebad
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042cfc0
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a9058
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a91c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x94], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4a91ae
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408db0
mov dl, 1
mov eax, dword [0x4831b4]
call fcn.0048320c
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4130dc]
call fcn.0040328c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.00483288
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a91ab
mov dl, 1
mov eax, dword [0x484a54]
call fcn.00484abc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, 0x4a91e0
call fcn.004835d4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040439c
xor eax, eax
push ebp
push 0x4a91a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00484dbc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a91e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a91ab
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
call fcn.004032bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004032bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004032bc
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a91d0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004040b4
ret
Function at 0x4ae3f8
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x4ae543
mov eax, dword [0x4bb528]
mov eax, dword [eax]
call fcn.0045ce6c
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xca], 0
je 0x4ae48b
mov eax, ebx
call fcn.004026ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ae484
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, ebx
call fcn.004028e8
push ebx
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae48b
mov eax, dword [ebp - 0xc]
call fcn.0040270c
ret
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInUnprepareHeader
test eax, eax
je 0x4ae4b3
mov ecx, eax
mov edx, 0x4ae564
mov eax, dword [ebp - 4]
call fcn.004ae5fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00406cc8
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
je 0x4ae519
mov ecx, eax
mov edx, 0x4ae584
mov eax, dword [ebp - 4]
call fcn.004ae5fc
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
je 0x4ae557
mov ecx, eax
mov edx, 0x4ae5a4
mov eax, dword [ebp - 4]
call fcn.004ae5fc
jmp 0x4ae557
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
jne 0x4ae557
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004aec24
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ae48b
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x4ae543
mov eax, dword [0x4bb528]
mov eax, dword [eax]
call fcn.0045ce6c
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xca], 0
je 0x4ae48b
mov eax, ebx
call fcn.004026ec
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ae484
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, ebx
call fcn.004028e8
push ebx
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xcc]
call dword [ebx + 0xc8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae48b
mov eax, dword [ebp - 0xc]
call fcn.0040270c
ret
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInUnprepareHeader
test eax, eax
je 0x4ae4b3
mov ecx, eax
mov edx, 0x4ae564
mov eax, dword [ebp - 4]
call fcn.004ae5fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00406cc8
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
je 0x4ae519
mov ecx, eax
mov edx, 0x4ae584
mov eax, dword [ebp - 4]
call fcn.004ae5fc
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc0]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
je 0x4ae557
mov ecx, eax
mov edx, 0x4ae5a4
mov eax, dword [ebp - 4]
call fcn.004ae5fc
jmp 0x4ae557
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
jne 0x4ae557
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004aec24
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4afd84
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 0x4afe0d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4bcfa4
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4afdf7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040b3d8
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, 0x4afe24
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4bb600]
mov dl, 1
mov eax, dword [0x4aedb0]
call fcn.0040bcfc
call fcn.00403a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afe14
lea eax, [ebp - 0x1c]
call fcn.00404090
ret
Function at 0x4b04d8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004b03fc
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004034b8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x4b053c
call fcn.004afccc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x4b052e
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.004034b8
pop esi
pop ebx
ret

Function at 0x4b0560
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404550
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402cbc
test ebx, ebx
je 0x4b05ab
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x4b0688
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 0x4b06b9
mov ecx, dword [0x4bb72c]
mov dl, 1
mov eax, dword [0x4aedb0]
call fcn.0040bcc0
call fcn.00403a48
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4b06e6
mov ecx, dword [0x4bb430]
mov dl, 1
mov eax, dword [0x4aedb0]
call fcn.0040bcc0
call fcn.00403a48
xor eax, eax
push ebp
push 0x4b0767
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.004034b8
cmp byte [ebp + 8], 0
je 0x4b0741
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004b05f0
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 edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b0458
jmp 0x4b075d
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004affb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0784
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4b0790
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 0x4b07c1
mov ecx, dword [0x4bb4c0]
mov dl, 1
mov eax, dword [0x4aedb0]
call fcn.0040bcc0
call fcn.00403a48
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x4b07ee
mov ecx, dword [0x4bb430]
mov dl, 1
mov eax, dword [0x4aedb0]
call fcn.0040bcc0
call fcn.00403a48
xor eax, eax
push ebp
push 0x4b086a
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.004034b8
cmp byte [ebp + 8], 0
je 0x4b0846
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.004b05f0
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.004b04d8
jmp 0x4b0860
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.004affb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0887
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b0a4c
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
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004b0280
xor eax, eax
push ebp
push 0x4b0bbd
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 0x4b0ba7
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x4b0a97
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4b0aa1
call fcn.00403af4
jmp 0x4b0bc4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417200
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 0x4b0b9c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4b0b4f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4b0b3c
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004034b8
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.004b0a04
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4b0bd0]
cmp dl, byte [eax + 0x28]
je 0x4b0ba3
call fcn.0040bbe4
jmp 0x4b0ba3
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417220
jmp 0x4b0ba3
cmp ecx, ebx
jge 0x4b0b6b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00417220
jmp 0x4b0aa1
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.00417200
cmp edx, dword [esp + 4]
jne 0x4b0b8b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4b0aa1
push ebp
call fcn.004b0a04
pop ecx
jmp 0x4b0ba3
push ebp
call fcn.004b0a04
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0bc4
mov eax, dword [ebp - 4]
call fcn.004b028c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret