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

Disassembly:
push 0xffffffffffffffff
push 0x4ae956
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8bb0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
fld dword [esp + 0x3c]
sub esp, 8
fst dword [0x4c8b98]
fld dword [esp + 0x48]
fstp dword [0x4c8b9c]
fld dword [esp + 0x4c]
fstp dword [0x4c8ba0]
fld dword [esp + 0x50]
fstp dword [0x4c8ba4]
fstp qword [esp]
call fcn.00499b00
mov ecx, edi
call fcn.004976c0
test eax, eax
jne 0x49e7df
mov ecx, edi
call fcn.00497330
fstp dword [esp + 0x3c]
lea ecx, [edi + 0x2c]
call fcn.00497330
fstp dword [esp + 0x40]
mov ecx, dword [edi + 0x74]
mov esi, dword [edi + 0x10]
mov ebx, dword [edi + 0x3c]
test ecx, ecx
jne 0x49e103
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], 0
test eax, eax
je 0x49e0f4
push 0x4bbe9c
push ebx
push esi
mov ecx, eax
call fcn.0049ee20
mov dword [esp + 0x34], 0xffffffff
mov dword [edi + 0x74], eax
jmp 0x49e117
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
mov dword [edi + 0x74], eax
jmp 0x49e117
push 0x4bbe9c
push ebx
push esi
call fcn.0049efe0
test eax, eax
jne 0x49e7df
cmp dword [edi + 0x74], 0
je 0x49e756
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x49e16f
push 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], 1
test eax, eax
je 0x49e160
push 0x4e20
push 0x2710
mov ecx, eax
call fcn.0049eed0
mov dword [esp + 0x34], 0xffffffff
mov dword [edi + 0x78], eax
jmp 0x49e175
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
mov dword [edi + 0x78], eax
jmp 0x49e175
mov dword [eax], 0
cmp dword [edi + 0x78], 0
je 0x49e756
mov ecx, edi
call fcn.004976a0
test eax, eax
jne 0x49e7df
mov eax, dword [edi + 0x78]
mov ebp, dword [eax]
cmp ebp, 1
jl 0x49e7dd
mov eax, dword [eax + 0xc]
xor ebx, ebx
test ebp, ebp
jle 0x49e7dd
lea esi, [eax + 8]
lea esp, [esp]
mov eax, dword [esi - 8]
mov ecx, dword [esi - 4]
cmp eax, ecx
jne 0x49e4cc
mov edx, dword [esi]
cmp edx, dword [esi + 4]
je 0x49e4cc
mov eax, dword [esi + 8]
push eax
mov ecx, edi
call fcn.00497350
fstp dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [edi + 0x2c]
call fcn.00497350
fstp dword [esp + 0x20]
mov ecx, dword [esi]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x48]
mov ecx, dword [esi + 4]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x44]
mov ecx, dword [esi - 8]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x18]
mov ecx, dword [esi - 4]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fld st(0)
fsub dword [esp + 0x48]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fabs
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld st(0)
fsub dword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fabs
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fld st(0)
fsub dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x28]
fld st(0)
fsub dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fld dword [esp + 0x40]
fcom st(1)
fnstsw ax
fld dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [esp + 0x20]
test ah, 5
jp 0x49e311
fxch st(3)
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x49e313
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49e313
fld dword [esp + 0x3c]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x49e313
cmp dword [esp + 0x4c], 0
fstp st(3)
fstp st(4)
fstp st(2)
fstp st(2)
fstp st(1)
fstp st(0)
je 0x49e756
jmp 0x49e7d1
fstp st(3)
fxch st(3)
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x49e37c
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x49e37c
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x49e37c
fstp st(4)
sub esp, 8
fstp st(0)
fstp st(1)
fstp st(0)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049db40
fstp dword [esp + 0x50]
add esp, 8
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x49e754
push ecx
mov ecx, dword [esi]
fstp dword [esp]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fcom st(1)
fnstsw ax
test ah, 1
jne 0x49e3e6
fxch st(1)
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x49e3ea
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x49e3ea
fstp st(1)
sub esp, 8
fstp st(3)
fstp st(1)
fstp st(0)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049daf0
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e754
push ecx
mov ecx, dword [esi + 4]
fstp dword [esp]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fstp st(5)
jmp 0x49e3ee
fstp st(5)
fxch st(4)
fcom st(2)
fnstsw ax
test ah, 1
jne 0x49e45a
fxch st(2)
fcom st(4)
fnstsw ax
test ah, 0x41
jp 0x49e458
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x49e458
fstp st(4)
sub esp, 8
fstp st(1)
fstp st(0)
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049db40
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x49e754
push ecx
mov ecx, dword [esi - 8]
fstp dword [esp]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fxch st(2)
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x49e7bb
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x49e7c3
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jp 0x49e7bf
sub esp, 8
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049daf0
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e754
push ecx
mov ecx, dword [esi - 8]
fstp dword [esp]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
mov edx, dword [esi]
cmp edx, dword [esi + 4]
jne 0x49e756
cmp eax, ecx
je 0x49e756
mov eax, dword [esi + 8]
push eax
mov ecx, edi
call fcn.00497350
fstp dword [esp + 0x24]
mov ecx, dword [esi + 0xc]
push ecx
lea ecx, [edi + 0x2c]
call fcn.00497350
fstp dword [esp + 0x28]
mov ecx, dword [esi]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x48]
mov ecx, dword [esi + 4]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x44]
mov ecx, dword [esi - 8]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x14]
mov ecx, dword [esi - 4]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496ea0
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fld st(0)
fsub dword [esp + 0x14]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
fld st(0)
fsub dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fld st(0)
fsub dword [esp + 0x48]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x24]
fld st(0)
fsub dword [esp + 0x44]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld dword [esp + 0x3c]
fcom st(1)
fnstsw ax
fld dword [esp + 0x1c]
fld dword [esp + 0x24]
fld dword [esp + 0x28]
test ah, 5
jp 0x49e627
fxch st(3)
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x49e629
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49e629
fld dword [esp + 0x40]
fcomp st(3)
fnstsw ax
test ah, 5
jp 0x49e629
cmp dword [esp + 0x4c], 0
fstp st(3)
fstp st(3)
fstp st(3)
fstp st(2)
fstp st(0)
fstp st(0)
je 0x49e756
jmp 0x49e7d1
fstp st(3)
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x49e692
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x49e692
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x49e692
fstp st(3)
sub esp, 8
fstp st(4)
fstp st(0)
fstp st(2)
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049db40
fstp dword [esp + 0x50]
add esp, 8
fld dword [esp + 0x48]
fld dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x49e754
push ecx
mov ecx, dword [esi]
fstp dword [esp]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fcom st(2)
fnstsw ax
test ah, 1
jne 0x49e6fa
fxch st(2)
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x49e6fe
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x49e6fe
fstp st(3)
sub esp, 8
fstp st(4)
fstp st(3)
fstp st(2)
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049daf0
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e754
push ecx
mov ecx, dword [esi + 4]
fstp dword [esp]
push 1
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fstp st(4)
jmp 0x49e706
fstp st(4)
fxch st(1)
fxch st(3)
fxch st(1)
fxch st(2)
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x49e75e
fcom st(3)
fnstsw ax
test ah, 0x41
jp 0x49e75e
fcom st(2)
fnstsw ax
test ah, 0x41
jp 0x49e75e
fstp st(1)
sub esp, 8
fstp st(1)
fstp st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049db40
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49e4b2
fstp st(0)
or eax, 0xffffffff
jmp 0x49e7df
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x49e7c9
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x49e7cb
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x49e7cd
sub esp, 8
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049daf0
fstp dword [esp + 0x4c]
add esp, 8
fld dword [esp + 0x44]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49e754
push ecx
mov ecx, dword [esi - 4]
fstp dword [esp]
push 0
call fcn.00496ff0
mov ecx, eax
call fcn.00496e90
jmp 0x49e7d1
fstp st(3)
fstp st(1)
fstp st(0)
jmp 0x49e7cf
fstp st(2)
fstp st(0)
jmp 0x49e7cf
fstp st(0)
fstp st(2)
fstp st(1)
fstp st(0)
inc ebx
add esi, 0x18
cmp ebx, ebp
jl 0x49e1b0
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14