joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor esi, esi
test eax, eax
je 0x10016c61
mov eax, 0x8000
cmp word [esp + 0xc], ax
cmove esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4

Function at 0x10016ca0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor esi, esi
test eax, eax
je 0x10016d11
mov eax, 0x8001
cmp word [esp + 0xc], ax
cmove esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4

Function at 0x10016d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x10016db4
xor esi, esi
jmp 0x10016db9
movzx esi, word [esp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov ax, si
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4
Function at 0x10016f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
xor esi, esi
test eax, eax
je 0x10016fdd
cmp word [esp + 0xc], 0xe
cmove esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4

Function at 0x10017010
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0xe], ax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100170c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movsd qword [esp + 0x14], xmm0
movss xmm0, dword [ebp + 0x10]
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0xe], ax
mov dword [esp + 0x1c], eax
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10017170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [ebp + 0x10]
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0xe], ax
mov dword [esp + 0x1c], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10017210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
test edx, edx
jns 0x1001725a
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x10017262
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
xorps xmm0, xmm0
mov dword [esp + 0xc], 1
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
lea edx, [esp + 0xc]
mov eax, dword [esi]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100172d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
push eax
call sym.HncFoundation.dll_public:_void___thiscall_CHncParam::constructor_char_const___int_
mov dword [esp + 0x38], 0
cmp word [esp + 0xc], 1
je 0x1001732b
xor esi, esi
jmp 0x1001733d
mov eax, dword [esi]
lea edx, [esp + 0xc]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10017370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100997c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
test esi, esi
je 0x100173fe
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100173d6
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xc]
jmp 0x100173d8
xor eax, eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0xc]
mov eax, dword [edi]
mov ecx, 0x8002
push edx
push dword [ebp + 8]
mov word [esp + 0x14], cx
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
jmp 0x10017400
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10017440
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov word [esp + 0xc], ax
xor eax, eax
mov word [esp + 0xe], ax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100174f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10099738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx]
push edx
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x10017562
mov eax, 0x8002
cmp word [esp + 0xc], ax
jne 0x10017562
mov esi, dword [esp + 0x14]
jmp 0x10017564
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call sym.HncFoundation.dll_public:_void___thiscall_tagHNCPARAM::ParamClear_void_
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4
Function at 0x1001d680
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099a98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, 0xffffffff
je 0x1001d7af
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1001d7a8
test edi, edi
je 0x1001d7a8
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push edi
movq qword [ebp - 0x20], xmm0
call fcn.1001dd60
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push edi
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1001d74d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1001d7af
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x1001d7af
mov ecx, ebx
call sym.HncFoundation.dll_private:_void___thiscall_Hnc::IO::File::Release_void_
mov dword [ebx], esi
lea eax, [ebp - 0x20]
lea esi, [ebx + 4]
cmp esi, eax
je 0x1001d784
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x20], edx
mov dword [esi + 8], eax
mov dword [ebp - 0x18], ecx
jmp 0x1001d787
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x1001d795
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1001d7b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret 4
Function at 0x1001dc90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1001dcbc
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1001dd01
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 0xc]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x1001dd13
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
xor ecx, ebp
pop edi
call fcn.100944ae
mov esp, ebp
pop ebp
ret

Function at 0x1001e170
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
ret

Function at 0x1001ebf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099d71
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
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, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x2c], edi
movdqu xmmword [ebp - 0x20], xmm0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
call sym.HncFoundation.dll_public:_bool___thiscall_Hnc::IO::File::Load_class_CHncStringW_const__
test al, al
jne 0x1001ec78
lea eax, [ebp - 0x28]
push 0
push eax
call sym.HncFoundation.dll_public:_static_class_std::auto_ptr_class_Hnc::IO::StreamImpl____cdecl_Hnc::IO::StreamImpl::Create_struct_IStream__
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1001eff0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1001ec76
push ecx
call fcn.10019190
jmp 0x1001ecb8
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp eax, esi
je 0x1001ec86
sub esi, eax
jmp 0x1001ecad
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xffffffff
jne 0x1001ec92
xor esi, esi
jmp 0x1001ecad
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
cmovne esi, ecx
push esi
push eax
push edi
call sym.HncFoundation.dll_public:_static_class_Hnc::IO::Stream___cdecl_Hnc::IO::Stream::Load_unsigned_char_const___unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
call sym.HncFoundation.dll_public:_void___thiscall_Hnc::IO::File::destructor_void_
mov eax, edi
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.100944ae
mov esp, ebp
pop ebp
ret
Function at 0x1001ee20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099e28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
xor edi, edi
movq qword [ebp - 0x18], xmm0
xor esi, esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], edi
mov eax, dword [ebx]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x1001eea0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x1001eea0
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1001eea0
push dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
test edi, edi
jne 0x1001eeec
lea eax, [ebp + 0xc]
push edi
push eax
call sym.HncFoundation.dll_public:_static_class_std::auto_ptr_class_Hnc::IO::StreamImpl____cdecl_Hnc::IO::StreamImpl::Create_struct_IStream__
add esp, 8
mov byte [ebp - 4], 1
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.1001eff0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001ef3b
push ecx
call fcn.10019190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x1001ef26
push eax
lea eax, [ebp + 0xc]
push eax
call sym.HncFoundation.dll_public:_static_class_std::auto_ptr_class_Hnc::IO::StreamImpl____cdecl_Hnc::IO::StreamImpl::Create_struct_IStream__
add esp, 8
mov byte [ebp - 4], 4
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.1001eff0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1001ef34
push ecx
call fcn.10019190
jmp 0x1001ef34
push esi
mov esi, dword [ebp + 8]
push eax
push esi
call sym.HncFoundation.dll_public:_static_class_Hnc::IO::Stream___cdecl_Hnc::IO::Stream::Load_unsigned_char_const___unsigned_int_
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100213d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099f72
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [section..data]
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, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [edi], 0
mov eax, dword [0x100f5084]
push esi
mov dword [ebp - 0x224], edi
mov dword [edi], eax
call sym.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_class_CHncStringW_const__
mov dword [ebp - 4], 0
mov ecx, 0x100a4cdc
mov eax, dword [esi]
mov dword [ebp - 0x220], 1
jmp 0x10021450
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10021476
test dx, dx
je 0x10021472
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10021476
add eax, 4
add ecx, 4
test dx, dx
jne 0x10021450
xor eax, eax
jmp 0x1002147b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1002149f
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call sym.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_unsigned_short_int_const__
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x100214c5
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x100214d1
cmp eax, 0x2f
je 0x100214d1
push 0x100c0618
mov ecx, edi
call sym.HncFoundation.dll_public:_class_CHncStringW____thiscall_CHncStringW::operator_unsigned_short_int_const__
jmp 0x100214d1
push 0x100c0618
mov ecx, edi
call sym.HncFoundation.dll_public:_int___thiscall_CHncStringW::Assign_unsigned_short_int_const__
mov ecx, dword [ebx]
push ecx
push dword [ecx - 8]
mov ecx, edi
call sym.HncFoundation.dll_protected:_int___thiscall_CHncStringW::ConcatInPlace_int__unsigned_short_int_const__
mov eax, edi
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.100944ae
mov esp, ebp
pop ebp
ret