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

Disassembly:
push 0x40
mov eax, 0x5063e4
call fcn.004e5a27
mov ebx, dword [ebp + 8]
xor edi, edi
push ebx
mov dword [ebp - 4], edi
call fcn.0049b5e3
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea eax, [ebp - 0x3c]
lea esi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0041d98b
lea esi, [ebp - 0x3c]
call fcn.004109d0
xor esi, esi
cmp eax, edi
mov dword [ebp - 0x14], eax
jle 0x49b066
push esi
lea edi, [ebp - 0x30]
lea ecx, [ebp - 0x3c]
call fcn.0041093f
push 0x5243c8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041089c
lea eax, [ebx + 0x54]
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040e06b
test eax, eax
je 0x49b021
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040d58f
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x49afd9
jmp 0x49b064
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
lea ecx, [ebx + 0xa8]
call fcn.0042a899
lea ecx, [ebx + 0xa4]
push ecx
lea ecx, [ebp - 0x34]
lea esi, [ebx + 0x24]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x49b055
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x18]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040d58f
xor edi, edi
lea eax, [ebp - 0x34]
push eax
mov ecx, ebx
call fcn.004b89b6
push ebx
call fcn.004b6165
push dword [0x55393c]
lea eax, [ebx + 0x1248]
push eax
mov dword [ebp - 0x14], eax
call fcn.0041ca20
push ebx
call fcn.0049bb46
push edi
push 0x550314
push 0x550300
lea ecx, [ebx + 0x24]
mov eax, dword [ecx]
push edi
push 0x52a81c
call dword [eax + 0x14]
push eax
call fcn.004e233c
add esp, 0x14
cmp eax, edi
je 0x49b0c1
fild dword [ebx + 0x4b9c]
fstp dword [eax + 0x28]
mov eax, dword [ebx + 0x11d0]
push edi
mov edi, ebx
mov dword [eax + 0x168], 1
call fcn.004b39a1
mov esi, 0x52a7b8
push esi
lea edi, [ebx + 0xa8]
push edi
call fcn.0042ad97
lea ecx, [eax - 0x24]
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push eax
push 0x46f
mov dword [0x5531dc], eax
push dword [ebx + 4]
call dword [0x508484]
push 0x52a7f0
push edi
call fcn.0042ad97
mov edi, eax
add eax, 0xffffffdc
neg edi
push esi
sbb edi, edi
and edi, eax
lea esi, [ebx + 0xa8]
push esi
mov dword [ebp - 0x1c], edi
call fcn.0042ad97
lea ecx, [eax - 0x24]
neg eax
sbb eax, eax
push 0x52a7d0
and eax, ecx
push esi
mov dword [ebp - 0x20], eax
call fcn.0042ad97
mov esi, eax
add eax, 0xffffffdc
neg esi
sbb esi, esi
and esi, eax
push 0x52f494
lea eax, [ebx + 0xa8]
push eax
mov dword [ebp - 0x18], esi
call fcn.0042ad97
lea ecx, [eax - 0x24]
neg eax
sbb eax, eax
and eax, ecx
je 0x49b183
and dword [eax + 0x60], 0
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
push 7
call dword [eax + 0x1c]
lea eax, [ebx + 0x11d4]
cmp dword [eax], 0
je 0x49b19a
mov eax, dword [eax]
lea ecx, [eax + 0x24]
mov eax, dword [ecx]
push 7
call dword [eax + 0x1c]
lea eax, [ebp - 0x4c]
push eax
push dword [ebx + 4]
call dword [0x50855c]
cmp dword [0x553298], 0
je 0x49b1c9
mov esi, dword [ebx + 0x11d0]
push 5
add esi, 0x3c
pop ecx
mov edi, 0x553280
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x11d0]
fld dword [0x531e48]
fst dword [eax + 0x40]
mov eax, dword [ebx + 0x11d0]
fld dword [0x531e6c]
push 7
fst dword [eax + 0x44]
mov eax, dword [ebx + 0x11d0]
fxch st(1)
fstp dword [eax + 0x48]
mov eax, dword [ebx + 0x11d0]
fstp dword [eax + 0x4c]
mov eax, dword [ebx + 0x11d0]
mov dword [eax + 0x3c], 0x30
mov ecx, dword [ebx + 0x11d0]
mov eax, esi
add esi, 0x24
neg eax
sbb eax, eax
and eax, esi
mov dword [ecx + 0x160], eax
lea ecx, [edi + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x20]
add ecx, 0x24
mov eax, dword [ecx]
push 7
call dword [eax + 0x1c]
push 0
call fcn.004a8bd0
mov ecx, dword [0x552fd8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0x78]
mov esi, 0x553228
mov edi, 0x553238
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [0x553230]
mov eax, dword [0x553228]
mov ecx, dword [0x553268]
sub esi, eax
cmp esi, ecx
jge 0x49b292
mov esi, ecx
add eax, esi
mov dword [0x553230], eax
mov eax, dword [0x553238]
add eax, esi
mov dword [0x553240], eax
fild dword [0x553268]
mov edi, dword [0x553234]
mov ebx, dword [0x55322c]
sub edi, ebx
fmul qword [0x531dc0]
fmul qword [0x531db8]
call fcn.004fa970
cmp edi, eax
jge 0x49b2d3
mov ecx, dword [0x55323c]
add ebx, eax
add ecx, eax
mov edi, eax
mov dword [0x553234], ebx
mov dword [0x553244], ecx
push 4
push edi
mov edi, dword [ebp + 8]
push esi
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 0
push dword [edi + 4]
call dword [0x50852c]
xor ebx, ebx
inc ebx
mov dword [0x5531d4], ebx
mov eax, dword [edi + 0x11d0]
call fcn.004cb459
mov esi, 0x553a08
mov eax, esi
call fcn.004bc7f5
call fcn.004bc778
push 0
push 0xffffffffffffffff
push 2
push dword [ebp - 0x14]
call fcn.00419503
push dword [0x5531dc]
mov eax, dword [edi + 0x11d0]
push dword [0x5531e0]
call fcn.004cafeb
mov eax, dword [0x5531a8]
cmp eax, 3
je 0x49b344
cmp eax, 2
jne 0x49b359
push 0
push dword [0x5531e0]
xor ebx, ebx
push 3
push dword [ebp - 0x14]
inc ebx
call fcn.00419503
mov ebx, dword [ebp - 0x14]
call fcn.0041a32e
mov ebx, edi
call fcn.004b5c9f
mov ecx, edi
call fcn.004b2d57
cmp dword [edi + 0x11d0], 0
je 0x49b383
mov ecx, dword [edi + 0x11d0]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x49b3a5
push dword [esi + 4]
call dword [0x5084a0]
test eax, eax
je 0x49b3a5
mov eax, dword [esi + 0x64]
mov ebx, dword [edi + 0x11d0]
call fcn.004c6df6
mov ecx, edi
call fcn.0049b3e7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49b3bd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x49b3ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49b3df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.004e5aff
ret 0xc