joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484c20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x484c58]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x484c39
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x484c48
or bl, 4
test esi, 0x20000000
je 0x484c53
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x484ca8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00484c5c
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x48b418
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48b42a
add esp, 0xfffffff0
call fcn.00403d98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424078
mov eax, dword [0x55bff4]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b7bc
mov eax, dword [0x55c004]
mov dword [eax + 4], ebx
mov dword [eax], 0x48b7c8
mov eax, ebx
call fcn.0048b7d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x487bf0
push eax
push 0
push 0
mov eax, dword [0x55c308]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42617c]
call fcn.00427990
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42617c]
call fcn.00427990
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42617c]
call fcn.00427990
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048bc84
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48bb18
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48bb18
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48bb18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48b567
call fcn.00403df0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48b8fc
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 0x48baa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48ba88
mov dl, 1
mov eax, dword [0x4187ec]
call fcn.00403a04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404868
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48ba77
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.0047876c
test al, al
je 0x48ba6a
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, 0x48bab8
lea eax, [ebp - 0x254]
call fcn.0040a450
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48ba6a
xor eax, eax
push ebp
push 0x48ba63
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 0x48baf0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48ba4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ad8
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 0x48ba4c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ba6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48b96d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d930
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 0x48baae
lea eax, [ebp - 0x260]
call fcn.00404868
ret

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

Disassembly:
push ecx
mov eax, dword [0x55dbf4]
cmp byte [eax + 0xa5], 0
jne 0x48c495
cmp dword [0x55dc0c], 0
jne 0x48c456
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48c3e0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x55dc0c], eax
cmp dword [0x55dc08], 0
jne 0x48c471
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x55dc08], eax
cmp dword [0x55dc10], 0
jne 0x48c495
push esp
push 0
push 0
push 0x48c384
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55dc10], eax
pop edx
ret
Function at 0x48c58c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48c5a3
add esp, 0xfffffff0
call fcn.00403d98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424078
mov eax, dword [0x55c2d4]
cmp word [eax + 2], 0
jne 0x48c5cb
mov eax, dword [0x55c2d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048dd0c
mov eax, dword [0x55c480]
cmp word [eax + 2], 0
jne 0x48c5e5
mov eax, dword [0x55c480]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048df04
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418168]
call fcn.00403a04
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], 0xff000018
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 [0x426cfc]
call fcn.0042ed0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48c76c
mov eax, dword [0x55c0dc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f0dc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48e4b4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x55c0dc]
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.0040e2cc
test eax, eax
je 0x48c6da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e30
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e2f4
test eax, eax
je 0x48c6ee
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.00404ad8
mov eax, dword [0x55bdb4]
cmp byte [eax], 0
jne 0x48c722
mov eax, ebx
call fcn.0048c894
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.0048e690
mov eax, ebx
call fcn.0048f054
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c762
call fcn.00403df0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48cb14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x55dbf4]
cmp dword [eax + 0x30], 0
je 0x48cbbe
cmp dword [ebx + 0x94], 0
jne 0x48cbb8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48caa4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48cbb8
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 0x48cb7e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48cbb8
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.0041aca0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48cb8d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48d720
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 0x48d755
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.00404958
jmp 0x48d762
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004048bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48e86c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48e8ad
mov eax, esi
call fcn.00473cf0
test al, al
je 0x48e8ad
mov eax, dword [ebx + 0x84]
call fcn.004739ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e8ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.004739ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4925ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49261a
mov eax, ebx
call fcn.004930a0
cmp dword [ebx + 0x40], 0
je 0x492613
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49268b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x49267d
cmp dword [ebx + 8], 0
je 0x49263c
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 0x49264e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49267d
cmp dword [ebx + 8], 0
je 0x49262f
cmp eax, 3
je 0x492661
dec eax
jne 0x49262f
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 0x49262f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49262f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4926a9
cmp dword [ebx + 0x14], 0xcc
je 0x4926a9
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.004926b4
pop ebx
ret
Function at 0x4b1a44
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4b1a4c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1c3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4b1c54
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004048bc
lea ecx, [ebp - 0x10]
mov edx, 0x4b1c68
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004048bc
lea ecx, [ebp - 0x14]
mov edx, 0x4b1c80
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004048bc
lea ecx, [ebp - 0x18]
mov edx, 0x4b1c9c
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004048bc
lea ecx, [ebp - 0x1c]
mov edx, 0x4b1cb8
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004048bc
lea ecx, [ebp - 0x24]
mov edx, 0x4b1cd0
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408ee0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040954c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4b1ce8
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x28]
call fcn.004a8b24
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4b1cf8
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x2c]
call fcn.004a8b24
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4b1d10
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040954c
inc eax
je 0x4b1be1
lea ecx, [ebp - 0x34]
mov edx, 0x4b1d10
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x34]
call fcn.00409510
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b128
fstp qword [ebp - 0x3c]
wait
call fcn.0040b568
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4b1bfc
lea ecx, [ebp - 0x40]
mov edx, 0x4b1d10
mov eax, esi
call fcn.004af7c0
mov eax, dword [ebp - 0x40]
call fcn.004a8b24
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4b1d20
mov eax, esi
call fcn.004af7c0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004048bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1c45
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040488c
ret
Function at 0x4b8b4c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b8ba6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b8b3c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a75d0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a71d0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8bad
lea eax, [ebp - 4]
call fcn.00404868
ret

Function at 0x4bbf4c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
add eax, 0xc
mov eax, dword [eax]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0xc]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
xor ebx, ebx
mov bl, cl
mov ebx, dword [ebx*4 + 0x55a7dc]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x55a7dc]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x55a7dc]
mov dword [esp + 8], ebx
shr ecx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x55a7dc]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x55a360]
mov dword [edx + eax*4 + 0x10], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x14], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x18], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x1c], ecx
add eax, 4
cmp eax, 0x28
jl 0x4bbf77
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4bf9ac
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 [0x417694]
call fcn.00405228
xor eax, eax
push ebp
push 0x4bfaf0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55b43c], 0
jne 0x4bf9ff
mov ecx, dword [0x55bdf4]
mov dl, 1
mov eax, dword [0x407fc4]
call fcn.0040d4fc
call fcn.00404200
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040322c
mov eax, ebx
call fcn.004050d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4bfb00
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.004063ac
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050e8
test eax, eax
jle 0x4bfa97
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 0x4bfa90
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404af0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ad8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e70
test eax, eax
jne 0x4bfa90
mov ebx, 0x15
jmp 0x4bfa9c
mov ebx, 0x10
jmp 0x4bfa9c
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 [0x55b43c]
call fcn.004bf8a8
mov eax, dword [ebp - 8]
call fcn.004bf8a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfaf7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040488c
lea eax, [ebp - 0x10]
mov edx, dword [0x417694]
call fcn.004052f8
ret

Function at 0x4c1e30
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 0x4c1e81
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4c1e68
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4c1e58
jmp 0x4c1e81
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 0x4c1e69
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cfeac
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.00407960
ret
Function at 0x4d04fc
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffaac
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x554], eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x550], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4d06f8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x540]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov ecx, eax
lea edx, [ebp - 0x540]
lea eax, [ebp - 0x10]
call fcn.00404958
lea edx, [ebp - 0x544]
mov eax, dword [ebp - 0x10]
call fcn.00408ccc
mov edx, dword [ebp - 0x544]
lea eax, [ebp - 0x10]
mov ecx, 0x4d0710
call fcn.00404b74
xor edx, edx
mov eax, 0xf
call fcn.004bf470
mov edi, eax
mov dword [ebp - 0x140], 0x128
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.004bf490
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4d06a6
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ad8
lea edx, [ebp - 0x548]
xor eax, eax
call fcn.00402b64
mov eax, dword [ebp - 0x548]
lea edx, [ebp - 0x18]
call fcn.00409ba4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.00404c74
jne 0x4d0619
mov eax, dword [ebp - 0x128]
mov esi, eax
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 4], eax
jmp 0x4d065b
lea eax, [ebp - 0x550]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404ad8
mov eax, dword [ebp - 0x550]
lea edx, [ebp - 0x54c]
call fcn.00408ccc
mov eax, dword [ebp - 0x54c]
mov edx, 0x4d0728
call fcn.00404c74
jne 0x4d065b
mov eax, dword [ebp - 0x138]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x554]
mov eax, dword [ebp - 0x14]
call fcn.00408ccc
mov eax, dword [ebp - 0x554]
mov edx, 0x4d0740
call fcn.00404c74
jne 0x4d0693
mov bl, 1
mov eax, dword [ebp - 0x138]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x140]
mov eax, edi
call fcn.004bf4b0
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4d05c4
test bl, bl
je 0x4d06bd
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp esi, dword [ebp - 8]
je 0x4d06cd
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d06ff
lea eax, [ebp - 0x554]
mov edx, 5
call fcn.0040488c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040488c
ret