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

Disassembly:
push 0xffffffffffffffff
push 0x6049a8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x631220]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push edi
mov eax, dword [0x631220]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], eax
call fcn.004ea3f0
mov ecx, dword [esi + 0x240]
shr ecx, 2
mov dword [esp + 0x4c], eax
test cl, 1
je 0x50e635
cmp dword [esp + 0x60], 0
jne 0x50e47c
cmp dword [esi + 0x7c], 0
je 0x50e474
mov eax, dword [esi + 0x78]
mov dword [esp + 0x60], eax
jmp 0x50e47c
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
test eax, eax
jl 0x50e4a1
jg 0x50e494
cmp edi, 0x10
jb 0x50e4a1
and edi, 0xfffffff0
mov edx, eax
sub edi, 0x10
sbb edx, 0
jmp 0x50e4a9
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
xor eax, eax
add ecx, dword [esp + 0x40]
push 0
adc eax, dword [esp + 0x60]
add ecx, 0xf
push 0
adc eax, 0
mov dword [esp + 0x50], edx
and ecx, 0xfffffff0
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x22c]
sub ecx, edi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esi + 0x228]
add ecx, edi
adc eax, edx
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x50e571
push 0
push dword [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x14]
movdqu xmmword [esp + 0x14], xmm0
movdqu xmmword [esp + 0x24], xmm0
call fcn.0050cf00
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
push 0
xor ecx, ecx
mov dword [esp + 0x7c], 0
test eax, eax
mov dword [esp + 0x6c], 0
push edx
cmovne ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x34c]
call eax
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x50e578
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 0xffffffff
call fcn.004e7540
xor al, al
jmp 0x50e616
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
je 0x50e5db
mov eax, edi
or eax, dword [esp + 0x48]
jne 0x50e59d
mov eax, dword [esp + 0x54]
xor ecx, ecx
cmp dword [esp + 0x14], ecx
xorps xmm0, xmm0
cmovne ecx, dword [esp + 0x10]
jmp 0x50e5c1
mov edx, dword [esp + 0x14]
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x10]
movdqu xmm0, xmmword [eax]
xor eax, eax
test edx, edx
cmovne eax, dword [esp + 0x10]
lea ecx, [eax + 0x10]
mov eax, dword [esp + 0x54]
sub eax, 0x10
push ecx
push eax
movdqu xmmword [esi + 0x114], xmm0
push ecx
add esi, 0xec
push esi
call fcn.0053b370
add esp, 0x10
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp dword [esp + 0x14], eax
push dword [esp + 0x88]
cmovne eax, dword [esp + 0x14]
sub ecx, edi
add ecx, eax
mov eax, dword [esp + 0x64]
push ecx
push eax
call fcn.005e08e0
add esp, 0xc
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004e7540
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005e0482
add esp, 0x70
ret 0x10
test byte [esi + 0x240], 1
je 0x50e669
cmp dword [esi + 0xa0], 1
jbe 0x50e669
mov eax, 1
cmp eax, dword [esi + 0xa0]
sbb eax, eax
neg eax
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
jne 0x50e614
push 0
push 0x1000
push dword [esp + 0x64]
push edi
call fcn.005e2030
mov dword [esp + 0x38], edx
xor ecx, ecx
mov edx, dword [esp + 0x88]
add edx, edi
mov dword [esp + 0x3c], eax
push 0
adc ecx, dword [esp + 0x60]
add edx, 0xfff
push 0x1000
adc ecx, 0
push ecx
push edx
call fcn.005e2030
mov ecx, dword [esp + 0x38]
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], ecx
cmp ecx, edx
jg 0x50e614
jl 0x50e6e0
cmp eax, edi
jae 0x50e614
lea esp, [esp]
mov edx, eax
mov edi, ecx
cmp ecx, dword [esp + 0x58]
jg 0x50e73d
jl 0x50e6f2
cmp eax, dword [esp + 0x50]
jae 0x50e73d
cmp edx, dword [esi + 0xa0]
sbb ecx, ecx
and ecx, edx
mov eax, ecx
shl eax, 4
add eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
je 0x50e735
mov ecx, dword [esp + 0x60]
add edx, 1
adc edi, 0
add dword [esp + 0x44], 1
adc ecx, 0
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x58]
cmp edi, ecx
jl 0x50e6f2
jg 0x50e741
cmp edx, dword [esp + 0x50]
jb 0x50e6f2
jmp 0x50e741
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
cmp edx, eax
jne 0x50e751
cmp edi, ecx
je 0x50e614
cmp edi, ecx
jg 0x50e7cc
jl 0x50e760
cmp edx, eax
jae 0x50e7ce
jmp 0x50e760
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
jne 0x50e7bc
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
add edx, 1
adc edi, 0
add dword [esp + 0x44], 1
mov byte [ecx + eax], 1
adc dword [esp + 0x60], 0
mov ecx, dword [esp + 0x58]
cmp edi, ecx
jl 0x50e760
mov eax, dword [esp + 0x50]
jg 0x50e7cc
cmp edx, eax
jb 0x50e760
jmp 0x50e7cc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], edi
cmp edx, eax
jne 0x50e7dc
cmp edi, ecx
jne 0x50e7dc
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x7c]
shld eax, edx, 0xc
shl edi, 0xc
shl edx, 0xc
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x68], edi
add dword [esp + 0x68], edx
mov dword [esp + 0x54], edx
adc eax, dword [esp + 0x48]
js 0x50e81d
jg 0x50e819
cmp dword [esp + 0x68], ecx
jbe 0x50e81d
mov edi, ecx
sub edi, edx
mov ecx, dword [esi + 0x228]
mov eax, dword [esi + 0x22c]
add ecx, edx
push 0
adc eax, dword [esp + 0x4c]
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x50e571
cmp dword [esi + 0x7c], 0
mov dword [esp + 0x64], 0
je 0x50e85f
mov ecx, dword [esi + 0x78]
jmp 0x50e861
xor ecx, ecx
mov eax, dword [esp + 0x54]
add eax, ecx
lea ecx, [esp + 0x64]
push 0
push ecx
push edi
push eax
push dword [esi + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x34c]
call eax
test eax, eax
je 0x50e571
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi + 0xa0]
sub ecx, 1
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
cdq
sbb ecx, 0
cmp ecx, edx
jg 0x50e8e2
jl 0x50e8b0
cmp dword [esp + 0x34], eax
jae 0x50e8e2
cmp dword [esi + 0x7c], 0x10
jb 0x50e8e2
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
dec ecx
cmp ecx, dword [esi + 0xa0]
sbb eax, eax
movdqu xmm0, xmmword [edx + edi - 0x10]
and eax, ecx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
movdqu xmmword [ecx + eax + 1], xmm0
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
je 0x50e9d9
mov edx, dword [esp + 0x3c]
dec edx
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
cmp byte [ecx + eax], 0
je 0x50e933
cmp edx, dword [esi + 0xa0]
sbb eax, eax
and eax, edx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esi + 0x9c]
movdqu xmm0, xmmword [ecx + eax + 1]
jmp 0x50e9bb
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
sub eax, 0x1000
mov ecx, dword [esi + 0x228]
mov dword [esp + 0x54], eax
sbb edx, 0
add ecx, eax
mov eax, dword [esi + 0x22c]
push 0
adc eax, edx
push 0
push eax
mov eax, dword [esp + 0x58]
push ecx
push dword [esi + 0x14]
mov eax, dword [eax + 0x354]
call eax
test eax, eax
je 0x50e571
cmp dword [esi + 0x7c], 0
je 0x50e97f
mov ecx, dword [esi + 0x78]
jmp 0x50e981
xor ecx, ecx
mov eax, dword [esp + 0x54]
add eax, ecx
lea ecx, [esp + 0x64]
push 0
push ecx
push 0x1000
push eax
push dword [esi + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x34c]
call eax
test eax, eax
je 0x50e571
mov eax, dword [esp + 0x34]
movdqu xmm0, xmmword [eax + 0xff0]
mov eax, dword [esp + 0x68]
push eax
push edi
push eax
lea eax, [esi + 0xec]
push eax
movdqu xmmword [esi + 0x114], xmm0
call fcn.0053b370
add esp, 0x10
mov ecx, dword [esp + 0x60]
cmp ecx, dword [esp + 0x58]
jg 0x50e614
mov eax, dword [esp + 0x44]
jl 0x50e6e0
cmp eax, dword [esp + 0x50]
jmp 0x50e6d6