joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c37e4
cmp dword [edi], 0
jne 0x44667c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c37e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c09b8
mov ecx, 2
call fcn.00402914
mov edx, 0x4465d8
lea eax, [esi + 5]
call fcn.004465f8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004465f8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x446651
mov dword [0x4c37e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x446798
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4467e8]
test si, 4
je 0x4467ac
or bl, 1
test si, 8
je 0x4467b6
or bl, 4
test si, 1
je 0x4467c0
or bl, 8
test si, 2
je 0x4467ca
or bl, 0x10
test si, 0x10
je 0x4467d4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4467e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4467ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446824]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446805
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446814
or bl, 4
test esi, 0x20000000
je 0x44681f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44d02c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d03e
add esp, 0xfffffff0
call fcn.00403310
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041896c
mov eax, ebx
call fcn.0044d390
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x449544
push eax
push 0
push 0
mov eax, dword [0x4c2120]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x419e74]
call fcn.0041b3ac
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x419e74]
call fcn.0041b3ac
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x419e74]
call fcn.0041b3ac
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0044d770
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d68c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d68c
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d68c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d14d
call fcn.00403368
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d470
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 0x44d61b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44d5fc
mov dl, 1
mov eax, dword [0x4108ac]
call fcn.00402fa0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403c98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d5eb
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.0043b1b0
test al, al
je 0x44d5de
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, 0x44d62c
lea eax, [ebp - 0x254]
call fcn.0040a1f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d5de
xor eax, eax
push ebp
push 0x44d5d7
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 0x44d664
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d5c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ec8
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44d5c0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d5de
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d4e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004141b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d622
lea eax, [ebp - 0x260]
call fcn.00403c98
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c37d4]
cmp byte [eax + 0x95], 0
jne 0x44ded9
cmp dword [0x4c37f0], 0
jne 0x44de9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44de24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c37f0], eax
cmp dword [0x4c37ec], 0
jne 0x44deb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c37ec], eax
cmp dword [0x4c37f4], 0
jne 0x44ded9
push esp
push 0
push 0
push 0x44ddc8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c37f4], eax
pop edx
ret
Function at 0x44dfd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44dfe7
add esp, 0xfffffff0
call fcn.00403310
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041896c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x410380]
call fcn.00402fa0
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 [0x41a804]
call fcn.00421f2c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44e15c
mov eax, dword [0x4c1fa0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004222fc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44fb80
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c1fa0]
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.0040d5d8
test eax, eax
je 0x44e0da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409b34
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d600
test eax, eax
je 0x44e0ee
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.00403ec8
mov eax, dword [0x4c1db8]
cmp byte [eax], 0
jne 0x44e11f
mov eax, ebx
call fcn.0044e248
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 0x44e151
call fcn.00403368
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e4b8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c37d4]
cmp dword [eax + 0x24], 0
je 0x44e55b
cmp dword [ebx + 0x84], 0
jne 0x44e555
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e448
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44e555
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 0x44e51e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e555
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.00411edc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e52d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44ef68
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 0x44ef9d
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.00403d80
jmp 0x44efa7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403cec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44fef4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44ff2c
mov eax, esi
call fcn.00436ddc
test al, al
je 0x44ff2c
mov eax, dword [ebx + 0x74]
call fcn.00436ae0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ff2c
push 0
mov eax, dword [ebx + 0x74]
call fcn.00436ae0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x451c38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451e97
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x451c9a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00451700
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d1fc
cmp al, 1
jne 0x451c9a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00451a18
test al, al
je 0x451e26
cmp dword [ebp - 8], 0
jge 0x451cb8
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00451700
mov eax, dword [ebp - 0x210]
call fcn.00403f18
cmp ebx, eax
jge 0x451d02
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00451700
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c23d0]
and eax, 0xff
bt dword [edx], eax
jae 0x451d02
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x451d16
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00451c14
cmp ebx, dword [ebp - 8]
je 0x451e18
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x451d42
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031ac
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0ae4]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x451e05
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031ac
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0ae4]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00436ae0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031ac
and eax, 0x7f
movzx eax, word [eax*2 + 0x4c0ae4]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00436ae0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451e0c
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x451e79
cmp dword [ebp - 8], 0
jge 0x451e31
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00451700
mov eax, dword [ebp - 0x218]
call fcn.00403f18
cmp eax, dword [ebp - 8]
jg 0x451e6b
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00451700
mov eax, dword [ebp - 0x21c]
call fcn.00403f18
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00451c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451e9e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403cbc
ret
Function at 0x453734
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 [0x40eda0]
call fcn.0040454c
xor eax, eax
push ebp
push 0x45387b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c0ae8], 0
jne 0x453787
mov ecx, dword [0x4c1ddc]
mov dl, 1
mov eax, dword [0x408578]
call fcn.0040c97c
call fcn.00403768
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c48
mov eax, ebx
call fcn.004043e0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45388c
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406774
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004043f0
test eax, eax
jle 0x453822
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 0x45381b
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00403ee0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00403ec8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409340
test eax, eax
jne 0x45381b
mov ebx, 0x15
jmp 0x453827
mov ebx, 0x10
jmp 0x453827
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 [0x4c0ae8]
call fcn.0045368c
mov eax, dword [ebp - 8]
call fcn.0045368c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040678c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453882
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403cbc
lea eax, [ebp - 0x10]
mov edx, dword [0x40eda0]
call fcn.00404618
ret

Function at 0x46e437
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4c18f6
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46e48f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4c1917
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46e485
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x46e493
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x480b2c
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.00402c48
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 [0x4c23f8]
cmp byte [edx + 8], 0
je 0x480b90
mov edx, dword [0x4c23e4]
cmp dword [edx], 2
jne 0x480b90
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 0x480b94
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 0x480c4c
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.00480b2c
test al, al
je 0x480c2e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403d80
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x480c2e
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.004040dc
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.004040dc
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403e50
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x480be7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c53
lea eax, [ebp - 0x2c]
call fcn.00403c98
lea eax, [ebp - 0xc]
call fcn.00403c98
ret

Function at 0x480d78
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.004807c4
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.004040dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x480dd6
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c2130]
mov dl, 1
mov eax, dword [0x4806bc]
call fcn.0040c9b8
call fcn.00403768
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x480de0
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.004040dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x480e38
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4c2404]
mov dl, 1
mov eax, dword [0x4806bc]
call fcn.0040c9b8
call fcn.00403768
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004807f4
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 0x483604
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 0x4836dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c392c], 0
jne 0x4836c0
lea eax, [ebp - 4]
mov edx, 0x4836f4
call fcn.00403d30
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004040dc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4836c0
mov eax, ebx
call fcn.004027b8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4836b9
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 0x4836a3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x483704
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4836a3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4c392c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4836c0
mov eax, dword [ebp - 0xc]
call fcn.004027d0
ret
mov ebx, dword [0x4c392c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4836e3
lea eax, [ebp - 4]
call fcn.00403c98
ret
Function at 0x4a29e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x4a2a11
add esp, 0xfffffff0
call fcn.00403310
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a2b91
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00402fa0
lea eax, [esi + 0x48]
call fcn.00403c98
mov dl, 1
mov eax, dword [0x4108ac]
call fcn.00402fa0
mov dword [esi + 0x40], eax
mov dl, 1
mov eax, dword [0x4108ac]
call fcn.00402fa0
mov dword [esi + 0x44], eax
mov eax, dword [0x4c1e88]
cmp dword [eax], 0
je 0x4a2b66
lea edx, [ebp - 0x218]
mov eax, dword [0x4c1e88]
mov eax, dword [eax]
call fcn.00475cc0
cmp dword [ebp - 0x218], 0
jne 0x4a2b66
cmp dword [0x4c39b4], 0
jne 0x4a2b66
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, 0x4a2bb8
lea eax, [ebp - 0x10d]
call fcn.00409bd4
lea eax, [ebp - 0x21c]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00403ec8
mov eax, dword [ebp - 0x21c]
call fcn.00409808
test al, al
jne 0x4a2af3
lea eax, [ebp - 0x220]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00403ec8
mov eax, dword [ebp - 0x220]
call fcn.00409a98
lea eax, [ebp - 0x212]
push eax
push 0
push 0x4a2bc4
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea eax, [ebp - 4]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.00403ec8
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f18
mov ecx, eax
sub ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404120
mov eax, dword [ebp - 8]
call fcn.00409a98
test al, al
je 0x4a2b66
mov eax, dword [0x4c1e88]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00476b34
mov eax, 0x4c39b4
mov edx, dword [ebp - 8]
call fcn.00403cec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2b98
lea eax, [ebp - 0x220]
mov edx, 3
call fcn.00403cbc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cbc
ret
Function at 0x4bce88
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4bceb9
push 1
mov eax, dword [0x4c21e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
push 1
mov eax, ebx
call fcn.00436ae0
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.00430b80
pop ebx
ret
push 0
mov eax, ebx
call fcn.00436ae0
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x4c21e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret