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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x49e4b4
jmp 0x49e1ff
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
je 0x49e4b4
mov ebx, dword [eax + 0xc]
mov dword [esp + 0xc], 0
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x49e4b4
jmp 0x49e22a
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
test dh, 0x20
je 0x49e492
mov ecx, dword [ebx]
test ch, 0x20
je 0x49e492
test dh, 0x10
jne 0x49e492
test ch, 0x10
jne 0x49e492
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
fld dword [eax + 0x40]
lea esi, [esp + 0x48]
lea edi, [esp + 0xc0]
fstp qword [esp + 0x58]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
fld dword [eax + 0x44]
fstp qword [esp + 0x70]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
fld dword [ebx + 0x44]
mov ecx, 6
lea edx, [esp + 0x78]
fstp qword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x48]
lea eax, [esp + 0xd8]
push ecx
push edx
push eax
call fcn.00418e20
lea ecx, [esp + 0xe4]
push ecx
call fcn.00418ee0
lea edx, [esp + 0x58]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0xbc]
push eax
push ecx
fstp st(0)
call fcn.00418e20
lea edx, [esp + 0xc4]
push edx
call fcn.00418ee0
lea eax, [esp + 0x80]
lea ecx, [esp + 0x98]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
fstp st(0)
call fcn.00418e20
lea eax, [esp + 0xbc]
push eax
call fcn.00418ee0
mov esi, dword [esp + 0x40]
add esp, 0x30
fstp st(0)
test dword [esi], 0x20000
je 0x49e374
fld dword [esi + 0x60]
fstp qword [esp + 0x30]
fld dword [esi + 0x64]
fstp qword [esp + 0x38]
fld dword [esi + 0x68]
fstp qword [esp + 0x40]
jmp 0x49e3a4
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ff00000
test dword [ebx], 0x20000
je 0x49e3c3
fld dword [ebx + 0x6c]
fstp qword [esp + 0x18]
fld dword [ebx + 0x70]
fstp qword [esp + 0x20]
fld dword [ebx + 0x74]
fstp qword [esp + 0x28]
jmp 0x49e3f3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
lea ecx, [esp + 0x90]
lea edx, [esp + 0xa8]
push ecx
push edx
call fcn.00418fd0
fstp qword [esp + 0x18]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.00419090
fcomp qword [ebp + 0xc]
add esp, 0x10
fnstsw ax
test ah, 1
je 0x49e48f
fld qword [esp + 0x10]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x49e48f
push 0x3ee4f8b5
lea edx, [esp + 0x1c]
push 0x88e368f1
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00418f20
add esp, 0x10
test eax, eax
je 0x49e48f
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], 1
push edi
push esi
call fcn.0043f900
push esi
call fcn.00488710
lea ecx, [esp + 0x54]
push ecx
push 1
push ebx
call fcn.00440320
mov ebx, dword [ebx + 0xc]
mov eax, dword [edi + 0xc]
add esp, 0x18
cmp ebx, eax
je 0x49e1fc
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebx + 0xc]
cmp ebx, eax
je 0x49e4a8
test ebx, ebx
jne 0x49e226
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x49e1ff
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret