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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [ebp + 8]
add eax, 0x2ac
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x34fc
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
je 0x10091112
mov ecx, dword [ebp + 8]
call fcn.100907e0
movzx edx, al
test edx, edx
jne 0x10091112
mov ecx, 0x10997a60
call fcn.101bfa90
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x1c]
cmp edx, dword [ecx]
je 0x10091112
push 0
push 0
mov ecx, 0x109be0b0
call fcn.101c1fa0
cmp dword [ebp + 8], eax
jne 0x10091112
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
test ecx, ecx
je 0x10091112
mov ecx, 0x10997a60
call fcn.101bf500
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x148]
call edx
movzx eax, al
test eax, eax
jne 0x10091112
mov ecx, 0x10997a60
call fcn.101bf500
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x174]
call eax
movzx ecx, al
test ecx, ecx
jne 0x10091112
mov ecx, dword [ebp + 8]
call fcn.1000c580
mov edx, dword [eax]
and edx, 0x40
je 0x10091125
mov eax, dword [0x10997780]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
call dword [ebp - 0x24]
jmp 0x10091533
mov ecx, dword [ebp + 8]
call fcn.10090760
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xc], 0x7fffffff
je 0x10091145
mov byte [ebp - 1], 1
jmp 0x10091149
mov byte [ebp - 1], 0
mov dl, byte [ebp - 1]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
test eax, eax
jne 0x100912cc
call fcn.1000ce20
add eax, 0x5980
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cdq
mov ecx, 0x96
idiv ecx
imul edx, edx, 0x8c
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.100288c0
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [eax + 0x84], edx
mov ecx, dword [ebp + 8]
call fcn.1001f5e0
push eax
mov ecx, dword [ebp - 8]
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002de00
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xc
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002dd80
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002dd00
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10009780
push ecx
movss xmm0, dword [0x1027514c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1027511c]
movss dword [esp], xmm0
mov eax, dword [ebp - 8]
push ecx
movss xmm0, dword [eax + 0x2c]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 4
fstp dword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
add esp, 8
mov ecx, dword [ebp - 8]
fstp dword [ecx + 0x2c]
mov ecx, dword [ebp + 8]
call fcn.1000c600
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x3c
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1000e310
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x48
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002df00
mov edx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp + 8]
call fcn.10016f80
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx + 0x60], edx
mov ecx, dword [ebp + 8]
call fcn.1002de80
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 8]
mov byte [eax + 0x88], 1
mov ecx, 0x10997a60
call fcn.101bfa90
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
jmp 0x10091533
call fcn.1000ce20
add eax, 0x5980
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cdq
mov ecx, 0x96
idiv ecx
imul edx, edx, 0x8c
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
je 0x1009134a
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
sub edx, 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x84], edx
jne 0x1009134a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x84]
sub eax, dword [edx + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x96
jg 0x1009134a
call fcn.1000ce20
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
sub ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.1002df80
call fcn.1000ce20
add eax, 0x5980
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cdq
mov ecx, 0x96
idiv ecx
imul edx, edx, 0x8c
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 8]
call fcn.100288c0
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov ecx, 0x10997a60
call fcn.101bfb20
mov edx, dword [eax + 0x4d38]
add edx, 1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], edx
jne 0x100913ce
movss xmm0, dword [0x109be48c]
comiss xmm0, dword [0x10274e7c]
jb 0x100913ce
movss xmm0, dword [0x109be48c]
movss dword [ebp - 0x48], xmm0
mov ecx, dword [ebp + 8]
call fcn.1002de80
movss xmm0, dword [ebp - 0x48]
movss dword [eax], xmm0
mov ecx, dword [0x10997780]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 8]
call dword [ebp - 0x4c]
call fcn.1000ce20
add eax, 0x5980
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
cdq
mov ecx, 0x96
idiv ecx
imul edx, edx, 0x8c
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
call fcn.100288c0
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [ecx + 0x78], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
mov dword [eax + 0x84], edx
mov ecx, dword [ebp + 8]
call fcn.1001f5e0
push eax
mov ecx, dword [ebp - 0xc]
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002de00
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xc
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002dd80
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x18
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002dd00
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x24
call fcn.10009780
push ecx
movss xmm0, dword [0x1027514c]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x1027511c]
movss dword [esp], xmm0
mov eax, dword [ebp - 0xc]
push ecx
movss xmm0, dword [eax + 0x2c]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fmaxf]
add esp, 4
fstp dword [esp]
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
add esp, 8
mov ecx, dword [ebp - 0xc]
fstp dword [ecx + 0x2c]
mov ecx, dword [ebp + 8]
call fcn.1000c600
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x3c
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1000e310
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x48
call fcn.10009780
mov ecx, dword [ebp + 8]
call fcn.1002df00
mov edx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp + 8]
call fcn.10016f80
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [ecx + 0x60], edx
mov ecx, dword [ebp + 8]
call fcn.1002de80
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax]
mov dword [ecx + 0x58], edx
mov ecx, 0x10997a60
call fcn.101bfa90
mov ecx, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x80], edx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x88], 1
mov esp, ebp
pop ebp
ret