joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450c14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5707bc]
cmp byte [eax + 0xc], 0
je 0x450d81
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450d7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x571bf4], 0
jne 0x450c68
push 0x450d88
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x450d90
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571bf4], eax
cmp dword [0x56ec9c], 0
jne 0x450d63
push 0x450da0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x56ec9c], eax
cmp dword [0x56ec9c], 0
je 0x450d63
push 0x450dac
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571bf8], eax
push 0x450dbc
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571bfc], eax
push 0x450dd0
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c00], eax
push 0x450de8
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c04], eax
push 0x450e00
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c08], eax
push 0x450e14
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c0c], eax
push 0x450e2c
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c10], eax
push 0x450e44
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c14], eax
push 0x450e60
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c18], eax
push 0x450e6c
mov eax, dword [0x56ec9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x571c1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d81
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x455110
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404724
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45515f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.0040498c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cfe4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d034]
test si, 4
je 0x45cff8
or bl, 1
test si, 8
je 0x45d002
or bl, 4
test si, 1
je 0x45d00c
or bl, 8
test si, 2
je 0x45d016
or bl, 0x10
test si, 0x10
je 0x45d020
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d02f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d038
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d070]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d051
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d060
or bl, 4
test esi, 0x20000000
je 0x45d06b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4636ac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4636be
add esp, 0xfffffff0
call fcn.00403c98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423af4
mov eax, dword [0x570428]
mov dword [eax + 4], ebx
mov dword [eax], 0x463a50
mov eax, dword [0x570434]
mov dword [eax + 4], ebx
mov dword [eax], 0x463a5c
mov eax, ebx
call fcn.00463a68
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
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, 0x45ff30
push eax
push 0
push 0
mov eax, dword [0x570580]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425554]
call fcn.00426c68
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425554]
call fcn.00426c68
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425554]
call fcn.00426c68
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463f18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4637fb
call fcn.00403cf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x463b90
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 0x463d3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463d1c
mov dl, 1
mov eax, dword [0x41907c]
call fcn.00403904
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404724
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463d0b
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.00450f74
test al, al
je 0x463cfe
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, 0x463d4c
lea eax, [ebp - 0x254]
call fcn.00409e00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x463cfe
xor eax, eax
push ebp
push 0x463cf7
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 0x463d84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x463ce0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040498c
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 0x463ce0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040498c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463cfe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463c01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041db5c
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 0x463d42
lea eax, [ebp - 0x260]
call fcn.00404724
ret

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

Disassembly:
push ecx
mov eax, dword [0x571c38]
cmp byte [eax + 0xa5], 0
jne 0x464729
cmp dword [0x571c50], 0
jne 0x4646ea
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x464674
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x571c50], eax
cmp dword [0x571c4c], 0
jne 0x464705
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x571c4c], eax
cmp dword [0x571c54], 0
jne 0x464729
push esp
push 0
push 0
push 0x464618
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x571c54], eax
pop edx
ret
Function at 0x464850
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x464867
add esp, 0xfffffff0
call fcn.00403c98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423af4
mov eax, dword [0x570568]
cmp word [eax + 2], 0
jne 0x46488f
mov eax, dword [0x570568]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465f2c
mov eax, dword [0x57062c]
cmp word [eax + 2], 0
jne 0x4648a9
mov eax, dword [0x57062c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466124
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418a18]
call fcn.00403904
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425fd4]
call fcn.0042d8c4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464a30
mov eax, dword [0x57048c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042dc94
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4666a4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x57048c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040d400
test eax, eax
je 0x46499e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409748
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d428
test eax, eax
je 0x4649b2
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.0040498c
mov eax, dword [0x570354]
cmp byte [eax], 0
jne 0x4649e6
mov eax, ebx
call fcn.00464b58
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.00466880
mov eax, ebx
call fcn.00467230
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464a26
call fcn.00403cf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464dcc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x571c38]
cmp dword [eax + 0x30], 0
je 0x464e76
cmp dword [ebx + 0x94], 0
jne 0x464e70
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464d5c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464e70
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 0x464e36
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464e70
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.0041b314
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464e45
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465954
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 0x465989
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.00404814
jmp 0x465996
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404778
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x466a5c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466a9d
mov eax, esi
call fcn.0044c66c
test al, al
je 0x466a9d
mov eax, dword [ebx + 0x84]
call fcn.0044c368
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466a9d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c368
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a4d4
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 0x46a63d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.004047bc
mov eax, dword [ebp - 0x10]
call fcn.0046a084
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x46a526
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404c90
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.0046a9cc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x46a5fb
xor eax, eax
push ebp
push 0x46a5f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0046a1f4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0046a64c
test al, al
je 0x46a5d2
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404814
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x46a5d2
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.00404bf0
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46a5cc
mov eax, dword [ebp - 0x14]
call fcn.00404bf0
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404914
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0046a4d4
dec ebx
cmp ebx, 0xffffffff
jne 0x46a585
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a5fb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0046a1f4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00404bf0
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0046a1e0
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 0x46a644
lea eax, [ebp - 0x3c]
call fcn.00404724
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404748
ret

Function at 0x46a64c
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.004031cc
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 [0x5707bc]
cmp byte [edx + 0xc], 0
je 0x46a6b0
mov edx, dword [0x5707b4]
cmp dword [edx], 2
jne 0x46a6b0
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 0x46a6b4
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 0x46a76c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0046a64c
test al, al
je 0x46a74e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404814
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x46a74e
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.00404bf0
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404bf0
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404914
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x46a707
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a773
lea eax, [ebp - 0x2c]
call fcn.00404724
lea eax, [ebp - 0xc]
call fcn.00404724
ret

Function at 0x46a8e0
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.0046a098
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.00404bf0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46a93e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x570588]
mov dl, 1
mov eax, dword [0x469f90]
call fcn.0040c748
call fcn.00404100
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46a948
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.00404bf0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x46a9a0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5707c8]
mov dl, 1
mov eax, dword [0x469f90]
call fcn.0040c748
call fcn.00404100
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0046a0c8
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 0x46ab4c
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x56ef4c], 0
jne 0x46ac1e
mov byte [0x56ef4c], 1
xor eax, eax
mov dword [0x56ef34], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x46ab94
cmp dword [esp + 0x1c], 3
jne 0x46abf4
cmp dword [esp + 0x20], 0x33
jbe 0x46abf4
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x46ac28
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46ac1e
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x46ac58
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x46ac1e
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey
cmp byte [esp + 8], 0x31
jne 0x46ac1e
cmp byte [esp + 9], 0
jne 0x46ac1e
jmp 0x46ac09
push 0
push 0x46ac58
push 0x46ac60
call sub.KERNEL32.DLL_GetProfileIntA
test eax, eax
je 0x46ac1e
mov eax, dword [0x56ef30]
call fcn.00404bf0
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x56ef34], eax
add esp, 0xac
ret

Function at 0x471960
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 0x471a38
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x571cc0], 0
jne 0x471a1c
lea eax, [ebp - 4]
mov edx, 0x471a50
call fcn.004047bc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404bf0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x471a1c
mov eax, ebx
call fcn.004027d8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471a15
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 0x4719ff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x471a60
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4719ff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x571cc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a1c
mov eax, dword [ebp - 0xc]
call fcn.004027f8
ret
mov ebx, dword [0x571cc0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471a3f
lea eax, [ebp - 4]
call fcn.00404724
ret
Function at 0x4837b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4837de
mov eax, ebx
call fcn.00484268
cmp dword [ebx + 0x3c], 0
je 0x4837d7
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48384f
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x483841
cmp dword [ebx + 8], 0
je 0x483800
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x483812
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x483841
cmp dword [ebx + 8], 0
je 0x4837f3
cmp eax, 3
je 0x483825
dec eax
jne 0x4837f3
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 0x4837f3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4837f3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48386d
cmp dword [ebx + 0x10], 0xcc
je 0x48386d
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.00483878
pop ebx
ret

Function at 0x500de8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [esi], eax
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404bf0
push eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x500e42
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
call fcn.00500b14
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc