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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512802
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x5522f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 0x34]
mov ecx, dword [edi + 0x28]
call fcn.0047c860
mov ecx, dword [edi + 0x28]
push 0
call fcn.0047c690
mov ecx, dword [edi + 0x28]
call fcn.0047cae0
mov ecx, dword [edi + 0x28]
push 0
call fcn.0047cf60
mov ecx, dword [edi + 0x28]
push 1
call fcn.0047cf70
mov ecx, dword [edi + 0x28]
call fcn.0047ba20
mov eax, dword [ebp + 8]
mov esi, 0x80000001
mov edx, dword [eax]
test edx, edx
jle 0x49f5d5
cmp edx, 0x100
jg 0x49f5d5
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047c1a0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov eax, edx
mov esi, 1
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427619
mov dword [edi + 0x54], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
test ecx, ecx
jle 0x49f0d2
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
je 0x49f0ba
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax]
mov ecx, eax
sar ecx, 0x10
movzx edx, cx
movzx esi, ax
cmp edx, esi
ja 0x49f04e
test edx, edx
cmovne eax, ecx
movzx ecx, ax
mov dword [ebp - 0x28], ecx
jmp 0x49f053
mov ecx, esi
mov dword [ebp - 0x28], esi
lea eax, [ecx - 1]
add dword [ebp - 0x1c], esi
add eax, esi
cdq
idiv ecx
mov edx, dword [ebp - 0x28]
mov ecx, eax
mov eax, dword [edi + 0x54]
mov edi, dword [ebp - 0x20]
mov dword [eax + edi*8], edx
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [edi + 0x54]
mov dword [eax + edx*8 + 4], ecx
inc edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 4]
mov dword [ecx + eax], esi
lea eax, [esi - 1]
mov dword [ebp - 0x28], eax
add ecx, 0x34
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
mov esi, 0xff
cmp esi, dword [ebp - 0x28]
sbb esi, esi
inc esi
cmp edx, dword [ebp - 0x18]
jl 0x49f024
cmp dword [ebp - 0x28], 0xff
jbe 0x49f0cf
push dword [edi + 0x54]
call fcn.004275d6
add esp, 4
mov esi, 0x80000002
jmp 0x49f5d5
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov edx, 0x34
mov dword [edi + 0x34], ecx
xor ecx, ecx
mov eax, dword [esi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427619
mov dword [edi + 0x38], eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
js 0x49f101
cmp eax, dword [esi]
jl 0x49f104
or eax, 0xffffffff
mov dword [edi + 0x3c], eax
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov edx, 0x14
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x18]
and eax, 7
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x58], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427619
mov edi, eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0
mov esi, dword [eax + 0x38]
mov dword [eax + 0x5c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], esi
cmp dword [eax], 0
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
jle 0x49f482
mov eax, dword [edx]
xor ecx, ecx
mov dword [esi], eax
mov eax, dword [edx]
mov edx, 0x3c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00427619
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
test eax, eax
js 0x49f1a8
cmp eax, dword [ecx]
jl 0x49f1ab
or eax, 0xffffffff
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
movq xmm0, qword [ecx + 0x1c]
movq qword [esi + 0x1c], xmm0
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x24], eax
movq xmm0, qword [ecx + 0x28]
movq qword [esi + 0x28], xmm0
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
xor ecx, ecx
mov esi, dword [esi + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
cmp dword [eax], ecx
jle 0x49f45e
nop
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp ecx, eax
jne 0x49f21c
cmp dword [edx], 0
jne 0x49f21c
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [edx + 0xc]
cmp ecx, 0xffffffff
je 0x49f231
cmp dword [ebp - 0x18], eax
jne 0x49f231
cmp dword [edx + 0x10], 0xffffffff
cmovne ecx, dword [edx + 0x10]
cmp dword [edx], 0
je 0x49f24e
push ecx
mov ecx, dword [0x55acdc]
lea eax, [ebp - 0x84]
push eax
call fcn.0045a2e0
mov edx, dword [ebp - 0x14]
jmp 0x49f250
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi], eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
test eax, eax
je 0x49f3e2
movups xmm0, xmmword [edx]
push 0
push 0
movups xmmword [esi], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [edx + 0x30]
movq qword [esi + 0x30], xmm0
mov eax, dword [edx + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx + 8]
lea edx, [ebp - 0x84]
add eax, dword [ebp - 0x58]
add ecx, dword [ebp - 0x5c]
push edx
push eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push ecx
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0x28]
call fcn.0047cde0
push 0x144
call fcn.004275db
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x28]
mov ecx, eax
push dword [ebp - 0x24]
call fcn.0047b680
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push dword [ebp - 0x78]
mov dword [edi + 0x10], eax
push dword [ebp - 0x7c]
call fcn.0046c9e0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, dword [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call fcn.0046c0e0
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x38]
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x28]
call fcn.0046c080
push dword [ebp - 0x40]
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x44]
call fcn.0046c0a0
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
call fcn.0046c6d0
mov ecx, dword [edi + 0x10]
push eax
call fcn.0046c6e0
push dword [ebp - 0x34]
mov ecx, dword [edx + 0x28]
push dword [ebp - 0x38]
push dword [edi + 0x10]
call fcn.0046c900
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp eax, 0xfffffffe
je 0x49f3b5
mov ecx, dword [0x55acdc]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0045a2e0
test eax, eax
je 0x49f3bd
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x84]
push eax
call fcn.0046b670
jmp 0x49f3bd
mov ecx, dword [edi + 0x10]
call fcn.0046b650
mov ecx, dword [edi + 0x10]
call fcn.004ca7f0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x49f3dd
and ecx, 0x7fffffff
call fcn.004ca830
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x49f43d
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x38], 0
mov eax, dword [ebp - 0x1c]
inc ecx
inc dword [ebp - 0x24]
add edx, 0x3c
add edi, 0x14
mov dword [ebp - 0x14], edx
add esi, 0x3c
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax]
jl 0x49f200
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
inc ecx
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add esi, 0x34
add edx, 0x34
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [eax]
jl 0x49f178
mov edi, dword [ebp - 0x10]
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [edi + 0x28]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [edi + 0x40], 0
je 0x49f4f2
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004cac10
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004caf90
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, edi
mov edx, eax
call fcn.0049c870
or eax, 0x80000000
mov ecx, eax
call fcn.004cabc0
push dword [edi + 0x3c]
mov ecx, edi
call fcn.0049d5f0
jmp 0x49f500
cmp dword [edi + 0x44], 0
je 0x49f500
mov ecx, dword [edi + 0x28]
call fcn.004ca7f0
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [edi + 0x28]
mov esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, esi
mov ecx, eax
call fcn.004cafc0
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
xor ecx, ecx
call fcn.004cafc0
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [eax + 0x1c]
call fcn.0049d9b0
push 1
push eax
mov ecx, edi
call esi
test eax, eax
je 0x49f57f
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x49f571
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x5c]
mov edx, dword [eax + ecx*4 + 4]
shl edx, 0x10
or edx, dword [eax + ecx*4 + 8]
mov eax, dword [eax + ecx*4 + 0xc]
xor ecx, ecx
cmp dword [eax + 0x14], 0xffffffff
setne cl
jmp 0x49f576
or edx, 0xffffffff
xor ecx, ecx
mov eax, dword [edi]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ecx, 0xffffffff
je 0x49f5a1
mov eax, dword [eax + 4]
imul ecx, ecx, 0x34
cmp dword [ecx + eax + 8], 0xffffffff
je 0x49f5a1
lea ecx, [edi + 0x78]
call fcn.004ee560
jmp 0x49f5af
mov dword [edi + 0x7c], 0x7fffffff
mov dword [edi + 0x78], 0x7fffffff
push 0
push 0
push 0
mov ecx, edi
call fcn.0049da00
mov dword [edi + 0x80], eax
xor esi, esi
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x30], 1
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x6c]
push eax
call fcn.0047c140
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
call edx
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [0x55ace0]
push eax
call fcn.004972e0
mov ecx, edi
call fcn.0049c700
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4