joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442fa8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x442fdd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d6c
jmp 0x442fe7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403cd8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x443f34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x443f6c
mov eax, esi
call fcn.0042bb78
test al, al
je 0x443f6c
mov eax, dword [ebx + 0x74]
call fcn.0042b87c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x443f6c
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042b87c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x444b44
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402c64
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x464014]
cmp byte [edx + 8], 0
je 0x444ba8
mov edx, dword [0x46400c]
cmp dword [edx], 2
jne 0x444ba8
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x444bac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x444c64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00444b44
test al, al
je 0x444c46
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403d6c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x444c46
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403e3c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x444bff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c6b
lea eax, [ebp - 0x2c]
call fcn.00403c84
lea eax, [ebp - 0xc]
call fcn.00403c84
ret
Function at 0x444e1c
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.004040c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x444e74
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x464020]
mov dl, 1
mov eax, dword [0x444704]
call fcn.0040ba38
call fcn.004036b4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044480c
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 0x445f90
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 [0x40dcc4]
call fcn.0040455c
xor eax, eax
push ebp
push 0x4460d7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45ea4c], 0
jne 0x445fe3
mov ecx, dword [0x463c54]
mov dl, 1
mov eax, dword [0x408454]
call fcn.0040b9fc
call fcn.004036b4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c64
mov eax, ebx
call fcn.00404464
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4460e8
lea edi, [ebp - 0x30]
mov ecx, 4
rep 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.004063dc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404474
test eax, eax
jle 0x44607e
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 0x446077
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00403ecc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00403eb4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004091e4
test eax, eax
jne 0x446077
mov ebx, 0x15
jmp 0x446083
mov ebx, 0x10
jmp 0x446083
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 [0x45ea4c]
call fcn.00445ee8
mov eax, dword [ebp - 8]
call fcn.00445ee8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4460de
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403ca8
lea eax, [ebp - 0x10]
mov edx, dword [0x40dcc4]
call fcn.00404628
ret
Function at 0x448de8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x448eed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00403c84
xor eax, eax
test al, al
jne 0x448e4b
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x90], 2
jne 0x448e45
cmp dword [ebp - 0x9c], 5
jae 0x448e49
xor eax, eax
jmp 0x448e4b
mov al, 1
test al, al
je 0x448eb9
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
push 0x448efc
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x448eaa
push 0x448f08
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
test edi, edi
je 0x448e95
push 3
mov al, byte [ebp - 5]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call edi
jmp 0x448ea2
lea eax, [ebp - 0xc]
mov edx, 0x448f2c
call fcn.00403d1c
push ebx
call sub.kernel32.dll_FreeLibrary_1
jmp 0x448ec6
lea eax, [ebp - 0xc]
mov edx, 0x448f60
call fcn.00403d1c
jmp 0x448ec6
lea eax, [ebp - 0xc]
mov edx, 0x448f84
call fcn.00403d1c
mov eax, dword [ebp - 0xc]
call fcn.00403f04
test eax, eax
jle 0x448ed7
call fcn.00403aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448ef4
lea eax, [ebp - 0xc]
call fcn.00403c84
ret
Function at 0x44a3ac
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a4ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403c84
push 1
call sub.kernel32.dll_SetErrorMode
cmp eax, 0xffff
jbe 0x44a3ec
call fcn.00402e94
mov word [ebp - 6], ax
call sub.kernel32.dll_GetLogicalDrives
test eax, eax
jns 0x44a3fe
call fcn.00402e94
mov edi, eax
mov ebx, 2
mov eax, ebx
cmp eax, 0x1f
ja 0x44a40f
bt edi, eax
jae 0x44a4bb
lea eax, [ebp - 0x2c]
mov edx, ebx
add edx, 0x41
jno 0x44a424
call fcn.00402e9c
call fcn.00403e2c
lea eax, [ebp - 0x2c]
mov edx, 0x44a500
call fcn.00403f0c
mov eax, dword [ebp - 0x2c]
call fcn.004040c8
push eax
call sub.kernel32.dll_GetDriveTypeA
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
mov edx, ebx
add edx, 0x41
jno 0x44a459
call fcn.00402e9c
call fcn.00403e2c
lea eax, [ebp - 0x30]
mov edx, 0x44a500
call fcn.00403f0c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.00449f14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
cmp esi, 3
je 0x44a489
cmp esi, 2
jne 0x44a4bb
cmp dword [ebp - 0x24], 0
jne 0x44a497
cmp dword [ebp - 0x28], 0
jbe 0x44a4bb
jmp 0x44a499
jle 0x44a4bb
lea eax, [ebp - 0x34]
mov edx, ebx
add edx, 0x41
jno 0x44a4a8
call fcn.00402e9c
call fcn.00403e2c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00403f0c
mov eax, dword [ebp - 4]
inc ebx
cmp ebx, 0x1a
jne 0x44a405
movzx eax, word [ebp - 6]
push eax
call sub.kernel32.dll_SetErrorMode
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a4f1
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00403ca8
ret
Function at 0x44cbd4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403c84
lea eax, [ebp - 8]
push eax
mov eax, esi
call fcn.004040c8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x44ccd5
mov eax, dword [ebp - 4]
call fcn.00402748
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44ccce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x44ccae
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x44cce4
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x44ccb5
push ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
call fcn.00407ee8
movzx eax, ax
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
call fcn.00407ee8
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x44ccf0
call fcn.00409f54
jmp 0x44ccb5
mov eax, ebx
call fcn.0044a650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ccdc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00402760
ret
mov eax, ebx
call fcn.0044a650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452cf4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004040c8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x452d0d
test al, 0x10
jne 0x452d11
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x45c744
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
test dl, dl
je 0x45c758
add esp, 0xfffffff0
call fcn.0040325c
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.004040b8
mov eax, dword [ebp + 0x10]
call fcn.004040b8
xor eax, eax
push ebp
push 0x45c80f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 4]
mov edx, dword [ebp - 8]
call fcn.00403cd8
lea eax, [ebx + 8]
mov edx, dword [ebp + 0x10]
call fcn.00403cd8
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x45348c]
call fcn.00415850
mov esi, eax
mov dword [ebx + 0x114], esi
lea eax, [esi + 0x30]
mov edx, dword [ebx + 8]
call fcn.00403cd8
mov eax, dword [ebx + 0x114]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x44], edx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], fcn.0045c87c
mov byte [eax + 0xe], 1
mov byte [ebx + 0x10], 0
mov edx, dword [ebx + 0x114]
mov eax, ebx
call fcn.0045c87c
mov eax, dword [ebx + 0x114]
call fcn.0041599c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c816
lea eax, [ebp - 8]
call fcn.00403c84
lea eax, [ebp + 0x10]
call fcn.00403c84
ret
Function at 0x406670
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4066d6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404930
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403198
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066c0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066dd
lea eax, [ebp - 0x10]
call fcn.004046c0
ret

Function at 0x40bdc4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40bdfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047b0
jmp 0x40be06
mov eax, ebx
mov edx, esi
call fcn.00404714
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40be10
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x40be31
mov al, byte [esp]
jmp 0x40be33
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ce24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cefa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404758
lea eax, [ebp - 8]
call fcn.00404bd0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cee4
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cedd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cec7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf0c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cec7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cee4
mov eax, dword [ebp - 0x10]
call fcn.004027d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf01
lea eax, [ebp - 8]
call fcn.004046c0
ret
Function at 0x40d4c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d528
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404930
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00408e5c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d52f
lea eax, [ebp - 0xc]
call fcn.004046c0
ret

Function at 0x41f324
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041f17c
dec esi
jne 0x41f346
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x420488
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c7890
cmp dword [edi], 0
jne 0x420504
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4c788c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c1404
mov ecx, 2
call fcn.004029b0
mov edx, 0x420460
lea eax, [esi + 5]
call fcn.00420480
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420480
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4204d9
mov dword [0x4c788c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x421fc8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x421fce
ret

Function at 0x4244d8
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 0x424529
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424510
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424500
jmp 0x424529
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 0x424511
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5404
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 [0x4156f8]
call fcn.004050a0
xor eax, eax
push ebp
push 0x4a5548
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c66bc], 0
jne 0x4a5457
mov ecx, dword [0x4c6868]
mov dl, 1
mov eax, dword [0x407b84]
call fcn.0040c648
call fcn.00404058
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040315c
mov eax, ebx
call fcn.00404f50
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a5558
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.00406138
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f60
test eax, eax
jle 0x4a54ef
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 0x4a54e8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404948
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404930
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089dc
test eax, eax
jne 0x4a54e8
mov ebx, 0x15
jmp 0x4a54f4
mov ebx, 0x10
jmp 0x4a54f4
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 [0x4c66bc]
call fcn.004a535c
mov eax, dword [ebp - 8]
call fcn.004a535c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a554f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046e4
lea eax, [ebp - 0x10]
mov edx, dword [0x4156f8]
call fcn.00405170
ret

Function at 0x4ae410
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c6d64]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ae436
push 0
mov eax, dword [0x4c6d64]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4af1c0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004075a0
ret
Function at 0x4b12c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4b1429
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b1438
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b1448
push ebx
call sub.KERNEL32.DLL_GetProcAddress
push 0x4b1438
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b1450
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
push 0x4b1448
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov esi, eax
push 0x4b1460
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
mov eax, 0x4c83f8
xor ecx, ecx
mov edx, 0x418
call fcn.0040315c
mov dword [0x4c83f8], esi
mov dword [0x4c83fc], edi
mov dword [0x4c8400], ebx
lea eax, [ebp - 4]
mov edx, 0x4b1478
call fcn.00404758
lea eax, [ebp - 8]
mov edx, 0x4b148c
call fcn.00404758
lea eax, [ebp - 0xc]
mov edx, 0x4b14a0
call fcn.00404758
mov eax, dword [ebp - 4]
call fcn.00404980
push eax
lea eax, [ebp - 4]
call fcn.00404bd8
mov edx, 0x4c8410
pop ecx
call fcn.004029b0
mov eax, dword [ebp - 8]
call fcn.00404980
push eax
lea eax, [ebp - 8]
call fcn.00404bd8
mov edx, 0x4c8510
pop ecx
call fcn.004029b0
mov eax, dword [ebp - 0xc]
call fcn.00404980
push eax
lea eax, [ebp - 0xc]
call fcn.00404bd8
mov edx, 0x4c8610
pop ecx
call fcn.004029b0
mov ebx, dword [0x4cace8]
add ebx, 0x418
push 0x4cacf8
push 0x418
push 0x4c83f8
push ebx
mov eax, dword [0x4c7fdc]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
push 0x4cacf8
push 0
push ebx
mov eax, dword [0x4c6ca0]
mov eax, dword [eax + 0x60]
push eax
push 0
push 0
mov eax, dword [0x4c7fdc]
push eax
call sub.KERNEL32.DLL_CreateRemoteThread
mov dword [0x4cacf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1430
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e4
ret

Function at 0x4b1661
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, 0x4c7fdc
xor ebx, ebx
push esi
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [edi], eax
cmp dword [edi], 0
je 0x4b1706
push 4
push 0x1000
push 0x2d08
push 0
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [0x4cace8], eax
cmp dword [0x4cace8], 0
jne 0x4b16a6
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4b1706
mov eax, 0x4b1f30
sub eax, 0x4b18f0
inc eax
mov dword [0x4cacfc], eax
push 0x40
push 0x1000
mov eax, dword [0x4cacfc]
push eax
push 0
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [0x4cacec], eax
cmp dword [0x4cacec], 0
jne 0x4b16e6
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4b1706
push 0x4cacf8
mov eax, dword [0x4cacfc]
push eax
push 0x4b18f0
mov eax, dword [0x4cacec]
push eax
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x430003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x57260f2
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x6b554527
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219