Function at 0x10009160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10009732
cmp dword [edi + 0x58], 0
je 0x10009732
mov esi, dword [edi + 0x54]
test esi, esi
je 0x10009732
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x100091c6
test byte [ecx + 4], 1
je 0x100091c6
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test edx, edx
je 0x100091b9
push edx
push eax
mov eax, dword [eax + 8]
call eax
mov ecx, dword [esi + 0x9c]
add esp, 8
mov dword [esi + 0x58], 0
and dword [ecx + 4], 0xfffffffe
jmp 0x100091cd
mov dword [esi + 0x58], 0
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov edx, ecx
movups xmmword [esi + 0x28], xmm0
or edx, 0x801
movups xmmword [esi + 0x6c], xmm0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x54], 0
mov byte [esi + 0x5e], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov eax, dword [edi + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xa0]
mov dword [esp + 0x14], eax
mov eax, ecx
and eax, 0x400
cmove edx, ecx
test dl, 1
je 0x10009299
and edx, 0xfffffffb
or edx, 0xa
mov ebx, edx
mov eax, edx
and ebx, 0xfffffffb
and eax, 0x400000
cmove ebx, edx
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
je 0x100092e3
test ebx, 0x8002
jne 0x100092e3
mov eax, dword [edi + 8]
and eax, 0x2001
cmp eax, 1
jne 0x100092e3
test ebx, 0x800
jne 0x10009345
mov eax, dword [edi + 0x80]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test ecx, ecx
jne 0x1000933d
test eax, eax
jne 0x10009345
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
mov eax, dword [eax + 0xc]
push dword [edi + 0x58]
push esi
mov eax, dword [eax + 0x48]
call eax
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10009737
cmp dword [esi + 0x48], 0x6f75746c
jne 0x10009586
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x1000970f
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x1000946a
test ecx, ecx
jmp 0x100094bc
test eax, eax
jne 0x100092e3
test ecx, ecx
je 0x100092e3
mov ecx, dword [esp + 0xc]
test bl, 0x20
jne 0x100093f4
mov eax, dword [ecx]
test dword [eax], 0x400
je 0x100093f4
mov eax, dword [eax + 0x20]
xor edx, edx
test eax, eax
je 0x10009376
push str.font_format
push ecx
call eax
add esp, 8
mov edx, eax
push str.Type_1
push edx
call dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x10009397
cmp dword [ecx + 0x1c], 1
jne 0x10009397
mov dl, 1
jmp 0x10009399
xor dl, dl
mov eax, ebx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x100093b5
mov eax, dword [ecx]
test dword [eax], 0x800
jne 0x100093b5
test dl, dl
je 0x100093f4
test byte [edi + 8], 8
je 0x100092e3
cmp dword [edi + 0x2f8], 0
je 0x100092e3
cmp word [edi + 0x11e], 0
jne 0x100092e3
cmp dword [edi + 0x2ac], 0
jne 0x100092e3
cmp dword [edi + 0x2b4], 0
jne 0x100092e3
test byte [edi + 8], 2
je 0x1000942e
test bl, 8
jne 0x1000942e
mov ecx, dword [ecx + 0xc]
mov eax, ebx
or eax, 0x4000
push eax
push dword [ebp + 0xc]
mov eax, dword [ecx + 0x48]
push dword [edi + 0x58]
push esi
call eax
add esp, 0x10
mov dword [esp + 0xc], eax
test eax, eax
jne 0x1000942e
cmp dword [esi + 0x48], 0x62697473
je 0x10009586
mov ebx, dword [edi + 0x80]
mov edx, dword [esp + 0x14]
push dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edi, dword [ebx + 0x18]
push dword [ebp + 0xc]
mov dword [ebx + 0x18], 0
mov eax, dword [edx]
push dword [ecx + 0x58]
push esi
mov eax, dword [eax + 0x14]
push edx
mov eax, dword [eax + 0xc]
call eax
mov dword [ebx + 0x18], edi
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x1000957f
jle 0x1000970f
test ecx, ecx
jle 0x1000970f
mov eax, dword [esi + 0x78]
xor edx, edx
mov dword [esp + 0x14], 0xffffffff
nop word [eax + eax]
movsx ecx, word [eax]
cmp ecx, dword [esp + 0x14]
jle 0x1000970f
cmp ecx, dword [esp + 0xc]
jge 0x1000970f
inc edx
mov dword [esp + 0x14], ecx
add eax, 2
cmp edx, dword [esp + 0x18]
jl 0x10009490
mov eax, dword [esp + 0xc]
dec eax
cmp ecx, eax
jne 0x1000970f
xor eax, eax
mov dword [esp + 0xc], eax
test bl, 2
jne 0x10009586
mov edi, dword [esi + 0x2c]
mov eax, ebx
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x24], edi
and edi, 0xffffffc0
mov dword [esi + 0x2c], edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xffffffc0
mov dword [esp + 0x28], edi
mov edi, dword [esi + 0x30]
mov dword [esi + 0x20], ecx
mov dword [esp + 0x2c], ecx
lea ecx, [edx + 0x3f]
and ecx, 0xffffffc0
shr eax, 4
mov dword [esp + 0x1c], edi
and edi, 0xffffffc0
mov dword [esi + 0x24], ecx
mov dword [esi + 0x30], edi
and al, 1
je 0x10009545
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 0x3f
add ecx, eax
mov eax, dword [esi + 0x18]
add eax, 0x3f
and ecx, 0xffffffc0
add eax, dword [esp + 0x24]
sub ecx, edi
and eax, 0xffffffc0
sub eax, dword [esp + 0x28]
jmp 0x1000955f
mov eax, dword [esi + 0x18]
sub edx, dword [esp + 0x14]
add eax, 0x3f
add eax, dword [esp + 0x18]
and edx, 0xffffffc0
and eax, 0xffffffc0
sub ecx, edx
sub eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x28]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x34]
add eax, 0x20
and eax, 0xffffffc0
mov dword [esi + 0x34], eax
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], eax
test bl, 0x10
je 0x10009592
mov eax, dword [esi + 0x34]
xor ecx, ecx
jmp 0x10009597
mov ecx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test ebx, 0x2000
jne 0x100095d4
test byte [edi + 8], 1
je 0x100095d4
mov edi, dword [edi + 0x58]
mov ecx, dword [esi + 0x38]
push 0x40
mov edx, dword [edi + 0x10]
call fcn.10007ae0
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [esi + 0x38], eax
mov edx, dword [edi + 0x14]
push 0x40
call fcn.10007ae0
add esp, 4
mov dword [esi + 0x3c], eax
test ebx, 0x800
jne 0x100096a0
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x80]
cmp dword [edi + 0x18], 0
je 0x100096a0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x9c]
test edx, edx
je 0x1000960e
mov ecx, dword [esi + 0x48]
cmp dword [edx + 0x10], ecx
je 0x1000963d
mov eax, dword [eax + 0x94]
xor edx, edx
mov ecx, dword [esi + 0x48]
test eax, eax
je 0x1000963d
nop dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [esi + 0x48]
cmp dword [ecx + 0x10], ebx
mov ebx, dword [esp + 0x10]
je 0x10009638
mov eax, dword [eax + 4]
test eax, eax
jne 0x10009620
jmp 0x1000963a
mov edx, ecx
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x10009659
mov ecx, dword [edx + 0xc]
lea eax, [edi + 0x10]
push eax
push edi
push esi
mov eax, dword [ecx + 0x2c]
push edx
call eax
add esp, 0x10
mov dword [esp + 0xc], eax
jmp 0x10009692
cmp ecx, 0x6f75746c
jne 0x10009692
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x6c]
test al, 1
je 0x1000967c
test ecx, ecx
je 0x1000967c
mov edx, edi
call fcn.1000c5a0
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x6c]
test al, 2
je 0x10009692
test ecx, ecx
je 0x10009692
push dword [edi + 0x14]
mov edx, dword [edi + 0x10]
call fcn.1000c470
add esp, 4
lea ecx, [esi + 0x40]
test ecx, ecx
je 0x100096a0
mov edx, edi
call fcn.1000c4b0
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x9c]
mov dword [eax + 0x28], ebx
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10009737
test bl, 1
jne 0x10009737
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x10009737
cmp ecx, 0x636f6d70
je 0x10009737
mov edx, ebx
sar edx, 0x10
and edx, 0xf
jne 0x100096eb
test ebx, 0x1000
mov eax, 2
cmovne edx, eax
test bl, 4
je 0x1000971b
mov eax, dword [esi + 4]
test eax, eax
je 0x1000970f
mov eax, dword [eax + 0x60]
push edx
mov edx, esi
mov ecx, dword [eax + 4]
call fcn.1000ba30
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
mov ecx, esi
call fcn.10008bc0
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret