joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d57c
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 0x44d727
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d708
mov dl, 1
mov eax, dword [0x411870]
call fcn.004030b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ea4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d6f7
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.0043b588
test al, al
je 0x44d6ea
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, 0x44d738
lea eax, [ebp - 0x254]
call fcn.004089ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d6ea
xor eax, eax
push ebp
push 0x44d6e3
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 0x44d770
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d6cc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
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 0x44d6cc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d6ea
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d5ed
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004153a8
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 0x44d72e
lea eax, [ebp - 0x260]
call fcn.00403ea4
ret

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

Disassembly:
push ecx
mov eax, dword [0x454bbc]
cmp byte [eax + 0xa5], 0
jne 0x44e0cd
cmp dword [0x454bd4], 0
jne 0x44e08e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e018
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bd4], eax
cmp dword [0x454bd0], 0
jne 0x44e0a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bd0], eax
cmp dword [0x454bd8], 0
jne 0x44e0cd
push esp
push 0
push 0
push 0x44dfbc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x454bd8], eax
pop edx
ret
Function at 0x44e1c4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e1db
add esp, 0xfffffff0
call fcn.004033f4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419770
mov eax, dword [0x452fc4]
cmp word [eax + 2], 0
jne 0x44e203
mov eax, dword [0x452fc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f89c
mov eax, dword [0x45306c]
cmp word [eax + 2], 0
jne 0x44e21d
mov eax, dword [0x45306c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fa94
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411454]
call fcn.004030b8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411454]
call fcn.004030b8
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 [0x41b95c]
call fcn.004215a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e3a4
mov eax, dword [0x452ee0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421974
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450034
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452ee0]
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.0040bfe8
test eax, eax
je 0x44e312
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c010
test eax, eax
je 0x44e326
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.00404114
mov eax, dword [0x452de4]
cmp byte [eax], 0
jne 0x44e35a
mov eax, ebx
call fcn.0044e4cc
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.00450210
mov eax, ebx
call fcn.00450bd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e39a
call fcn.0040344c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e74c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bbc]
cmp dword [eax + 0x30], 0
je 0x44e7f6
cmp dword [ebx + 0x94], 0
jne 0x44e7f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e6dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e7f0
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 0x44e7b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e7f0
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.00413818
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e7c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f358
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 0x44f38d
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.00403f94
jmp 0x44f39a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ef8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4503ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45042d
mov eax, esi
call fcn.00436cfc
test al, al
je 0x45042d
mov eax, dword [ebx + 0x84]
call fcn.004369f8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45042d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004369f8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401580
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41507c]
jne 0x40158a
repz ret
jmp fcn.00401dd3

Function at 0x406bbf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41507c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040485b
and dword [ebp - 0x14], 0
cmp dword [0x4171a8], 0
mov dword [ebp - 0x18], eax
jne 0x406c72
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406d1a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406d1a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4171a8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4171ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4171b0], eax
call edi
push eax
call esi
mov dword [0x4171b8], eax
test eax, eax
je 0x406c72
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4171b4], eax
mov eax, dword [0x4171b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406ccb
cmp dword [0x4171b8], ecx
je 0x406ccb
push eax
call esi
push dword [0x4171b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406ccb
test ebx, ebx
je 0x406ccb
call edi
test eax, eax
je 0x406cc2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406cc2
test byte [ebp - 8], 1
jne 0x406ccb
or dword [ebp + 0x10], 0x200000
jmp 0x406cfe
mov eax, dword [0x4171ac]
cmp eax, dword [ebp - 0x18]
je 0x406cfe
push eax
call esi
test eax, eax
je 0x406cfe
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406cfe
mov eax, dword [0x4171b0]
cmp eax, dword [ebp - 0x18]
je 0x406cfe
push eax
call esi
test eax, eax
je 0x406cfe
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4171a8]
call esi
test eax, eax
je 0x406d1a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406d1c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401580
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404eb4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x405037
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.00404e58
xor edi, edi
push ebp
push 0x40501a
push dword fs:[edi]
mov dword fs:[edi], esp
mov eax, esi
call fcn.00404e7c
mov esi, eax
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00404dbc
mov ebx, eax
test ebx, ebx
jne 0x404f47
mov eax, 0x10
call sub.rtl70.bpl__System__GetMem_qqri
mov ebx, eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx], esi
lea edx, [ebx + 4]
mov eax, esi
mov ecx, 5
call sub.rtl70.bpl__System_Move_qqrpxvpvi
lea edx, [ebp - 0x18]
mov eax, esi
call sub.rtl70.bpl__Sysutils_IntToStr_qqri
mov edx, dword [ebp - 0x18]
mov ecx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov esi, dword [eax]
call dword [esi + 0x3c]
mov edx, ebx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00404d90
test eax, eax
jne 0x405000
mov eax, 8
call sub.rtl70.bpl__System__GetMem_qqri
mov edx, eax
xor eax, eax
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x404f80
mov dword [ebx + 0xc], edx
jmp 0x404f8a
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x404f7e
mov dword [eax + 4], edx
mov byte [ebp - 0xe], 0xe9
mov eax, dword [ebp - 8]
sub eax, dword [ebx]
sub eax, 5
mov dword [ebp - 0xd], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x404fea
mov edx, dword [ebx]
lea eax, [ebp - 0xe]
mov ecx, 5
call sub.rtl70.bpl__System_Move_qqrpxvpvi
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x405000
mov ecx, 0x405050
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Sysutils_Exception_]
call sub.rtl70.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl70.bpl__System__RaiseExcept_qqrv
jmp 0x405000
mov ecx, 0x405050
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Sysutils_Exception_]
call sub.rtl70.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl70.bpl__System__RaiseExcept_qqrv
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405021
mov eax, dword [ebp - 4]
call fcn.00405080
ret
Function at 0x40508c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.00404e58
xor ecx, ecx
push ebp
push 0x40522d
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
call fcn.00404e7c
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404dbc
mov ebx, eax
test ebx, ebx
jne 0x4050d8
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x405234
mov edx, ebx
mov ecx, esi
mov eax, dword [ebp - 4]
call fcn.00404d90
test eax, eax
jne 0x4050f2
call sub.rtl70.bpl__System__TryFinallyExit_qqrv
jmp 0x405234
mov esi, dword [ebx + 0xc]
cmp eax, esi
jne 0x405100
xor edx, edx
mov dword [ebx + 0xc], edx
jmp 0x405129
test esi, esi
je 0x405129
jmp 0x405122
cmp eax, edx
jne 0x405120
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov edx, dword [eax + 4]
test edx, edx
je 0x405119
mov esi, edx
xor edx, edx
mov dword [eax + 4], edx
jmp 0x405122
mov esi, edx
mov edx, dword [esi + 4]
test edx, edx
jne 0x405106
mov edx, 8
call sub.rtl70.bpl__System__FreeMem_qqrpv
cmp dword [ebx + 0xc], 0
jne 0x4051b8
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40518a
mov edx, dword [ebx]
lea eax, [ebx + 4]
mov ecx, 5
call sub.rtl70.bpl__System_Move_qqrpxvpvi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4051a0
mov ecx, 0x405248
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Sysutils_Exception_]
call sub.rtl70.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl70.bpl__System__RaiseExcept_qqrv
jmp 0x4051a0
mov ecx, 0x405248
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Sysutils_Exception_]
call sub.rtl70.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl70.bpl__System__RaiseExcept_qqrv
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404c7c
mov edx, 0x10
mov eax, ebx
call sub.rtl70.bpl__System__FreeMem_qqrpv
jmp 0x405213
mov byte [ebp - 0x11], 0xe9
mov eax, dword [esi]
sub eax, dword [ebx]
sub eax, 5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4051fd
mov edx, dword [ebx]
lea eax, [ebp - 0x11]
mov ecx, 5
call sub.rtl70.bpl__System_Move_qqrpxvpvi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 5
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x405213
mov ecx, 0x405248
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Sysutils_Exception_]
call sub.rtl70.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl70.bpl__System__RaiseExcept_qqrv
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405234
mov eax, dword [ebp - 4]
call fcn.00405080
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f63e
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
push esp
push 0x44f698
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x44f633
call sub.kernel32.dll_GetLastError
mov dword [esp], eax
mov bl, 1
jmp 0x44f68c
mov eax, edi
call sub.rtl70.bpl__System__GetMem_qqri
mov esi, eax
push esi
push edi
push 0
push 0x44f698
call sub.version.dll_GetFileVersionInfoA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0x44f6a8
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
shr edx, 0x10
mov ax, word [eax + 8]
and ax, 0xffff
cmp dx, 4
jb 0x44f67d
cmp ax, 0x46
ja 0x44f681
xor ebx, ebx
jmp 0x44f683
mov bl, 1
mov edx, edi
mov eax, esi
call sub.rtl70.bpl__System__FreeMem_qqrpv
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x451ad4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
cmp bl, 7
jne 0x451b00
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x451b05
mov edi, ebx
and edi, 0x7f
mov eax, esi
call sub.vcl70.bpl__Controls_TWinControl_GetHandle_qqrv
test eax, eax
je 0x451b1d
mov edx, edi
mov eax, dword [esi + 0x180]
call fcn.00402440
mov byte [esi + 0x298], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x459e98
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
mov edx, dword [eax + 0x228]
mov dl, byte [edx + 0x20]
cmp dl, 7
jne 0x459edd
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
sub eax, 0x30
add eax, 2
mov dword [ebx], eax
cmp dword [ebx], 8
jne 0x459ef3
mov dword [ebx], 1
jmp 0x459ef3
cmp dl, 6
jne 0x459eea
mov dword [ebx], 1
jmp 0x459ef3
xor eax, eax
mov al, dl
add eax, 2
mov dword [ebx], eax
mov eax, dword [ebx]
dec eax
cmp eax, 1
jge 0x459f03
mov dword [esi], 7
jmp 0x459f05
mov dword [esi], eax
pop edx
pop esi
pop ebx
ret

Function at 0x4613ac
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 0x4613fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4613e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4613d4
jmp 0x4613fd
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 0x4613e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4726b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], cl
mov esi, edx
mov ebx, eax
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4726ca
or byte [esp], 2
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.004725e0
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.004ac610
mov ax, word [esi]
call fcn.004de844
test al, al
je 0x472701
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x118]
test al, al
jne 0x472701
mov word [esi], 0
pop edx
pop esi
pop ebx
ret

Function at 0x476330
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, dword [0x4f7fd4]
mov eax, dword [eax]
mov esi, dword [eax + 0x5c]
cmp byte [esp + 0x90], 0
je 0x476377
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 2
call sub.vcl70.bpl__Comctrls_TStatusPanels_GetItem_qqri
mov edx, dword [esi + 0xb0]
call sub.vcl70.bpl__Comctrls_TStatusPanel_SetText_qqrx17System_AnsiString
jmp 0x476394
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 2
call sub.vcl70.bpl__Comctrls_TStatusPanels_GetItem_qqri
xor edx, edx
call sub.vcl70.bpl__Comctrls_TStatusPanel_SetText_qqrx17System_AnsiString
cmp byte [esp + 0x14], 0
je 0x4763be
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 1
call sub.vcl70.bpl__Comctrls_TStatusPanels_GetItem_qqri
mov edx, dword [esi + 0xac]
call sub.vcl70.bpl__Comctrls_TStatusPanel_SetText_qqrx17System_AnsiString
jmp 0x4763db
mov eax, dword [ebx + 0x34c]
mov eax, dword [eax + 0x208]
mov edx, 1
call sub.vcl70.bpl__Comctrls_TStatusPanels_GetItem_qqri
xor edx, edx
call sub.vcl70.bpl__Comctrls_TStatusPanel_SetText_qqrx17System_AnsiString
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47f594
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47f625
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x47f5d2
mov eax, ebx
call sub.rtl70.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x100]
push eax
push 0
push 0x47f634
lea eax, [ebp - 0x200]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x204]
lea eax, [ebp - 0x100]
call sub.rtl70.bpl__Sysutils_StrPas_qqrpxc
mov edx, dword [ebp - 0x204]
mov eax, ebx
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f62c
lea eax, [ebp - 0x204]
call sub.rtl70.bpl__System__LStrClr_qqrpv
ret
Function at 0x480610
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
mov al, byte [esi + 0x20e]
mov byte [esp], al
xor edx, edx
mov eax, esi
call sub.vcl70.bpl__Stdctrls_TCustomEdit_SetReadOnly_qqro
push 0
push 0
push 0x432
mov eax, esi
call sub.vcl70.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_SendMessageA
test eax, eax
setne bl
mov dl, byte [esp]
mov eax, esi
call sub.vcl70.bpl__Stdctrls_TCustomEdit_SetReadOnly_qqro
mov eax, esi
call sub.vcl70.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push eax
call sub.user32.dll_EnumClipboardFormats
test eax, eax
je 0x480680
cmp eax, 2
jne 0x48066e
xor ebx, ebx
jmp 0x48067c
cmp eax, 3
je 0x480678
cmp eax, 0xe
jne 0x48067c
mov bl, 1
jmp 0x480680
test eax, eax
jne 0x48065b
call sub.user32.dll_CloseClipboard
mov eax, ebx
pop edx
pop esi
pop ebx
ret