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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509840
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5472f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [edi]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
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 0
call fcn.0047a1c0
mov ecx, dword [edi + 0x28]
call fcn.00478c70
mov edx, dword [esi]
mov dword [ebp - 0x28], 0x80000001
test edx, edx
jle 0x49edcb
cmp edx, 0x100
jg 0x49edcb
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov esi, 1
mov eax, edx
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 - 0x30]
mov dword [ebp - 0x38], 0
cmp dword [eax], 0
jle 0x49e5d6
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp 0x49e555
mov eax, dword [ebp - 0x30]
test esi, esi
je 0x49e5bf
mov eax, dword [eax + 4]
mov edx, dword [eax + ecx + 4]
mov esi, dword [eax + ecx]
mov ecx, esi
cmp edx, esi
jg 0x49e56e
test edx, edx
cmovg ecx, edx
mov eax, dword [edi + 0x54]
mov edx, dword [ebp - 0x38]
mov dword [eax + edx*8], ecx
lea eax, [ecx - 1]
add eax, esi
cdq
idiv ecx
mov ecx, dword [edi + 0x54]
mov edi, 0xff
mov edx, dword [ebp - 0x38]
mov dword [ecx + edx*8 + 4], eax
inc edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, esi
dec esi
mov dword [ebp - 0x34], eax
add ecx, 0x40
mov dword [ebp - 0x3c], esi
cmp edi, esi
mov dword [ebp - 0x38], edx
mov edi, dword [ebp - 0x30]
sbb esi, esi
mov dword [ebp - 0x28], ecx
inc esi
cmp edx, dword [edi]
mov edi, dword [ebp - 0x24]
jl 0x49e552
cmp dword [ebp - 0x3c], 0xff
jbe 0x49e5d8
push dword [edi + 0x54]
call fcn.00424b28
add esp, 4
mov dword [ebp - 0x28], 0x80000002
jmp 0x49edcb
xor eax, eax
mov ecx, dword [edi + 0x28]
push eax
call fcn.004798e0
mov esi, dword [ebp - 0x30]
xor ecx, ecx
mov edx, 0x40
movups xmm0, xmmword [esi]
movups xmmword [edi + 0xa4], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0xb4], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0xc4], xmm0
mov eax, dword [esi]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov dword [edi + 0xa8], eax
xor ecx, ecx
mov eax, dword [esi]
mov edx, 0x34
mov dword [edi + 0x34], eax
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, 8
mov eax, dword [esi + 8]
test eax, eax
js 0x49e652
cmp eax, dword [esi]
jl 0x49e655
or eax, 0xffffffff
mov dword [edi + 0x3c], eax
mov edx, 0x14
mov eax, dword [esi + 0xc]
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
xor eax, eax
cmp dword [esi + 0x20], eax
sete al
xor ecx, ecx
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x58], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov dword [edi + 0x5c], eax
xor ecx, ecx
mov eax, dword [esi]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov dword [edi + 0xcc], eax
add esp, 8
mov eax, dword [edi + 0x38]
mov edi, dword [edi + 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 4]
xor esi, esi
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x7c], esi
cmp dword [eax], esi
jle 0x49ec1e
mov edi, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x44], edx
nop
mov ecx, dword [eax + 4]
mov esi, dword [ebp - 0x24]
add ecx, edx
movups xmm0, xmmword [ecx]
mov eax, dword [esi + 0xa8]
add eax, edx
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ecx + 0x30]
xor ecx, ecx
movups xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
mov eax, dword [edx + eax]
mov edx, 0xc4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov edx, dword [ebp - 0x44]
mov ecx, eax
mov eax, dword [esi + 0xa8]
mov dword [edx + eax + 8], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx]
mov edx, 0x3c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov edx, dword [ebp - 0x40]
add esp, 8
mov dword [edi + 4], eax
mov eax, dword [edx + 0xc]
test eax, eax
js 0x49e78f
cmp eax, dword [edx]
jl 0x49e792
or eax, 0xffffffff
mov dword [edi + 8], eax
xor ecx, ecx
mov eax, dword [edx + 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 0x20]
mov dword [edi + 0x18], eax
movq xmm0, qword [edx + 0x24]
movq qword [edi + 0x1c], xmm0
mov eax, dword [edx + 0x2c]
mov dword [edi + 0x24], eax
movq xmm0, qword [edx + 0x30]
movq qword [edi + 0x28], xmm0
mov eax, dword [edx + 0x38]
mov dword [edi + 0x30], eax
mov eax, dword [edx]
mov edx, 0x34
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov edx, dword [ebp - 0x34]
mov ecx, eax
mov eax, dword [esi + 0xcc]
add esp, 4
mov dword [eax + edx*4], ecx
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + edx*4]
mov eax, dword [edi + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], eax
cmp dword [ecx], eax
jle 0x49ebf1
lea ecx, [edx + 4]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x2c], ecx
jmp 0x49e829
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x50]
cmp eax, dword [edx + 8]
jne 0x49e84f
cmp dword [edi + 4], 0
jne 0x49e84f
mov dword [edx + 8], 0xffffffff
mov eax, dword [esi + 0xa8]
mov edx, dword [ebp - 0x44]
mov dword [edx + eax + 0xc], 0xffffffff
push 0x34
lea eax, [ecx - 4]
push 0
push eax
mov dword [ebp - 0x64], eax
call fcn.0042fd40
mov eax, dword [esi + 0xa8]
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
mov edi, dword [ecx + eax + 8]
mov ecx, 0x31
add edi, dword [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x3c], ecx
cmp ecx, 0xffffffff
je 0x49e8a0
mov eax, dword [ebp - 0x50]
cmp esi, dword [eax + 8]
jne 0x49e8a0
cmp dword [edi + 0x28], 0xffffffff
cmovne ecx, dword [edi + 0x28]
mov dword [ebp - 0x3c], ecx
cmp dword [edi], 0
je 0x49e8ab
cmp dword [edi + 4], 0
jne 0x49e8b5
cmp dword [edi + 4], 0
jne 0x49e8b5
xor edx, edx
jmp 0x49e8ca
push ecx
mov ecx, dword [0x54fabc]
lea eax, [ebp - 0x9c]
push eax
call fcn.00457540
mov edx, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
test edx, edx
je 0x49eb55
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov dword [eax], 1
mov eax, dword [edi + 0xc0]
shr eax, 6
not eax
and eax, 1
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xa8]
mov eax, dword [esi + eax + 8]
add eax, dword [ebp - 0x5c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 8], eax
test byte [edi + 0xc0], 0x10
je 0x49e933
mov eax, dword [edi + 4]
jmp 0x49e93f
test byte [edi + 0xc0], 2
je 0x49e93f
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x20]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x30]
mov dword [ecx + 0x18], eax
movq xmm0, qword [edi + 0xa8]
movq qword [ecx + 0x1c], xmm0
mov eax, dword [edi + 0xb0]
mov dword [ecx + 0x24], eax
movq xmm0, qword [edi + 0xb4]
movq qword [ecx + 0x28], xmm0
mov eax, dword [edi + 0xbc]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov edx, dword [edi + 0x14]
push dword [eax + 0xc]
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push ecx
push edx
push esi
push ecx
add eax, edx
push eax
mov eax, dword [edi + 8]
mov edi, dword [ebp - 0x4c]
add eax, esi
mov esi, dword [ebp - 0x24]
push eax
push dword [ebp - 0x3c]
mov ecx, dword [esi + 0x28]
push edi
call fcn.00479690
mov eax, dword [ebp - 0x2c]
mov ecx, dword [esi + 0x28]
push dword [eax]
push edi
call fcn.00479650
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00479480
push 0x144
call fcn.00424b2d
add esp, 4
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
mov ecx, eax
push dword [esi + 0x28]
push edi
call fcn.004788d0
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
push dword [ebp - 0x90]
mov edi, dword [ebp - 0x48]
push dword [ebp - 0x94]
mov dword [edi + 0x10], eax
call fcn.00469c30
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edi + 0x10]
push dword [eax]
call fcn.004699b0
mov edi, dword [edi + 0x10]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push eax
mov ecx, edi
call esi
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [edi + 0x28]
call fcn.00469330
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x6c]
push eax
call fcn.004692d0
push dword [ebp - 0x68]
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x6c]
call fcn.004692f0
mov ecx, dword [edi + 0x28]
call fcn.00469920
mov ecx, dword [esi + 0x10]
push eax
call fcn.00469930
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x24]
push dword [edi + 0xc]
mov ecx, dword [eax + 0x28]
push dword [edi + 8]
push dword [esi + 0x10]
call fcn.00469b50
cmp dword [edi], 0
je 0x49eaed
mov eax, dword [edi + 0x30]
cmp eax, 0xfffffffe
je 0x49eaed
mov ecx, dword [0x54fabc]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00457540
test eax, eax
je 0x49eaf5
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x9c]
push eax
call fcn.004688c0
jmp 0x49eaf5
mov ecx, dword [esi + 0x10]
call fcn.004688a0
mov ecx, dword [esi + 0x10]
call fcn.004c7000
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x49eb21
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
cmp dword [esi], eax
jbe 0x49eb21
mov dword [ebp - 0x3c], esi
mov esi, dword [esi + 8]
test esi, esi
jne 0x49eb13
push 0xc
call fcn.00424b2d
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
inc dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 8], esi
mov dword [eax + 8], ecx
mov esi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], esi
jmp 0x49ebb3
mov esi, dword [ebp - 0x60]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0xffffffff
mov dword [ecx + 0x10], 0xffffffff
mov dword [ecx + 0x14], 0xffffffff
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0xffffffff
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0xffffffff
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x40]
add eax, 0x14
inc dword [ebp - 0x4c]
add ecx, 0x3c
add dword [ebp - 0x5c], 0xc4
add edi, 0xc4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], ecx
inc eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x2c], ecx
cmp eax, dword [edx]
jl 0x49e826
mov ecx, edx
jmp 0x49ebf4
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x30]
add ecx, 0x40
mov edi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x44]
add edi, 0x34
mov dword [ebp - 0x40], ecx
add edx, 0x40
mov ecx, dword [ebp - 0x34]
inc ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edx
cmp ecx, dword [eax]
jl 0x49e700
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424b6b
mov edi, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [edi + 0xd0], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0xd4], eax
test esi, esi
je 0x49ec76
mov edi, dword [ebp - 0x64]
mov eax, dword [esi + 4]
lea edi, [edi + 4]
mov ecx, esi
mov dword [edi - 4], eax
mov esi, dword [esi + 8]
push 0xc
push ecx
call fcn.00424b5d
add esp, 8
test esi, esi
jne 0x49ec56
mov edi, dword [ebp - 0x24]
mov ecx, dword [edi + 0x28]
lea edx, [ebp - 0x74]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [edi + 0x28]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [edi + 0x40], 0
je 0x49ece3
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 0x49ecf1
cmp dword [edi + 0x44], 0
je 0x49ecf1
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 0x49ed70
mov eax, dword [edi + 0x74]
cmp eax, 0xffffffff
je 0x49ed62
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 0x49ed67
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 - 0x30]
mov ecx, dword [eax + 8]
cmp ecx, 0xffffffff
je 0x49ed92
mov eax, dword [eax + 4]
shl ecx, 6
cmp dword [ecx + eax + 0xc], 0xffffffff
je 0x49ed92
lea ecx, [edi + 0x78]
call fcn.004ea7b0
jmp 0x49eda0
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
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x30], 1
mov dword [ebp - 0x28], 0
mov ecx, dword [edi + 0x28]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, edi
call fcn.00499750
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424b17
mov esp, ebp
pop ebp
ret 4