Function at 0x53f200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5799a0
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov edi, dword [esi]
cmp edi, 0x80000000
je 0x53fbdb
mov edx, dword [esi + 8]
mov dword [ebp - 0x2c], esi
test edx, edx
mov dword [ebp - 0x38], edx
je 0x53f274
mov ecx, dword [esi + 4]
cmp edx, 1
mov ebx, dword [ecx + 8]
mov eax, ecx
mov dword [ebp - 0x34], ecx
jne 0x53f288
test ebx, ebx
je 0x53f423
cmp byte [ebp - 0x28], 0
jne 0x53f3fe
jmp 0x53f47f
xor eax, eax
cmp byte [ebp - 0x28], 0
jne 0x53f3fe
mov edi, dword [esi + 4]
jmp 0x53f78b
add edx, 0xfffffff
xor esi, esi
mov ecx, ebx
mov eax, edx
and eax, 0xfffffff
cmp eax, 8
jb 0x53f3d3
movd xmm0, ebx
mov ecx, dword [ebp - 0x34]
and edx, 7
mov esi, eax
pshufd xmm1, xmm0, 0
movdqa xmm0, xmmword [0x589850]
sub esi, edx
mov dword [ebp - 0x20], edx
movdqa xmm2, xmm1
lea edx, [ecx + 0x88]
mov ecx, esi
nop dword [eax]
movd xmm3, dword [edx - 0x40]
movd xmm5, dword [edx - 0x50]
movd xmm4, dword [edx - 0x70]
movd xmm6, dword [edx - 0x20]
movdqa xmm7, xmm1
pxor xmm1, xmm0
punpckldq xmm5, xmm3
movd xmm3, dword [edx - 0x60]
punpckldq xmm4, xmm3
movd xmm3, dword [edx]
punpcklqdq xmm4, xmm5
movd xmm5, dword [edx - 0x10]
punpckldq xmm5, xmm3
movd xmm3, dword [edx - 0x30]
sub edx, 0xffffff80
add ecx, 0xfffffff8
punpckldq xmm3, xmm6
movdqa xmm6, xmm4
pxor xmm6, xmm0
punpcklqdq xmm3, xmm5
pcmpgtd xmm6, xmm1
pand xmm7, xmm6
pandn xmm6, xmm4
movdqa xmm4, xmm2
pxor xmm2, xmm0
movdqa xmm1, xmm6
movdqa xmm6, xmm3
pxor xmm6, xmm0
por xmm1, xmm7
pcmpgtd xmm6, xmm2
pand xmm4, xmm6
pandn xmm6, xmm3
movdqa xmm2, xmm6
por xmm2, xmm4
jne 0x53f2d0
movdqa xmm4, xmm1
movdqa xmm3, xmm2
cmp dword [ebp - 0x20], 0
pxor xmm4, xmm0
pxor xmm3, xmm0
pcmpgtd xmm3, xmm4
pand xmm1, xmm3
pandn xmm3, xmm2
por xmm3, xmm1
pshufd xmm2, xmm3, 0xee
movdqa xmm4, xmm3
movdqa xmm1, xmm2
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm1, xmm4
pand xmm3, xmm1
pandn xmm1, xmm2
por xmm1, xmm3
movdqa xmm3, xmm1
pshufd xmm2, xmm1, 0x55
pxor xmm3, xmm0
pxor xmm0, xmm2
pcmpgtd xmm0, xmm3
pand xmm1, xmm0
pandn xmm0, xmm2
por xmm0, xmm1
movd ecx, xmm0
je 0x53f3ed
mov edx, dword [ebp - 0x34]
sub eax, esi
shl esi, 4
lea edx, [esi + edx + 0x18]
nop
mov esi, dword [edx]
cmp ecx, esi
cmovae ecx, esi
add edx, 0x10
dec eax
jne 0x53f3e0
test ecx, ecx
je 0x53f423
cmp byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x2c]
je 0x53f47f
mov ecx, esi
mov dword [ebp - 0x10], 0xffffffff
call fcn.0053ff40
cmp dword [esi], 0x80000000
jne 0x53f577
lea eax, [esi + 4]
mov dword [ebp - 0x20], eax
jmp 0x53f7b0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], edi
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 0x38]
lea esi, [eax + 4]
jmp 0x53f446
add esi, 0x10
dec ebx
je 0x53f45a
cmp dword [esi - 4], 0
je 0x53f440
push dword [esi]
push 0
push dword [0x5fd290]
call edi
jmp 0x53f440
cmp dword [ebp - 0x20], 0
je 0x53f471
push dword [ebp - 0x34]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0x80000000
jmp 0x53fbdb
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov esi, ebx
mov dword [ebp - 0x50], ebx
mov eax, dword [edi + 4]
shl ecx, 4
mov edx, edi
add ecx, edi
mov dword [ebp - 0x4c], ecx
mov ecx, 1
mov dword [ebp - 0x48], eax
add eax, ebx
mov dword [ebp - 0x24], eax
xor eax, eax
jmp 0x53f4c8
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x30]
xor ecx, ecx
mov al, 1
test esi, esi
je 0x53f647
test al, 1
je 0x53f4e0
cmp edx, dword [ebp - 0x4c]
jne 0x53f4f5
jmp 0x53f62c
mov eax, dword [ebp - 0x4c]
sub eax, edx
shr eax, 4
cmp eax, ecx
jbe 0x53f62c
shl ecx, 4
add edx, ecx
mov eax, ebx
sub eax, esi
jb 0x53fe94
mov edi, dword [edx + 8]
mov ecx, dword [ebp - 0x48]
test edi, edi
je 0x53f644
add eax, ecx
mov ecx, dword [edx + 4]
add edx, 0x10
mov dword [ebp - 0x54], edi
xor ebx, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], edx
mov edx, dword [ebp - 0x24]
add ecx, edi
neg edi
sub edx, eax
mov dword [ebp - 0x58], edx
mov edx, 0xffffffff
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x20]
lea esi, [eax + edx]
cmp esi, 0xffffffff
je 0x53f4b0
movzx eax, byte [ecx + edx]
mov esi, dword [ebp - 0x24]
cmp al, byte [esi + edx]
jne 0x53f570
inc ebx
mov eax, edi
dec edx
add eax, ebx
jne 0x53f540
mov esi, dword [ebp - 0x54]
jmp 0x53f4b3
mov esi, ebx
jmp 0x53f4b3
mov eax, dword [esi + 8]
test eax, eax
je 0x53f622
mov ebx, dword [esi + 4]
mov dword [ebp - 0x30], eax
shl eax, 4
mov esi, 1
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
add eax, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov ebx, edx
mov dword [ebp - 0x24], edx
jmp 0x53f5c1
mov ebx, edi
mov edx, dword [ebp - 0x24]
xor esi, esi
mov cl, 1
test edi, edi
je 0x53f6b3
test cl, 1
je 0x53f5d0
cmp eax, dword [ebp - 0x20]
mov ecx, ebx
jne 0x53f5e3
jmp 0x53f64e
mov ecx, dword [ebp - 0x20]
sub ecx, eax
shr ecx, 4
cmp ecx, esi
mov ecx, ebx
jbe 0x53f64e
shl esi, 4
add eax, esi
cmp ecx, edx
ja 0x53fea9
mov esi, dword [eax + 8]
cmp esi, ecx
cmovb ecx, esi
mov esi, dword [ebp - 0x48]
test ecx, ecx
je 0x53f6b1
mov edx, dword [eax + 4]
mov ebx, ecx
add eax, 0x10
xor edi, edi
nop dword [eax + eax]
movzx ecx, byte [edx + edi]
cmp cl, byte [esi + edi]
jne 0x53f5b0
inc edi
cmp ebx, edi
jne 0x53f610
mov edi, ebx
jmp 0x53f5b2
mov edi, dword [esi + 4]
xor eax, eax
jmp 0x53f78b
mov eax, ebx
sub eax, esi
jb 0x53fee1
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
mov ebx, esi
add edx, eax
mov eax, ecx
jmp 0x53f662
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
xor esi, esi
jmp 0x53f6b9
cmp ecx, edx
ja 0x53fef6
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
cmp ecx, 2
jb 0x53f6ad
lea ecx, [ebx - 1]
cmp ecx, 2
ja 0x53f6ad
cmp byte [ebp - 0x28], 0
je 0x53f6ad
movzx ecx, byte [edx]
cmp byte [ecx + str.743210_._g], 0xc7
ja 0x53f6ad
mov ecx, dword [ebp - 0x2c]
add edi, 8
shl eax, 4
jmp 0x53f69c
add edi, 0x10
add eax, 0xfffffff0
je 0x53f909
cmp dword [edi], 2
jb 0x53f690
mov byte [edi + 4], 0
mov dword [edi], 1
jmp 0x53f690
mov esi, ebx
jmp 0x53f6b9
xor esi, esi
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
mov edx, eax
shl eax, 4
mov ecx, edi
test eax, eax
je 0x53f6df
add eax, 0xfffffff0
cmp byte [ecx + 0xc], 0
lea ecx, [ecx + 0x10]
jne 0x53f6c0
xor eax, eax
cmp esi, 2
setb cl
cmp esi, 4
jbe 0x53f6f0
jmp 0x53f6fe
cmp edx, 0x11
setb al
cmp esi, 2
setb cl
cmp esi, 4
ja 0x53f6fe
or cl, al
je 0x53f6fe
mov esi, dword [ebp - 0x2c]
mov eax, edx
jmp 0x53f78b
cmp byte [ebp - 0x28], 0
je 0x53f724
add edi, 8
shl edx, 4
jmp 0x53f718
add edi, 0x10
add edx, 0xfffffff0
je 0x53f757
cmp dword [edi], esi
jbe 0x53f710
mov byte [edi + 4], 0
mov dword [edi], esi
jmp 0x53f710
mov ebx, edx
add edi, 0xc
shl ebx, 4
jmp 0x53f738
add edi, 0x10
add ebx, 0xfffffff0
je 0x53f757
mov eax, dword [edi - 4]
sub eax, esi
jbe 0x53f730
mov byte [edi], 0
mov ecx, dword [edi - 8]
add eax, ecx
push esi
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [edi - 4], esi
jmp 0x53f730
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004f88e0
cmp dword [esi], 0x80000000
je 0x53feba
mov eax, dword [esi + 8]
cmp eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 1
jne 0x53fec8
mov edi, dword [esi + 4]
mov eax, 1
lea ecx, [esi + 4]
mov ebx, eax
shl eax, 4
mov dword [ebp - 0x20], ecx
mov ecx, edi
nop dword [eax + eax]
test eax, eax
je 0x53f7ca
add eax, 0xfffffff0
cmp byte [ecx + 0xc], 0
lea ecx, [ecx + 0x10]
jne 0x53f7a0
mov dword [ebp - 0x44], 0x80000001
mov ebx, 0x80000001
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x53f7fe
jmp 0x53f8b3
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x70]
mov edx, edi
push ebx
call fcn.0053e0b0
add esp, 4
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
cmp eax, 0x80000000
je 0x53f8b3
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ebx
cmp edi, 0xa
jbe 0x53fac8
cmp byte [ebp - 0x28], 0
je 0x53f849
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x53f838
add eax, 0x10
add edi, 0xfffffff0
je 0x53f890
cmp dword [eax], 6
jb 0x53f830
mov byte [eax + 4], 0
mov dword [eax], 5
jmp 0x53f830
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x53f868
add eax, 0x10
add edi, 0xfffffff0
je 0x53f890
mov ecx, dword [eax - 4]
cmp ecx, 6
jb 0x53f860
mov byte [eax], 0
mov edx, dword [eax - 8]
mov esi, dword [ecx + edx - 5]
movzx ecx, byte [ecx + edx - 1]
mov dword [edx], esi
mov esi, dword [ebp - 0x2c]
mov byte [edx + 4], cl
mov dword [eax - 4], 5
jmp 0x53f860
cmp byte [ebp - 0x28], 0
je 0x53f8a7
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.0053ff40
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
jne 0x53f8c6
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, 0x80000000
jmp 0x53fb62
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0xb
jb 0x53fac8
cmp byte [ebp - 0x28], 0
je 0x53f913
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x53f8f8
add eax, 0x10
add edi, 0xfffffff0
je 0x53f945
cmp dword [eax], 5
jb 0x53f8f0
mov byte [eax + 4], 0
mov dword [eax], 4
jmp 0x53f8f0
call fcn.004f88e0
jmp 0x53fbdb
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x53f928
add eax, 0x10
add edi, 0xfffffff0
je 0x53f945
mov ecx, dword [eax - 4]
cmp ecx, 5
jb 0x53f920
mov byte [eax], 0
mov edx, dword [eax - 8]
mov ecx, dword [ecx + edx - 4]
mov dword [edx], ecx
mov dword [eax - 4], 4
jmp 0x53f920
cmp byte [ebp - 0x28], 0
je 0x53f95c
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.0053ff40
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x53f8b3
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0x41
jb 0x53fac8
cmp byte [ebp - 0x28], 0
je 0x53f9a7
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x53f996
add eax, 0x10
add edi, 0xfffffff0
je 0x53f9e6
cmp dword [eax], 4
jb 0x53f98e
mov byte [eax + 4], 0
mov dword [eax], 3
jmp 0x53f98e
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x53f9bc
add eax, 0x10
add edi, 0xfffffff0
je 0x53f9e6
mov ecx, dword [eax - 4]
cmp ecx, 4
jb 0x53f9b4
mov byte [eax], 0
mov edx, dword [eax - 8]
movzx esi, word [ecx + edx - 3]
movzx ecx, byte [ecx + edx - 1]
mov word [edx], si
mov esi, dword [ebp - 0x2c]
mov byte [edx + 2], cl
mov dword [eax - 4], 3
jmp 0x53f9b4
cmp byte [ebp - 0x28], 0
je 0x53f9fd
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.0053ff40
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x53f8b3
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0x41
jb 0x53fac8
cmp byte [ebp - 0x28], 0
je 0x53fa48
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x53fa37
add eax, 0x10
add edi, 0xfffffff0
je 0x53fa7c
cmp dword [eax], 3
jb 0x53fa2f
mov byte [eax + 4], 0
mov dword [eax], 2
jmp 0x53fa2f
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x53fa5d
add eax, 0x10
add edi, 0xfffffff0
je 0x53fa7c
mov ecx, dword [eax - 4]
cmp ecx, 3
jb 0x53fa55
mov byte [eax], 0
mov edx, dword [eax - 8]
movzx ecx, word [ecx + edx - 2]
mov word [edx], cx
mov dword [eax - 4], 2
jmp 0x53fa55
cmp byte [ebp - 0x28], 0
je 0x53fa93
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.0053ff40
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x53f8b3
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0xb
jb 0x53fac8
cmp byte [ebp - 0x28], 0
je 0x53fe23
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x53fe12
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x53fb2e
mov ebx, dword [ebp - 0x20]
mov eax, edi
xor ecx, ecx
shl eax, 4
jmp 0x53faf7
mov edx, dword [ebx + ecx + 4]
movzx edx, byte [edx]
cmp byte [edx + str.743210_._g], 0xf9
ja 0x53fb04
add ecx, 0x10
cmp eax, ecx
je 0x53fb5c
mov edx, dword [ebx + ecx + 8]
cmp edx, 1
je 0x53fae0
test edx, edx
jne 0x53faf0
mov eax, dword [ebp - 0x20]
mov esi, edi
lea ebx, [eax + 4]
jmp 0x53fb16
add ebx, 0x10
dec esi
je 0x53fb35
cmp dword [ebx - 4], 0
je 0x53fb10
push dword [ebx]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x53fb10
mov eax, dword [ebp - 0x30]
xor edi, edi
jmp 0x53fb62
cmp dword [ebp - 0x30], 0
je 0x53fb4c
push dword [ebp - 0x20]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebp - 0x2c]
mov eax, 0x80000000
mov dword [esi], 0x80000000
jmp 0x53fb5f
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
cmp ebx, 0x80000001
je 0x53fbdb
cmp eax, 0x80000000
jne 0x53fb82
mov eax, dword [ebp - 0x3c]
movq xmm0, qword [ebp - 0x44]
mov dword [esi + 8], eax
movq qword [esi], xmm0
jmp 0x53fbdb
test edi, edi
mov dword [ebp - 0x24], eax
je 0x53fba2
mov ebx, dword [ebp - 0x20]
cmp edi, 1
mov ecx, dword [ebx + 8]
jne 0x53fbec
cmp ecx, 2
jbe 0x53fd52
jmp 0x53fda2
mov eax, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x44]
mov dword [ebp - 0x68], eax
movsd qword [ebp - 0x70], xmm0
cmp dword [ebp - 0x24], 0
je 0x53fbc9
push dword [ebp - 0x20]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x2c]
movq xmm0, qword [ebp - 0x70]
mov dword [ecx + 8], eax
movq qword [ecx], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [edi + 0xfffffff]
xor edx, edx
mov eax, esi
and eax, 0xfffffff
cmp eax, 8
jb 0x53fd34
movd xmm0, ecx
and esi, 7
mov edx, eax
add ebx, 0x88
pshufd xmm1, xmm0, 0
movdqa xmm0, xmmword [0x589850]
sub edx, esi
mov ecx, edx
movdqa xmm2, xmm1
nop dword [eax + eax]
movd xmm3, dword [ebx - 0x40]
movd xmm5, dword [ebx - 0x50]
movd xmm4, dword [ebx - 0x70]
movd xmm6, dword [ebx - 0x20]
movdqa xmm7, xmm1
pxor xmm1, xmm0
punpckldq xmm5, xmm3
movd xmm3, dword [ebx - 0x60]
punpckldq xmm4, xmm3
movd xmm3, dword [ebx]
punpcklqdq xmm4, xmm5
movd xmm5, dword [ebx - 0x10]
punpckldq xmm5, xmm3
movd xmm3, dword [ebx - 0x30]
sub ebx, 0xffffff80
add ecx, 0xfffffff8
punpckldq xmm3, xmm6
movdqa xmm6, xmm4
pxor xmm6, xmm0
punpcklqdq xmm3, xmm5
pcmpgtd xmm6, xmm1
pand xmm7, xmm6
pandn xmm6, xmm4
movdqa xmm4, xmm2
pxor xmm2, xmm0
movdqa xmm1, xmm6
movdqa xmm6, xmm3
pxor xmm6, xmm0
por xmm1, xmm7
pcmpgtd xmm6, xmm2
pand xmm4, xmm6
pandn xmm6, xmm3
movdqa xmm2, xmm6
por xmm2, xmm4
jne 0x53fc30
movdqa xmm4, xmm1
movdqa xmm3, xmm2
mov ebx, dword [ebp - 0x20]
test esi, esi
pxor xmm4, xmm0
pxor xmm3, xmm0
pcmpgtd xmm3, xmm4
pand xmm1, xmm3
pandn xmm3, xmm2
por xmm3, xmm1
pshufd xmm2, xmm3, 0xee
movdqa xmm4, xmm3
movdqa xmm1, xmm2
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm1, xmm4
pand xmm3, xmm1
pandn xmm1, xmm2
por xmm1, xmm3
movdqa xmm3, xmm1
pshufd xmm2, xmm1, 0x55
pxor xmm3, xmm0
pxor xmm0, xmm2
pcmpgtd xmm0, xmm3
pand xmm1, xmm0
pandn xmm0, xmm2
por xmm0, xmm1
movd ecx, xmm0
je 0x53fd4d
sub eax, edx
shl edx, 4
lea edx, [edx + ebx + 0x18]
nop dword [eax]
mov esi, dword [edx]
cmp ecx, esi
cmovae ecx, esi
add edx, 0x10
dec eax
jne 0x53fd40
cmp ecx, 3
jae 0x53fd8e
mov eax, dword [ebp - 0x3c]
movsd xmm0, qword [ebp - 0x44]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
add ebx, 4
mov dword [ebp - 0x68], eax
movsd qword [ebp - 0x70], xmm0
jmp 0x53fd7a
add ebx, 0x10
dec edi
je 0x53fbb2
cmp dword [ebx - 4], 0
je 0x53fd70
push dword [ebx]
push 0
push dword [0x5fd290]
call esi
jmp 0x53fd70
mov esi, dword [ebp - 0x2c]
cmp edi, 0x40
jbe 0x53fda2
mov ecx, esi
call fcn.004f3510
jmp 0x53fb71
mov eax, dword [ebp - 0x44]
cmp eax, 0x80000000
je 0x53fbdb
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
test ebx, ebx
mov dword [ebp - 0x20], ecx
je 0x53fdea
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
lea edi, [eax + 4]
jmp 0x53fdd6
add edi, 0x10
dec ebx
je 0x53fdea
cmp dword [edi - 4], 0
je 0x53fdd0
push dword [edi]
push 0
push dword [0x5fd290]
call esi
jmp 0x53fdd0
cmp dword [ebp - 0x24], 0
je 0x53fbdb
push dword [ebp - 0x20]
push 0
push dword [0x5fd290]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x53fbdb
add eax, 0x10
add edi, 0xfffffff0
je 0x53fe56
cmp dword [eax], 2
jb 0x53fe0a
mov byte [eax + 4], 0
mov dword [eax], 1
jmp 0x53fe0a
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x53fe38
add eax, 0x10
add edi, 0xfffffff0
je 0x53fe56
mov ecx, dword [eax - 4]
cmp ecx, 2
jb 0x53fe30
mov byte [eax], 0
mov edx, dword [eax - 8]
movzx ecx, byte [ecx + edx - 1]
mov byte [edx], cl
mov dword [eax - 4], 1
jmp 0x53fe30
cmp byte [ebp - 0x28], 0
je 0x53fe6d
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.0053ff40
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
cmp ecx, 0x80000000
mov eax, 0x80000000
mov dword [ebp - 0x30], ecx
jne 0x53fad0
jmp 0x53fb62
mov dword [ebp - 0x10], 0xffffffff
mov ecx, eax
mov edx, ebx
push 0x5a0ec0
call fcn.0057f6b0
mov dword [ebp - 0x10], 0xffffffff
push 0x5a0ea0
call fcn.0057f770
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x70]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x10], 0xffffffff
call fcn.00587190
mov edx, ebx
mov dword [ebp - 0x10], 0xffffffff
mov ecx, eax
push 0x5a0eb0
call fcn.0057f6b0
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push 0x5a0e90
call fcn.0057f770
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
cmp dword [ebp - 0x24], 0x80000001
jne 0x53ff25
add esp, 0xc
pop ebp
ret
lea ecx, [ebp - 0x44]
call fcn.004f3510
add esp, 0xc
pop ebp
ret