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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x5996e8]
cmp byte [eax + 0xc], 0
je 0x46960e
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x469607
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x59ac4c], 0
jne 0x4694f5
push 0x469614
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x46961c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac4c], eax
cmp dword [0x595d68], 0
jne 0x4695f0
push 0x46962c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x595d68], eax
cmp dword [0x595d68], 0
je 0x4695f0
push 0x469638
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac50], eax
push 0x469648
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac54], eax
push 0x46965c
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac58], eax
push 0x469674
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac5c], eax
push 0x46968c
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac60], eax
push 0x4696a0
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac64], eax
push 0x4696b8
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac68], eax
push 0x4696d0
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac6c], eax
push 0x4696ec
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac70], eax
push 0x4696f8
mov eax, dword [0x595d68]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x59ac74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46960e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404868
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x46ec7d
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov esp, ebp
pop ebp
ret
Function at 0x477f48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x477fa0]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x477f62
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x477f6c
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x477f76
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x477f80
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x477f8a
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477f9a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x477fa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x477fe8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477fc5
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x477fd5
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x477fdf
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x478058
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.00477fec
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x47ffcc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x47ffde
add esp, 0xfffffff0
call fcn.00403cd8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042ca7c
mov eax, dword [0x598f60]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48053c
mov eax, dword [0x598f7c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48055c
mov eax, dword [ebp - 4]
call fcn.0048057c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41f86c]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41f86c]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41f86c]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41f86c]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41f86c]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x47ba20
push eax
push 0
push 0
mov eax, dword [0x599278]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42ecbc]
call fcn.004305b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x42ecbc]
call fcn.004305b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x42ecbc]
call fcn.004305b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00480b24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x480970
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x480970
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x480970
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x480166
call fcn.00403d30
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x480728
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4808f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4808d1
mov dl, 1
mov eax, dword [0x41fed0]
call fcn.00403944
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404868
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4808ba
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0046983c
test al, al
je 0x4808ae
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x480904
lea eax, [ebp - 0x25c]
call fcn.0040b2a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4808ae
xor eax, eax
push ebp
push 0x4808a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x48093c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x480890
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x480890
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4808ae
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x48079d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.00425c10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4808fa
lea eax, [ebp - 0x268]
call fcn.00404868
ret
Function at 0x48142c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x59ac90]
cmp byte [eax + 0xa5], 0
jne 0x4814a3
cmp dword [0x59aca8], 0
jne 0x481461
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4813e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x59aca8], eax
cmp dword [0x59aca4], 0
jne 0x48147c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x59aca4], eax
cmp dword [0x59acac], 0
jne 0x4814a3
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x481388
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x59acac], eax
pop ecx
pop ebp
ret

Function at 0x48156c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.00481504
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48158d
xor eax, eax
call fcn.0048153c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x4815a7
mov al, 1
call fcn.0048153c
mov esp, ebp
pop ebp
ret

Function at 0x481cc8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x59ac90]
cmp dword [eax + 0x30], 0
je 0x481d92
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x481d89
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x481c48
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x481d89
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x481d43
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x481d89
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.0042272c
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x481d58
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x482a04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x482a49
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00404958
jmp 0x482a5a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.004048bc
mov esp, ebp
pop ebp
ret
Function at 0x483e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x483ed3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00463cf4
test al, al
je 0x483ed3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00463824
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x483ed3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00463824
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488a09
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404900
mov eax, dword [ebp - 0x1c]
call fcn.004882c0
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4888e7
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404dd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048900c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4889c6
xor eax, eax
push ebp
push 0x4889bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00488560
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00488a48
test al, al
je 0x48899d
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00404958
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x48899d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404d34
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x488994
mov eax, dword [ebp - 0x20]
call fcn.00404d34
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a58
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00488894
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48894a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4889c6
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00488560
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d34
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00488528
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a10
lea eax, [ebp - 0x48]
call fcn.00404868
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040488c
ret
Function at 0x4889c6
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488a09
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404900
mov eax, dword [ebp - 0x1c]
call fcn.004882c0
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4888e7
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404dd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0048900c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4889c6
xor eax, eax
push ebp
push 0x4889bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00488560
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00488a48
test al, al
je 0x48899d
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00404958
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x48899d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404d34
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x488994
mov eax, dword [ebp - 0x20]
call fcn.00404d34
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a58
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00488894
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48894a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4889c6
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00488560
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d34
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00488528
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488a10
lea eax, [ebp - 0x48]
call fcn.00404868
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040488c
ret

Function at 0x488a18
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x488a48
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.004031e8
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x5996e8]
cmp byte [eax + 0xc], 0
je 0x488ad3
mov eax, dword [0x5996d0]
cmp dword [eax], 2
jne 0x488ad3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x488adc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488ba5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00488a48
test al, al
je 0x488b87
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404958
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x488b87
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404d34
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0x14]
call fcn.00404d34
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a58
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x488b36
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488bac
lea eax, [ebp - 0x38]
call fcn.00404868
lea eax, [ebp - 0x14]
call fcn.00404868
ret

Function at 0x488bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.004031e8
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.00488338
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x488ef8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.004882e8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x488f60
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x599288]
mov dl, 1
mov eax, dword [0x488158]
call fcn.0040e878
call fcn.00404204
mov esp, ebp
pop ebp
ret 8

Function at 0x488f68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x488fca
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x5996f4]
mov dl, 1
mov eax, dword [0x488158]
call fcn.0040e878
call fcn.00404204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00488338
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x48ee48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48ef2d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x59adec], 0
jne 0x48ef0f
lea eax, [ebp - 8]
mov edx, 0x48ef44
call fcn.00404900
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48ef0f
mov eax, dword [ebp - 0xc]
call fcn.00402828
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48ef08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48eef2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48ef54
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48eef2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x59adec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef0f
mov eax, dword [ebp - 0x14]
call fcn.00402848
ret
mov eax, dword [0x59adec]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef34
lea eax, [ebp - 8]
call fcn.00404868
ret