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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x453160]
cmp byte [eax + 0xc], 0
je 0x43b4f5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b4ee
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x454b64], 0
jne 0x43b3dc
push 0x43b4fc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43b504
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b64], eax
cmp dword [0x452b3c], 0
jne 0x43b4d7
push 0x43b514
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452b3c], eax
cmp dword [0x452b3c], 0
je 0x43b4d7
push 0x43b520
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b68], eax
push 0x43b530
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b6c], eax
push 0x43b544
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b70], eax
push 0x43b55c
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b74], eax
push 0x43b574
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b78], eax
push 0x43b588
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b7c], eax
push 0x43b5a0
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b80], eax
push 0x43b5b8
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b84], eax
push 0x43b5d4
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b88], eax
push 0x43b5e0
mov eax, dword [0x452b3c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b4f5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x446b0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446b5c]
test si, 4
je 0x446b20
or bl, 1
test si, 8
je 0x446b2a
or bl, 4
test si, 1
je 0x446b34
or bl, 8
test si, 2
je 0x446b3e
or bl, 0x10
test si, 0x10
je 0x446b48
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446b57
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x446b98]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446b79
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446b88
or bl, 4
test esi, 0x20000000
je 0x446b93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44d240
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44d252
add esp, 0xfffffff0
call fcn.004033fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419074
mov eax, dword [0x452e38]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d5e4
mov eax, dword [0x452e44]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d5f0
mov eax, ebx
call fcn.0044d5fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
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, 0x449a18
push eax
push 0
push 0
mov eax, dword [0x452f84]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41aab0]
call fcn.0041c14c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41aab0]
call fcn.0041c14c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41aab0]
call fcn.0041c14c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044da1c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d8f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d8f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d8f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d38f
call fcn.00403454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d6dc
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 0x44d887
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d868
mov dl, 1
mov eax, dword [0x411788]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e28
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d857
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.0043b6e8
test al, al
je 0x44d84a
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, 0x44d898
lea eax, [ebp - 0x254]
call fcn.00408894
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d84a
xor eax, eax
push ebp
push 0x44d843
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 0x44d8d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d82c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404098
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 0x44d82c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404098
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d84a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d74d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415264
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 0x44d88e
lea eax, [ebp - 0x260]
call fcn.00403e28
ret

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

Disassembly:
push ecx
mov eax, dword [0x454bb0]
cmp byte [eax + 0xa5], 0
jne 0x44e22d
cmp dword [0x454bc8], 0
jne 0x44e1ee
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44e178
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x454bc8], eax
cmp dword [0x454bc4], 0
jne 0x44e209
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x454bc4], eax
cmp dword [0x454bcc], 0
jne 0x44e22d
push esp
push 0
push 0
push 0x44e11c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x454bcc], eax
pop edx
ret
Function at 0x44e324
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e33b
add esp, 0xfffffff0
call fcn.004033fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419074
mov eax, dword [0x452f70]
cmp word [eax + 2], 0
jne 0x44e363
mov eax, dword [0x452f70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f9fc
mov eax, dword [0x453018]
cmp word [eax + 2], 0
jne 0x44e37d
mov eax, dword [0x453018]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fbf4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41136c]
call fcn.004030a8
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 [0x41b4b8]
call fcn.004225d4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e504
mov eax, dword [0x452e98]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004229a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x450194
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x452e98]
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.0040bf5c
test eax, eax
je 0x44e472
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408288
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf84
test eax, eax
je 0x44e486
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.00404098
mov eax, dword [0x452d94]
cmp byte [eax], 0
jne 0x44e4ba
mov eax, ebx
call fcn.0044e62c
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.00450370
mov eax, ebx
call fcn.00450d34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e4fa
call fcn.00403454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e8ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bb0]
cmp dword [eax + 0x30], 0
je 0x44e956
cmp dword [ebx + 0x94], 0
jne 0x44e950
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e83c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e950
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 0x44e916
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e950
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.004136d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e925
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f4b8
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 0x44f4ed
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.00403f18
jmp 0x44f4fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e7c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45054c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45058d
mov eax, esi
call fcn.00436e5c
test al, al
je 0x45058d
mov eax, dword [ebx + 0x84]
call fcn.00436b58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45058d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436b58
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x412678
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x412687
pop dword [ebp - 0x34]
mov eax, 0xdd910efd
sub eax, 0xdd4fe876
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x34376
push 0
mov eax, 0xff5d4f92
add eax, 0xe4113a
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x3d60
mov edi, eax
mov esi, 0xcdac370b
sub esi, 0xcd67cf0b
add esi, dword [ebp - 0x34]
mov ebx, 0x172d5adc
sub dword [ebp - 0x2c], 0x47e7a609
mov edx, dword [esi]
mov dword [ebp - 0x24], 0xc42e0b02
add edx, ebx
add dword [ebp - 0x28], 0x7e793aee
mov dword [edi], edx
xor dword [ebp - 0x1c], esi
add edi, 0xad70a0af
add edi, 0x528f5f55
add esi, 0x8602ae59
sub esi, 0x8602ae55
loop 0x4126da
add eax, 0x40e2aec4
sub eax, 0x40e1c671
mov ebx, eax
add eax, 0x2e9b70f9
add eax, 0xd1648f0c
mov ecx, 0xc8fc084a
add ecx, 0x3743f7b6
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x407360
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e83c]
jne 0x40736a
repz ret
jmp fcn.0040b76f

Function at 0x40b15d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405cf7
and dword [ebp - 4], 0
cmp dword [0x433904], 0
mov ebx, eax
jne 0x40b20e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2bf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2bf
push eax
call fcn.00405c85
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x433904], eax
call esi
push eax
call fcn.00405c85
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x433908], eax
call esi
push eax
call fcn.00405c85
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43390c], eax
call esi
push eax
call fcn.00405c85
pop ecx
mov dword [0x433914], eax
test eax, eax
je 0x40b20e
push 0x42af18
push edi
call esi
push eax
call fcn.00405c85
pop ecx
mov dword [0x433910], eax
mov eax, dword [0x433910]
cmp eax, ebx
je 0x40b266
cmp dword [0x433914], ebx
je 0x40b266
push eax
call fcn.00405d00
push dword [0x433914]
mov esi, eax
call fcn.00405d00
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b266
test edi, edi
je 0x40b266
call esi
test eax, eax
je 0x40b25d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b25d
test byte [ebp - 0xc], 1
jne 0x40b266
or dword [ebp + 0x10], 0x200000
jmp 0x40b29f
mov eax, dword [0x433908]
cmp eax, ebx
je 0x40b29f
push eax
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b29f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b29f
mov eax, dword [0x43390c]
cmp eax, ebx
je 0x40b29f
push eax
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b29f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433904]
call fcn.00405d00
pop ecx
test eax, eax
je 0x40b2bf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2c1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002e70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
mov byte [0x101db60a], 0
mov byte [0x1009410b], 1
mov dword [0x101db604], 0x7f0000
mov word [0x101db608], 0
call fcn.10016e70
mov edi, dword [0x101db670]
add edi, 0x273354
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 4
lea eax, [esp + 0x14]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
call fcn.1003c9c0
push dword [ebp + 0xc]
mov eax, dword [0x101db470]
mov ecx, ebx
mov esi, dword [ebx]
push dword [ebp + 8]
mov dword [ebx], eax
call dword [eax + 0xc0]
mov dword [esp + 0x14], eax
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10003430
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x101db670], eax
lea edi, [eax + 0x27977c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x38
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0
push 4
push 0x101db66c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x101db66c]
call fcn.1003c9c0
push dword [ebp + 0xc]
mov eax, dword [0x101db470]
mov ecx, ebx
mov esi, dword [ebx]
push dword [ebp + 8]
mov dword [ebx], eax
call dword [eax + 0xbc]
mov dword [ebp - 8], eax
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100048f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x10004a46
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 4]
mov dword [ebp - 4], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 0xc], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.1004d7a1
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x14]
je 0x100049a9
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10004967
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10004a3c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
jne 0x100049bd
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [edx], eax
jmp 0x100049c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x10004a3c
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.1004d7a1
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x14]
je 0x10004a4d
cmp esi, eax
jne 0x10004a17
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x100049d0
mov ecx, dword [ebp - 4]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10004d00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x10005aa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bc3d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x100875a0
push str.CONOUT_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
mov ecx, 0x101f4aa0
call fcn.10007860
push str..._data_textures_src_
lea ecx, [ebp - 0x28]
call fcn.100048b0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10005b50
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10004860
sub esp, 0x18
mov ecx, esp
push str.generate.fxo
call fcn.100048b0
mov edx, 0x101db478
mov ecx, 0x100465f0
call fcn.10046640
add esp, 0x18
call fcn.10007220
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x10006bc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1009400c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
mov dword [ebp - 0x10c], edx
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10006be6
mov eax, dword [edi]
push ebx
push esi
push 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__fullpath]
lea eax, [ebp - 0x108]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
mov ebx, eax
add esp, 0x10
mov esi, ebx
mov cl, byte [ebx]
test cl, cl
je 0x10006c30
cmp cl, 0x5c
jne 0x10006c28
push 0
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x10006c14
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
cmp dword [edi + 0x14], 0x10
pop esi
pop ebx
jb 0x10006c44
mov edi, dword [edi]
push 0
push dword [ebp - 0x10c]
push 4
push edi
call dword [sym.imp.d3dx9_43.dll_D3DXSaveTextureToFileA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1004d763
mov esp, ebp
pop ebp
ret