joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100094a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 7
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x100094be
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x100094e4
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100094d0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.100051b0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10009504
add eax, 0x20
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.100129a4
int3
Function at 0x1000b4b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100304c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
cmp dword [edi + 0x14], 7
mov ecx, dword [edi + 0x10]
jbe 0x1000b4f0
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x1000b51a
mov edx, dword [ebp - 0x14]
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1000b503
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x18]
mov ecx, edx
push eax
call fcn.100051b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000b54a
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 ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x4924924
je 0x1000b67f
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.1001477c
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
add esp, 4
mov dword [eax + 0x1c], 0
lea ecx, [eax + 8]
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ecx], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ecx + 0x10], xmm0
xorps xmm0, xmm0
mov word [edi], ax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movups xmmword [ecx + 0x18], xmm0
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x10]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x28], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10022200]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10022200]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x1000b652
mov ecx, edi
call fcn.10010140
mov eax, dword [ebp - 0x1c]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100051b0
mov ecx, dword [eax]
jmp 0x1000b655
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ecx
push esi
mov ecx, edi
call fcn.10008bb0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push str.unordered_map_set_too_long
call fcn.10012984
int3
Function at 0x1000b990
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001f6a0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100304c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.1001477c
mov edi, eax
add esp, 4
test edi, edi
je 0x1000ba3d
push 1
mov dword [ebp - 4], 0
call fcn.10012b72
add esp, 4
mov dword [edi + 4], eax
jmp 0x1000ba3f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.1000faf0
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x10030dc8]
mov ecx, dword [0x10030dcc]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
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 0x100102c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x1001045c
cmp dword [edx + 0x1c], 7
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jbe 0x100102fb
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
add eax, eax
je 0x10010324
mov ecx, eax
nop dword [eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10010310
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10006790
push 0x38
push edi
call fcn.100147ac
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x10010389
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10010340
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x10010378
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1001039b
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x1001039e
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x1001044f
nop dword [eax]
cmp dword [esi + 0x1c], 7
lea edx, [esi + 8]
mov ebx, dword [edx + 0x10]
jbe 0x100103be
mov edx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x100103e4
nop dword [eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x100103d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edi
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10006790
push 0x38
push edi
call fcn.100147ac
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x10010439
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100103f8
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x100103b0
mov eax, dword [ebp - 8]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10010f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001fffd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100304c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1001477c
mov edi, eax
add esp, 4
test edi, edi
je 0x10010f9d
push 1
mov dword [ebp - 4], 0
call fcn.10012b72
add esp, 4
mov dword [edi + 4], eax
jmp 0x10010f9f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.1000b800
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x10010ffa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x10010ffa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x10011016
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x10011039
cmp byte [ebp + 0xc], 0
je 0x10011025
push esi
call fcn.10013f6a
add esp, 4
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
test cl, 4
je 0x10011045
mov esi, str.ios_base::badbit_set
jmp 0x10011055
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10011080
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.1000cf90
push 0x1002a45c
lea eax, [ebp - 0x28]
push eax
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x10015cd0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10015c00
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x10015cfa
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x10015d06
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x10015d10
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10015c00
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x10015d3a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x10016160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100304c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10016187
mov ecx, 5
int 0x29
push 2
call fcn.1001572c
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10016292
test esi, esi
jne 0x10016292
push 2
call fcn.1001572c
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10014ad4
mov esp, ebp
pop ebp
ret
Function at 0x10019200
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x100304c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100192fb
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x100192fb
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x1001925a
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x10019238
jmp 0x100192fb
cmp edx, 0x200
jae 0x10019361
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x100192fb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x100192fa
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x100192fa
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x10019343
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x100192e0
pop edi
mov eax, dword [0x10031450]
test eax, eax
jne 0x10019321
push str.setlocale
call fcn.1001b270
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001931c
or eax, 0xffffffff
mov dword [0x10031450], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x1001934f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014ad4
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x100192fa
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10014ad4
mov esp, ebp
pop ebp
ret
call fcn.10015856
int3
Function at 0x10019cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10019ce0
mov esi, dword [ebp + 8]
test al, al
je 0x10019cce
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10019cf0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1001b2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020520
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x100304c0]
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 ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x414], ecx
cmp ecx, ebx
je 0x1001b4ad
jmp 0x1001b300
mov esi, dword [ecx]
mov edi, dword [esi*4 + 0x126b14a8]
lea edx, [esi*4 + 0x126b14a8]
mov dword [ebp - 0x418], edx
nop
test edi, edi
je 0x1001b329
cmp edi, 0xffffffff
jne 0x1001b4da
jmp 0x1001b49c
mov esi, dword [esi*4 + 0x10027be8]
cmp byte [0x126b14a0], 0
mov dword [ebp - 4], 0
je 0x1001b361
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov edi, eax
mov edx, dword [ebp - 0x418]
jmp 0x1001b48c
test esi, esi
je 0x1001b48a
cmp word [esi], 0
je 0x1001b48a
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1001b47e
cmp eax, 0x200
jae 0x1001b47e
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x410], cx
inc eax
cmp eax, 0x200
jae 0x1001b47e
movzx ecx, word [esi]
test cx, cx
je 0x1001b3e2
mov edx, ecx
jmp 0x1001b3c0
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x1001b47e
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x1001b3c0
add eax, eax
cmp eax, 0x400
jae 0x1001b4de
mov ebx, dword [0x126b14a4]
xor ecx, ecx
xor ebx, dword [0x100304c0]
mov word [ebp + eax - 0x410], cx
mov ecx, dword [0x100304c0]
and ecx, 0x1f
ror ebx, cl
test ebx, ebx
je 0x1001b459
lea eax, [ebp - 0x41c]
push eax
push 0
call ebx
push 8
mov esi, eax
lea eax, [ebp - 0x410]
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov edi, eax
test esi, esi
js 0x1001b46d
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x41c]
call ebx
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x418]
mov ebx, dword [ebp + 0xc]
jmp 0x1001b48c
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov edi, eax
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x418]
mov ebx, dword [ebp + 0xc]
jmp 0x1001b48c
mov edx, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x1001b4cb
or eax, 0xffffffff
xchg dword [edx], eax
add ecx, 4
mov dword [ebp - 0x414], ecx
cmp ecx, ebx
jne 0x1001b300
xor eax, eax
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.10014ad4
mov esp, ebp
pop ebp
ret
mov eax, edi
xchg dword [edx], eax
test eax, eax
je 0x1001b4da
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x1001b4af
call fcn.10015856
int3

Function at 0x1001e5f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001e61d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001e61d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x78501000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
sub esp, 0x218
mov dword [esp + 4], 0
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0xc]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x10]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 8]
sub esp, 8
test byte [eax + 4], 0x10
jne 0x78501100
mov eax, dword [ebx + 0x14]
mov dword [esp + 4], 5
lea esi, [ebp - 0x210]
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x18]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x30]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x24]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, dword [0x7850a028]
sub esp, 0x10
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], esi
mov dword [esp + 4], 0x66
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
test eax, eax
jne 0x78501120
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebx + 0x28]
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x7850105c
mov eax, dword [ebx + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x78501510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
push ebx
lea ebx, [ebp - 0x10c]
sub esp, 0x190
mov dword [ebp - 0x160], eax
mov eax, dword [edx]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov dword [esp], eax
mov dword [ebp - 0x164], 0x58
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 0x7850905a
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
call sym._SendMessageA_16
mov eax, dword [0x7850a028]
mov dword [ebp - 0x148], ebx
lea ebx, [ebp - 0x184]
mov dword [ebp - 0x144], 0x104
sub esp, 0x10
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x67
mov dword [esp], eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
call sym._LoadStringA_16
lea eax, [ebp - 0x164]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], 0x281004
sub esp, 0x10
mov dword [esp], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
call sym._GetOpenFileNameA_4
sub esp, 4
test eax, eax
jne 0x78501640
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x148]
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esi]
mov dword [esp], eax
call sym._SendMessageA_16
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x785019a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp + 4], 0
mov eax, dword [eax + 0x28]
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x14]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x18]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x30]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0xc]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x10]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x2c]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x1c]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageA_16
mov eax, dword [ebx + 4]
sub esp, 0x10
test eax, eax
je 0x78501a75
mov ebx, dword [ebp - 4]
leave
ret
mov eax, ebx
call sym._UIINSERTOBJECTDLG_PopulateObjectTypes
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x78501a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp + 4], 0
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x18]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x2c]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x30]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 8]
sub esp, 8
test byte [eax + 4], 0x10
jne 0x78501b63
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x10]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebx + 0x20]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0xf1
mov dword [esp], eax
call sym._SendMessageA_16
mov eax, dword [ebx + 4]
sub esp, 0x10
test eax, eax
je 0x78501b80
lea edx, [ebx + 0x34]
lea eax, [ebx + 0x10]
call sym._UIINSERTOBJECTDLG_SelChange.isra.0
mov ebx, dword [ebp - 4]
leave
ret
mov eax, dword [ebx + 0x28]
mov dword [esp + 4], 5
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
jmp 0x78501afa
mov eax, ebx
call sym._UIINSERTOBJECTDLG_PopulateObjectTypes
lea edx, [ebx + 0x34]
lea eax, [ebx + 0x10]
call sym._UIINSERTOBJECTDLG_SelChange.isra.0
mov ebx, dword [ebp - 4]
leave
ret