joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ad64
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 0x45af0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45aef0
mov dl, 1
mov eax, dword [0x413a3c]
call fcn.00403740
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404560
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45aedf
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.00448750
test al, al
je 0x45aed2
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, 0x45af20
lea eax, [ebp - 0x254]
call fcn.00409718
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45aed2
xor eax, eax
push ebp
push 0x45aecb
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 0x45af58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45aeb4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047c8
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 0x45aeb4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aed2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45add5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00417f3c
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 0x45af16
lea eax, [ebp - 0x260]
call fcn.00404560
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a5c38]
cmp byte [eax + 0xa5], 0
jne 0x45b8b5
cmp dword [0x4a5c50], 0
jne 0x45b876
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b800
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a5c50], eax
cmp dword [0x4a5c4c], 0
jne 0x45b891
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a5c4c], eax
cmp dword [0x4a5c54], 0
jne 0x45b8b5
push esp
push 0
push 0
push 0x45b7a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a5c54], eax
pop edx
ret
Function at 0x45b9dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b9f3
add esp, 0xfffffff0
call fcn.00403ad4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041de04
mov eax, dword [0x4a4c38]
cmp word [eax + 2], 0
jne 0x45ba1b
mov eax, dword [0x4a4c38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d0b8
mov eax, dword [0x4a4ce0]
cmp word [eax + 2], 0
jne 0x45ba35
mov eax, dword [0x4a4ce0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d2b0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413494]
call fcn.00403740
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413494]
call fcn.00403740
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x420374]
call fcn.00428264
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45bbbc
mov eax, dword [0x4a4b50]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428634
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45d830
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a4b50]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c370
test eax, eax
je 0x45bb2a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409060
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c398
test eax, eax
je 0x45bb3e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047c8
mov eax, dword [0x4a4a18]
cmp byte [eax], 0
jne 0x45bb72
mov eax, ebx
call fcn.0045bce4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045da0c
mov eax, ebx
call fcn.0045e34c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bbb2
call fcn.00403b2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bf58
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a5c38]
cmp dword [eax + 0x30], 0
je 0x45c002
cmp dword [ebx + 0x94], 0
jne 0x45bffc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bee8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bffc
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 0x45bfc2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bffc
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.00415c48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bfd1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45cae0
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 0x45cb15
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.00404650
jmp 0x45cb22
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045b4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45dbe8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45dc29
mov eax, esi
call fcn.00443e88
test al, al
je 0x45dc29
mov eax, dword [ebx + 0x84]
call fcn.00443b84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45dc29
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443b84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45f148
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7fc
mov esi, edx
mov ebx, eax
xor edi, edi
jmp 0x45f1ca
test edi, edi
jle 0x45f175
mov ecx, 0x45f2c4
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040b65c
call fcn.00403f3c
jmp 0x45f1ca
cmp word [ebx + 0xa42], 0
jne 0x45f197
mov ecx, 0x45f2c4
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040b65c
call fcn.00403f3c
jmp 0x45f1ca
mov byte [esp], 0
mov edx, esp
mov ecx, esi
mov eax, dword [ebx + 0xa44]
call dword [ebx + 0xa40]
cmp byte [esp], 0
jne 0x45f1c9
mov ecx, 0x45f2c4
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040b65c
call fcn.00403f3c
jmp 0x45f1ca
inc edi
mov eax, esi
call fcn.00418020
cmp edx, 0
jne 0x45f1d9
cmp eax, 0
je 0x45f159
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.0045efdc
cmp dword [ebx + 0x848], 0
jne 0x45f20c
mov ecx, 0x45f2dc
mov dl, 1
mov eax, dword [0x45e890]
call fcn.0040b65c
call fcn.00403f3c
mov ecx, 0x45f2f8
mov dl, 2
mov eax, ebx
call fcn.0045f4cc
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov edi, 0x10
push 0
push 0
mov eax, esi
call fcn.0041800c
mov eax, esi
call fcn.00418020
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x45f25c
call fcn.004036b0
mov ecx, eax
lea edx, [esp + 1]
mov eax, esi
call fcn.00418218
push edi
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, esi
call fcn.00418020
push eax
sar eax, 0x1f
cmp eax, edx
pop eax
je 0x45f288
call fcn.004036b0
push eax
lea eax, [esp + 0x11]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x45f2b2
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
add esp, 0x804
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f690
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x45f67a
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x45f6a4
call fcn.00409798
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f697
lea eax, [ebp - 8]
call fcn.00404560
ret
Function at 0x460880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004604c4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a10
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4608de
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a4c54]
mov dl, 1
mov eax, dword [0x4603bc]
call fcn.0040b754
call fcn.00403f3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4608e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a10
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x460940
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a4e64]
mov dl, 1
mov eax, dword [0x4603bc]
call fcn.0040b754
call fcn.00403f3c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004604f4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x463b34
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463c0c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a5d0c], 0
jne 0x463bf0
lea eax, [ebp - 4]
mov edx, 0x463c24
call fcn.004045f8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a10
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x463bf0
mov eax, ebx
call fcn.004027ac
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x463be9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x463bd3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x463c34
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x463bd3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4a5d0c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463bf0
mov eax, dword [ebp - 0xc]
call fcn.004027cc
ret
mov ebx, dword [0x4a5d0c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463c13
lea eax, [ebp - 4]
call fcn.00404560
ret

Function at 0x469520
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4a5d30], 0
jne 0x469543
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469494
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a5d30], eax
ret
Function at 0x46c848
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x412af0]
call fcn.00404fb8
xor eax, eax
push ebp
push 0x46c98c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a3e98], 0
jne 0x46c89b
mov ecx, dword [0x4a4a30]
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040b718
call fcn.00403f3c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403008
mov eax, ebx
call fcn.00404dd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46c99c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406320
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404de8
test eax, eax
jle 0x46c933
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46c92c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047e0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047c8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408944
test eax, eax
jne 0x46c92c
mov ebx, 0x15
jmp 0x46c938
mov ebx, 0x10
jmp 0x46c938
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a3e98]
call fcn.0046c7a0
mov eax, dword [ebp - 8]
call fcn.0046c7a0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c993
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404584
lea eax, [ebp - 0x10]
mov edx, dword [0x412af0]
call fcn.00405088
ret

Function at 0x476964
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x476992
mov eax, ebx
call fcn.0047741c
cmp dword [ebx + 0x3c], 0
je 0x47698b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x476a03
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4769f5
cmp dword [ebx + 8], 0
je 0x4769b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4769c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4769f5
cmp dword [ebx + 8], 0
je 0x4769a7
cmp eax, 3
je 0x4769d9
dec eax
jne 0x4769a7
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 0x4769a7
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4769a7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x476a21
cmp dword [ebx + 0x10], 0xcc
je 0x476a21
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00476a2c
pop ebx
ret
Function at 0x487ff0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x488041
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x488028
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x488018
jmp 0x488041
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x488029
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x496860
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404560
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4968bc
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x4968b0
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebp
call fcn.00404750
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x49689f
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49ae44
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x49ae84
mov eax, dword [esp]
call fcn.0049adac
test al, al
je 0x49ae6e
push 1
call sub.kernel32.dll_Sleep_1
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x49ae98
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x49af28
call sub.wininet.dll_InternetOpenA
mov edi, eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.00404a10
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
mov dword [esp + 4], 0x400
lea eax, [esp + 8]
push eax
lea eax, [esp + 8]
push eax
push esi
push 5
push ebx
call sub.wininet.dll_HttpQueryInfoA
mov eax, ebp
call fcn.004027ac
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ebp
push esi
push ebx
call sub.wininet.dll_InternetReadFile
push ebx
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
mov edx, dword [esp]
mov eax, esi
call fcn.0040921c
mov eax, esi
call fcn.004027cc
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49af2c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a00
lea esi, [ebp - 0x130]
xor eax, eax
push ebp
push 0x49b0a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004045f8
xor edx, edx
mov eax, 2
call fcn.0045e698
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0045e6b8
jmp 0x49b06f
lea eax, [ebp - 0x13c]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.004047c8
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408f30
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408764
mov eax, dword [ebp - 0x134]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 8]
call fcn.00408764
mov edx, dword [ebp - 0x140]
pop eax
call fcn.0040495c
je 0x49b051
lea eax, [ebp - 0x148]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.004047c8
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408764
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 8]
call fcn.00408764
mov edx, dword [ebp - 0x14c]
pop eax
call fcn.0040495c
jne 0x49b066
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0045e6d8
test eax, eax
jne 0x49afb2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b0a9
lea eax, [ebp - 0x14c]
mov edx, 7
call fcn.00404584
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404584
ret

Function at 0x49b0b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.00404560
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x49b10c
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x49b100
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebp
call fcn.00404750
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x49b0ef
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret