joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c0100
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
push ebx
or ebx, 0xffffffff
push esi
mov edx, ebx
mov eax, ebx
push edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
nop
cmp ecx, edx
je 0x100c0311
cmp ecx, eax
je 0x100c0311
cmp ecx, ebx
lea eax, [esp + 0x20]
lea edx, [esp + 0x24]
mov ebx, ecx
cmovae eax, edx
mov dword [esp + 0xc], ebx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [esp + 0x14], eax
mov al, byte [eax + 3]
test al, al
je 0x100c02f0
mov esi, dword [0x107646dc]
movzx ecx, al
rdtsc
mov dword [esi + 0x820], eax
mov eax, dword [esi + 0x700]
or eax, dword [esi + 0x704]
mov dword [esi + 0x824], edx
jne 0x100c0192
mov eax, dword [esi + 0x820]
mov dword [esi + 0x700], eax
mov eax, edx
mov dword [esi + 0x704], eax
mov ebx, dword [0x107646dc]
shl ecx, 2
mov dword [esp + 0x10], ecx
mov edx, dword [ebx + 0x424]
mov edi, dword [ebx + 0x428]
lea eax, [edx + ecx]
cmp eax, edi
jle 0x100c0216
add edi, 0x3ff
add eax, edi
and eax, 0xfffffc00
push 0x20
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_malloc]
mov edi, eax
add esp, 8
mov eax, dword [ebx + 0x42c]
test eax, eax
je 0x100c01fa
push dword [ebx + 0x428]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [ebx + 0x42c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__aligned_free]
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0x424]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x428], eax
mov dword [ebx + 0x42c], edi
jmp 0x100c021c
mov edi, dword [ebx + 0x42c]
mov eax, dword [esp + 0x14]
push ecx
add eax, 4
push eax
lea eax, [edi + edx]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx + 0x424]
add esp, 0xc
add edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x424], edx
test edx, edx
jle 0x100c0280
nop word [eax + eax]
mov ecx, dword [esi + 0x42c]
sub edx, edi
add ecx, edi
sar edx, 2
push edx
push ecx
mov eax, dword [ecx]
mov ecx, esi
shr eax, 0x1d
mov eax, dword [esi + eax*4 + 0x404]
call eax
test eax, eax
je 0x100c02b2
mov edx, dword [ebx + 0x424]
lea edi, [edi + eax*4]
cmp edi, edx
jl 0x100c0250
mov eax, dword [esi + 0x424]
cmp edi, eax
jge 0x100c02a8
mov ecx, dword [esi + 0x42c]
sub eax, edi
push eax
lea eax, [ecx + edi]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sub dword [esi + 0x424], edi
jmp 0x100c02b2
mov dword [esi + 0x424], 0
mov edi, dword [esi + 0x824]
mov ecx, dword [esi + 0x820]
test edi, edi
jne 0x100c02c6
test ecx, ecx
je 0x100c02ec
rdtsc
sub eax, ecx
sbb edx, edi
add dword [esi + 0x790], eax
mov dword [esi + 0x824], 0
mov dword [esi + 0x820], 0
adc dword [esi + 0x794], edx
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
and ecx, 0xffffff
cmp ecx, 0xffffff
je 0x100c0311
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
jmp 0x100c0120
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100c0590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101700ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov edx, ecx
push ebx
mov dword [ebp - 0x10], edx
push esi
push edi
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [ebp - 4], 0
lea ebx, [edx + 0x40]
mov dword [edx], 0x101a0f28
mov ecx, ebx
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 0
call fcn.100c07e0
lea edi, [edx + 0x200]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.100c1590
lea esi, [edi + 0x48]
mov dword [edi], 0x101a0f10
push 0xc
push str.GPUSetupPrim
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0xc
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x64]
mov dword [edi + 0x60], ebx
call fcn.1003d290
mov dword [edi + 0x84], 0x101972f8
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0x40000
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x10]
add edi, 0x2a8
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.100c1590
lea esi, [edi + 0x48]
mov dword [edi], 0x101a0f1c
push 0xf
push str.GPUDrawScanline
push esi
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x10], 0xf
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xf], 0
mov byte [ebp - 4], 5
lea ecx, [edi + 0x64]
mov dword [edi + 0x60], ebx
call fcn.1003d290
mov dword [edi + 0x84], 0x101972f8
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0x40000
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
push 0x1c0
push 0
push ebx
mov dword [edi + 0xa4], 0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ecx + 0x20]
mov dword [ebx], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c17f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016f1c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.1006f3c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100c1878
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
jne 0x100c188c
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.100cd0b0
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a5340]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101a5340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100c1974
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.1016c380
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x100c1953
cmp ebx, 0x200
jae 0x100c1951
shl ebx, 3
cmp ebx, ecx
jae 0x100c1953
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100c19e0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1006f3c0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x100c1977
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x18]
jne 0x100c19a5
mov dword [ecx + eax*8], esi
jmp 0x100c19b4
cmp edi, edx
jne 0x100c19ae
mov dword [ecx + eax*8], esi
jmp 0x100c19b8
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100c19b8
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100c19e0
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x100c1a11
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.100c1730
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100c1b20
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebp]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x1c], eax
cmp ebx, esi
jne 0x100c1aa2
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100c1b0b
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x100c1ad5
mov eax, dword [eax]
cmp eax, ecx
je 0x100c1acc
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x100c1b0b
cmp ebx, eax
je 0x100c1aec
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100c1b2a
cmp ebx, eax
jne 0x100c1ae0
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [esp + 0x14]
mov ecx, edx
lea ebp, [ebx + 0xc]
cmp edx, esi
jne 0x100c1a50
nop dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100c1b0b
Function at 0x100c9160
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov edi, ecx
push 0x7da
push dword [edi + 8]
call ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push 0
push 0
push 0x147
push esi
call ebx
test eax, eax
js 0x100c92a4
push 0
push eax
push 0x150
push esi
call ebx
mov ebx, eax
xor ecx, ecx
mov eax, 5
cmp bl, 1
cmove ecx, eax
push ecx
push 0x7d6
push dword [edi + 8]
call ebp
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
xor eax, eax
mov ecx, 5
cmp bl, 2
cmove eax, ecx
push eax
push 0x7d5
push dword [edi + 8]
call ebp
push eax
call esi
push 0
push 0x81c
push dword [edi + 8]
call ebp
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
push 0x81d
push dword [edi + 8]
call ebp
push eax
call esi
cmp bl, 1
mov ebx, 0
sete bl
push ebx
push 0x7dc
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x7db
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x819
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x81a
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x817
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x818
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x81e
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x81f
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x80f
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x80e
push dword [edi + 8]
call ebp
push eax
call esi
push ebx
push 0x810
push dword [edi + 8]
call ebp
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100ca550
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101702b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov ecx, dword [0x107646dc]
push ebx
push esi
rdtsc
push edi
lea edi, [ecx + 0x680]
mov dword [ebp - 0x10], ecx
mov dword [edi + 0x1a0], eax
mov eax, dword [edi + 0x80]
or eax, dword [edi + 0x84]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], edi
mov dword [edi + 0x1a4], edx
jne 0x100ca5b7
mov eax, dword [edi + 0x1a0]
mov dword [edi + 0x80], eax
mov eax, edx
mov dword [edi + 0x84], eax
mov esi, dword [ebp + 0xc]
lea ebx, [ecx + 0x424]
mov dword [ebp - 4], 0
mov ecx, ebx
mov eax, dword [ebx]
shl esi, 2
add eax, esi
push eax
call fcn.100cb8d0
mov eax, dword [ebx + 8]
add eax, dword [ebx]
push esi
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [ebx]
add esp, 0xc
add edx, esi
xor esi, esi
mov dword [ebx], edx
test edx, edx
jle 0x100ca626
mov ecx, dword [ebp - 0x10]
sub edx, esi
sar edx, 2
push edx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x42c]
add ecx, esi
push ecx
mov eax, dword [ecx]
mov ecx, edx
shr eax, 0x1d
mov eax, dword [edx + eax*4 + 0x404]
call eax
test eax, eax
je 0x100ca62c
mov edx, dword [ebx]
lea esi, [esi + eax*4]
cmp esi, edx
jl 0x100ca5f4
mov dword [ebx], 0
mov esi, dword [edi + 0x1a4]
mov ecx, dword [edi + 0x1a0]
test esi, esi
jne 0x100ca640
test ecx, ecx
je 0x100ca666
rdtsc
sub eax, ecx
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
sbb edx, esi
add dword [edi + 0x110], eax
adc dword [edi + 0x114], edx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ca680
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
push edi
mov edi, dword [0x107646dc]
rdtsc
mov dword [edi + 0x820], eax
mov eax, dword [edi + 0x700]
or eax, dword [edi + 0x704]
mov dword [edi + 0x824], edx
jne 0x100ca6b8
mov eax, dword [edi + 0x820]
mov dword [edi + 0x700], eax
mov eax, edx
mov dword [edi + 0x704], eax
mov ecx, dword [edi + 0x440]
mov esi, dword [edi + 0x434]
mov eax, dword [esp + 0x10]
sub esi, ecx
shl eax, 2
cmp eax, esi
cmovle esi, eax
mov eax, dword [edi + 0x43c]
push esi
add eax, ecx
push eax
push dword [esp + 0x14]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0x440], esi
add esp, 0xc
mov eax, dword [edi + 0x440]
cmp eax, dword [edi + 0x434]
jl 0x100ca706
and dword [edi + 0x460], 0xf7ffffff
mov esi, dword [edi + 0x824]
mov ecx, dword [edi + 0x820]
test esi, esi
jne 0x100ca71a
test ecx, ecx
je 0x100ca740
rdtsc
sub eax, ecx
mov dword [edi + 0x820], 0
mov dword [edi + 0x824], 0
sbb edx, esi
add dword [edi + 0x790], eax
adc dword [edi + 0x794], edx
pop edi
pop esi
ret 8
Function at 0x100ca750
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0
lea esi, [edi + 0x680]
rdtsc
mov dword [esi + 0x1a0], eax
mov eax, dword [esi + 0x80]
or eax, dword [esi + 0x84]
mov dword [ebp - 0x14], esi
mov dword [esi + 0x1a4], edx
jne 0x100ca7af
mov eax, dword [esi + 0x1a0]
mov dword [esi + 0x80], eax
mov eax, edx
mov dword [esi + 0x84], eax
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x18
mov dword [edi + edx*4 + 0x8c0], eax
lea eax, [ebp + 8]
push eax
mov eax, dword [edi + edx*4 + 4]
call eax
mov edi, dword [esi + 0x1a4]
mov ecx, dword [esi + 0x1a0]
test edi, edi
jne 0x100ca7e5
test ecx, ecx
je 0x100ca80b
rdtsc
sub eax, ecx
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x1a4], 0
sbb edx, edi
add dword [esi + 0x110], eax
adc dword [esi + 0x114], edx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100d3b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100d3b81
push dword [ebx + 0x74]
call eax
add esp, 4
push ebp
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x100d3be4
nop word [eax + eax]
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov ebp, dword [eax + 8]
mov eax, dword [edi + 0x54]
test eax, eax
je 0x100d3bdd
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x100d3bb3
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x100d3ba2
jmp 0x100d3bdd
test edx, edx
jne 0x100d3bbc
mov dword [edi + 0x54], ecx
jmp 0x100d3bbf
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100d3bcc
push esi
call eax
add esp, 4
mov ecx, esi
call fcn.100d46c0
mov eax, dword [ebp + 8]
push esi
push ebp
call eax
add esp, 8
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x100d3b90
mov edi, dword [esp + 0x18]
lea eax, [ebx + 0x6c]
test eax, eax
je 0x100d3c6e
test edi, edi
je 0x100d3c6e
mov ebp, dword [eax]
test ebp, ebp
je 0x100d3c61
nop dword [eax]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x100d3c17
push esi
call eax
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x100d3c2b
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100d3c3c
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebp
push edi
call eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ebp, eax
test eax, eax
jne 0x100d3c00
lea eax, [ebx + 0x6c]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x100d3c82
push ebx
call eax
add esp, 4
mov edx, edi
mov ecx, ebx
call fcn.100d3d10
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x100d3c9c
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
test esi, esi
je 0x100d3cce
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x1c]
test eax, eax
je 0x100d3cba
push esi
call eax
add esp, 4
test dword [esp + 0x20], 0x400
jne 0x100d3cce
mov eax, dword [ebp + 8]
push esi
push ebp
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
pop ebp
test eax, eax
je 0x100d3cf5
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
pop ecx
ret
Function at 0x10131210
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1013122a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x1013122a
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x1013122a
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1013e690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, edx
mov eax, dword [edi + 0x74]
test al, 1
je 0x1013e8b9
mov edx, dword [esp + 0x12c]
test al, 6
je 0x1013e6ef
call fcn.10141fa0
test dword [edi + 0x78], 0x100000
mov ecx, edi
je 0x1013e8c3
push str.out_of_place
lea edx, [esp + 0x54]
call fcn.101313c0
add esp, 4
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.10131830
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
cmp edx, 0x20
je 0x1013e710
call fcn.10141fa0
mov edx, str.invalid
mov ecx, edi
call fcn.10131320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x1013e8af
push 0x20
lea ecx, [esp + 0x34]
push ecx
push edi
call eax
mov eax, dword [edi + 0x78]
lea edx, [esp + 0x3c]
add esp, 0xc
test dword [edi + 0x11c], 0x20000000
je 0x1013e749
and eax, 0x300
cmp eax, 0x300
je 0x1013e766
jmp 0x1013e750
test eax, 0x800
jne 0x1013e766
mov ecx, dword [edi + 0x140]
push 0x20
call fcn.10169a90
add esp, 4
mov dword [edi + 0x140], eax
xor edx, edx
mov ecx, edi
call fcn.10141fa0
test eax, eax
jne 0x1013e705
lea edx, [esp + 0x30]
call fcn.1013dbf0
mov esi, eax
lea edx, [esp + 0x34]
mov dword [esp + 0x28], esi
call fcn.1013dbf0
lea edx, [esp + 0x38]
mov dword [esp + 0x2c], eax
call fcn.1013dbf0
lea edx, [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.1013dbf0
lea edx, [esp + 0x40]
mov dword [esp + 0x14], eax
call fcn.1013dbf0
lea edx, [esp + 0x44]
mov dword [esp + 0x18], eax
call fcn.1013dbf0
lea edx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call fcn.1013dbf0
mov ebp, eax
lea edx, [esp + 0x4c]
mov dword [esp + 0x20], ebp
call fcn.1013dbf0
mov dword [esp + 0x24], eax
cmp esi, 0xffffffff
je 0x1013e898
cmp dword [esp + 0x2c], 0xffffffff
je 0x1013e898
cmp dword [esp + 0x10], 0xffffffff
je 0x1013e898
cmp dword [esp + 0x14], 0xffffffff
je 0x1013e898
cmp dword [esp + 0x18], 0xffffffff
je 0x1013e898
cmp dword [esp + 0x1c], 0xffffffff
je 0x1013e898
cmp ebp, 0xffffffff
je 0x1013e898
cmp eax, 0xffffffff
je 0x1013e898
movzx eax, word [edi + 0x326]
test ax, ax
js 0x1013e705
mov ecx, edi
test al, 0x10
je 0x1013e865
or eax, 0x8000
mov edx, ebx
mov word [edi + 0x326], ax
call fcn.1012fef0
mov edx, str.duplicate
mov ecx, edi
call fcn.10131320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
or eax, 0x10
lea edx, [edi + 0x2dc]
mov word [edi + 0x326], ax
lea eax, [esp + 0x10]
push 1
push eax
call fcn.1012f6d0
add esp, 8
mov edx, ebx
mov ecx, edi
call fcn.1012fef0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov edx, str.invalid_values
mov ecx, edi
call fcn.10131320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret
mov edx, str.Call_to_NULL_read_function
call fcn.101318d0
mov edx, str.missing_IHDR
call fcn.10131390
mov edx, str.out_of_place
call fcn.10131390
int3