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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x486ddc]
cmp byte [eax + 0xc], 0
je 0x44a1e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a1da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48bc5c], 0
jne 0x44a0c8
push 0x44a1e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44a1f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc5c], eax
cmp dword [0x4855f4], 0
jne 0x44a1c3
push 0x44a200
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4855f4], eax
cmp dword [0x4855f4], 0
je 0x44a1c3
push 0x44a20c
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc60], eax
push 0x44a21c
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc64], eax
push 0x44a230
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc68], eax
push 0x44a248
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc6c], eax
push 0x44a260
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc70], eax
push 0x44a274
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc74], eax
push 0x44a28c
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc78], eax
push 0x44a2a4
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc7c], eax
push 0x44a2c0
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc80], eax
push 0x44a2cc
mov eax, dword [0x4855f4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48bc84], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a1e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45027c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x45029d
test edi, 0x40000
je 0x4502b7
test bl, bl
jne 0x450338
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x450338
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4502ea
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4502ff
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x45030e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45031f
cmp byte [esp + 2], 0
je 0x450338
cmp byte [esp + 2], 0
je 0x450330
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x450338
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4505dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x450602
mov eax, esp
push eax
push 0x4505a4
call sub.user32.dll_EnumWindows
jmp 0x450615
mov eax, esp
push eax
push 0x450584
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4506a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4506f4]
test si, 4
je 0x4506b5
or bl, 1
test si, 8
je 0x4506bf
or bl, 4
test si, 1
je 0x4506c9
or bl, 8
test si, 2
je 0x4506d3
or bl, 0x10
test si, 0x10
je 0x4506dd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4506ec
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4506f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x450734]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450712
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450721
or bl, 4
test esi, 0x20000000
je 0x45072c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4587a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4587b2
add esp, 0xfffffff0
call fcn.00403f34
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ca2c
mov eax, dword [0x4868cc]
mov dword [eax + 4], ebx
mov dword [eax], 0x458b44
mov eax, dword [0x4868dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x458b50
mov eax, ebx
call fcn.00458b5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
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, 0x454004
push eax
push 0
push 0
mov eax, dword [0x486b04]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421838]
call fcn.0042308c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421838]
call fcn.0042308c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421838]
call fcn.0042308c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00458fd4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458ea4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458ea4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x458ea4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4588ef
call fcn.00403f8c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x458c88
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 0x458e33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458e14
mov dl, 1
mov eax, dword [0x413b4c]
call fcn.00403be0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404af0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x458e03
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.0044a3d0
test al, al
je 0x458df6
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, 0x458e44
lea eax, [ebp - 0x254]
call fcn.00409e58
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458df6
xor eax, eax
push ebp
push 0x458def
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 0x458e7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458dd8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d60
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 0x458dd8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458df6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458cf9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004180dc
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 0x458e3a
lea eax, [ebp - 0x260]
call fcn.00404af0
ret

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

Disassembly:
push ecx
mov eax, dword [0x48bca0]
cmp byte [eax + 0xad], 0
jne 0x45981d
cmp dword [0x48bcbc], 0
jne 0x4597de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459768
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48bcbc], eax
cmp dword [0x48bcb8], 0
jne 0x4597f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48bcb8], eax
cmp dword [0x48bcc0], 0
jne 0x45981d
push esp
push 0
push 0
push 0x45970c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48bcc0], eax
pop edx
ret
Function at 0x459a20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459a37
add esp, 0xfffffff0
call fcn.00403f34
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ca2c
mov eax, dword [0x486ae0]
cmp word [eax + 2], 0
jne 0x459a5f
mov eax, dword [0x486ae0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b710
mov eax, dword [0x486bf0]
cmp word [eax + 2], 0
jne 0x459a79
mov eax, dword [0x486bf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b91c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41359c]
call fcn.00403be0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422348]
call fcn.00429d14
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x459c30
mov eax, dword [0x486978]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a0e8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bfe0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x486978]
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.0040df9c
test eax, eax
je 0x459b80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409810
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dfd0
test eax, eax
je 0x459b94
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d60
mov byte [ebx + 0xd4], 0
push ebx
push 0x45b19c
call fcn.0041dba8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x486788]
cmp byte [eax], 0
jne 0x459be5
mov eax, ebx
call fcn.00459d74
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045c1f4
mov eax, ebx
call fcn.0045cd58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459c25
call fcn.00403f8c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459ff4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45a093
cmp dword [ebx + 0x94], 0
jne 0x45a08d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459f7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a08d
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 0x45a053
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a08d
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.00415bd4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a062
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a2ac
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48bca0]
cmp dword [eax + 0x30], 0
je 0x45a409
test bl, bl
jne 0x45a35a
cmp dword [esi + 0x9c], 0
jne 0x45a34f
mov eax, esi
call fcn.0045cbd4
push eax
push 0x45a1d8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45a320
mov eax, dword [0x48bca0]
call fcn.0045d2b4
test al, al
je 0x45a320
mov eax, dword [0x48bcc4]
call fcn.00405d0c
mov edi, eax
cmp edi, 0
jl 0x45a320
push 0
mov eax, dword [0x48bcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a30a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a34f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415bd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a32f
inc dword [esi + 0x9c]
jmp 0x45a409
cmp dword [esi + 0x9c], 0
jle 0x45a409
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45a409
cmp dword [esi + 0x44], 0
je 0x45a3b5
mov eax, dword [0x48bca0]
call fcn.0045d2b4
test al, al
je 0x45a3b5
mov eax, dword [0x48bcc4]
call fcn.00405d0c
mov edi, eax
cmp edi, 0
jl 0x45a3b5
push 5
mov eax, dword [0x48bcc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45a39f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45a3e4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415bd4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45a3c4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x48bcc4
mov ecx, 1
mov edx, dword [0x45a1b8]
call fcn.00405ec0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45aef0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45af5a
mov eax, ebx
call fcn.0045d2b4
test al, al
jne 0x45af5a
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.00404be0
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45af47
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45af67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b44
jmp 0x45af67
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b44
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45c3d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c446
mov eax, esi
call fcn.004450b4
test al, al
je 0x45c446
mov eax, dword [ebx + 0x84]
call fcn.00444d40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c446
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45c43a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444d40
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043cbbc
jmp 0x45c446
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c214
pop esi
pop ebx
ret

Function at 0x4613d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x461448
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x104
call fcn.00405210
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
test esi, esi
je 0x461412
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebx]
call fcn.00404f80
push eax
push esi
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
xchg edx, eax
call fcn.00405210
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.004612d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46144f
lea eax, [ebp - 8]
call fcn.00404af0
ret
Function at 0x46770c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467847
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041687c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x467788
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x467788
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408968
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x486818]
mov ebx, dword [ebx]
mov eax, 0x467860
call ebx
dec eax
jne 0x467788
mov ebx, 1
jmp 0x46778a
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x46782c
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00467250
test al, al
jne 0x467820
mov eax, dword [ebp - 4]
call fcn.00467700
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404b44
xor edx, edx
push ebp
push 0x46780e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x30]
test al, al
je 0x467804
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00467b78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467820
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4677a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46784e
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404b14
ret
Function at 0x470794
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4707c2
mov eax, ebx
call fcn.00471248
cmp dword [ebx + 0x40], 0
je 0x4707bb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x470833
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x470825
cmp dword [ebx + 8], 0
je 0x4707e4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4707f6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x470825
cmp dword [ebx + 8], 0
je 0x4707d7
cmp eax, 3
je 0x470809
dec eax
jne 0x4707d7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4707d7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4707d7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x470851
cmp dword [ebx + 0x14], 0xcc
je 0x470851
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047085c
pop ebx
ret
Function at 0x10027aa
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 2
push esi
push edi
push dword [ebp + 0xc]
ja 0x100281e
push 0x1001414
xor esi, esi
push esi
call fcn.010040f7
add esp, 0xc
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push 0x1001404
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
cmp edi, esi
je 0x100280f
push esi
push 0x104
push 0x10063e0
push esi
push edi
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
push 0x10013cc
push 1
call fcn.010040f7
jmp 0x100282d
push 0x10013a4
push esi
call fcn.010040f7
pop ecx
pop ecx
jmp 0x1002830
push 0x1001378
push 1
call fcn.010040f7
mov edi, dword [ebp + 0xc]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
Function at 0x1002c9b
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, eax
cmp ebx, esi
je 0x1002cf1
push esi
push 0x104
push 0x10063e0
push esi
push ebx
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push 0x1001658
push esi
call fcn.010040f7
pop ecx
jmp 0x1002dad
push edi
mov edi, dword [ebp - 8]
shl edi, 4
inc edi
push edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x1002d20
push edi
push 0x1001610
push 1
call fcn.010040f7
add esp, 0xc
push 0xe
pop ebx
jmp 0x1002d9e
lea ecx, [ebp - 0xc]
push ecx
push eax
push dword [ebp + 0xc]
call fcn.010028c7
mov ebx, eax
cmp ebx, esi
je 0x1002d56
push esi
push 0x104
mov edi, 0x10063e0
push edi
push esi
push ebx
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
push ebx
push 0x10015d4
jmp 0x1002d94
push dword [ebp - 0xc]
push dword [ebp - 4]
push 7
push esi
push 0x10015c4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp ebx, esi
je 0x1002d9e
push esi
push 0x104
mov edi, 0x10063e0
push edi
push esi
push ebx
push esi
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push edi
push ebx
push 0x1001590
push 1
call fcn.010040f7
add esp, 0x10
pop edi
cmp dword [ebp - 4], esi
je 0x1002dae
push dword [ebp - 4]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop esi
mov eax, ebx
pop ebx
leave
ret 8