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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5c0bf0]
cmp dword [eax + 0x30], 0
je 0x46f012
cmp dword [ebx + 0x94], 0
jne 0x46f00c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46eef8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f00c
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 0x46efd2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f00c
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.0041e8e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46efe1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46fb74
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 0x46fba9
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.004048c0
jmp 0x46fbb6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404824
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470cb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470cf1
mov eax, esi
call fcn.00456ca0
test al, al
je 0x470cf1
mov eax, dword [ebx + 0x84]
call fcn.0045699c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470cf1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045699c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x488bbc
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x488bd5
add esp, 0xfffffff0
call fcn.00403c20
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x488c4a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.0041f2f8
xor edx, edx
mov eax, esi
call fcn.00488d74
xor edx, edx
mov eax, esi
call fcn.00488d98
xor eax, eax
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi + 0x2c], eax
lea eax, [ebp - 0x10]
call fcn.00419b60
lea edx, [ebp - 0x10]
lea eax, [esi + 0x18]
call fcn.00411808
mov byte [esi + 0x39], 0
mov byte [esi + 0x30], 1
lea eax, [esi + 0x10]
call fcn.004047d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488c51
lea eax, [ebp - 0x10]
call fcn.004113f0
ret

Function at 0x48efc8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x48efed
cmp dword [esp + 4], 5
jb 0x48efed
mov al, 1
jmp 0x48efef
xor eax, eax
add esp, 0x94
ret
Function at 0x4a0494
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a06f4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a04f7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049ff5c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e2e0
cmp al, 1
jne 0x4a04f7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a0274
test al, al
je 0x4a0683
cmp dword [ebp - 8], 0
jge 0x4a0515
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049ff5c
mov eax, dword [ebp - 0x210]
call fcn.00404a90
cmp ebx, eax
jge 0x4a055f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049ff5c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5bfbbc]
and eax, 0xff
bt dword [edx], eax
jae 0x4a055f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a0573
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a0470
cmp ebx, dword [ebp - 8]
je 0x4a0675
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a059f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ab8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5bd73c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4a0662
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ab8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5bd73c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045699c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403ab8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5bd73c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045699c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0669
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4a06d6
cmp dword [ebp - 8], 0
jge 0x4a068e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049ff5c
mov eax, dword [ebp - 0x218]
call fcn.00404a90
cmp eax, dword [ebp - 8]
jg 0x4a06c8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049ff5c
mov eax, dword [ebp - 0x21c]
call fcn.00404a90
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a0470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a06fb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004047f4
ret
Function at 0x4afc14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4afc2e
add esp, 0xfffffff0
call fcn.00403c20
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4afccb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.0040388c
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x428e8c]
call fcn.0042a600
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004b0054
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x4afef8
mov dl, 1
mov eax, dword [0x41c66c]
call fcn.0040388c
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.00419b68
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00411808
mov byte [edi + 0x28], 1
mov dl, byte [0x4afcf0]
mov ax, 0x2e
call fcn.0045f99c
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afcd2
lea eax, [ebp - 0x10]
call fcn.004113f0
ret

Function at 0x4b0d4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4b0d64
push 5
mov eax, ebx
call fcn.0045699c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.0045699c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4bbe74
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4bbef3
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ac908]
call fcn.004b1acc
mov esi, eax
mov dword [ebx + 0x308], esi
xor edx, edx
mov eax, esi
call fcn.00450038
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.00456adc
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.0045699c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4bbf24
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4bbefc
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x4ec8bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x4ec8f6
test bl, bl
je 0x4ec8e7
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x4ec8f1
mov eax, dword [edi]
movzx esi, byte [eax + 0x3a5]
dec esi
xor bl, 1
jmp 0x4ec907
mov eax, dword [edi]
mov edx, dword [eax + 0x3c0]
mov eax, dword [edi]
call fcn.004dd178
mov esi, eax
mov eax, esi
test bl, bl
je 0x4ec910
inc esi
jmp 0x4ec911
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x4ec926
mov edx, dword [edi]
movzx esi, byte [edx + 0x3a5]
jmp 0x4ec946
mov edx, dword [edi]
movzx edx, byte [edx + 0x3a5]
cmp esi, edx
jge 0x4ec946
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x3a5]
sub esi, edx
cmp eax, esi
je 0x4ec98a
jmp 0x4ec962
test bl, bl
je 0x4ec953
inc esi
jmp 0x4ec954
dec esi
test esi, esi
jl 0x4ec98a
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x4ec98a
mov eax, dword [edi]
mov edx, esi
call fcn.004dd16c
mov edx, eax
mov eax, dword [edi]
call fcn.004eb9a0
test al, al
je 0x4ec94c
mov eax, dword [edi]
mov edx, esi
call fcn.004dd16c
mov edx, eax
mov eax, dword [edi]
call fcn.004eba74
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ed82c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004de720
test al, al
je 0x4ed84b
mov byte [ebx + 0x3dc], 1
cmp byte [ebx + 0x3dc], 0
je 0x4ed85a
cmp dword [esi + 4], 0
je 0x4ed887
test byte [ebx + 0x55], 1
jne 0x4ed879
mov eax, ebx
call fcn.00453648
test eax, eax
jne 0x4ed879
mov edx, esi
mov eax, ebx
call fcn.004586d0
jmp 0x4ed9c5
mov edx, esi
mov eax, ebx
call fcn.004545cc
jmp 0x4ed9c5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ed9be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0045699c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004512e4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004ed82c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0045699c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed9c5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f6078
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4f6092
add esp, 0xfffffff0
call fcn.00403c20
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f6120
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.0040388c
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.004c984c
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41c66c]
call fcn.0040388c
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41c66c]
call fcn.0040388c
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4a97f8]
call fcn.004a9998
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x4f6a00
lea eax, [ebp - 0x10]
call fcn.00419b68
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6127
lea eax, [ebp - 0x10]
call fcn.004113f0
ret

Function at 0x52d9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x52daff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00405bf4
test eax, eax
jl 0x52da46
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov esi, dword [eax + edx*4]
cmp byte [ebp - 5], 0
je 0x52da32
xor ecx, ecx
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
test al, al
jne 0x52da3e
mov ecx, dword [ebp + 8]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x38]
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x52da11
mov edx, 0x52db18
mov eax, dword [ebx + 8]
call fcn.004f7b78
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov esi, dword [ebx + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x1f8]
mov cl, byte [eax + 0x10]
mov eax, dword [esi]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.004f7b78
mov edx, 0x52db30
mov eax, dword [ebx + 8]
call fcn.004f7b78
mov edx, 0x52db3c
mov eax, dword [ebx + 8]
call fcn.004f7b78
mov dl, 0x29
mov eax, dword [ebx + 0x10]
call fcn.004f7bd4
mov edx, 0x52db30
mov eax, dword [ebx + 0x10]
call fcn.004f7b78
mov edx, 0x52db48
mov eax, dword [ebx + 0x10]
call fcn.004f7b78
mov edx, 0x52db30
mov eax, dword [ebx + 0x10]
call fcn.004f7b78
mov edx, 0x52db3c
mov eax, dword [ebx + 0x10]
call fcn.004f7b78
mov dl, 0x29
mov eax, dword [ebx + 0x1c]
call fcn.004f7bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52db06
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004047f4
ret
Function at 0x532e2c
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 0x532eb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5c2848
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x532e9f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040d0b0
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, 0x532ecc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x5bf970]
mov dl, 1
mov eax, dword [0x532c00]
call fcn.0040d9d4
call fcn.0040414c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532ebc
lea eax, [ebp - 0x1c]
call fcn.004047d0
ret

Function at 0x533568
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0053348c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403ab8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x5335cc
call fcn.00532d74
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x5335be
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.00403ab8
pop esi
pop ebx
ret

Function at 0x5335f0
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404c90
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403070
test ebx, ebx
je 0x53363b
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 0x533718
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 0x533749
mov ecx, dword [0x5bf768]
mov dl, 1
mov eax, dword [0x532c00]
call fcn.0040d998
call fcn.0040414c
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 0x533776
mov ecx, dword [0x5bf670]
mov dl, 1
mov eax, dword [0x532c00]
call fcn.0040d998
call fcn.0040414c
xor eax, eax
push ebp
push 0x5337f2
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.00403ab8
cmp byte [ebp + 8], 0
je 0x5337ce
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.00533680
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.00533568
jmp 0x5337e8
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.00533060
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53380f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5339d4
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.00533328
xor eax, eax
push ebp
push 0x533b45
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 0x533b2f
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x533a1f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x533a29
call fcn.004041f8
jmp 0x533b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420fd8
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 0x533b24
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 0x533ad7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x533ac4
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ab8
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.0053398c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x533b58]
cmp dl, byte [eax + 0x28]
je 0x533b2b
call fcn.0040d8bc
jmp 0x533b2b
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00420ff8
jmp 0x533b2b
cmp ecx, ebx
jge 0x533af3
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.00420ff8
jmp 0x533a29
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.00420fd8
cmp edx, dword [esp + 4]
jne 0x533b13
cmp eax, dword [esp]
pop edx
pop eax
jne 0x533a29
push ebp
call fcn.0053398c
pop ecx
jmp 0x533b2b
push ebp
call fcn.0053398c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533b4c
mov eax, dword [ebp - 4]
call fcn.00533334
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x533b5c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533c7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00533328
xor eax, eax
push ebp
push 0x533c61
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x533bac
call fcn.004041f8
jmp 0x533c68
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x533c4b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x533c4b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403ab8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x533c4b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040d0b0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x533c98
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5bf970]
mov dl, 1
mov eax, dword [0x532c00]
call fcn.0040d9d4
call fcn.0040414c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533c68
mov eax, dword [ebp - 4]
call fcn.00533334
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533c85
lea eax, [ebp - 0x28]
call fcn.004047d0
ret