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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
fld qword [ebp + 0x1c]
fmul qword [0x550f08]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
fcos
test eax, eax
fstp qword [esp + 0x78]
je 0x49d913
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
cmp esi, ecx
je 0x49d913
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x1c], esi
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x49d913
jmp 0x49d434
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x49d913
mov eax, dword [esi]
and eax, 0xe00
cmp eax, 0x400
jne 0x49d8f6
mov ecx, dword [ebx]
and ecx, 0xe00
cmp ecx, eax
jne 0x49d8f6
lea edx, [esi + 0x10]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], ecx
mov edi, dword [edx + 8]
mov dword [esp + 0x40], edi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x44], edx
lea edx, [esi + 0x20]
mov edi, dword [esi + 0x20]
mov dword [esp + 0xa8], edi
mov edi, dword [edx + 4]
mov dword [esp + 0xac], edi
mov edi, dword [edx + 8]
mov dword [esp + 0xb0], edi
mov edx, dword [edx + 0xc]
mov dword [esp + 0xb4], edx
lea edx, [ebx + 0x20]
mov edi, dword [ebx + 0x20]
mov dword [esp + 0x90], edi
mov edi, dword [edx + 4]
mov dword [esp + 0x94], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x98], edi
mov edx, dword [edx + 0xc]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xd0], eax
lea edx, [esp + 0x38]
mov dword [esp + 0xd4], ecx
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0xdc]
push eax
push ecx
call fcn.00418960
lea edx, [esp + 0xe4]
push edx
call fcn.004189e0
lea edi, [ebx + 0x30]
lea eax, [esi + 0x30]
push edi
push eax
fstp st(0)
call fcn.00418ab0
fstp qword [esp + 0x70]
push esi
call fcn.00481650
fstp qword [esp + 0x3c]
push ebx
call fcn.00481650
fstp qword [esp + 0x50]
fld qword [esp + 0x78]
fcomp qword [esp + 0x98]
add esp, 0x20
fnstsw ax
test ah, 0x41
jne 0x49d8f6
fld qword [esp + 0x20]
fmul qword [0x551120]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x41
jne 0x49d8f6
fld qword [esp + 0x30]
fmul qword [0x551120]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x49d8f6
lea ecx, [esp + 0x64]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0xbc]
push edx
lea ecx, [esp + 0x98]
push eax
lea edx, [esp + 0xb4]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00408f90
add esp, 0x18
test eax, eax
jne 0x49d8f6
fld qword [esp + 0x10]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 1
je 0x49d8f6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
cmp esi, eax
je 0x49d5ec
mov edx, dword [esi + 8]
mov dword [esp + 0x28], edx
jmp 0x49d5f4
mov dword [esp + 0x28], 0
mov ecx, dword [edi]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x48], ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x4c], edx
mov ecx, dword [edi + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x54], edx
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x49d8f6
jmp 0x49d628
mov ebx, dword [esp + 0xc]
mov ecx, dword [esi]
and ecx, 0xe00
cmp ecx, 0x400
jne 0x49d80a
cmp esi, eax
je 0x49d80a
lea edi, [esi + 0x20]
lea ebx, [esi + 0x30]
mov edx, edi
push ebx
mov eax, dword [edx]
mov dword [esp + 0x84], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x88], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x8c], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x94], ecx
call fcn.00418ab0
fstp qword [esp + 0x60]
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.00418a80
fstp qword [esp + 0xb0]
push esi
call fcn.00481650
fstp qword [esp + 0x34]
fld qword [esp + 0x6c]
fcomp qword [esp + 0x8c]
add esp, 0x14
fnstsw ax
test ah, 1
jne 0x49d806
fld qword [esp + 0xa0]
fsub qword [esp + 0x10]
fabs
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x49d806
fld qword [esp + 0x20]
fmul qword [0x551120]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x49d806
fld qword [esp + 0x30]
fmul qword [0x551120]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x49d806
lea edx, [esp + 0x38]
lea eax, [esp + 0x80]
push edx
push eax
call fcn.00418a80
fld qword [esp + 0x18]
fmul qword [0x55b418]
add esp, 8
fcompp
fnstsw ax
test ah, 1
jne 0x49d806
fld qword [esp + 0xa0]
fdiv qword [esp + 0x10]
fsub qword [0x550f30]
fabs
fcomp qword [0x550fd8]
fnstsw ax
test ah, 0x41
je 0x49d806
mov ecx, dword [edi]
mov dword [esp + 0x68], ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x6c], edx
mov eax, dword [edi + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x74], ecx
mov edx, dword [ebx]
mov dword [esp + 0x48], edx
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], edx
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x49d7df
mov edx, dword [esp + 0x1c]
push edi
push edx
call fcn.0043f900
mov eax, dword [esp + 0x24]
push eax
call fcn.00488710
mov ecx, dword [esp + 0x18]
push edi
push ecx
call fcn.0043f900
mov edx, dword [esp + 0x20]
push edx
call fcn.00488710
add esp, 0x18
push edi
push esi
call fcn.0043f900
push esi
call fcn.00488710
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], 1
mov esi, ebx
jne 0x49d624
jmp 0x49d816
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49d8f6
lea eax, [esp + 0x68]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00418a80
fmul qword [0x550f68]
fld qword [esp + 0x18]
add esp, 8
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49d841
fstp qword [esp + 0x10]
jmp 0x49d843
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xb8]
push edx
push eax
lea edx, [esp + 0x70]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
call fcn.00408cd0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 0
push 0
push 0
push ecx
lea eax, [esp + 0xdc]
push edx
lea ecx, [esp + 0x90]
push eax
mov eax, dword [esp + 0x90]
lea edx, [esp + 0x64]
push ecx
push edx
push eax
call fcn.0043fa90
mov edi, eax
add esp, 0x38
test edi, edi
je 0x49d91c
push edi
call fcn.0043fb80
fld qword [edi + 0x68]
fcomp qword [0x550f20]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x49d8c6
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0x40768000
mov ecx, dword [esp + 0x28]
mov ebx, dword [ebp + 8]
push ecx
push ebx
push edi
call fcn.0043f8b0
mov eax, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x49d8e9
mov dword [ebx + 0xc], edi
mov edx, dword [edi + 8]
mov dword [ebx + 0x10], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], esi
cmp esi, eax
je 0x49d913
mov ebx, esi
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0xc], ebx
cmp ebx, ecx
je 0x49d913
test ebx, ebx
jne 0x49d42c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret