joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450584
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45059b
add esp, 0xfffffff0
call fcn.004034d8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418cd0
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4101c0]
call fcn.00403168
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4101c0]
call fcn.00403168
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41abc8]
call fcn.00422bdc
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x450710
mov eax, dword [0x567240]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00422fac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x452140
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x567240]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040d498
test eax, eax
je 0x45068e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a478
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d4c0
test eax, eax
je 0x4506a2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404168
mov eax, dword [0x566f24]
cmp byte [eax], 0
jne 0x4506d3
mov eax, ebx
call fcn.004507fc
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450705
call fcn.00403530
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450a6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x568830]
cmp dword [eax + 0x24], 0
je 0x450b0f
cmp dword [ebx + 0x84], 0
jne 0x450b09
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4509fc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x450b09
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 0x450ad2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450b09
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00411dc8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x450ae1
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x45151c
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 0x451551
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.00404020
jmp 0x45155b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403f8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4524b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4524ec
mov eax, esi
call fcn.00439e3c
test al, al
je 0x4524ec
mov eax, dword [ebx + 0x74]
call fcn.00439b40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4524ec
push 0
mov eax, dword [ebx + 0x74]
call fcn.00439b40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45daf0
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 0x45dbc8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5688cc], 0
jne 0x45dbac
lea eax, [ebp - 4]
mov edx, 0x45dbe0
call fcn.00403fd0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040437c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x45dbac
mov eax, ebx
call fcn.004027bc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45dba5
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 0x45db8f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45dbf0
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x45db8f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x5688cc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dbac
mov eax, dword [ebp - 0xc]
call fcn.004027d4
ret
mov ebx, dword [0x5688cc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dbcf
lea eax, [ebp - 4]
call fcn.00403f38
ret

Function at 0x46a66c
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 0x46a6bd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x46a6a4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x46a694
jmp 0x46a6bd
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 0x46a6a5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477b3c
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.00412188
mov esi, eax
xor eax, eax
push ebp
push 0x477bb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [esi + 8]
dec ebx
cmp ebx, 0
jl 0x477b9a
mov edx, ebx
mov eax, esi
call fcn.00411dc8
test byte [eax + 0x48], 1
je 0x477b94
push 0
mov edx, ebx
mov eax, esi
call fcn.00411dc8
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov edx, ebx
mov eax, esi
call fcn.00411c68
dec ebx
cmp ebx, 0xffffffff
jne 0x477b68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477bbd
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x30]
call fcn.004121ec
ret

Function at 0x478728
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478891
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403fd0
mov eax, dword [ebp - 0x10]
call fcn.00478490
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47877a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00478db0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47884f
xor eax, eax
push ebp
push 0x478848
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00478600
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004788c0
test al, al
je 0x478826
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404020
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x478826
mov eax, dword [ebp - 0x34]
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 - 0x14]
call fcn.0040437c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x478820
mov eax, dword [ebp - 0x14]
call fcn.0040437c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040f0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00478728
dec ebx
cmp ebx, 0xffffffff
jne 0x4787d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47884f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00478600
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040437c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004785ec
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478898
lea eax, [ebp - 0x3c]
call fcn.00403f38
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f5c
ret
Function at 0x47884f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478891
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403fd0
mov eax, dword [ebp - 0x10]
call fcn.00478490
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x47877a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404400
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00478db0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47884f
xor eax, eax
push ebp
push 0x478848
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00478600
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004788c0
test al, al
je 0x478826
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404020
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x478826
mov eax, dword [ebp - 0x34]
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 - 0x14]
call fcn.0040437c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x478820
mov eax, dword [ebp - 0x14]
call fcn.0040437c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004040f0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00478728
dec ebx
cmp ebx, 0xffffffff
jne 0x4787d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47884f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00478600
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.0040437c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004785ec
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478898
lea eax, [ebp - 0x3c]
call fcn.00403f38
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403f5c
ret

Function at 0x4788c0
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.00402de0
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 [0x56792c]
cmp byte [edx + 8], 0
je 0x478924
mov edx, dword [0x567908]
cmp dword [edx], 2
jne 0x478924
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 0x478928
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 0x4789e0
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.004788c0
test al, al
je 0x4789c2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404020
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4789c2
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.0040437c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0040437c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004040f0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x47897b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4789e7
lea eax, [ebp - 0x2c]
call fcn.00403f38
lea eax, [ebp - 0xc]
call fcn.00403f38
ret

Function at 0x4789f0
Capabilities:
Query or enumerate registry value

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 0x478aa8
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.004788c0
test al, al
je 0x478a8a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404020
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x478a8a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.0040437c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.0040437c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004040f0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x478a43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478aaf
lea eax, [ebp - 0x2c]
call fcn.00403f38
lea eax, [ebp - 0xc]
call fcn.00403f38
ret
Function at 0x478cc4
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.004784a4
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.0040437c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x478d22
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x567480]
mov dl, 1
mov eax, dword [0x47839c]
call fcn.0040c750
call fcn.00403930
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x478d2c
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.0040437c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x478d84
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x56793c]
mov dl, 1
mov eax, dword [0x47839c]
call fcn.0040c750
call fcn.00403930
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004784d4
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 0x47e124
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47e1b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x567908]
cmp dword [eax], 2
jne 0x47e164
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x47e197
lea eax, [ebp - 8]
mov edx, esi
call fcn.00404730
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404180
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.0040437c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e1bc
lea eax, [ebp - 8]
call fcn.00404628
lea eax, [ebp - 4]
call fcn.00403f38
ret

Function at 0x47ee4c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x47ee6a
push ebx
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x47ee62
test al, 0x10
je 0x47ee66
xor eax, eax
jmp 0x47ee6c
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x47efb4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47f05b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040437c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47f045
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004044ec
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040437c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47f045
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47f06c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47f045
cmp dword [ebp - 8], 0x34
jne 0x47f045
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f062
lea eax, [ebp - 0x10]
call fcn.00403f38
ret

Function at 0x47fbd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x47fbe5
add esp, 0xfffffff0
call fcn.004034d8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403168
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.00403f8c
mov eax, esi
call fcn.0040437c
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x47fc3a
mov ecx, dword [0x567750]
mov dl, 1
mov eax, dword [0x47fa08]
call fcn.00479acc
call fcn.00403930
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47fc61
call fcn.00403530
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x481094
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481271
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402de0
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x54d350], eax
mov eax, dword [ebp - 0xc]
mov dword [0x54d354], eax
mov eax, dword [ebp - 0x24]
mov dword [0x54d358], eax
mov eax, dword [0x567908]
cmp dword [eax], 2
sete byte [0x54cc48]
push 0x48127c
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047ee70
cmp byte [0x54cc48], 0
jne 0x481120
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047efb4
test al, al
je 0x481120
mov eax, dword [ebp - 0x4c]
mov dword [0x56943c], eax
jmp 0x481127
xor eax, eax
mov dword [0x56943c], eax
call fcn.00480dd4
and eax, 0x7f
cmp eax, 0x12
ja case.0x481138.0
jmp dword [eax*4 + 0x48113f]
mov byte [0x54cc34], 1
jmp case.0x481138.0
mov byte [0x54cc38], 1
jmp case.0x481138.0
mov byte [0x54cc3c], 1
jmp case.0x481138.0
mov byte [0x54cc40], 1
jmp case.0x481138.0
mov byte [0x54cc44], 1
jmp case.0x481138.0
mov byte [0x54cc4c], 1
mov byte [0x54cc50], 1
jmp case.0x481138.0
mov byte [0x54cc4c], 1
mov byte [0x54cc54], 1
jmp case.0x481138.0
mov byte [0x54cc4c], 1
mov byte [0x54cc54], 1
mov byte [0x54cc58], 1
jmp case.0x481138.0
mov byte [0x54cc5c], 1
jmp case.0x481138.0
mov byte [0x54cc60], 1
jmp case.0x481138.0
mov byte [0x54cc64], 1
jmp case.0x481138.0
mov byte [0x54cc68], 1
jmp case.0x481138.0
mov byte [0x54cc6c], 1
jmp case.0x481138.0
mov byte [0x54cc70], 1
jmp case.0x481138.0
mov byte [0x54cc74], 1
jmp case.0x481138.0
mov byte [0x54cc78], 1
jmp case.0x481138.0
mov byte [0x54cc7c], 1
jmp case.0x481138.0
mov byte [0x54cc80], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481278
lea eax, [ebp - 4]
call fcn.00403f38
ret

Function at 0x4846c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x484700]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4846de
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4846ed
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4846fc
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x485a94
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x567568]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x485aba
push 0
mov eax, dword [0x567568]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4889fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x488a2a
mov eax, ebx
call fcn.004894a0
cmp dword [ebx + 0x3c], 0
je 0x488a23
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x488a9b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x488a8d
cmp dword [ebx + 8], 0
je 0x488a4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x488a5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488a8d
cmp dword [ebx + 8], 0
je 0x488a3f
cmp eax, 3
je 0x488a71
dec eax
jne 0x488a3f
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 0x488a3f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x488a3f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x488ab9
cmp dword [ebx + 0x10], 0xcc
je 0x488ab9
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.00488ac4
pop ebx
ret

Function at 0x49ae68
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x49ae86
and ecx, ecx
jle 0x49ae86
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x49ae71
pop ebx
ret

Function at 0x49aecc
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x49aef0
and ecx, ecx
jle 0x49aef0
push ebx
push edi
xor ebx, ebx
lea edi, [0x49aef2]
mov bl, byte [edx]
xor bl, al
shr ax, 8
xor ax, word [edi + ebx*2]
inc edx
dec ecx
jne 0x49aede
pop edi
pop ebx
ret

Function at 0x49b0f4
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x49b116
and ecx, ecx
jle 0x49b116
push ebx
push edi
xor ebx, ebx
lea edi, [0x49b11c]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x49b106
pop edi
pop ebx
ret