joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a5c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44a5dc
cmp dword [esi + 4], 0
je 0x44a609
test byte [ebx + 0x55], 1
jne 0x44a5fb
mov eax, ebx
call fcn.00449218
test eax, eax
jne 0x44a5fb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44a719
mov edx, esi
mov eax, ebx
call fcn.0044a0e0
jmp 0x44a719
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44a712
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c390
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00446eb4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044a5c0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044c390
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a719
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450c3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x564900]
cmp byte [eax + 0xc], 0
je 0x450da9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450da2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x565c4c], 0
jne 0x450c90
push 0x450db0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x450db8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c4c], eax
cmp dword [0x560c34], 0
jne 0x450d8b
push 0x450dc8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x560c34], eax
cmp dword [0x560c34], 0
je 0x450d8b
push 0x450dd4
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c50], eax
push 0x450de4
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c54], eax
push 0x450df8
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c58], eax
push 0x450e10
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c5c], eax
push 0x450e28
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c60], eax
push 0x450e3c
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c64], eax
push 0x450e54
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c68], eax
push 0x450e6c
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c6c], eax
push 0x450e88
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c70], eax
push 0x450e94
mov eax, dword [0x560c34]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x565c74], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450da9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x454e44
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.0040461c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x454e93
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.00404884
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45d6d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d720]
test si, 4
je 0x45d6e4
or bl, 1
test si, 8
je 0x45d6ee
or bl, 4
test si, 1
je 0x45d6f8
or bl, 8
test si, 2
je 0x45d702
or bl, 0x10
test si, 0x10
je 0x45d70c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d71b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d724
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d75c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d73d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d74c
or bl, 4
test esi, 0x20000000
je 0x45d757
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4640c0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4640d2
add esp, 0xfffffff0
call fcn.00403b54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427ad0
mov eax, dword [0x564274]
mov dword [eax + 4], ebx
mov dword [eax], 0x464464
mov eax, dword [0x564288]
mov dword [eax + 4], ebx
mov dword [eax], 0x464470
mov eax, ebx
call fcn.0046447c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
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, 0x46091c
push eax
push 0
push 0
mov eax, dword [0x56451c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429550]
call fcn.0042ad04
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429550]
call fcn.0042ad04
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429550]
call fcn.0042ad04
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046489c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464778
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464778
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x464778
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46420f
call fcn.00403bac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46455c
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 0x464707
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4646e8
mov dl, 1
mov eax, dword [0x41abdc]
call fcn.004037c0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040461c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4646d7
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.00450f9c
test al, al
je 0x4646ca
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, 0x464718
lea eax, [ebp - 0x254]
call fcn.0040a588
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4646ca
xor eax, eax
push ebp
push 0x4646c3
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 0x464750
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4646ac
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404884
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 0x4646ac
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4646ca
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4645cd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f9a0
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 0x46470e
lea eax, [ebp - 0x260]
call fcn.0040461c
ret

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

Disassembly:
push ecx
mov eax, dword [0x565c90]
cmp byte [eax + 0xa5], 0
jne 0x4650ad
cmp dword [0x565ca8], 0
jne 0x46506e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464ff8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x565ca8], eax
cmp dword [0x565ca4], 0
jne 0x465089
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x565ca4], eax
cmp dword [0x565cac], 0
jne 0x4650ad
push esp
push 0
push 0
push 0x464f9c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x565cac], eax
pop edx
ret
Function at 0x4651a4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4651bb
add esp, 0xfffffff0
call fcn.00403b54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427ad0
mov eax, dword [0x5644ec]
cmp word [eax + 2], 0
jne 0x4651e3
mov eax, dword [0x5644ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004667f0
mov eax, dword [0x564654]
cmp word [eax + 2], 0
jne 0x4651fd
mov eax, dword [0x564654]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004669e8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a578]
call fcn.004037c0
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 [0x429fd0]
call fcn.00431b34
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x465384
mov eax, dword [0x56433c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431f04
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466f68
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x56433c]
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.0040dee0
test eax, eax
je 0x4652f2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ea8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040df08
test eax, eax
je 0x465306
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.00404884
mov eax, dword [0x564094]
cmp byte [eax], 0
jne 0x46533a
mov eax, ebx
call fcn.004654ac
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.00467144
mov eax, ebx
call fcn.00467af4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46537a
call fcn.00403bac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465720
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x565c90]
cmp dword [eax + 0x30], 0
je 0x4657ca
cmp dword [ebx + 0x94], 0
jne 0x4657c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4656b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4657c4
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 0x46578a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4657c4
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.0041d1bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x465799
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4662a8
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 0x4662dd
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.0040470c
jmp 0x4662ea
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404670
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x467320
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x467361
mov eax, esi
call fcn.0044c694
test al, al
je 0x467361
mov eax, dword [ebx + 0x84]
call fcn.0044c390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x467361
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c390
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x469cc0
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.004030b0
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 [0x564900]
cmp byte [edx + 0xc], 0
je 0x469d24
mov edx, dword [0x5648f0]
cmp dword [edx], 2
jne 0x469d24
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 0x469d28
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 0x469de0
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.00469cc0
test al, al
je 0x469dc2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040470c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x469dc2
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.00404ae8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404ae8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040480c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x469d7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469de7
lea eax, [ebp - 0x2c]
call fcn.0040461c
lea eax, [ebp - 0xc]
call fcn.0040461c
ret

Function at 0x469df0
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 0x469ea8
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.00469cc0
test al, al
je 0x469e8a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.0040470c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x469e8a
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.00404ae8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404ae8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040480c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x469e43
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469eaf
lea eax, [ebp - 0x2c]
call fcn.0040461c
lea eax, [ebp - 0xc]
call fcn.0040461c
ret
Function at 0x46a06c
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.00469a40
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.00404ae8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46a0ca
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x564528]
mov dl, 1
mov eax, dword [0x469938]
call fcn.0040d204
call fcn.00403fbc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46a0d4
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.00404ae8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x46a12c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x56490c]
mov dl, 1
mov eax, dword [0x469938]
call fcn.0040d204
call fcn.00403fbc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00469a70
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 0x46c6bc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 8]
call fcn.0040a0a0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c728
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x46c70b
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040480c
jmp 0x46c712
mov eax, ebx
call fcn.0040461c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c72f
mov eax, dword [ebp - 4]
call fcn.0040a0ec
ret

Function at 0x46c8e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x46c961
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004030b0
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404884
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0046b96c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c968
lea eax, [ebp - 0x10c]
call fcn.0040461c
ret

Function at 0x46ca50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x46cad1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004030b0
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404884
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0046b96c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cad8
lea eax, [ebp - 0x10c]
call fcn.0040461c
ret

Function at 0x46d4e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x46d565
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004030b0
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404884
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0046b96c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d56c
lea eax, [ebp - 0x10c]
call fcn.0040461c
ret
Function at 0x46d574
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad8
xor eax, eax
push ebp
push 0x46d5db
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ae8
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov eax, ebx
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d5e2
lea eax, [ebp - 4]
call fcn.0040461c
ret