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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x49cdb9
fld qword [eax + 0x10]
fchs
fstp qword [esp + 0x38]
fld qword [eax + 0x30]
fchs
fstp qword [esp + 0x40]
fld qword [eax + 0x50]
fchs
fstp qword [esp + 0x48]
jmp 0x49cde9
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xbff00000
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x49ce42
test byte [edi], 0x40
jne 0x49ce42
fld qword [esi + 0x10]
fchs
fstp qword [esp + 0x5c]
fld qword [esi + 0x30]
fchs
fstp qword [esp + 0x64]
fld qword [esi + 0x50]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x38]
fchs
fstp qword [esp + 0x6c]
push eax
push ecx
call fcn.00418fd0
fabs
fcomp qword [0x55b440]
add esp, 8
fnstsw ax
test ah, 0x41
jne 0x49ce42
push esi
push edi
call fcn.0049d140
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xc0
push 1
call fcn.00547150
mov edx, eax
add esp, 8
test edx, edx
mov dword [esp + 0xc], edx
jne 0x49ce67
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x49ce73
mov dword [edx + 0xa4], esi
jmp 0x49ce79
mov eax, dword [edx]
or al, 0x40
mov dword [edx], eax
mov eax, dword [edx]
mov dword [edx + 0x38], 1
test al, 0x40
je 0x49ce8d
mov ecx, 2
jmp 0x49ce92
mov ecx, dword [edi]
and ecx, 3
mov ebx, eax
push 0
xor ebx, ecx
push 0
and ebx, 3
xor ebx, eax
mov dword [edx], ebx
call fcn.00457540
add esp, 8
test esi, esi
jne 0x49ceb2
call fcn.004ebe50
mov edi, dword [edi + 0xc]
xor esi, esi
test edi, edi
mov ebx, 1
mov dword [esp + 0x10], edi
je 0x49d0ee
jmp 0x49cece
mov edi, dword [esp + 0x10]
push edi
call fcn.00481650
fst qword [esp + 0x1c]
fcomp qword [0x550f20]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x49d0d7
mov edx, dword [edi]
and edx, 0xe00
cmp edx, 0x600
jne 0x49cf12
mov eax, dword [edi + 0x44]
mov ecx, dword [edi + 0x40]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.0049c3c0
add esp, 0xc
jmp 0x49cf25
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x49cf1f
fld qword [esp + 0x18]
jmp 0x49cf25
mov eax, dword [ebp + 0xc]
fld dword [eax + 4]
fld qword [esp + 0x18]
fdiv st(1)
fadd qword [0x556000]
call fcn.00547c92
cmp esi, eax
mov dword [esp + 0x18], eax
fstp st(0)
mov dword [esp + 0x14], esi
jg 0x49d0d2
fild dword [esp + 0x18]
fstp qword [esp + 0x50]
fild dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
fdiv qword [esp + 0x54]
sub esp, 8
fstp qword [esp]
push edi
call fcn.0043ff80
mov edi, dword [ebp + 8]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x34]
push edi
push eax
call fcn.004465c0
mov esi, dword [ebp + 0x14]
add esp, 0x1c
test esi, esi
je 0x49d025
test byte [edi], 0x40
jne 0x49cfb9
mov ecx, dword [ebp + 0xc]
cmp word [ecx + 0x12], 0
jne 0x49cfb9
lea edx, [esp + 0x20]
lea eax, [esp + 0x38]
push edx
push esi
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.00449dc0
add esp, 0x10
test eax, eax
jne 0x49d124
lea edx, [esp + 0x20]
lea eax, [esi + 0x60]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.004464c0
add esp, 0xc
test ebx, ebx
jne 0x49d0a8
mov edi, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edi
lea eax, [esp + 0x78]
push edx
push eax
call fcn.0043f9f0
add esp, 0xc
test eax, eax
je 0x49d128
push esi
call fcn.00457cd0
mov ecx, dword [0x56c5d8]
push ecx
call fcn.004b2890
push ebx
push ebx
call fcn.00457540
mov edx, dword [edi + 0x10]
push edx
call fcn.0048e930
add esp, 0x14
call fcn.00457f30
jmp 0x49d0a8
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x58]
lea ecx, [esp + 0x8c]
push eax
push ecx
push 0
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004fe990
add esp, 0x18
cmp eax, 0xffffffff
je 0x49d124
test eax, eax
jne 0x49d0a8
mov ecx, 6
lea esi, [esp + 0x9c]
lea edi, [esp + 0x20]
test ebx, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x49d0a8
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
call fcn.00440210
add esp, 0xc
test eax, eax
je 0x49d124
push 0xc
call fcn.004b2890
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
push eax
call fcn.0048e930
add esp, 8
call fcn.004b2a10
mov eax, dword [esp + 0x14]
mov ecx, 6
lea esi, [esp + 0x20]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
xor ebx, ebx
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x49cf50
mov esi, 1
mov ecx, dword [ebp + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x10], edi
cmp edi, dword [ecx + 0xc]
je 0x49d0ee
test edi, edi
jne 0x49ceca
mov edx, dword [0x584ab4]
mov eax, dword [0x584ab0]
mov esi, dword [esp + 0xc]
push edx
push eax
push esi
call fcn.00488de0
push esi
push 0x585050
call fcn.004894b0
push 3
push esi
call fcn.004ac0f0
add esp, 0x1c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
push edi
call fcn.004888a0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret