Function at 0x10008bf0
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 0x100091c2
cmp dword [edi + 0x58], 0
je 0x100091c2
mov esi, dword [edi + 0x54]
test esi, esi
je 0x100091c2
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x10008c56
test byte [ecx + 4], 1
je 0x10008c56
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x58]
mov eax, dword [eax + 0x64]
test edx, edx
je 0x10008c49
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 0x10008c5d
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 0x10008d29
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 0x10008d73
test ebx, 0x8002
jne 0x10008d73
mov eax, dword [edi + 8]
and eax, 0x2001
cmp eax, 1
jne 0x10008d73
test ebx, 0x800
jne 0x10008dd5
mov eax, dword [edi + 0x80]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
test ecx, ecx
jne 0x10008dcd
test eax, eax
jne 0x10008dd5
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 0x100091c7
cmp dword [esi + 0x48], 0x6f75746c
jne 0x10009016
lea ecx, [esi + 0x6c]
test ecx, ecx
je 0x1000919f
movsx eax, word [ecx + 2]
movsx ecx, word [ecx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x10008efa
test ecx, ecx
jmp 0x10008f4c
test eax, eax
jne 0x10008d73
test ecx, ecx
je 0x10008d73
mov ecx, dword [esp + 0xc]
test bl, 0x20
jne 0x10008e84
mov eax, dword [ecx]
test dword [eax], 0x400
je 0x10008e84
mov eax, dword [eax + 0x20]
xor edx, edx
test eax, eax
je 0x10008e06
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 0x10008e27
cmp dword [ecx + 0x1c], 1
jne 0x10008e27
mov dl, 1
jmp 0x10008e29
xor dl, dl
mov eax, ebx
and eax, 0xf0000
cmp eax, 0x10000
jne 0x10008e45
mov eax, dword [ecx]
test dword [eax], 0x800
jne 0x10008e45
test dl, dl
je 0x10008e84
test byte [edi + 8], 8
je 0x10008d73
cmp dword [edi + 0x2f8], 0
je 0x10008d73
cmp word [edi + 0x11e], 0
jne 0x10008d73
cmp dword [edi + 0x2ac], 0
jne 0x10008d73
cmp dword [edi + 0x2b4], 0
jne 0x10008d73
test byte [edi + 8], 2
je 0x10008ebe
test bl, 8
jne 0x10008ebe
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 0x10008ebe
cmp dword [esi + 0x48], 0x62697473
je 0x10009016
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 0x1000900f
jle 0x1000919f
test ecx, ecx
jle 0x1000919f
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 0x1000919f
cmp ecx, dword [esp + 0xc]
jge 0x1000919f
inc edx
mov dword [esp + 0x14], ecx
add eax, 2
cmp edx, dword [esp + 0x18]
jl 0x10008f20
mov eax, dword [esp + 0xc]
dec eax
cmp ecx, eax
jne 0x1000919f
xor eax, eax
mov dword [esp + 0xc], eax
test bl, 2
jne 0x10009016
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 0x10008fd5
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 0x10008fef
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 0x10009022
mov eax, dword [esi + 0x34]
xor ecx, ecx
jmp 0x10009027
mov ecx, dword [esi + 0x28]
xor eax, eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], eax
test ebx, 0x2000
jne 0x10009064
test byte [edi + 8], 1
je 0x10009064
mov edi, dword [edi + 0x58]
mov ecx, dword [esi + 0x38]
push 0x40
mov edx, dword [edi + 0x10]
call fcn.10007570
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [esi + 0x38], eax
mov edx, dword [edi + 0x14]
push 0x40
call fcn.10007570
add esp, 4
mov dword [esi + 0x3c], eax
test ebx, 0x800
jne 0x10009130
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 0x80]
cmp dword [edi + 0x18], 0
je 0x10009130
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x9c]
test edx, edx
je 0x1000909e
mov ecx, dword [esi + 0x48]
cmp dword [edx + 0x10], ecx
je 0x100090cd
mov eax, dword [eax + 0x94]
xor edx, edx
mov ecx, dword [esi + 0x48]
test eax, eax
je 0x100090cd
nop dword [eax]
mov ecx, dword [eax + 8]
mov ebx, dword [esi + 0x48]
cmp dword [ecx + 0x10], ebx
mov ebx, dword [esp + 0x10]
je 0x100090c8
mov eax, dword [eax + 4]
test eax, eax
jne 0x100090b0
jmp 0x100090ca
mov edx, ecx
mov ecx, dword [esi + 0x48]
test edx, edx
je 0x100090e9
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 0x10009122
cmp ecx, 0x6f75746c
jne 0x10009122
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x6c]
test al, 1
je 0x1000910c
test ecx, ecx
je 0x1000910c
mov edx, edi
call fcn.1000c030
mov eax, dword [edi + 0x18]
lea ecx, [esi + 0x6c]
test al, 2
je 0x10009122
test ecx, ecx
je 0x10009122
push dword [edi + 0x14]
mov edx, dword [edi + 0x10]
call fcn.1000bf00
add esp, 4
lea ecx, [esi + 0x40]
test ecx, ecx
je 0x10009130
mov edx, edi
call fcn.1000bf40
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 0x100091c7
test bl, 1
jne 0x100091c7
mov ecx, dword [esi + 0x48]
cmp ecx, 0x62697473
je 0x100091c7
cmp ecx, 0x636f6d70
je 0x100091c7
mov edx, ebx
sar edx, 0x10
and edx, 0xf
jne 0x1000917b
test ebx, 0x1000
mov eax, 2
cmovne edx, eax
test bl, 4
je 0x100091ab
mov eax, dword [esi + 4]
test eax, eax
je 0x1000919f
mov eax, dword [eax + 0x60]
push edx
mov edx, esi
mov ecx, dword [eax + 4]
call fcn.1000b4c0
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.10008650
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