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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509772
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push esi
push edi
mov eax, dword [0x5472f8]
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.00479ab0
mov ecx, dword [edi + 0x28]
push 0
call fcn.004798e0
mov ecx, dword [edi + 0x28]
call fcn.00479d30
mov ecx, dword [edi + 0x28]
push 0
call fcn.0047a1b0
mov ecx, dword [edi + 0x28]
push 1
call fcn.0047a1c0
mov ecx, dword [edi + 0x28]
call fcn.00478c70
mov eax, dword [ebp + 8]
mov esi, 0x80000001
mov edx, dword [eax]
test edx, edx
jle 0x49c625
cmp edx, 0x100
jg 0x49c625
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x5c]
push eax
call fcn.004793f0
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.00424b6b
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 0x49c122
xor ecx, ecx
mov dword [ebp - 0x24], ecx
test esi, esi
je 0x49c10a
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 0x49c09e
test edx, edx
cmovne eax, ecx
movzx ecx, ax
mov dword [ebp - 0x28], ecx
jmp 0x49c0a3
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 0x49c074
cmp dword [ebp - 0x28], 0xff
jbe 0x49c11f
push dword [edi + 0x54]
call fcn.00424b28
add esp, 4
mov esi, 0x80000002
jmp 0x49c625
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.00424b6b
mov dword [edi + 0x38], eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
js 0x49c151
cmp eax, dword [esi]
jl 0x49c154
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.00424b6b
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 0x49c4d2
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.00424b6b
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
test eax, eax
js 0x49c1f8
cmp eax, dword [ecx]
jl 0x49c1fb
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 0x49c4ae
nop
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
cmp ecx, eax
jne 0x49c26c
cmp dword [edx], 0
jne 0x49c26c
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [edx + 0xc]
cmp ecx, 0xffffffff
je 0x49c281
cmp dword [ebp - 0x18], eax
jne 0x49c281
cmp dword [edx + 0x10], 0xffffffff
cmovne ecx, dword [edx + 0x10]
cmp dword [edx], 0
je 0x49c29e
push ecx
mov ecx, dword [0x54fabc]
lea eax, [ebp - 0x84]
push eax
call fcn.00457540
mov edx, dword [ebp - 0x14]
jmp 0x49c2a0
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 0x49c432
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.0047a030
push 0x144
call fcn.00424b2d
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.004788d0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push dword [ebp - 0x78]
mov dword [edi + 0x10], eax
push dword [ebp - 0x7c]
call fcn.00469c30
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.00469330
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.004692d0
push dword [ebp - 0x40]
mov ecx, dword [edi + 0x10]
push dword [ebp - 0x44]
call fcn.004692f0
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x28]
call fcn.00469920
mov ecx, dword [edi + 0x10]
push eax
call fcn.00469930
push dword [ebp - 0x34]
mov ecx, dword [edx + 0x28]
push dword [ebp - 0x38]
push dword [edi + 0x10]
call fcn.00469b50
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp eax, 0xfffffffe
je 0x49c405
mov ecx, dword [0x54fabc]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00457540
test eax, eax
je 0x49c40d
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x84]
push eax
call fcn.004688c0
jmp 0x49c40d
mov ecx, dword [edi + 0x10]
call fcn.004688a0
mov ecx, dword [edi + 0x10]
call fcn.004c7000
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x49c42d
and ecx, 0x7fffffff
call fcn.004c7040
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x49c48d
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 0x49c250
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 0x49c1c8
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 0x49c542
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004c7420
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.004c77a0
mov ecx, dword [edi + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, edi
mov edx, eax
call fcn.004998c0
or eax, 0x80000000
mov ecx, eax
call fcn.004c73d0
push dword [edi + 0x3c]
mov ecx, edi
call fcn.0049a640
jmp 0x49c550
cmp dword [edi + 0x44], 0
je 0x49c550
mov ecx, dword [edi + 0x28]
call fcn.004c7000
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.004c77d0
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, eax
xor ecx, ecx
call fcn.004c77d0
mov eax, dword [edi]
mov ecx, edi
mov esi, dword [eax + 0x1c]
call fcn.0049aa00
push 1
push eax
mov ecx, edi
call esi
test eax, eax
je 0x49c5cf
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x49c5c1
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 0x49c5c6
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 0x49c5f1
mov eax, dword [eax + 4]
imul ecx, ecx, 0x34
cmp dword [ecx + eax + 8], 0xffffffff
je 0x49c5f1
lea ecx, [edi + 0x78]
call fcn.004ea7b0
jmp 0x49c5ff
mov dword [edi + 0x7c], 0x7fffffff
mov dword [edi + 0x78], 0x7fffffff
push 0
push 0
push 0
mov ecx, edi
call fcn.0049aa50
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.00479390
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 [0x54fac0]
push eax
call fcn.00494330
mov ecx, edi
call fcn.00499750
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