Function at 0x1009bdda
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov dword [esp + 0x14], ecx
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [0x1043db14]
xor ecx, ebp
mov dword [esp + 0x78], ecx
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
push 0
push eax
push esi
call fcn.10247864
add esp, 0xc
test eax, eax
js 0x1009c2b1
lea eax, [esp + 0x60]
push esi
push 1
push 0xc
push eax
call fcn.1024e07c
add esp, 0x10
test eax, eax
je 0x1009c2b1
mov dword [esp + 0x10], edi
movzx eax, word [esp + 0x64]
rol ax, 8
movzx eax, ax
lea edi, [esp + 0x3c]
mov dword [edi], 0xffffffff
mov dword [esp + 0xc], eax
shl eax, 4
mov ecx, edi
mov edx, esi
push eax
call fcn.1009c2c6
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x1009c2a8
cmp dword [eax + 4], 0
je 0x1009c2a8
lea esi, [esp + 0x38]
mov dword [esi], 0xffffffff
add eax, 0xc
mov ecx, esi
mov edx, dword [ebp + 0xc]
push ebx
push dword [esp + 0x14]
push 0x6e616d65
push dword [esp + 0x18]
push eax
call fcn.1009c351
add esp, 0x14
mov eax, dword [esi]
test eax, eax
je 0x1009c29f
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1009c29f
lea esi, [esp + 0x34]
mov dword [esi], 0xffffffff
add eax, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x3c]
movq qword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0xc], 1
call fcn.100b8ee4
add esp, 0x10
mov eax, dword [esi]
test eax, eax
je 0x1009c296
cmp dword [eax + 4], 0
je 0x1009c296
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009bf25
mov ecx, dword [eax + 4]
jmp 0x1009bf27
xor ecx, ecx
lea edx, [eax + 0xc]
test eax, eax
cmove edx, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
sub esp, 0x10
movq xmm0, qword [esp + 0x30]
movq qword [esp + 4], xmm0
lea esi, [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 0xc], 2
call fcn.100b8ee4
add esp, 0x10
mov ecx, esi
push 0x1028ab49
call fcn.10001cb2
test al, al
jne 0x1009bfd2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009bf7a
mov ecx, dword [eax + 4]
jmp 0x1009bf7c
xor ecx, ecx
lea edx, [eax + 0xc]
test eax, eax
cmove edx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], 0x1028619a
mov dword [esp + 0x4c], 1
sub esp, 0x10
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 8], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [esp], xmm0
lea esi, [esp + 0x2c]
mov ecx, esi
call fcn.10001854
lea ecx, [esp + 0x34]
push esi
call fcn.10001c6c
mov ecx, esi
call fcn.100017a2
mov eax, dword [esp + 0x14]
lea ebx, [eax + 4]
lea esi, [eax + 8]
lea edi, [esp + 0x54]
mov ecx, ebx
lea eax, [esp + 0x34]
push eax
push edi
call fcn.1001fc80
cmp dword [edi], esi
jne 0x1009c28d
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 8]
xor ebx, ebx
dec ebx
lea ecx, [esp + 0x1c]
mov dword [ecx], ebx
lea edi, [esp + 0x40]
lea edx, [ebp + 0x18]
push edi
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x40]
push edx
push eax
push ecx
call fcn.1009c3cc
add esp, 0x18
lea esi, [esp + 0x18]
mov dword [esi], ebx
mov eax, dword [esp + 0x3c]
lea ebx, [eax + 0xc]
test eax, eax
cmove ebx, eax
mov ecx, esi
mov edx, dword [ebp + 0xc]
push dword [edi + 4]
push dword [edi]
push 0x4f532f32
push dword [esp + 0x18]
push ebx
lea ebx, [esp + 0x48]
call fcn.1009c351
add esp, 0x14
mov eax, dword [esi]
test eax, eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x54]
je 0x1009c111
cmp dword [eax + 4], 0x56
jb 0x1009c111
mov cl, byte [eax + 0x5a]
mov byte [esp + 0xc], cl
movzx ebx, byte [eax + 0x5b]
test bl, 2
je 0x1009c09a
mov ecx, dword [esi + 0x1c]
push 0x80
lea eax, [esp + 0x38]
push eax
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 4
test bl, 4
je 0x1009c0b9
mov ecx, dword [esi + 0x1c]
push 0x86
lea eax, [esp + 0x38]
push eax
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 0x10
test bl, 0x10
je 0x1009c0d8
mov ecx, dword [esi + 0x1c]
push 0x88
lea eax, [esp + 0x38]
push eax
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 8
test bl, 0x28
lea ebx, [esp + 0x34]
je 0x1009c0f7
mov ecx, dword [esi + 0x1c]
push 0x81
push ebx
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 0x20
cmp byte [esp + 0xc], 0
jns 0x1009c111
mov ecx, dword [esi + 0x1c]
push 2
push ebx
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 2
mov ecx, dword [esi + 0x1c]
xor esi, esi
push esi
push ebx
call fcn.1009e4ca
mov eax, dword [esp + 0x1c]
or dword [eax + 0x18], 1
mov dword [eax + 0x14], esi
mov dword [esp + 0x48], 0x1028ab51
mov dword [esp + 0x4c], 4
sub esp, 0x10
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], esi
mov dword [esp], edi
lea ecx, [esp + 0x38]
call fcn.1000221a
cmp byte [esp + 0x54], 0
je 0x1009c169
mov eax, dword [esp + 0x1c]
or dword [eax + 0x14], 0x40000
mov dword [esp + 0x48], str.Italic
mov dword [esp + 0x4c], 6
sub esp, 0x10
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x38]
call fcn.1000221a
cmp byte [esp + 0x54], 0
mov ebx, dword [esp + 0x10]
jne 0x1009c1e1
mov dword [esp + 0x48], str.Oblique
mov dword [esp + 0x4c], 7
sub esp, 0x10
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0xc], 0
lea ecx, [esp + 0x38]
call fcn.1000221a
cmp byte [esp + 0x54], 0
je 0x1009c1e9
mov eax, dword [esp + 0x1c]
or dword [eax + 0x14], 0x40
mov dword [esp + 0x48], str.Serif
mov dword [esp + 0x4c], 5
sub esp, 0x10
movq xmm0, qword [esp + 0x58]
movq qword [esp + 4], xmm0
mov dword [esp], edi
mov dword [esp + 0xc], 0
lea esi, [esp + 0x44]
mov ecx, esi
call fcn.1000221a
cmp byte [esp + 0x54], 0
je 0x1009c22d
mov eax, dword [esp + 0x1c]
or dword [eax + 0x14], 2
lea eax, [esp + 0x48]
mov dword [eax], esi
lea edx, [esp + 0x53]
mov ecx, ebx
push edx
push eax
push 0x1028ad4b
push esi
push edi
call fcn.1001fdd4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov eax, dword [ecx + 0x14]
mov dword [ecx + 0x14], edx
test eax, eax
je 0x1009c26a
add ecx, 0x18
push eax
call fcn.1009c9d2
lea ecx, [esp + 0x18]
call fcn.100017a2
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x1009c28d
lea ecx, [esp + 0x20]
push eax
call fcn.1009c9d2
lea ecx, [esp + 0x28]
call fcn.100017a2
lea ecx, [esp + 0x34]
call fcn.100017a2
lea ecx, [esp + 0x38]
call fcn.100017a2
lea ecx, [esp + 0x3c]
call fcn.100017a2
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.102377e8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14