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

Disassembly:
mov eax, dword fs:[0]
fld dword [esp + 0xc]
fadd dword [0x858624]
push 0xffffffffffffffff
push 0x83ee99
push eax
mov dword fs:[0], esp
fstp dword [esp + 0x18]
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffff
xor ebx, ebx
call fcn.0056e210
mov eax, dword [eax + 0x480]
add esp, 4
test eax, eax
je 0x613434
mov eax, dword [eax]
jmp 0x613436
xor eax, eax
mov eax, dword [eax + 0x2c]
dec eax
cmp eax, 5
ja case.default.0x613443
jmp dword [eax*4 + 0x6139e4]
mov dword [esp + 0x14], 1
jmp 0x6136ca
mov dword [esp + 0x14], 2
jmp 0x6136ca
mov dword [esp + 0x14], 4
mov ebp, 1
jmp 0x613499
mov dword [esp + 0x14], 5
mov ebp, 1
jmp 0x613499
mov dword [esp + 0x14], 6
jmp 0x613494
mov dword [esp + 0x14], 7
mov ebp, 2
push 1
call fcn.00407c50
mov ebx, eax
add esp, 4
test ebx, ebx
jle 0x6136ca
push 0x4241a0
push 3
push 4
lea eax, [esp + 0x6c]
push eax
call fcn.00403d60
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x9c]
push 1
push 0
push 3
push 0
push 0
push 0x41f00000
push 0
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0xc8]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0x96f050
mov dword [edx + 8], eax
call fcn.0044f8c0
mov edx, dword [eax]
mov dword [esp + 0x60], edx
xor edi, edi
nop
xor esi, esi
cmp ebp, esi
je 0x6136c0
cmp word [esp + edi*4 + 0x60], 0xffff
je 0x6136c0
push 0x988
call fcn.006e2d50
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
mov dword [esp + 0x8c], esi
je 0x613551
push 1
push 1
push ebx
mov ecx, eax
call fcn.006b0a90
mov esi, eax
mov al, byte [esi + 0x36]
and al, 7
or al, 0x20
mov byte [esi + 0x36], al
mov eax, dword [esp + edi*4 + 0x60]
movzx ecx, ax
mov edx, dword [ecx*4 + 0x96f854]
mov dword [esp + 0x24], eax
shr eax, 0x10
imul eax, eax, 0x1c
movsx ecx, word [eax + edx + 0xa]
add eax, edx
movsx edx, word [eax + 0xc]
mov dword [esp + 0x24], edx
movsx edx, word [eax + 8]
fild dword [esp + 0x24]
mov eax, dword [esi + 0x14]
test eax, eax
fmul dword [0x858c48]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x8c], 0xffffffff
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
fmul dword [0x858c48]
fild dword [esp + 0x24]
fmul dword [0x858c48]
je 0x6135cf
fstp dword [eax + 0x30]
mov eax, dword [esi + 0x14]
fstp dword [eax + 0x34]
mov ecx, dword [esi + 0x14]
fstp dword [ecx + 0x38]
jmp 0x6135d8
fstp dword [esi + 4]
fstp dword [esi + 8]
fstp dword [esi + 0xc]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6135e4
add eax, 0x30
jmp 0x6135e7
lea eax, [esi + 4]
fld dword [esp + 0x98]
lea ecx, [esp + 0x3c]
fsub dword [eax + 4]
fld dword [esp + 0x94]
fsub dword [eax]
mov dword [esp + 0x44], 0
fstp dword [esp + 0x3c]
fstp dword [esp + 0x40]
call fcn.0059c910
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [eax], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 8], edx
fld dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
fchs
mov dword [esp + 0x4c], eax
fstp dword [esp + 0x48]
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.006af420
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x613692
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x14]
add eax, 0x10
test ecx, ecx
push eax
je 0x61368a
call fcn.0059ad70
jmp 0x613692
lea ecx, [esi + 4]
call fcn.0054ef40
push esi
call fcn.0042f5a0
add esp, 4
mov ecx, esi
call fcn.006d8470
test al, al
je 0x6136b6
call fcn.00821b1e
test al, 1
je 0x6136b6
or byte [esi + 0x42d], 0x80
push esi
call fcn.00563220
add esp, 4
dec ebp
inc edi
cmp edi, 3
jl 0x613510
mov ebx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x6139ae
call fcn.00821b1e
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [0x858c7c]
fadd st(0), st(0)
fadd dword [0x859000]
fstp dword [esp + 0x24]
fild dword [esp + 0x1c]
fmul dword [0x858cc4]
fstp dword [esp + 0x20]
call fcn.00821b1e
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x30], eax
fmul dword [0x858c7c]
mov ecx, dword [esp + 0x98]
fild dword [esp + 0x18]
mov edx, dword [esp + 0x9c]
push 0
push 0
fmul dword [0x858cc4]
push 0
mov edi, 1
push edi
fsub dword [esp + 0x30]
push 0
push edi
mov dword [esp + 0x4c], ecx
fmulp st(1)
push edi
lea eax, [esp + 0x4c]
fadd dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xb4]
fadd dword [esp + 0xc0]
push ecx
mov dword [esp + 0x5c], edx
fld st(0)
fsin
fmul dword [esp + 0x48]
fadd dword [esp + 0xb8]
fstp dword [esp + 0x54]
fcos
fmul dword [esp + 0x48]
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
call fcn.0056a490
add esp, 0x24
test al, al
je 0x6139ae
push 0
push 0
push edi
push edi
push 0
lea edx, [esp + 0x40]
push edx
push edi
lea eax, [esp + 0x30]
push eax
push edi
lea ecx, [esp + 0x54]
push 0x3f800000
push ecx
call fcn.00564a20
add esp, 0x2c
cmp word [esp + 0x14], 0
jne 0x6139ae
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0
lea edx, [esp + 0x17]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.005696c0
fadd dword [0x858624]
mov al, byte [esp + 0x27]
add esp, 0x14
test al, al
fstp dword [esp + 0x38]
je 0x6139ae
push 0x7c4
call fcn.005e4720
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x8c], edi
je 0x613839
push 0
mov ecx, eax
call fcn.005ddc60
mov esi, eax
jmp 0x61383b
xor esi, esi
mov eax, dword [esi + 0x14]
fld dword [esp + 0x38]
fld dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
or ebp, 0xffffffff
test eax, eax
mov dword [esp + 0x8c], ebp
je 0x613869
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x14]
fstp dword [edx + 0x34]
mov eax, dword [esi + 0x14]
fstp dword [eax + 0x38]
jmp 0x613872
fstp dword [esi + 8]
mov dword [esi + 4], ecx
fstp dword [esi + 0xc]
fld dword [esp + 0x9c]
lea ecx, [esp + 0x54]
fsub dword [esp + 0x38]
fld dword [esp + 0x98]
fsub dword [esp + 0x34]
fld dword [esp + 0x94]
fsub dword [esp + 0x30]
fstp dword [esp + 0x54]
fstp dword [esp + 0x58]
fstp dword [esp + 0x5c]
call fcn.0059c910
fld dword [esp + 0x54]
mov ecx, dword [esi + 0x14]
test ecx, ecx
fchs
fld dword [esp + 0x58]
fpatan
fst dword [esi + 0x55c]
fst dword [esi + 0x558]
fstp dword [esp + 0x24]
je 0x6138d7
mov edx, dword [esp + 0x24]
push edx
call fcn.0059b020
jmp 0x6138de
mov eax, dword [esp + 0x24]
mov dword [esi + 0x10], eax
push esi
call fcn.00563220
push ebp
call fcn.0056e210
mov eax, dword [eax + 0x480]
add esp, 8
test eax, eax
je 0x6138fb
mov eax, dword [eax]
jmp 0x6138fd
xor eax, eax
cmp dword [eax + 0x2c], edi
jle 0x61391a
push edi
push 0x7530
push 0x16
mov ecx, esi
call fcn.005e6080
push 0x16
mov ecx, esi
call fcn.005e6280
push ebp
call fcn.0056e210
push 0x38
mov edi, eax
call fcn.0061a5a0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
mov dword [esp + 0x8c], 2
je 0x613952
push 2
push 0
push 0
push 0
push ebp
push edi
mov ecx, eax
call fcn.00620e30
jmp 0x613954
xor eax, eax
mov cl, byte [eax + 0xc]
push 0
or cl, 0x30
push eax
mov byte [eax + 0xc], cl
push 3
lea ecx, [esp + 0x78]
mov dword [esp + 0x98], ebp
call fcn.004b0a00
mov eax, dword [esi + 0x47c]
push 0
lea ecx, [esp + 0x70]
push ecx
lea ecx, [eax + 0x68]
mov dword [esp + 0x94], 3
call fcn.004ab420
mov ecx, dword [esi + 0x47c]
call fcn.00608260
lea ecx, [esp + 0x6c]
dec ebx
mov dword [esp + 0x8c], ebp
call fcn.004b0a50
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc esi
dec eax
cmp eax, 0xffffffec
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
jg 0x6136d8
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret