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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
cmp dword [0x102e2c60], 0
jne 0x1007b4ec
xor eax, eax
jmp 0x1007bd25
push 0x84
call fcn.10004d70
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007b51b
push 0x84
push 0x10116494
call fcn.10004d30
add esp, 8
xor eax, eax
jmp 0x1007bd25
push 0x84
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.100f1b90
add esp, 0xc
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1180]
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], edx
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x10c]
test edx, edx
jne 0x1007b61e
mov eax, dword [0x102e2c60]
cmp dword [eax + 0x12e4], 0
je 0x1007b58d
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
mov eax, dword [ecx + 0x117c]
cmp eax, dword [edx + 0xac]
jg 0x1007b58d
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x117c], 0
jge 0x1007b5aa
mov edx, dword [ebp - 4]
mov word [edx + 0x24], 0
mov eax, dword [ebp - 4]
mov word [eax + 0x26], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x28], 0
jmp 0x1007b61c
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x117c]
shl eax, 4
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x12e4]
mov ecx, dword [ebp - 4]
mov dx, word [edx + eax]
mov word [ecx + 0x24], dx
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x117c]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 4]
mov ax, word [eax + ecx + 2]
mov word [edx + 0x26], ax
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x117c]
shl edx, 4
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12e4]
mov eax, dword [ebp - 4]
mov cx, word [ecx + edx + 4]
mov word [eax + 0x28], cx
jmp 0x1007b646
mov edx, dword [0x102e2c60]
add edx, 0x116c
mov eax, dword [ebp - 4]
add eax, 0x24
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x117c]
mov dword [eax + 0x34], edx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1326]
cmp ecx, 1
jne 0x1007b67b
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x127e]
mov dword [ebp - 8], eax
jmp 0x1007b68b
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1280]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cx, word [ebp - 8]
mov word [eax], cx
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x90]
cmp eax, 1
jle 0x1007b7b4
cmp dword [ebp - 8], 0
jge 0x1007b7b4
mov dword [ebp - 0xc], 0
jmp 0x1007b6c7
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [0x102e2c60]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x15c]
jge 0x1007b7b4
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x102e2c60]
cmp dword [edx + ecx*4 + 0x160], 0
je 0x1007b7af
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x160]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
jne 0x1007b7af
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x160]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 4]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + edx*4 + 0x160]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 8]
mov dword [edx + 0x60], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x60]
shl edx, 2
push edx
call fcn.10004d70
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x64], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x64], 0
je 0x1007b7ad
mov dword [ebp - 0x10], 0
jmp 0x1007b77b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
cmp edx, dword [ecx + 0x60]
jge 0x1007b7ad
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + eax*4 + 0x160]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x64]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov eax, dword [eax + esi*4]
mov dword [edx + ecx*4], eax
jmp 0x1007b772
jmp 0x1007b7b4
jmp 0x1007b6be
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x104]
cmp edx, 1
jne 0x1007b7e8
mov eax, dword [0x102e2c60]
fld dword [eax + 0x108]
fdivr qword [0x10100320]
fmul dword [0x10116084]
mov ecx, dword [ebp - 4]
fstp dword [ecx + 0x54]
jmp 0x1007b8b0
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x120]
fsub dword [eax + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
fstp qword [ebp - 0x20]
add esp, 8
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x124]
fsub dword [edx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 1
je 0x1007b879
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x120]
fsub dword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul dword [0x10116084]
fdiv qword [0x10100350]
mov edx, dword [ebp - 4]
fstp dword [edx + 0x54]
jmp 0x1007b8b0
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x124]
fsub dword [ecx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul dword [0x10116084]
fdiv qword [0x10100350]
mov edx, dword [ebp - 4]
fstp dword [edx + 0x54]
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1328]
cmp ecx, 1
jne 0x1007b8ca
mov dword [ebp - 0x18], 0x3f800000
jmp 0x1007b8d9
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1284]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x112]
test edx, edx
jne 0x1007b946
fld dword [ebp - 0x18]
fmul dword [0x1011608c]
mov eax, dword [ebp - 4]
fstp dword [eax + 4]
mov ecx, dword [ebp - 4]
fld dword [ecx + 4]
fld dword [0x102e2c7c]
mov edx, dword [0x102e2c60]
fld dword [edx + 0x108]
fdivr qword [0x10100320]
fmulp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x1007b941
fld dword [0x102e2c7c]
mov eax, dword [0x102e2c60]
fld dword [eax + 0x108]
fdivr qword [0x10100320]
fmulp st(1)
mov ecx, dword [ebp - 4]
fstp dword [ecx + 4]
jmp 0x1007ba59
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x104]
cmp eax, 1
jne 0x1007b97e
mov ecx, dword [0x102e2c60]
fld dword [0x101078f0]
fdiv dword [ecx + 0x108]
fmul dword [ebp - 0x18]
fmul dword [0x10116088]
mov edx, dword [ebp - 4]
fstp dword [edx + 4]
jmp 0x1007ba59
mov eax, dword [0x102e2c60]
mov ecx, dword [0x102e2c60]
fld dword [eax + 0x120]
fsub dword [ecx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
fstp qword [ebp - 0x28]
add esp, 8
mov edx, dword [0x102e2c60]
mov eax, dword [0x102e2c60]
fld dword [edx + 0x124]
fsub dword [eax + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 1
je 0x1007ba18
fld dword [ebp - 0x18]
fstp qword [ebp - 0x30]
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x120]
fsub dword [edx + 0x118]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x30]
fmul dword [0x10116088]
fdiv qword [0x10100350]
mov eax, dword [ebp - 4]
fstp dword [eax + 4]
jmp 0x1007ba59
fld dword [ebp - 0x18]
fstp qword [ebp - 0x38]
mov ecx, dword [0x102e2c60]
mov edx, dword [0x102e2c60]
fld dword [ecx + 0x124]
fsub dword [edx + 0x11c]
sub esp, 8
fstp qword [esp]
call fcn.100f3c2a
add esp, 8
fmul qword [ebp - 0x38]
fmul dword [0x10116088]
fdiv qword [0x10100350]
mov eax, dword [ebp - 4]
fstp dword [eax + 4]
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x132a]
cmp edx, 1
jne 0x1007ba74
mov dword [ebp - 0x14], 1
jmp 0x1007ba82
mov eax, dword [0x102e2c60]
mov ecx, dword [eax + 0x12a4]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x10c]
test eax, eax
jne 0x1007bb35
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x12e4], 0
je 0x1007babd
mov edx, dword [0x102e2c60]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0xac]
jg 0x1007babd
cmp dword [ebp - 0x14], 0
jge 0x1007bada
mov ecx, dword [ebp - 4]
mov word [ecx + 8], 0
mov edx, dword [ebp - 4]
mov word [edx + 0xa], 0
mov eax, dword [ebp - 4]
mov word [eax + 0xc], 0
jmp 0x1007bb33
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 4]
mov ax, word [eax + ecx]
mov word [edx + 8], ax
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 4]
mov ax, word [eax + ecx + 2]
mov word [edx + 0xa], ax
mov ecx, dword [ebp - 0x14]
shl ecx, 4
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x12e4]
mov edx, dword [ebp - 4]
mov ax, word [eax + ecx + 4]
mov word [edx + 0xc], ax
jmp 0x1007bb5d
mov ecx, dword [0x102e2c60]
add ecx, 0x1294
mov edx, dword [ebp - 4]
add edx, 8
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov ax, word [edx + 0x12a8]
mov word [ecx + 0x1c], ax
cmp dword [0x102e2c80], 1
jne 0x1007bb9e
mov ecx, dword [ebp - 4]
mov word [ecx + 8], 0
mov edx, dword [ebp - 4]
mov word [edx + 0xa], 0
mov eax, dword [ebp - 4]
mov word [eax + 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov ax, word [edx + 0x1184]
mov word [ecx + 0x38], ax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x1184]
test edx, edx
jne 0x1007bc34
mov eax, dword [ebp - 4]
mov word [eax + 0x38], 1
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x118]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x120]
mov dword [ecx + 0x44], eax
mov ecx, dword [0x102e2c60]
cmp dword [ecx + 0x10], 1
jne 0x1007bc20
mov edx, dword [ebp - 4]
fld dword [edx + 0x44]
fadd dword [0x10100348]
mov eax, dword [ebp - 4]
fstp dword [eax + 0x44]
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x124]
mov dword [ecx + 0x48], eax
jmp 0x1007bc7c
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1188]
mov dword [ecx + 0x3c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x118c]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1190]
mov dword [ecx + 0x44], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x102e2c60]
mov eax, dword [edx + 0x1194]
mov dword [ecx + 0x48], eax
mov ecx, dword [0x102e2c60]
movsx edx, word [ecx + 0x90]
cmp edx, 3
jl 0x1007bd0c
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1350]
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1352]
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1354]
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], ecx
mov eax, dword [0x102e2c60]
movsx ecx, word [eax + 0x1356]
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x1358]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x11a4]
mov dword [eax + 0x68], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x102e2c60]
mov edx, dword [ecx + 0x119c]
mov dword [eax + 0x4c], edx
mov edx, dword [0x102e2c60]
movsx eax, word [edx + 0x12e8]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret