Function at 0x4ec4c0
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], 0x5391f0
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 0x4ece9b
mov edx, dword [esi + 8]
mov dword [ebp - 0x2c], esi
test edx, edx
mov dword [ebp - 0x38], edx
je 0x4ec534
mov ecx, dword [esi + 4]
cmp edx, 1
mov ebx, dword [ecx + 8]
mov eax, ecx
mov dword [ebp - 0x34], ecx
jne 0x4ec548
test ebx, ebx
je 0x4ec6e3
cmp byte [ebp - 0x28], 0
jne 0x4ec6be
jmp 0x4ec73f
xor eax, eax
cmp byte [ebp - 0x28], 0
jne 0x4ec6be
mov edi, dword [esi + 4]
jmp 0x4eca4b
add edx, 0xfffffff
xor esi, esi
mov ecx, ebx
mov eax, edx
and eax, 0xfffffff
cmp eax, 8
jb 0x4ec693
movd xmm0, ebx
mov ecx, dword [ebp - 0x34]
and edx, 7
mov esi, eax
pshufd xmm1, xmm0, 0
movdqa xmm0, xmmword [0x5473a0]
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 0x4ec590
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 0x4ec6ad
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 0x4ec6a0
test ecx, ecx
je 0x4ec6e3
cmp byte [ebp - 0x28], 0
mov esi, dword [ebp - 0x2c]
je 0x4ec73f
mov ecx, esi
mov dword [ebp - 0x10], 0xffffffff
call fcn.004ed200
cmp dword [esi], 0x80000000
jne 0x4ec837
lea eax, [esi + 4]
mov dword [ebp - 0x20], eax
jmp 0x4eca70
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 0x4ec706
add esi, 0x10
dec ebx
je 0x4ec71a
cmp dword [esi - 4], 0
je 0x4ec700
push dword [esi]
push 0
push dword [0x5b93c8]
call edi
jmp 0x4ec700
cmp dword [ebp - 0x20], 0
je 0x4ec731
push dword [ebp - 0x34]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0x80000000
jmp 0x4ece9b
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 0x4ec788
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 0x4ec907
test al, 1
je 0x4ec7a0
cmp edx, dword [ebp - 0x4c]
jne 0x4ec7b5
jmp 0x4ec8ec
mov eax, dword [ebp - 0x4c]
sub eax, edx
shr eax, 4
cmp eax, ecx
jbe 0x4ec8ec
shl ecx, 4
add edx, ecx
mov eax, ebx
sub eax, esi
jb 0x4ed154
mov edi, dword [edx + 8]
mov ecx, dword [ebp - 0x48]
test edi, edi
je 0x4ec904
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 0x4ec770
movzx eax, byte [ecx + edx]
mov esi, dword [ebp - 0x24]
cmp al, byte [esi + edx]
jne 0x4ec830
inc ebx
mov eax, edi
dec edx
add eax, ebx
jne 0x4ec800
mov esi, dword [ebp - 0x54]
jmp 0x4ec773
mov esi, ebx
jmp 0x4ec773
mov eax, dword [esi + 8]
test eax, eax
je 0x4ec8e2
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 0x4ec881
mov ebx, edi
mov edx, dword [ebp - 0x24]
xor esi, esi
mov cl, 1
test edi, edi
je 0x4ec973
test cl, 1
je 0x4ec890
cmp eax, dword [ebp - 0x20]
mov ecx, ebx
jne 0x4ec8a3
jmp 0x4ec90e
mov ecx, dword [ebp - 0x20]
sub ecx, eax
shr ecx, 4
cmp ecx, esi
mov ecx, ebx
jbe 0x4ec90e
shl esi, 4
add eax, esi
cmp ecx, edx
ja 0x4ed169
mov esi, dword [eax + 8]
cmp esi, ecx
cmovb ecx, esi
mov esi, dword [ebp - 0x48]
test ecx, ecx
je 0x4ec971
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 0x4ec870
inc edi
cmp ebx, edi
jne 0x4ec8d0
mov edi, ebx
jmp 0x4ec872
mov edi, dword [esi + 4]
xor eax, eax
jmp 0x4eca4b
mov eax, ebx
sub eax, esi
jb 0x4ed1a1
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
mov ebx, esi
add edx, eax
mov eax, ecx
jmp 0x4ec922
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
xor esi, esi
jmp 0x4ec979
cmp ecx, edx
ja 0x4ed1b6
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
cmp ecx, 2
jb 0x4ec96d
lea ecx, [ebx - 1]
cmp ecx, 2
ja 0x4ec96d
cmp byte [ebp - 0x28], 0
je 0x4ec96d
movzx ecx, byte [edx]
cmp byte [ecx + str.743210_._g], 0xc7
ja 0x4ec96d
mov ecx, dword [ebp - 0x2c]
add edi, 8
shl eax, 4
jmp 0x4ec95c
add edi, 0x10
add eax, 0xfffffff0
je 0x4ecbc9
cmp dword [edi], 2
jb 0x4ec950
mov byte [edi + 4], 0
mov dword [edi], 1
jmp 0x4ec950
mov esi, ebx
jmp 0x4ec979
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 0x4ec99f
add eax, 0xfffffff0
cmp byte [ecx + 0xc], 0
lea ecx, [ecx + 0x10]
jne 0x4ec980
xor eax, eax
cmp esi, 2
setb cl
cmp esi, 4
jbe 0x4ec9b0
jmp 0x4ec9be
cmp edx, 0x11
setb al
cmp esi, 2
setb cl
cmp esi, 4
ja 0x4ec9be
or cl, al
je 0x4ec9be
mov esi, dword [ebp - 0x2c]
mov eax, edx
jmp 0x4eca4b
cmp byte [ebp - 0x28], 0
je 0x4ec9e4
add edi, 8
shl edx, 4
jmp 0x4ec9d8
add edi, 0x10
add edx, 0xfffffff0
je 0x4eca17
cmp dword [edi], esi
jbe 0x4ec9d0
mov byte [edi + 4], 0
mov dword [edi], esi
jmp 0x4ec9d0
mov ebx, edx
add edi, 0xc
shl ebx, 4
jmp 0x4ec9f8
add edi, 0x10
add ebx, 0xfffffff0
je 0x4eca17
mov eax, dword [edi - 4]
sub eax, esi
jbe 0x4ec9f0
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 0x4ec9f0
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.004a5410
cmp dword [esi], 0x80000000
je 0x4ed17a
mov eax, dword [esi + 8]
cmp eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 1
jne 0x4ed188
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 0x4eca8a
add eax, 0xfffffff0
cmp byte [ecx + 0xc], 0
lea ecx, [ecx + 0x10]
jne 0x4eca60
mov dword [ebp - 0x44], 0x80000001
mov ebx, 0x80000001
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x4ecabe
jmp 0x4ecb73
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x70]
mov edx, edi
push ebx
call fcn.004eb2a0
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 0x4ecb73
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ebx
cmp edi, 0xa
jbe 0x4ecd88
cmp byte [ebp - 0x28], 0
je 0x4ecb09
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x4ecaf8
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecb50
cmp dword [eax], 6
jb 0x4ecaf0
mov byte [eax + 4], 0
mov dword [eax], 5
jmp 0x4ecaf0
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x4ecb28
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecb50
mov ecx, dword [eax - 4]
cmp ecx, 6
jb 0x4ecb20
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 0x4ecb20
cmp byte [ebp - 0x28], 0
je 0x4ecb67
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.004ed200
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
jne 0x4ecb86
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, 0x80000000
jmp 0x4ece22
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0xb
jb 0x4ecd88
cmp byte [ebp - 0x28], 0
je 0x4ecbd3
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x4ecbb8
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecc05
cmp dword [eax], 5
jb 0x4ecbb0
mov byte [eax + 4], 0
mov dword [eax], 4
jmp 0x4ecbb0
call fcn.004a5410
jmp 0x4ece9b
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x4ecbe8
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecc05
mov ecx, dword [eax - 4]
cmp ecx, 5
jb 0x4ecbe0
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 0x4ecbe0
cmp byte [ebp - 0x28], 0
je 0x4ecc1c
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.004ed200
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x4ecb73
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0x41
jb 0x4ecd88
cmp byte [ebp - 0x28], 0
je 0x4ecc67
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x4ecc56
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecca6
cmp dword [eax], 4
jb 0x4ecc4e
mov byte [eax + 4], 0
mov dword [eax], 3
jmp 0x4ecc4e
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x4ecc7c
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecca6
mov ecx, dword [eax - 4]
cmp ecx, 4
jb 0x4ecc74
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 0x4ecc74
cmp byte [ebp - 0x28], 0
je 0x4eccbd
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.004ed200
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x4ecb73
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0x41
jb 0x4ecd88
cmp byte [ebp - 0x28], 0
je 0x4ecd08
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x4eccf7
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecd3c
cmp dword [eax], 3
jb 0x4eccef
mov byte [eax + 4], 0
mov dword [eax], 2
jmp 0x4eccef
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x4ecd1d
add eax, 0x10
add edi, 0xfffffff0
je 0x4ecd3c
mov ecx, dword [eax - 4]
cmp ecx, 3
jb 0x4ecd15
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 0x4ecd15
cmp byte [ebp - 0x28], 0
je 0x4ecd53
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.004ed200
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x24]
cmp eax, 0x80000000
je 0x4ecb73
mov edi, dword [esi + 8]
mov dword [ebp - 0x30], eax
cmp edi, 0xb
jb 0x4ecd88
cmp byte [ebp - 0x28], 0
je 0x4ed0e3
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 8
jmp 0x4ed0d2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x4ecdee
mov ebx, dword [ebp - 0x20]
mov eax, edi
xor ecx, ecx
shl eax, 4
jmp 0x4ecdb7
mov edx, dword [ebx + ecx + 4]
movzx edx, byte [edx]
cmp byte [edx + str.743210_._g], 0xf9
ja 0x4ecdc4
add ecx, 0x10
cmp eax, ecx
je 0x4ece1c
mov edx, dword [ebx + ecx + 8]
cmp edx, 1
je 0x4ecda0
test edx, edx
jne 0x4ecdb0
mov eax, dword [ebp - 0x20]
mov esi, edi
lea ebx, [eax + 4]
jmp 0x4ecdd6
add ebx, 0x10
dec esi
je 0x4ecdf5
cmp dword [ebx - 4], 0
je 0x4ecdd0
push dword [ebx]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4ecdd0
mov eax, dword [ebp - 0x30]
xor edi, edi
jmp 0x4ece22
cmp dword [ebp - 0x30], 0
je 0x4ece0c
push dword [ebp - 0x20]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebp - 0x2c]
mov eax, 0x80000000
mov dword [esi], 0x80000000
jmp 0x4ece1f
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
cmp ebx, 0x80000001
je 0x4ece9b
cmp eax, 0x80000000
jne 0x4ece42
mov eax, dword [ebp - 0x3c]
movq xmm0, qword [ebp - 0x44]
mov dword [esi + 8], eax
movq qword [esi], xmm0
jmp 0x4ece9b
test edi, edi
mov dword [ebp - 0x24], eax
je 0x4ece62
mov ebx, dword [ebp - 0x20]
cmp edi, 1
mov ecx, dword [ebx + 8]
jne 0x4eceac
cmp ecx, 2
jbe 0x4ed012
jmp 0x4ed062
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 0x4ece89
push dword [ebp - 0x20]
push 0
push dword [0x5b93c8]
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 0x4ecff4
movd xmm0, ecx
and esi, 7
mov edx, eax
add ebx, 0x88
pshufd xmm1, xmm0, 0
movdqa xmm0, xmmword [0x5473a0]
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 0x4ecef0
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 0x4ed00d
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 0x4ed000
cmp ecx, 3
jae 0x4ed04e
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 0x4ed03a
add ebx, 0x10
dec edi
je 0x4ece72
cmp dword [ebx - 4], 0
je 0x4ed030
push dword [ebx]
push 0
push dword [0x5b93c8]
call esi
jmp 0x4ed030
mov esi, dword [ebp - 0x2c]
cmp edi, 0x40
jbe 0x4ed062
mov ecx, esi
call fcn.004a00e0
jmp 0x4ece31
mov eax, dword [ebp - 0x44]
cmp eax, 0x80000000
je 0x4ece9b
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
test ebx, ebx
mov dword [ebp - 0x20], ecx
je 0x4ed0aa
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
lea edi, [eax + 4]
jmp 0x4ed096
add edi, 0x10
dec ebx
je 0x4ed0aa
cmp dword [edi - 4], 0
je 0x4ed090
push dword [edi]
push 0
push dword [0x5b93c8]
call esi
jmp 0x4ed090
cmp dword [ebp - 0x24], 0
je 0x4ece9b
push dword [ebp - 0x20]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4ece9b
add eax, 0x10
add edi, 0xfffffff0
je 0x4ed116
cmp dword [eax], 2
jb 0x4ed0ca
mov byte [eax + 4], 0
mov dword [eax], 1
jmp 0x4ed0ca
mov eax, dword [ebp - 0x20]
shl edi, 4
mov eax, dword [eax]
add eax, 0xc
jmp 0x4ed0f8
add eax, 0x10
add edi, 0xfffffff0
je 0x4ed116
mov ecx, dword [eax - 4]
cmp ecx, 2
jb 0x4ed0f0
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 0x4ed0f0
cmp byte [ebp - 0x28], 0
je 0x4ed12d
mov ecx, esi
mov dword [ebp - 0x10], 0
call fcn.004ed200
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 0x4ecd90
jmp 0x4ece22
mov dword [ebp - 0x10], 0xffffffff
mov ecx, eax
mov edx, ebx
push 0x55a884
call fcn.0053bab0
mov dword [ebp - 0x10], 0xffffffff
push 0x55a864
call fcn.0053bb70
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.00545400
mov edx, ebx
mov dword [ebp - 0x10], 0xffffffff
mov ecx, eax
push 0x55a874
call fcn.0053bab0
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
push 0x55a854
call fcn.0053bb70
nop dword [eax]
push ebp
sub esp, 0xc
add ebp, 0xc
cmp dword [ebp - 0x24], 0x80000001
jne 0x4ed1e5
add esp, 0xc
pop ebp
ret
lea ecx, [ebp - 0x44]
call fcn.004a00e0
add esp, 0xc
pop ebp
ret