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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512902
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.0047c900
mov ecx, dword [edi + 0x28]
push 0
call fcn.0047c730
mov ecx, dword [edi + 0x28]
call fcn.0047cb80
mov ecx, dword [edi + 0x28]
push 0
call fcn.0047d000
mov ecx, dword [edi + 0x28]
push 1
call fcn.0047d010
mov ecx, dword [edi + 0x28]
call fcn.0047bac0
mov eax, dword [ebp + 8]
mov esi, 0x80000001
mov edx, dword [eax]
test edx, edx
jle 0x49f675
cmp edx, 0x100
jg 0x49f675
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047c240
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.004276a9
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 0x49f172
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
je 0x49f15a
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 0x49f0ee
test edx, edx
cmovne eax, ecx
movzx ecx, ax
mov dword [ebp - 0x28], ecx
jmp 0x49f0f3
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 0x49f0c4
cmp dword [ebp - 0x28], 0xff
jbe 0x49f16f
push dword [edi + 0x54]
call fcn.00427666
add esp, 4
mov esi, 0x80000002
jmp 0x49f675
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.004276a9
mov dword [edi + 0x38], eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
js 0x49f1a1
cmp eax, dword [esi]
jl 0x49f1a4
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.004276a9
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 0x49f522
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.004276a9
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
test eax, eax
js 0x49f248
cmp eax, dword [ecx]
jl 0x49f24b
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 0x49f4fe
nop
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp ecx, eax
jne 0x49f2bc
cmp dword [edx], 0
jne 0x49f2bc
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [edx + 0xc]
cmp ecx, 0xffffffff
je 0x49f2d1
cmp dword [ebp - 0x18], eax
jne 0x49f2d1
cmp dword [edx + 0x10], 0xffffffff
cmovne ecx, dword [edx + 0x10]
cmp dword [edx], 0
je 0x49f2ee
push ecx
mov ecx, dword [0x55acdc]
lea eax, [ebp - 0x84]
push eax
call fcn.0045a370
mov edx, dword [ebp - 0x14]
jmp 0x49f2f0
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 0x49f482
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.0047ce80
push 0x144
call fcn.0042766b
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.0047b720
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push dword [ebp - 0x78]
mov dword [edi + 0x10], eax
push dword [ebp - 0x7c]
call fcn.0046ca70
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.0046c170
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.0046c110
push dword [ebp - 0x40]
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x44]
call fcn.0046c130
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
call fcn.0046c760
mov ecx, dword [edi + 0x10]
push eax
call fcn.0046c770
push dword [ebp - 0x34]
mov ecx, dword [edx + 0x28]
push dword [ebp - 0x38]
push dword [edi + 0x10]
call fcn.0046c990
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp eax, 0xfffffffe
je 0x49f455
mov ecx, dword [0x55acdc]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0045a370
test eax, eax
je 0x49f45d
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x84]
push eax
call fcn.0046b700
jmp 0x49f45d
mov ecx, dword [edi + 0x10]
call fcn.0046b6e0
mov ecx, dword [edi + 0x10]
call fcn.004ca8c0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x49f47d
and ecx, 0x7fffffff
call fcn.004ca900
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x49f4dd
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 0x49f2a0
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 0x49f218
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 0x49f592
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004cace0
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004cb060
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, edi
mov edx, eax
call fcn.0049c910
or eax, 0x80000000
mov ecx, eax
call fcn.004cac90
push dword [edi + 0x3c]
mov ecx, edi
call fcn.0049d690
jmp 0x49f5a0
cmp dword [edi + 0x44], 0
je 0x49f5a0
mov ecx, dword [edi + 0x28]
call fcn.004ca8c0
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.004cb090
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
xor ecx, ecx
call fcn.004cb090
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [eax + 0x1c]
call fcn.0049da50
push 1
push eax
mov ecx, edi
call esi
test eax, eax
je 0x49f61f
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x49f611
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 0x49f616
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 0x49f641
mov eax, dword [eax + 4]
imul ecx, ecx, 0x34
cmp dword [ecx + eax + 8], 0xffffffff
je 0x49f641
lea ecx, [edi + 0x78]
call fcn.004ee630
jmp 0x49f64f
mov dword [edi + 0x7c], 0x7fffffff
mov dword [edi + 0x78], 0x7fffffff
push 0
push 0
push 0
mov ecx, edi
call fcn.0049daa0
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.0047c1e0
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.00497380
mov ecx, edi
call fcn.0049c7a0
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