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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x457108]
cmp byte [eax + 0xc], 0
je 0x43c011
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c00a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x458aec], 0
jne 0x43bef8
push 0x43c018
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c020
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458aec], eax
cmp dword [0x456a4c], 0
jne 0x43bff3
push 0x43c030
call sub.kernel32.dll_LoadLibraryA
mov dword [0x456a4c], eax
cmp dword [0x456a4c], 0
je 0x43bff3
push 0x43c03c
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458af0], eax
push 0x43c04c
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458af4], eax
push 0x43c060
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458af8], eax
push 0x43c078
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458afc], eax
push 0x43c090
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b00], eax
push 0x43c0a4
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b04], eax
push 0x43c0bc
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b08], eax
push 0x43c0d4
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b0c], eax
push 0x43c0f0
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b10], eax
push 0x43c0fc
mov eax, dword [0x456a4c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458b14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c011
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43fec4
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.004048bc
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ff13
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.00404b2c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4476bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44770c]
test si, 4
je 0x4476d0
or bl, 1
test si, 8
je 0x4476da
or bl, 4
test si, 1
je 0x4476e4
or bl, 8
test si, 2
je 0x4476ee
or bl, 0x10
test si, 0x10
je 0x4476f8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447707
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447710
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447748]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447729
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447738
or bl, 4
test esi, 0x20000000
je 0x447743
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44de0c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44de1e
add esp, 0xfffffff0
call fcn.00403e68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a320
mov eax, dword [0x456e04]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e1b0
mov eax, dword [0x456e10]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e1bc
mov eax, ebx
call fcn.0044e1c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412538]
call fcn.00403b00
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412538]
call fcn.00403b00
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412538]
call fcn.00403b00
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412538]
call fcn.00403b00
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412538]
call fcn.00403b00
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, 0x44a5e0
push eax
push 0
push 0
mov eax, dword [0x456f3c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41c064]
call fcn.0041d7fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41c064]
call fcn.0041d7fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41c064]
call fcn.0041d7fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044e618
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e4e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e4e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44e4e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44df5b
call fcn.00403ec0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44e2c4
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 0x44e46f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44e450
mov dl, 1
mov eax, dword [0x412954]
call fcn.00403b00
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44e43f
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.0043c204
test al, al
je 0x44e432
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, 0x44e480
lea eax, [ebp - 0x254]
call fcn.004096f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44e432
xor eax, eax
push ebp
push 0x44e42b
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 0x44e4b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44e414
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b2c
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 0x44e414
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e432
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44e335
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004164b8
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 0x44e476
lea eax, [ebp - 0x260]
call fcn.004048bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x458b38]
cmp byte [eax + 0xa5], 0
jne 0x44ee29
cmp dword [0x458b50], 0
jne 0x44edea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44ed74
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x458b50], eax
cmp dword [0x458b4c], 0
jne 0x44ee05
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x458b4c], eax
cmp dword [0x458b54], 0
jne 0x44ee29
push esp
push 0
push 0
push 0x44ed18
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x458b54], eax
pop edx
ret
Function at 0x44f4bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x458b38]
cmp dword [eax + 0x30], 0
je 0x44f566
cmp dword [ebx + 0x94], 0
jne 0x44f560
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44f44c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44f560
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 0x44f526
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44f560
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.004148b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44f535
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4500c4
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 0x4500f9
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.004049ac
jmp 0x450106
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404910
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451094
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4510d5
mov eax, esi
call fcn.00437874
test al, al
je 0x4510d5
mov eax, dword [ebx + 0x84]
call fcn.0043759c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4510d5
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043759c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x452058
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d6c
xor eax, eax
push ebp
push 0x452188
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x45215b
xor eax, eax
push ebp
push 0x452154
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b7c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x452129
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x452118
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b7c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d7c
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c88
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45211f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x456dac]
mov dl, 1
mov eax, dword [0x407970]
call fcn.0040c118
call fcn.004042d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45218f
lea eax, [ebp - 4]
call fcn.004048bc
ret
Function at 0x452198
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x452349
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x452360
call fcn.00404bc8
mov eax, ebx
call fcn.0041a944
mov edi, eax
dec edi
test edi, edi
jl 0x452250
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a918
mov edx, dword [0x42878c]
call fcn.00403cc8
test al, al
je 0x45224c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a918
lea edx, [ebp - 0x14]
call fcn.00430da0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f6c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c3c
inc esi
dec edi
jne 0x4521fe
mov al, byte [0x452364]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x452370
mov eax, dword [ebp - 0xc]
call fcn.0040d4d4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404954
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00430da0
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x452360
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00430da0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x452360
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x452360
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x45237c
call fcn.0040978c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452350
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004048e0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004048e0
lea eax, [ebp - 0x14]
call fcn.004048bc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048e0
ret
Function at 0x452cc4
Capabilities:
Query or enumerate 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 esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452d18
mov eax, dword [ebx]
push eax
call fcn.0040616c
pop ecx
mov dword [ebp - 0xc], eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
push esi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x452d18
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x452e90
Capabilities:
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x452fd1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
call fcn.00404d7c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x452edc
call fcn.0040437c
jmp 0x452fd8
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x452f02
call fcn.0040437c
jmp 0x452fd8
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x452f26
call fcn.0040437c
jmp 0x452fd8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x5a4d
je 0x452f40
call fcn.0040437c
jmp 0x452fd8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
push 0xf8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_IsBadReadPtr
test eax, eax
jne 0x452f69
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
je 0x452f70
call fcn.0040437c
jmp 0x452fd8
mov eax, dword [ebp - 0x18]
cmp word [eax + 4], 0x14c
jne 0x452f82
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
cmp ax, 0x200
je 0x452f95
cmp ax, 0x8664
jne 0x452f9c
mov dword [ebp - 4], 0x40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452fd8
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
cmp dword [ebp - 0xc], 0
je 0x452fc1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 8], 0xffffffff
je 0x452fd0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x452fe4
Capabilities:
Get disk information

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.004048bc
push esp
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsA
shr eax, 2
mov edx, eax
dec edx
test edx, edx
jl 0x453017
inc edx
lea eax, [esp + 3]
mov byte [eax], 0x7c
add eax, 4
dec edx
jne 0x45300e
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b2c
add esp, 0x108
pop ebx
ret

Function at 0x45321c
Capabilities:
Delete registry key
Print debug messages
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45339f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4533b4
lea eax, [ebp - 0x114]
mov edx, ebx
call fcn.00404ab4
push dword [ebp - 0x114]
push 0x4533c8
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x110]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push ebx
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453379
lea eax, [ebp - 0x10c]
mov edx, 0x104
call fcn.004073ec
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x453369
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ab4
mov eax, dword [ebp - 8]
call fcn.00404b7c
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x453306
lea eax, [ebp - 8]
mov edx, 0x4533d4
call fcn.00404b84
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x10c]
call fcn.00404ab4
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 8]
call fcn.00404b84
push 0x4533e0
push dword [ebp - 8]
push 0x4533c8
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404c3c
mov eax, dword [ebp - 0x11c]
call fcn.00404d7c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 8]
call fcn.00404d7c
mov edx, eax
mov eax, esi
call fcn.0045321c
jmp 0x4532ae
push ebx
push esi
call sub.advapi32.dll_RegDeleteKeyA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4533a6
lea eax, [ebp - 0x11c]
mov edx, 4
call fcn.004048e0
lea eax, [ebp - 8]
call fcn.004048bc
ret
Function at 0x4542bc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b2c
add esp, 0x108
pop ebx
ret
Function at 0x121a64a
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push eax
pop eax
push 0x6400000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
pushfd
push 0x59bd772d
add esp, 4
popfd
pushfd
push 0x1cc83ad
add esp, 4
popfd
test eax, eax
xchg edx, edx
je 0x121b3ec
push ebx
push edi
pop edi
pop ebx
pushfd
push 0x9b8f159d
add esp, 4
popfd
mov dword [ebp - 0x41c], eax
pushfd
xor esi, 0x9511b551
xor esi, 0x9511b551
popfd
push 0x6400000
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0xc
pushfd
push eax
add esp, 4
popfd
push dword [ebp - 0x41c]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xchg ecx, ecx
push 0x400
call dword [sym.imp.kernel32.dll_SetErrorMode]
push ebx
pop ebx
xchg esi, edi
xchg edi, esi
push 0
call dword [sym.imp.kernel32.dll_SetErrorMode]
push eax
pop eax
push ecx
push edi
pop edi
pop ecx
cmp eax, 0x400
pushfd
inc ecx
dec ecx
popfd
xchg ebx, edi
xchg edi, ebx
jne 0x121b3ec
push esi
pop esi
push 0
push 4
push 0x3000
push 0x3e8
push 0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_VirtualAllocExNuma]
xchg edx, edx
pushfd
push eax
add esp, 4
popfd
test eax, eax
pushfd
push edx
add esp, 4
popfd
je 0x121b3ec
push ecx
push ebx
pop ebx
pop ecx
mov dword [ebp - 0x20e], 0x104
pushfd
xor eax, 0x2bb13889
xor eax, 0x2bb13889
popfd
xchg ebx, eax
xchg ebx, eax
lea eax, [ebp - 0x313]
xchg esi, eax
xchg esi, eax
lea ebx, [ebp - 0x20e]
pushfd
xor eax, 0x9630b316
xor eax, 0x9630b316
popfd
push edx
push esi
pop esi
pop edx
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetComputerNameA]
xchg edi, eax
xchg edi, eax
push edx
push esi
pop esi
pop edx
test eax, eax
xchg edx, ecx
xchg ecx, edx
je 0x121ab10
pushfd
inc edx
dec edx
popfd
lea eax, [ebp - 0x418]
pushfd
xor ecx, 0xeb0a92c
xor ecx, 0xeb0a92c
popfd
mov ebx, 0x61
push edx
push edi
pop edi
pop edx
sub bl, 0x13
pushfd
xor ebx, 0xb36c5738
xor ebx, 0xb36c5738
popfd
push ebx
pop ebx
mov byte [eax], bl
pushfd
push 0x7bb55474
add esp, 4
popfd
add bl, 0x18
mov ebx, ebx
mov byte [eax + 1], bl
push eax
push esi
pop esi
pop eax
pushfd
xor ecx, 0xd2e57f54
xor ecx, 0xd2e57f54
popfd
sub bl, 0xc
push edx
pop edx
mov byte [eax + 2], bl
push esi
push edx
pop edx
pop esi
pushfd
push ebx
add esp, 4
popfd
add bl, 0x1a
push ecx
pop ecx
mov byte [eax + 3], bl
pushfd
push edi
add esp, 4
popfd
mov esi, esi
sub bl, 0x2e
push ecx
pop ecx
xchg edi, eax
xchg edi, eax
mov byte [eax + 4], bl
pushfd
push eax
add esp, 4
popfd
pushfd
push edi
add esp, 4
popfd
add bl, 0x1c
push edi
pop edi
mov byte [eax + 5], bl
pushfd
xor eax, 0xb2c09f24
xor eax, 0xb2c09f24
popfd
pushfd
xor ebx, 0x7aa74b83
xor ebx, 0x7aa74b83
popfd
sub bl, 0x12
pushfd
push 0x6aa3375d
add esp, 4
popfd
push ebx
push edi
pop edi
pop ebx
mov byte [eax + 6], bl
pushfd
xor esi, 0x3842fb6f
xor esi, 0x3842fb6f
popfd
xchg ecx, ecx
add bl, 0x16
mov esi, esi
push edi
pop edi
mov byte [eax + 7], bl
xchg esi, esi
xchg edx, ecx
xchg ecx, edx
sub bl, 0x1e
pushfd
xor eax, 0x861bb974
xor eax, 0x861bb974
popfd
pushfd
push edx
add esp, 4
popfd
mov byte [eax + 8], bl
push ebx
push esi
pop esi
pop ebx
mov byte [eax + 9], 0
xchg esi, eax
xchg esi, eax
lea ebx, [ebp - 0x313]