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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
fld qword [0x55b448]
fcos
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
fstp qword [esp + 0x88]
je 0x49e1d3
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
cmp eax, edx
je 0x49e1d3
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x34], 0
test ebx, ebx
mov dword [esp + 0xc], eax
je 0x49e1d3
jmp 0x49dc97
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test ch, 0x20
je 0x49e1a3
mov ecx, dword [ebx]
test ch, 0x20
je 0x49e1a3
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
fld dword [eax + 0x40]
lea esi, [esp + 0x38]
lea edi, [esp + 0xe0]
fstp qword [esp + 0x48]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
fld dword [eax + 0x44]
fstp qword [esp + 0x80]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
fld dword [ebx + 0x44]
mov ecx, 6
lea edx, [esp + 0x90]
fstp qword [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x38]
lea eax, [esp + 0xf8]
push ecx
push edx
push eax
call fcn.00418e20
lea ecx, [esp + 0x104]
push ecx
call fcn.00418ee0
fstp st(0)
fld qword [esp + 0x58]
fcomp qword [ebp + 0x14]
add esp, 0x10
fnstsw ax
test ah, 0x40
je 0x49dd96
fld qword [esp + 0x80]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x40
je 0x49dd96
fld qword [esp + 0xa0]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x40
jne 0x49ddd8
lea edx, [esp + 0xe0]
lea eax, [esp + 0x70]
push edx
push eax
call fcn.00419090
fcomp qword [ebp + 0xc]
add esp, 8
fnstsw ax
test ah, 1
je 0x49de24
mov edi, dword [esp + 0xc]
lea ecx, [ebx + 0x30]
push ecx
lea edx, [edi + 0x30]
push edx
call fcn.00418ab0
fcomp qword [0x550f68]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x49de28
jmp 0x49dddc
mov edi, dword [esp + 0xc]
push 0
mov dword [esp + 0x38], 1
call fcn.004b2890
push edi
call fcn.0048e930
mov esi, dword [ebp + 8]
push esi
push edi
call fcn.0043f900
push edi
call fcn.00488710
lea eax, [esp + 0x4c]
push eax
push 1
push ebx
call fcn.00440320
mov ebx, dword [ebx + 0xc]
mov eax, dword [esi + 0xc]
add esp, 0x20
cmp ebx, eax
je 0x49dc69
jmp 0x49e1a3
mov edi, dword [esp + 0xc]
fld qword [esp + 0x48]
fcomp qword [esp + 0x80]
fnstsw ax
test ah, 0x40
je 0x49e1a3
fld qword [esp + 0x80]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x40
je 0x49e1a3
lea esi, [ebx + 0x30]
lea ecx, [edi + 0x30]
push esi
push ecx
call fcn.00418ab0
fstp qword [esp + 0x68]
push edi
call fcn.00481650
fstp qword [esp + 0x1c]
push ebx
call fcn.00481650
fstp qword [esp + 0x30]
fld qword [esp + 0x70]
fcomp qword [esp + 0x98]
add esp, 0x10
fnstsw ax
test ah, 0x41
jne 0x49e1a3
fld qword [esp + 0x10]
fmul qword [0x551120]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x49e1a3
fld qword [esp + 0x20]
fmul qword [0x551120]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x49e1a3
lea edx, [esp + 0x6c]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0xd4]
push eax
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x7c]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00408f90
add esp, 0x18
test eax, eax
jne 0x49e1a3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cmp edi, eax
je 0x49df0e
mov ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
jmp 0x49df16
mov dword [esp + 0x1c], 0
mov edx, dword [esi]
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], edx
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x58], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x5c], ecx
mov esi, dword [ebx + 0xc]
test eax, eax
je 0x49e1a3
cmp esi, eax
je 0x49e0e5
mov eax, dword [esi]
test ah, 0x20
je 0x49e0e5
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
fld dword [esi + 0x44]
fstp qword [esp + 0xc8]
fld qword [esp + 0x48]
fcomp qword [esp + 0xc8]
fnstsw ax
test ah, 0x40
je 0x49e0e5
lea edi, [esi + 0x30]
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00418ab0
fstp qword [esp + 0x68]
push esi
call fcn.00481650
fstp qword [esp + 0x1c]
fld qword [esp + 0x6c]
fcomp qword [esp + 0x94]
add esp, 0xc
fnstsw ax
test ah, 1
jne 0x49e0e5
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xb8]
push ecx
push edx
call fcn.00418a80
fsub qword [esp + 0x30]
add esp, 8
fabs
fcomp qword [ebp + 0xc]
fnstsw ax
test ah, 0x41
je 0x49e0e5
fld qword [esp + 0x10]
fmul qword [0x551120]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 1
jne 0x49e0e5
fld qword [esp + 0x20]
fmul qword [0x551120]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x49e0e5
mov eax, dword [esi + 0x20]
mov dword [esp + 0xa8], eax
mov ecx, dword [esi + 0x24]
mov dword [esp + 0xac], ecx
mov edx, dword [esi + 0x28]
mov dword [esp + 0xb0], edx
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xb4], eax
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
mov edx, dword [edi + 4]
mov dword [esp + 0x54], edx
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x20], edx
test eax, eax
mov dword [esp + 0x10], ecx
jne 0x49e0bc
mov edx, dword [esp + 0xc]
push edi
push edx
call fcn.0043f900
mov eax, dword [esp + 0x14]
push eax
call fcn.00488710
push edi
push ebx
call fcn.0043f900
push ebx
call fcn.00488710
add esp, 0x18
push edi
push esi
call fcn.0043f900
push esi
call fcn.00488710
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x18], 1
test eax, eax
jne 0x49df44
jmp 0x49e0f1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e1a3
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0xb0]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00408cd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 0
push 0
push 0
push eax
lea edx, [esp + 0xf4]
push ecx
lea eax, [esp + 0xd0]
push edx
mov edx, dword [esp + 0x98]
lea ecx, [esp + 0x64]
push eax
push ecx
push edx
call fcn.0043fa90
mov ebx, eax
add esp, 0x38
test ebx, ebx
je 0x49e1c7
push ebx
call fcn.0043fb80
fld qword [ebx + 0x68]
fcomp qword [0x550f20]
add esp, 4
fnstsw ax
test ah, 0x40
je 0x49e177
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0x40768000
mov eax, dword [esp + 0x1c]
mov edi, dword [ebp + 8]
push eax
push edi
push ebx
call fcn.0043f8b0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x49e19a
mov dword [edi + 0xc], ebx
mov ecx, dword [ebx + 8]
mov dword [edi + 0x10], ecx
mov eax, dword [edi + 0xc]
mov ebx, esi
cmp esi, eax
je 0x49e1ba
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], ebx
mov ebx, dword [ebx + 0xc]
cmp ebx, dword [edx + 0xc]
je 0x49e1ba
test ebx, ebx
jne 0x49dc93
mov eax, dword [esp + 0x34]
test eax, eax
je 0x49e1d3
jmp 0x49dc69
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret