joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f254
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43f2a0
mov eax, esi
call fcn.00454b00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f2a0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43f2a0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43f3df
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43f2e0
cmp eax, 0x108
ja 0x43f2e0
mov eax, esi
call fcn.00454b00
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43f3d6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43f3df
jmp 0x43f3d6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43f3bf
cmp eax, 0x20a
ja 0x43f3bf
test byte [esi + 0x50], 0x80
jne 0x43f312
sub eax, 0x203
je 0x43f30f
sub eax, 3
je 0x43f30f
sub eax, 3
jne 0x43f312
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43f326
dec eax
je 0x43f33b
dec eax
je 0x43f358
dec eax
je 0x43f33b
jmp 0x43f35f
mov ecx, ebx
mov eax, dword [0x4f1d40]
mov eax, dword [eax]
mov edx, esi
call fcn.0045e2f8
jmp 0x43f3d6
cmp byte [esi + 0x5d], 1
jne 0x43f351
mov eax, esi
mov si, 0xffed
call fcn.0040374c
jmp 0x43f3df
or word [esi + 0x54], 1
jmp 0x43f3d6
and word [esi + 0x54], 0xfffe
jmp 0x43f3d6
mov eax, dword [0x4f2b18]
cmp byte [eax + 0x20], 0
je 0x43f3d6
mov eax, dword [0x4f2b18]
cmp dword [eax + 0x1c], 0
je 0x43f3d6
mov eax, dword [ebx]
mov edx, dword [0x4f2b18]
cmp eax, dword [edx + 0x1c]
jne 0x43f3d6
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00454a44
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0040374c
jmp 0x43f3df
cmp eax, 0xb00b
jne 0x43f3d6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043db74
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44294c
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 0x442968
cmp dword [esi + 4], 0
je 0x442995
test byte [ebx + 0x55], 1
jne 0x442987
mov eax, ebx
call fcn.004414ec
test eax, eax
jne 0x442987
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x442aa5
mov edx, esi
mov eax, ebx
call fcn.00442470
jmp 0x442aa5
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 0x442a9e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004447bc
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.0043f188
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0044294c
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.004447bc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442aa5
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 0x449178
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f1f2c]
cmp byte [eax + 0xc], 0
je 0x4492e5
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4492de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f2b6c], 0
jne 0x4491cc
push 0x4492ec
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4492f4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b6c], eax
cmp dword [0x497c7c], 0
jne 0x4492c7
push 0x449304
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x497c7c], eax
cmp dword [0x497c7c], 0
je 0x4492c7
push 0x449310
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b70], eax
push 0x449320
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b74], eax
push 0x449334
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b78], eax
push 0x44934c
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b7c], eax
push 0x449364
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b80], eax
push 0x449378
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b84], eax
push 0x449390
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b88], eax
push 0x4493a8
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b8c], eax
push 0x4493c4
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b90], eax
push 0x4493d0
mov eax, dword [0x497c7c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4f2b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4492e5
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d18c
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.004042d0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d1db
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.00404540
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4549b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454a04]
test si, 4
je 0x4549c8
or bl, 1
test si, 8
je 0x4549d2
or bl, 4
test si, 1
je 0x4549dc
or bl, 8
test si, 2
je 0x4549e6
or bl, 0x10
test si, 0x10
je 0x4549f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4549ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x454a08
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x454a40]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454a21
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454a30
or bl, 4
test esi, 0x20000000
je 0x454a3b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45b104
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45b116
add esp, 0xfffffff0
call fcn.0040387c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a1b4
mov eax, dword [0x4f1b20]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b4a8
mov eax, dword [0x4f1b30]
mov dword [eax + 4], ebx
mov dword [eax], 0x45b4b4
mov eax, ebx
call fcn.0045b4c0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4122f0]
call fcn.00403514
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4122f0]
call fcn.00403514
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4122f0]
call fcn.00403514
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4122f0]
call fcn.00403514
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4122f0]
call fcn.00403514
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, 0x4578d8
push eax
push 0
push 0
mov eax, dword [0x4f1cb8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.0041d308
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.0041d308
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41bc48]
call fcn.0041d308
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045b9c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b844
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b844
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45b844
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b253
call fcn.004038d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b628
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 0x45b7d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b7b4
mov dl, 1
mov eax, dword [0x41270c]
call fcn.00403514
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042d0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b7a3
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.004494d8
test al, al
je 0x45b796
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, 0x45b7e4
lea eax, [ebp - 0x254]
call fcn.00409274
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45b796
xor eax, eax
push ebp
push 0x45b78f
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 0x45b81c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45b778
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404540
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 0x45b778
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b796
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b699
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004163a4
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 0x45b7da
lea eax, [ebp - 0x260]
call fcn.004042d0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f2bb8]
cmp byte [eax + 0xa5], 0
jne 0x45c1d5
cmp dword [0x4f2bd0], 0
jne 0x45c196
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45c120
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f2bd0], eax
cmp dword [0x4f2bcc], 0
jne 0x45c1b1
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4f2bcc], eax
cmp dword [0x4f2bd4], 0
jne 0x45c1d5
push esp
push 0
push 0
push 0x45c0c4
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4f2bd4], eax
pop edx
ret
Function at 0x45c868
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f2bb8]
cmp dword [eax + 0x30], 0
je 0x45c912
cmp dword [ebx + 0x94], 0
jne 0x45c90c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c7f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c90c
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 0x45c8d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c90c
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.004146dc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c8e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d470
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 0x45d4a5
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.004043c0
jmp 0x45d4b2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404324
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e440
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e481
mov eax, esi
call fcn.00444ac0
test al, al
je 0x45e481
mov eax, dword [ebx + 0x84]
call fcn.004447bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e481
push 0
mov eax, dword [ebx + 0x84]
call fcn.004447bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x461c68
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x461c96
mov eax, ebx
call fcn.0046271c
cmp dword [ebx + 0x40], 0
je 0x461c8f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x461d07
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x461cf9
cmp dword [ebx + 8], 0
je 0x461cb8
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 0x461cca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x461cf9
cmp dword [ebx + 8], 0
je 0x461cab
cmp eax, 3
je 0x461cdd
dec eax
jne 0x461cab
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 0x461cab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x461cab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x461d25
cmp dword [ebx + 0x14], 0xcc
je 0x461d25
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.00461d30
pop ebx
ret
Function at 0x10002a02
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
shl eax, 4
add eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
mov eax, dword [eax + 4]
test eax, eax
je 0x10002a22
mov ebx, eax
cmp byte [ebx], 0
je 0x10002ad2
cmp byte [ebx + 1], 0
jne 0x10002a52
cmp byte [ebp + 0xc], 0
je 0x10002a52
cmp byte [esi + 8], 0
jne 0x10002ad2
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10002a52
call eax
test eax, eax
jne 0x10002ad2
cmp dword [0x1002ae28], 0
je 0x10002aaa
cmp byte [ebp + 0xc], 0
je 0x10002aaa
cmp byte [ebx + 1], 0
jne 0x10002a92
mov al, byte [ebx]
cmp al, 0x7e
je 0x10002a92
push 0x10
movsx edi, al
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, 0x80
je 0x10002a85
movzx edi, byte [edi + esi + 0x43c]
mov esi, dword [esi + 4]
test esi, esi
je 0x10002ad2
push edi
call esi
pop ecx
jmp 0x10002ad2
push dword [ebp + 8]
call fcn.10002892
test eax, eax
pop ecx
je 0x10002aaa
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10002aaa
push eax
call ecx
pop ecx
lea edi, [esi + 0x10]
push ebx
mov ecx, edi
call fcn.1000e211
test al, al
je 0x10002ad2
cmp byte [ebp + 0x10], 0
jne 0x10002ad2
mov eax, dword [edi]
push dword [ebp + 0xc]
shl eax, 4
add eax, dword [esi + 0x20]
mov ecx, esi
push eax
call fcn.100028d0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10004ddd
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1000f055
call fcn.1000ec38
sub esp, 0xa8
push esi
push edi
push 0x1b
xor ecx, ecx
pop edx
mov esi, 0x100
mov al, byte [ecx + str.hd0kXU]
mov edi, esi
xor al, dl
mov byte [ebp + ecx - 0x14], al
lea eax, [edx + 1]
cdq
idiv edi
inc ecx
cmp ecx, 7
jl 0x10004afc
and byte [ebp - 0xd], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004203
pop ecx
pop ecx
mov eax, dword [eax + 4]
mov byte [ebp - 4], 1
test eax, eax
jne 0x10004b3d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 1
push 1
push eax
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_char_const___int_]
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 4], 3
mov edi, 0x100180d8
mov eax, dword [ebp - 0xb4]
push 0xa
mov eax, dword [eax + 4]
lea ecx, [ebp + eax - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
push esi
push edi
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::getline_char___int__char_]
test eax, eax
jne 0x10004b9c
xor ecx, ecx
jmp 0x10004ba3
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
mov eax, dword [ecx + 4]
and al, 6
neg al
sbb eax, eax
not eax
test ecx, eax
je 0x10004bd7
push 0x1002ae04
push edi
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x10004bd7
push eax
push edi
call sub.MSVCRT.dll_strcpy
add edi, esi
pop ecx
cmp edi, 0x100280d8
pop ecx
jne 0x10004b6d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
jmp 0x10004ae0
Function at 0x1000b51f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
cmp esi, eax
push edi
mov dword [ebp - 4], eax
je 0x1000b5df
cmp dword [ebp + 0xc], eax
je 0x1000b5df
cmp dword [ebp + 0x10], eax
je 0x1000b5df
push 4
lea eax, [esi + 0x3c]
pop ebx
push ebx
push eax
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [eax + esi]
mov eax, dword [eax + esi + 0xd8]
add eax, esi
mov esi, dword [ecx + 0xdc]
add esi, eax
mov edi, eax
cmp eax, esi
jae 0x1000b5da
push ebx
lea eax, [ebp - 8]
push edi
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
cmp eax, dword [ebp + 0xc]
jne 0x1000b5d4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1000b59a
mov dword [ecx], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000b5df
lea eax, [ebp + 0x10]
push ebx
push eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1000b5df
mov dword [ebp - 4], 1
add edi, ebx
cmp edi, esi
jb 0x1000b57b
mov eax, dword [ebp - 4]
jmp 0x1000b5e1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100020f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002107
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002138
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x10002134
cmp esi, eax
jae 0x10002138
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x10002124
cmp esi, eax
jb 0x1000213e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x10006f21
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
or ecx, 0x15b22
or ecx, 0x3ee6
pop ecx
mov byte [ebp - 0xb24], 0x4c
mov byte [ebp - 0xb23], 0x6f
mov byte [ebp - 0xb22], 0x61
mov byte [ebp - 0xb21], 0x64
mov byte [ebp - 0xb20], 0x4c
mov byte [ebp - 0xb1f], 0x69
mov byte [ebp - 0xb1e], 0x62
mov byte [ebp - 0xb1d], 0x72
mov byte [ebp - 0xb1c], 0x61
mov byte [ebp - 0xb1b], 0x72
mov byte [ebp - 0xb1a], 0x79
mov byte [ebp - 0xb19], 0x57
mov byte [ebp - 0xb18], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x26d4], ecx
mov edx, dword [ebp - 0x26d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x26d8], eax
mov ecx, dword [ebp - 0x26d8]
mov dword [ebp - 0x1910], ecx
push eax
push ebx
add esp, 4
call 0x10006f06
add byte [esi], bh
xor eax, 0x47333747
cmp al, 0x83
les eax, [ecx + eax*4]
enter 0x6fc2, 1
add byte [ecx + 0xa48ee0], al
add al, ch
pop es
add byte [eax], al
add byte [eax], al
dec ecx
cmp dword [edx], esi
dec edi
dec ebx
xor eax, dword [ebx - 0x7ca7fb3c]
mov ebp, 0xffffe6f0
add byte [ebp + 0xf], dh
mov dword [ebp - 0x888], 0
jmp 0x100071f9
push ebx
push edi
add esp, 4
and ebx, 0x1e05
or ebx, 0x1331
or ebx, 0x78d1