joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017b80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014043d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edi
mov dword [edi + 4], eax
mov eax, dword [0x101766f8]
mov dword [edi + 8], eax
mov al, byte [0x101766fc]
mov byte [edi], 0
mov byte [edi + 0xc], al
mov dword [edi + 0xd], 0
mov byte [edi + 0x11], 0
je 0x10017c21
cmp byte [edi], 0
jne 0x10017c21
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
mov dword [edi + 0xd], eax
movzx eax, byte [ecx + 4]
mov byte [edi + 0x11], al
mov eax, dword [edi + 8]
mov dword [ecx], eax
movzx eax, byte [edi + 0xc]
mov byte [ecx + 4], al
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [edi], 1
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret 8

Function at 0x100281b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ed50
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test byte [esi + 0x3c], 1
je 0x10028222
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x100281ed
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
add edx, ecx
jmp 0x100281f7
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax]
add edx, dword [ecx]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub edx, eax
cmp edx, 0x1000
jb 0x10028218
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028273
mov eax, ecx
push edx
push eax
call fcn.1013d04d
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1002f9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101425a6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x11c]
push 0x10c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x10c]
mov dword [ebp - method.IWXMVM::Components::Camera.virtual_0], 0x10172cf4
mov dword [ebp - 0x118], 0
add esp, 0xc
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - fcn.1000e780], vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], 0xfa
mov dword [ebp - 4], 0
lea edx, [ebp - 0x11c]
mov ecx, dword [edi + 8]
push edx
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [edi + 0x5c]
mov esi, dword [ebp - 0x114]
add ebx, esi
cmp ebx, dword [edi + 0x54]
jbe 0x1002faa3
lea ecx, [edi + 0x60]
call fcn.100338b0
lea ecx, [edi + 0x60]
call fcn.100337a0
test eax, eax
je 0x1002fa9d
mov ecx, edi
call fcn.10030180
mov esi, dword [ebp - 0x114]
mov ebx, esi
jmp 0x1002faa3
mov esi, dword [ebp - 0x114]
push dword [edi + 0x68]
push esi
push 1
push dword [ebp - 0x118]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, esi
jne 0x1002faef
mov dword [edi + 0x5c], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.10011b60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
lea edx, [edi + 0x6c]
lea ecx, [ebp - 0x134]
mov esi, dword [eax]
call fcn.10033850
mov byte [ebp - 4], 1
mov edx, str.Failed_writing_to_file
push eax
lea ecx, [ebp - 0x14c]
call fcn.1002bf70
add esp, 4
mov byte [ebp - 4], 2
mov edx, esi
mov ecx, eax
call fcn.1003b290
int3
Function at 0x10030cc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142b1f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi], vtable.spdlog::logger.0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
movups xmm0, xmmword [ebp + 8]
mov dword [edi + 0x1c], 0
mov byte [ebp + 8], 0
movups xmmword [edi + 8], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [edi + 0x18], xmm0
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp - 4], 1
lea esi, [edi + 0x20]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
sub eax, ecx
sar eax, 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x10030d93
push eax
mov ecx, esi
call fcn.10031030
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push esi
push dword [esi]
call fcn.100310d0
add esp, 8
mov dword [esi + 4], eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 3
lea eax, [edi + 0x38]
mov dword [edi + 0x2c], 2
mov dword [edi + 0x30], 6
mov dword [ebp - 0x10], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 5
lea esi, [edi + 0x60]
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
push 2
movq qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
push esi
mov dword [ebp - 0x14], esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [esi + 0x34]
mov byte [esi + 0x30], 0
mov dword [ebp - 0x20], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100126b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10031a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142e37
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [esi], vtable.spdlog::pattern_formatter.0
xorps xmm0, xmm0
push 2
movups xmmword [ecx], xmm0
push 0x102d98d0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10012a80
mov byte [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
movups xmm0, xmmword [ebp + 0xc]
mov dword [esi + 0x30], 0
mov byte [ebp + 0xc], 0
movups xmmword [esi + 0x1c], xmm0
movq xmm0, qword [ebp + 0x1c]
movq qword [esi + 0x2c], xmm0
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp - 4], 2
lea edi, [esi + 0x68]
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 1
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x74]
call fcn.1003e620
mov byte [ebp - 4], 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [esi + 0x3c], xmm0
mov dword [ebp - 0x18], eax
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
push 0x128
call fcn.1013cffa
mov esi, eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 6
push 0x128
push 0
push esi
call sub.VCRUNTIME140.dll_memset
movq xmm0, qword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x18]
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], eax
lea eax, [esi + 0x28]
mov dword [esi], vtable.spdlog::details::full_formatter.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], vtable.fmt::v9::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], 0xfa
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x10031bf3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ecx], eax
add dword [edi + 4], 4
jmp 0x10031bff
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, edi
call fcn.1003ded0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10031c10
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 1
mov dword [ebp - 0x14], ecx
and ecx, 0xfffffffe
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.100126b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10033020
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014349d
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1003305a
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100331a1
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x1003319d
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
nop dword [eax]
mov esi, 0x10177730
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10033088
sub esi, edx
mov dword [ebp - 0x130], edi
cmp dword [edi + 0x14], 0xf
jbe 0x100330a5
mov eax, dword [edi]
mov dword [ebp - 0x130], eax
test esi, esi
je 0x1003311c
cmp ecx, ebx
jae 0x1003311c
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x10177730
lea edx, [esi + 0x10177730]
add esp, 0xc
cmp edx, ecx
je 0x100330e2
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x128], 1
cmp ecx, edx
jne 0x100330d2
mov edx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x12c]
add esi, edx
lea ecx, [ebx + edx]
cmp esi, ecx
jae 0x1003311c
nop word [eax + eax]
movzx eax, byte [esi]
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x10033115
inc esi
cmp esi, ecx
jb 0x10033100
jmp 0x1003311c
sub esi, edx
cmp esi, 0xffffffff
jne 0x1003311f
mov esi, dword [edi + 0x10]
push esi
push 0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1002bcd0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x1003316a
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1003316a
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
add esp, 4
test eax, eax
jne 0x1003318e
inc esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100126b0
mov ebx, dword [edi + 0x10]
cmp esi, ebx
jae 0x100331a1
mov ecx, esi
jmp 0x10033080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100126b0
xor al, al
jmp 0x100331a3
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
Function at 0x10033c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143753
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x24], edx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x10033dc6
mov ecx, dword [edx + 4]
lea ebx, [edx + 4]
mov dword [ebp - 0x28], ecx
mov esi, eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
movzx eax, byte [eax + 8]
xor eax, 0x811c9dc5
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
imul eax, eax, 0x1000193
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], eax
nop
mov ecx, dword [esi]
cmp esi, eax
mov eax, esi
mov dword [ebp - 0x30], ecx
sete byte [ebp - 0xd]
mov dword [ebp - 0x2c], eax
mov esi, ecx
add eax, 8
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10033cdc
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x10
push dword [ebp - 0x2c]
call fcn.1013d04d
dec dword [ebx + 4]
add esp, 8
cmp byte [ebp - 0xd], 0
jne 0x10033d10
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], edi
jne 0x10033cb0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x10033db7
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
jmp 0x10033db7
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
jne 0x10033d22
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x10033d25
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
cmp esi, edi
je 0x10033db7
movzx eax, byte [esi + 8]
mov ecx, dword [ebp - 0x24]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
mov ecx, dword [ecx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x20]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, dword [esi]
mov ebx, esi
cmp esi, eax
mov esi, edi
mov dword [ebp - 0x40], esi
sete byte [ebp - 0xd]
lea ecx, [ebx + 8]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10033d7c
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x10
push ebx
call fcn.1013d04d
mov eax, dword [ebp - 0x24]
add esp, 8
dec dword [eax + 8]
cmp byte [ebp - 0xd], 0
jne 0x10033d9d
cmp edi, dword [ebp + 0xc]
je 0x10033daf
mov eax, dword [ebp - 0x1c]
jmp 0x10033d56
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, dword [ebp + 0xc]
jne 0x10033d30
jmp 0x10033db4
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10033e50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014377d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x10033ea0
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 0x14], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x20], ecx
lea eax, [edi + edi]
push eax
call fcn.1003e530
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10033f8e
mov bl, byte [eax + 8]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ecx]
movzx edx, bl
xor edx, 0x811c9dc5
mov edi, dword [edi + 0x18]
imul edx, edx, 0x1000193
and edi, edx
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x18], edx
cmp edi, esi
jne 0x10033f1a
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10033f84
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
jne 0x10033f51
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
cmp edx, eax
je 0x10033f49
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0x14]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], eax
jmp 0x10033f84
cmp edi, edx
je 0x10033f61
mov edx, dword [edx + 4]
cmp bl, byte [edx + 8]
je 0x10033fb0
cmp edi, edx
jne 0x10033f55
mov ebx, dword [eax + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
jne 0x10033ee6
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0x14]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x10033f84
Function at 0x10040d40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101455e5
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1030e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi], vtable.IWXMVM::UI::DemoLoader.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov byte [edi + 0x38], 0
movups xmmword [edi + 0x3c], xmm0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
mov byte [ebp - 4], 2
movups xmmword [edi + 0x54], xmm0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0xf
mov byte [edi + 0x54], 0
mov byte [ebp - 4], 3
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x78]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x1c
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1013cffa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 5
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 6
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.1003e530
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10044360
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014621b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push edi
call esi
test eax, eax
je 0x10044443
mov eax, 0x1002dc20
mov byte [edi], 0xe8
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push edi
call esi
test eax, eax
jne 0x10044426
lea edx, [eax + 5]
lea ecx, [ebp - 0x98]
call fcn.10044860
mov esi, eax
mov dword [ebp - 4], 0xa
mov edx, edi
lea ecx, [ebp - 0x80]
call fcn.10044860
mov byte [ebp - 4], 0xb
mov edx, str.VirtualProtect_failure._Address:
push eax
lea ecx, [ebp - 0x68]
call fcn.1002bf70
mov byte [ebp - 4], 0xc
mov edx, eax
push str.__size:
lea ecx, [ebp - 0x50]
call fcn.1002c190
mov byte [ebp - 4], 0xd
mov edx, eax
push esi
lea ecx, [ebp - 0x38]
call fcn.10032fc0
add esp, 0xc
mov byte [ebp - 4], 0xe
jmp 0x100444a1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret
mov edx, 5
lea ecx, [ebp - 0x38]
call fcn.10044860
mov esi, eax
mov dword [ebp - 4], 0
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.10044860
mov byte [ebp - 4], 1
mov edx, str.VirtualProtect_failure._Address:
push eax
lea ecx, [ebp - 0x68]
call fcn.1002bf70
mov byte [ebp - 4], 2
mov edx, eax
push str.__size:
lea ecx, [ebp - 0x80]
call fcn.1002c190
mov byte [ebp - 4], 3
mov edx, eax
push esi
lea ecx, [ebp - 0x98]
call fcn.10032fc0
add esp, 0xc
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x20]
call fcn.1002c3d0
push 0x1030acd4
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3