joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435fe0
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 0x435ffc
cmp dword [esi + 4], 0
je 0x436029
test byte [ebx + 0x55], 1
jne 0x43601b
mov eax, ebx
call fcn.00434b80
test eax, eax
jne 0x43601b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436139
mov edx, esi
mov eax, ebx
call fcn.00435b04
jmp 0x436139
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 0x436132
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437e50
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.0043281c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00435fe0
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.00437e50
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436139
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 0x43c708
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4541a8]
cmp byte [eax + 0xc], 0
je 0x43c875
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c86e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455b90], 0
jne 0x43c75c
push 0x43c87c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c884
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b90], eax
cmp dword [0x453b58], 0
jne 0x43c857
push 0x43c894
call sub.kernel32.dll_LoadLibraryA
mov dword [0x453b58], eax
cmp dword [0x453b58], 0
je 0x43c857
push 0x43c8a0
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b94], eax
push 0x43c8b0
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b98], eax
push 0x43c8c4
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455b9c], eax
push 0x43c8dc
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455ba0], eax
push 0x43c8f4
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455ba4], eax
push 0x43c908
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455ba8], eax
push 0x43c920
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bac], eax
push 0x43c938
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bb0], eax
push 0x43c954
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bb4], eax
push 0x43c960
mov eax, dword [0x453b58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x455bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c875
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440700
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.00403f98
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44074f
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.00404208
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x447e64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447eb4]
test si, 4
je 0x447e78
or bl, 1
test si, 8
je 0x447e82
or bl, 4
test si, 1
je 0x447e8c
or bl, 8
test si, 2
je 0x447e96
or bl, 0x10
test si, 0x10
je 0x447ea0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447eaf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x447eb8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x447ef0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447ed1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x447ee0
or bl, 4
test esi, 0x20000000
je 0x447eeb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44e598
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44e5aa
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194d0
mov eax, dword [0x453e68]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e93c
mov eax, dword [0x453e74]
mov dword [eax + 4], ebx
mov dword [eax], 0x44e948
mov eax, ebx
call fcn.0044e954
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
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, 0x44ad70
push eax
push 0
push 0
mov eax, dword [0x453fc0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af24]
call fcn.0041c698
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af24]
call fcn.0041c698
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af24]
call fcn.0041c698
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044ed74
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec50
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec50
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ec50
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e6e7
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44ea34
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 0x44ebdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44ebc0
mov dl, 1
mov eax, dword [0x411be4]
call fcn.00403218
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44ebaf
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.0043ca68
test al, al
je 0x44eba2
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, 0x44ebf0
lea eax, [ebp - 0x254]
call fcn.00408b68
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44eba2
xor eax, eax
push ebp
push 0x44eb9b
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 0x44ec28
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44eb84
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x44eb84
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eba2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44eaa5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004156c0
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 0x44ebe6
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x455bdc]
cmp byte [eax + 0xa5], 0
jne 0x44f585
cmp dword [0x455bf4], 0
jne 0x44f546
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f4d0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x455bf4], eax
cmp dword [0x455bf0], 0
jne 0x44f561
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x455bf0], eax
cmp dword [0x455bf8], 0
jne 0x44f585
push esp
push 0
push 0
push 0x44f474
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x455bf8], eax
pop edx
ret
Function at 0x44f67c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44f693
add esp, 0xfffffff0
call fcn.0040356c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004194d0
mov eax, dword [0x453fac]
cmp word [eax + 2], 0
jne 0x44f6bb
mov eax, dword [0x453fac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450d54
mov eax, dword [0x454060]
cmp word [eax + 2], 0
jne 0x44f6d5
mov eax, dword [0x454060]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00450f4c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4117c8]
call fcn.00403218
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41ba04]
call fcn.00422d7c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44f85c
mov eax, dword [0x453ecc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042314c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4514ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x453ecc]
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.0040c238
test eax, eax
je 0x44f7ca
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040855c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c260
test eax, eax
je 0x44f7de
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.00404208
mov eax, dword [0x453db4]
cmp byte [eax], 0
jne 0x44f812
mov eax, ebx
call fcn.0044f984
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.004516c8
mov eax, ebx
call fcn.0045208c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f852
call fcn.004035c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fc04
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455bdc]
cmp dword [eax + 0x30], 0
je 0x44fcae
cmp dword [ebx + 0x94], 0
jne 0x44fca8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44fb94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44fca8
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 0x44fc6e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44fca8
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.00413b30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44fc7d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450810
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 0x450845
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.00404088
jmp 0x450852
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4518a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4518e5
mov eax, esi
call fcn.00438128
test al, al
je 0x4518e5
mov eax, dword [ebx + 0x84]
call fcn.00437e50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4518e5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437e50
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0xa4b679d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret

Function at 0xa4bb54b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [ebp + 0xc]
mov byte [edi], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
leave
ret
Function at 0xa4bd2a5
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
mov eax, 0xa57e0e2
call fcn.0a550c6c
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x30], edi
call fcn.0a4bcb89
pop ecx
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0xa4bd435
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0a4c3f45
lea ecx, [ebp - 0x2c]
call fcn.0a4c3f67
test al, al
je 0xa4bd435
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a4bd727
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0a4bd46e
lea ecx, [ebp - 0x2c]
call fcn.0a4c3f85
cmp dword [eax + 0xac], 0
je 0xa4bd3b1
mov ecx, edi
call fcn.0a4c3f85
mov ecx, edi
mov esi, eax
call fcn.0a4c3f64
add eax, dword [esi + 0xa8]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
call fcn.0a4c3f85
mov ecx, edi
mov esi, eax
call fcn.0a4c3f64
mov edx, dword [ebp - 0x34]
mov edi, eax
add edi, dword [esi + 0xa8]
mov ecx, dword [edx + 8]
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
sub esi, dword [edi]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, 0x2000
mov dword [ebp - 0x38], ecx
cmp esi, eax
ja 0xa4bd447
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [edi + 4]
sub eax, dword [edi]
push 4
push eax
push dword [edx]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword fs:[0x2c]
mov ecx, dword [ebp - 0x38]
push esi
push dword [edi]
push dword [eax + ecx*4]
call fcn.0a553d90
mov eax, dword [ebp - 0x34]
push esi
push dword [edi]
push dword [eax]
call fcn.0a553d90
mov edi, dword [ebp - 0x30]
add esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 0x40
push 0x1000
call fcn.0a4c3f6c
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x2c]
call fcn.0a4c3f85
mov ecx, dword [ebp - 0x30]
mov esi, dword [eax + 0x68]
mov edi, dword [eax + 0x6c]
call fcn.0a4c3f85
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x68], esi
mov dword [eax + 0x6c], edi
call fcn.0a4c3f6c
lea ecx, [ebp - 0x2c]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
add eax, 0xf8
push eax
call fcn.0a4c3f6c
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0a4c3f6c
push eax
call fcn.0a553d90
mov ecx, dword [ebp - 0x30]
add esp, 0xc
call fcn.0a4c3f64
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.0a4c3fa1
lea ecx, [ebp - 0x28]
add esi, eax
call fcn.0a4b4872
mov eax, esi
jmp 0xa4bd43f
lea ecx, [ebp - 0x28]
call fcn.0a4b4872
xor eax, eax
call fcn.0a550c1b
ret 4
push eax
push esi
push 0xa41f840
call fcn.0a4c465c
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.0a4bc9a5
push 0xa4a9a4c
lea eax, [ebp - 0x4c]
push eax
call fcn.0a5522f9
int3
Function at 0xa4bd6ac
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0a4c3f64
mov edi, dword [ebp + 0x10]
mov esi, eax
mov ecx, dword [ebp + 0xc]
add esi, dword [edi + 0xc]
call fcn.0a4c3f64
mov ecx, dword [ebp + 8]
mov ebx, eax
add ebx, dword [edi + 0x14]
call fcn.0a4c3f64
add eax, 0xa000000
cmp esi, eax
jae 0xa4bd70b
cmp dword [edi + 0x10], 0
jbe 0xa4bd706
push dword [edi + 0x10]
push ebx
push esi
call fcn.0a553d90
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push 0x40
push dword [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
leave
ret
push 0xa41f880
lea ecx, [ebp - 0xc]
call fcn.0a4bc9a5
push 0xa4a9a4c
lea eax, [ebp - 0xc]
push eax
call fcn.0a5522f9
int3

Function at 0xa4bee64
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0xa57e323
call fcn.0a550c6c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
push 1
xor ebx, ebx
mov dword [ebp - 0x238], esi
push ebx
push 0xa41fe74
push reloc.XINPUT1_4.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa4bef65
mov edi, 0x208
lea eax, [ebp - 0x218]
push edi
push ebx
push eax
call fcn.0a554310
add esp, 0xc
mov dword [ebp - 0x238], edi
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0xa41fea0
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0a4be756
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
cmova eax, dword [ebp - 0x230]
push 0x5c
pop edx
mov dword [ebp - 4], ebx
cmp word [eax + ecx*2 - 2], dx
je 0xa4bef4a
cmp dword [ebp - 0x21c], 7
lea eax, [ebp - 0x230]
cmova eax, dword [ebp - 0x230]
cmp word [eax + ecx*2 - 2], 0x2f
je 0xa4bef4a
push edx
lea ecx, [ebp - 0x230]
call fcn.0a4befd6
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0a4be71b
lea ecx, [ebp - 0x230]
call fcn.0a4b6c4d
jmp 0xa4bef7c
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
call fcn.0a550c1b
ret
Function at 0xa4bfbe1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a4b557e
cmp byte [ebx], 0
je 0xa4bfc6c
cmp byte [ebx + 1], 0
jne 0xa4bfc6c
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 1
lea edi, [ebx + 0x18]
je 0xa4bfc19
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebx + 4]
cmp byte [ebx + 0x15], 0
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
mov al, byte [ecx + 4]
mov byte [ebx + 0x14], al
setne al
add al, 0xe8
mov byte [ecx], al
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sub eax, 5
cmp byte [ebp + 8], 0
mov dword [ecx + 1], eax
je 0xa4bfc58
cmp byte [ebp + 0xc], 0
jne 0xa4bfc58
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a54ee9b
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8

Function at 0xa4bfc80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push 0x90
push dword [ebp + 8]
call fcn.0a554310
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
leave
ret

Function at 0xa4bfdcb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x1c]
mov ecx, esi
call fcn.0a4b557e
cmp byte [ebx], 0
je 0xa4bfe39
cmp byte [ebx + 1], 0
je 0xa4bfe39
cmp byte [ebp + 8], 0
push edi
mov byte [ebx + 1], 0
lea edi, [ebx + 0x18]
je 0xa4bfe03
push edi
push 0x40
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [ebp + 8], 0
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x10]
mov dword [ecx], eax
mov al, byte [ebx + 0x14]
mov byte [ecx + 4], al
je 0xa4bfe25
push edi
push dword [edi]
push 5
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop edi
push esi
call fcn.0a54ee9b
pop ecx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4