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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x3c]
call fcn.00635693
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x493780
fld1
mov dword [eax + 0x78], 1
fstp dword [eax + 0xdc]
cmp dword [esi + 0x4c], ebx
je 0x493780
mov ecx, dword [esi + 0xe1c]
lea eax, [esi + 0xe1c]
cmp ecx, ebx
mov dword [ebp - 0x44], ebx
mov dword [eax + 0x14], ecx
mov dword [ebp - 0x40], ecx
je 0x4930db
mov edi, dword [ecx + 8]
mov dword [ebp - 0x14], edi
jmp 0x4930e0
mov dword [ebp - 0x14], ebx
mov edi, ebx
mov eax, dword [esi + 0xe10]
mov dword [ebp - 0x18], ebx
fldz
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 0x74]
fstp dword [ebp - 0x74]
fldz
mov dword [ebp - 0x58], ebx
mov dword [ebp - 8], ebx
fstp dword [ebp - 0x70]
fild qword [ebp - 0x1c]
mov dword [ebp - 0x5c], ebx
fstp dword [ebp - 0x2c]
fld1
fdiv dword [ebp - 0x2c]
fstp dword [ebp - 0x6c]
call fcn.0043afc0
push dword [esi + 0x4c]
mov dword [ebp - 0x10], ebx
call fcn.00635693
cmp dword [esi + 0x64], ebx
pop ecx
mov dword [ebp - 0x28], eax
je 0x493176
cmp dword [0x85be50], ebx
jne 0x493176
push dword [esi + 0x44]
mov ecx, dword [ebp - 0x20]
push 1
call fcn.0063b86a
mov eax, dword [esi + 0xe10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
fild qword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x2c]
fmul dword [0x6b23b4]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fsub dword [esi + 0xe04]
fstp dword [ebp - 0x74]
fld dword [ebp - 0x24]
fsub dword [esi + 0xe08]
fstp dword [ebp - 0x70]
jmp 0x493181
mov ecx, dword [ebp - 0x20]
push 1
push ebx
call fcn.0063e8b1
push dword [ebp - 0x20]
call dword [0x858708]
mov eax, dword [0x750180]
pop ecx
add eax, 9
cmp eax, 0x4b0
jb 0x4931ac
mov dword [0x6ca100], 0x2020
mov dword [0x750180], ebx
jmp 0x4931b6
mov dword [0x6ca100], 0x1020
cmp edi, ebx
je 0x4935e3
cmp dword [ebp - 0x44], ebx
jne 0x4931cd
push dword [ebp - 0x20]
call dword [0x858708]
pop ecx
mov eax, dword [edi + 0x38]
push eax
mov dword [ebp - 0x44], eax
call fcn.0063adb8
mov eax, dword [esi + 0x5c]
pop ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 8]
push ebx
push eax
mov dword [ebp - 0x2c], ebx
push dword [0x6ca100]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call fcn.0063440c
mov eax, dword [0x750180]
mov edx, dword [ebp - 8]
cmp edi, ebx
lea ecx, [eax + eax*8]
lea ecx, [edx + ecx*4]
mov dword [ebp - 8], ecx
je 0x493585
jmp 0x493221
mov eax, dword [0x750180]
mov edi, dword [ebp - 0x14]
xor ebx, ebx
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [edi + 0x38]
jne 0x493585
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 9]
cmp eax, 0x4b0
jae 0x49357e
mov eax, dword [edi + 0x3c]
mov ebx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [eax + 0x80]
and dword [ebp - 0x34], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x50], ecx
jmp 0x493261
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x14]
movzx eax, word [ebp - 0x34]
and dword [ebp - 0x3c], 0
lea eax, [eax + eax*2]
mov dword [ebp - 0x78], eax
lea eax, [edi + ecx*4]
mov dword [ebp - 0x4c], eax
lea eax, [edi + ecx*2 + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x7c]
movzx eax, word [eax]
lea eax, [eax + eax*8]
lea edi, [ecx + eax*4]
movzx eax, word [ebp - 0x3c]
add eax, dword [ebp - 0x78]
shl eax, 3
fld dword [eax + 0x750138]
fstp dword [edi + 0x14]
fld dword [eax + 0x75013c]
fstp dword [edi + 0x18]
cmp dword [esi + 0x64], 0
je 0x493356
mov eax, dword [esi + 0xe10]
fld dword [edi]
dec eax
mov dword [ebp - 0xc], eax
call fcn.006a1158
fld dword [edi + 4]
mov ebx, eax
and ebx, dword [ebp - 0xc]
call fcn.006a1158
and eax, dword [ebp - 0xc]
xor ecx, ecx
cmp ebx, ecx
jne 0x4932e5
cmp word [ebp - 0x3c], 2
jne 0x4932e5
mov ebx, dword [esi + 0xe10]
cmp eax, ecx
jne 0x4932f6
cmp word [ebp - 0x34], 2
jne 0x4932f6
mov eax, dword [esi + 0xe10]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ecx
fild qword [ebp - 0x84]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov ebx, dword [ebp - 0x38]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fadd dword [ebp - 0x74]
fmul dword [ebp - 0x6c]
fstp dword [edi + 0x1c]
mov edx, dword [esi + 0xe10]
mov dword [ebp - 0x94], edx
fild qword [ebp - 0x94]
fstp dword [ebp - 0x30]
fild qword [ebp - 0x8c]
fstp dword [ebp - 0xc]
fld dword [ebp - 0x30]
fsub dword [ebp - 0xc]
fsub dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fstp dword [edi + 0x20]
push 0x24
push edi
push ebx
call fcn.006a1240
fld dword [ebx + 4]
fcomp dword [0x6b23a4]
add esp, 0xc
fnstsw ax
sahf
jne 0x493377
mov dword [ebp - 0x5c], 1
cmp dword [esi + 0x68], 0
je 0x4934b8
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x40]
cmp dword [eax + 4], 0
je 0x4934b8
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
mov ecx, eax
not ecx
shr ecx, 0x1f
test al, cl
je 0x4934b8
fld dword [0x6b2ca0]
fmul dword [edi]
push ecx
push ecx
fstp dword [ebp - 0x38]
fld dword [0x6b2ca0]
fmul dword [edi + 4]
fstp dword [ebp - 0x30]
fld qword [0x6b2cc8]
fstp qword [esp]
fld dword [ebp - 0x38]
fadd dword [esi + 0xdf4]
push ecx
push ecx
fstp qword [esp]
call fcn.006a19e0
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fmul dword [0x6b248c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
frndint
fistp dword [edx]
push dword [ebp - 0x10]
call fcn.0067a704
fmul dword [0x6b2cb8]
add esp, 0xc
fadd dword [edi]
fstp dword [ebx]
fld qword [0x6b2cc8]
fstp qword [esp]
fld dword [ebp - 0x30]
fadd dword [esi + 0xdf4]
push ecx
push ecx
fstp qword [esp]
call fcn.006a19e0
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fmul dword [0x6b248c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
frndint
fistp dword [edx]
push dword [ebp - 0x10]
call fcn.0067a745
fmul dword [0x6b2cbc]
add esp, 0xc
fadd dword [edi + 4]
fstp dword [ebx + 4]
fld qword [0x6b2cc8]
fstp qword [esp]
fld dword [ebp - 0x30]
fadd dword [esi + 0xdf4]
push ecx
push ecx
fadd dword [ebp - 0x38]
fstp qword [esp]
call fcn.006a19e0
fstp dword [ebp - 0x18]
fld dword [ebp - 0x18]
fmul dword [0x6b248c]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], eax
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
frndint
fistp dword [edx]
push dword [ebp - 0x10]
call fcn.0067a745
fmul dword [0x6b2cc0]
add esp, 0x14
fadd dword [edi + 8]
fstp dword [ebx + 8]
cmp dword [ebp - 0x5c], 0
je 0x4934df
fld dword [ebx]
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x68]
fstp dword [ebp - 0x68]
fld dword [ebx + 4]
push eax
lea ecx, [esi + 0x74]
fstp dword [ebp - 0x64]
fld dword [ebx + 8]
fstp dword [ebp - 0x60]
call fcn.00493b48
add dword [ebp - 0x48], 2
add dword [ebp - 0x4c], 4
add ebx, 0x24
inc dword [ebp - 0x50]
inc dword [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
cmp word [ebp - 0x3c], 3
jb 0x49327c
inc dword [ebp - 0x34]
cmp word [ebp - 0x34], 3
jb 0x49325b
push 0x30
push esi
push dword [ebp - 0x54]
call fcn.006a1240
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x54]
add esp, 0xc
lea edx, [eax + eax*8]
push 0x18
pop edi
add word [ecx], dx
inc ecx
inc ecx
dec edi
jne 0x493526
add dword [ebp - 8], 0x144
add dword [ebp - 4], 9
add dword [ebp - 0x24], 0x18
add dword [esi + 0xe14], 8
inc eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov dword [esi + 0xe30], ecx
mov ecx, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x493569
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
jmp 0x49356d
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x493217
mov edi, dword [ebp - 0x14]
xor ebx, ebx
jmp 0x493585
mov dword [ebp - 0x58], 1
mov ecx, dword [ebp - 0x28]
call fcn.00634425
push dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
call fcn.0063b826
cmp dword [ebp - 4], ebx
je 0x4935b8
push dword [ebp - 0x24]
push dword [esi + 0x5c]
push dword [ebp - 4]
push dword [0x750180]
push dword [ebp - 0x28]
call dword [0x858758]
add esp, 0x14
cmp dword [ebp - 0x58], ebx
je 0x4935d5
mov dword [0x6ca100], 0x2020
mov dword [0x750180], ebx
mov dword [ebp - 0x58], ebx
jmp 0x4931b6
mov eax, dword [ebp - 4]
add dword [0x750180], eax
jmp 0x4931ac
lea edi, [esi + 0x74]
push 1
mov ecx, edi
call fcn.00493b73
mov eax, dword [edi]
mov dword [ebp - 0x40], ebx
mov dword [edi + 0x14], eax
cmp eax, ebx
mov edi, eax
jne 0x493601
xor ecx, ecx
jmp 0x493609
add eax, 8
mov dword [ebp - 4], eax
mov ecx, eax
cmp edi, ebx
je 0x493670
jmp 0x493612
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x49364c
fld dword [eax]
fcomp dword [ecx]
fnstsw ax
sahf
jne 0x49364c
mov edx, dword [edi]
mov eax, edi
mov dword [esi + 0x88], edx
mov ecx, edi
mov eax, dword [eax]
mov edi, dword [edi]
cmp eax, ebx
je 0x49363e
add eax, 8
mov dword [ebp - 4], eax
jmp 0x493641
mov dword [ebp - 4], ebx
push ecx
lea ecx, [esi + 0x74]
call fcn.00461631
jmp 0x49366c
mov dword [ebp - 0x40], ecx
mov ecx, dword [edi]
mov eax, edi
mov dword [esi + 0x88], ecx
mov edi, dword [edi]
mov eax, dword [eax]
cmp eax, ebx
je 0x493669
add eax, 8
mov dword [ebp - 4], eax
jmp 0x49366c
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x49360f
mov edi, dword [esi + 0x8c]
shl edi, 1
cmp edi, 3
mov dword [ebp - 4], edi
jb 0x493780
mov ecx, dword [ebp - 0x20]
push ebx
push ebx
call fcn.0063e8b1
mov ecx, dword [ebp - 0x20]
push 1
push ebx
call fcn.0063e8b1
mov eax, dword [0x750180]
add eax, edi
cmp eax, 0x4b0
jb 0x4936b9
mov dword [0x6ca100], 0x2020
mov dword [0x750180], ebx
jmp 0x4936c3
mov dword [0x6ca100], 0x1020
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 8]
push ebx
push eax
push dword [0x6ca100]
call fcn.0063440c
mov eax, dword [0x750180]
mov ecx, dword [ebp - 8]
mov edi, dword [esi + 0x74]
lea eax, [eax + eax*8]
cmp edi, ebx
mov dword [esi + 0x88], edi
lea eax, [ecx + eax*4]
lea ecx, [esi + 0x74]
mov dword [ebp - 8], eax
je 0x49375c
lea ecx, [edi + 8]
cmp ecx, ebx
je 0x49375c
mov edx, 0xff000000
fld dword [ecx]
mov dword [ebp - 0x18], edi
fstp dword [eax]
fld dword [ecx + 4]
fstp dword [eax + 4]
fld dword [ecx + 8]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
fstp dword [eax + 8]
fld dword [ecx]
add eax, 0x24
fstp dword [eax]
fld dword [ecx + 4]
fsub dword [0x6b2488]
add eax, 0x24
fstp dword [eax - 0x20]
fld dword [ecx + 8]
mov dword [eax - 0x18], edx
mov dword [eax - 0x14], edx
fstp dword [eax - 0x1c]
mov ecx, dword [edi]
mov dword [esi + 0x88], ecx
mov ecx, dword [ebp - 0x18]
mov edi, dword [edi]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x493756
add ecx, 8
jmp 0x493758
xor ecx, ecx
cmp ecx, ebx
jne 0x493703
mov ecx, dword [ebp - 0x28]
call fcn.00634425
mov esi, dword [ebp - 4]
push esi
push dword [0x750180]
push dword [ebp - 0x28]
call dword [0x85875c]
add esp, 0xc
add dword [0x750180], esi
pop edi
pop esi
pop ebx
leave
ret