Function at 0x1006e330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b7763
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov dword [esp + 0x30], edx
mov eax, dword [ebp + 0x14]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x1006e3b4
mov ecx, dword [ecx + 0x84]
jmp 0x1006e3b6
xor ecx, ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.10097c50
mov ecx, dword [esp + 0x30]
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x12], al
mov byte [esp + 0x15], al
mov ecx, dword [ecx + 0x14]
mov byte [esp + 0x17], al
mov byte [esp + 0x16], al
mov dword [esp + 0x28], 0
test ecx, ecx
je 0x1006e3f9
mov edx, dword [ecx + 0x84]
jmp 0x1006e3fb
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx eax, ax
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x1006e418
mov ecx, dword [ecx + 0x84]
jmp 0x1006e41a
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
lea ecx, [esp + 0x34]
sar eax, 2
movzx eax, ax
push 0x100
mov dword [esp + 0x1c], eax
call fcn.100940a0
mov dword [esp + 0xc8], 0
cmp edi, 0x2a00
mov edi, dword [esp + 0x34]
mov dword [esp + 0xa8], 0xe8
mov dword [esp + 0xac], 0x24048b00
mov dword [esp + 0xb0], 0xcb9889fc
mov dword [esp + 0xb4], 0xf700002f
jbe 0x1006eb0b
mov eax, dword [esp + 0x18]
add eax, 0xfffffffe
cmp ax, 1
ja 0x1006eb0b
mov eax, dword [ebp + 8]
cmp eax, 0x40
je 0x1006e4a3
cmp eax, 0x154
jne 0x1006eb0b
mov eax, dword [esp + 0x1c]
add eax, 0xffffd600
lea ecx, [eax + ebx]
mov dword [esi], eax
mov al, byte [ecx + 2]
mov dl, byte [ecx + 1]
cmp dl, al
jne 0x1006e5dc
mov ah, byte [ecx + 3]
cmp al, ah
jne 0x1006e5dc
cmp ah, byte [ecx + 4]
jne 0x1006e5dc
mov eax, dword [esp + 0x24]
lea edi, [esp + 0xa8]
xor ecx, ecx
mov byte [eax], dl
mov eax, dword [esi]
sub eax, edi
mov edi, dword [esp + 0x34]
add eax, ebx
mov dword [esp + 0x1c], eax
add eax, ecx
mov al, byte [esp + eax + 0xa8]
xor al, dl
cmp al, byte [esp + ecx + 0xa8]
jne 0x1006e510
mov eax, dword [esp + 0x1c]
inc ecx
cmp ecx, 0xb
jb 0x1006e4f0
jmp 0x1006e515
cmp ecx, 0xb
jb 0x1006e566
mov edx, dword [esp + 0x24]
xor ecx, ecx
jmp 0x1006e520
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx]
xor al, byte [edx]
mov byte [edi + ecx], al
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx + 1]
xor al, byte [edx]
mov byte [edi + ecx + 1], al
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx + 2]
xor al, byte [edx]
mov byte [edi + ecx + 2], al
add ecx, 3
cmp ecx, 0x50
jle 0x1006e520
mov eax, dword [esp + 0x2c]
mov byte [eax], 0
mov eax, dword [esp + 0x20]
mov dword [eax], 1
jmp 0x1006e715
xor ecx, ecx
jmp 0x1006e570
mov eax, dword [esp + 0x1c]
add eax, ecx
mov al, byte [esp + eax + 0xa8]
sub al, dl
cmp al, byte [esp + ecx + 0xa8]
jne 0x1006e590
inc ecx
cmp ecx, 0xb
jb 0x1006e570
jmp 0x1006e599
cmp ecx, 0xb
jb 0x1006e715
mov edx, dword [esp + 0x24]
xor ecx, ecx
nop
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx]
sub al, byte [edx]
mov byte [edi + ecx], al
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx + 1]
sub al, byte [edx]
mov byte [edi + ecx + 1], al
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx + 2]
sub al, byte [edx]
mov byte [edi + ecx + 2], al
add ecx, 3
cmp ecx, 0x50
jle 0x1006e5a0
mov eax, dword [esp + 0x2c]
mov byte [eax], 0
jmp 0x1006e70b
movzx eax, al
mov dword [esp + 0x1c], eax
movzx eax, dl
inc eax
cmp dword [esp + 0x1c], eax
jne 0x1006eb0b
movzx eax, byte [ecx + 3]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp dword [esp + 0x18], eax
jne 0x1006eb0b
mov eax, dword [esp + 0x18]
movzx ecx, byte [ecx + 4]
inc eax
cmp ecx, eax
jne 0x1006eb0b
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xa8]
dec dl
mov byte [esp + 0x14], dl
mov byte [eax], dl
xor edx, edx
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
mov dword [esp + 0x18], eax
mov ah, byte [esp + 0x14]
lea esp, [esp]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
add ecx, edx
mov al, dl
add al, ah
xor al, byte [edi + ecx]
mov edi, dword [esp + 0x34]
cmp al, byte [ecx]
jne 0x1006e664
inc edx
cmp edx, 0xb
jb 0x1006e640
jmp 0x1006e669
cmp edx, 0xb
jb 0x1006e699
xor edx, edx
jmp 0x1006e670
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
add ecx, edx
mov al, byte [eax]
add al, dl
xor al, byte [ecx + ebx]
mov byte [edi + edx], al
inc edx
cmp edx, 0x50
jle 0x1006e670
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
mov eax, dword [esp + 0x20]
mov dword [eax], 1
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xa8]
xor edx, edx
mov al, byte [eax]
mov byte [esp + 0x14], al
mov eax, dword [esi]
sub eax, ecx
add eax, ebx
mov dword [esp + 0x18], eax
mov ah, byte [esp + 0x14]
lea ebx, [ebx]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
add ecx, edx
mov al, byte [edi + ecx]
mov edi, dword [esp + 0x34]
sub al, ah
sub al, dl
cmp al, byte [ecx]
jne 0x1006e6e4
inc edx
cmp edx, 0xb
jb 0x1006e6c0
jmp 0x1006e6e9
cmp edx, 0xb
jb 0x1006e715
mov edx, dword [esp + 0x24]
xor ecx, ecx
nop
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax + ebx]
sub al, byte [edx]
sub al, cl
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x50
jle 0x1006e6f0
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
mov eax, dword [esp + 0x20]
mov dword [eax], 2
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push 0
sub eax, edi
push eax
push edi
call fcn.1001d150
mov edx, dword [esp + 0x44]
xor esi, esi
mov edi, edi
cmp esi, 0x100
jae 0x1006eadb
lea eax, [esi + 7]
cmp eax, 0x100
jae 0x1006e788
cmp byte [edi + esi], 0xe8
jne 0x1006e788
cmp byte [edi + esi + 1], 0
jne 0x1006e788
cmp byte [edi + esi + 2], 0
jne 0x1006e788
cmp byte [edi + esi + 3], 0
jne 0x1006e788
cmp byte [edi + esi + 4], 0
jne 0x1006e788
cmp byte [edi + esi + 5], 0x8b
jne 0x1006e788
cmp byte [edi + esi + 6], 4
jne 0x1006e788
cmp byte [edi + esi + 7], 0x24
jne 0x1006e788
mov bl, 1
mov byte [esp + 0x13], bl
jmp 0x1006eab0
mov bl, byte [esp + 0x13]
lea eax, [esi + 9]
cmp eax, 0x100
jae 0x1006e7dc
test bl, bl
je 0x1006e7dc
cmp byte [edi + esi], 0xf7
jne 0x1006e7dc
cmp byte [edi + esi + 1], 0x80
jne 0x1006e7dc
cmp byte [edi + esi + 3], 0x28
jne 0x1006e7dc
cmp byte [edi + esi + 4], 0
jne 0x1006e7dc
cmp byte [edi + esi + 5], 0
jne 0x1006e7dc
cmp byte [edi + esi + 6], 0
jne 0x1006e7dc
cmp byte [edi + esi + 7], 0
jne 0x1006e7dc
cmp byte [edi + esi + 8], 0
jne 0x1006e7dc
cmp byte [edi + esi + 9], 0x80
je 0x1006eaab
lea ecx, [esi + 5]
cmp ecx, 0x100
jae 0x1006e818
test bl, bl
je 0x1006e818
cmp byte [edi + esi], 0x81
jne 0x1006e818
cmp byte [edi + esi + 1], 0xe1
jne 0x1006e818
cmp byte [edi + esi + 2], 0
jne 0x1006e818
cmp byte [edi + esi + 3], 0
jne 0x1006e818
cmp byte [edi + esi + 4], 0
jne 0x1006e818
cmp byte [edi + esi + 5], 0x80
je 0x1006eaab
lea eax, [esi + 6]
cmp eax, 0x100
jae 0x1006e85c
cmp byte [esp + 0x12], 0
je 0x1006e85c
cmp byte [edi + esi], 0x80
jne 0x1006e85c
cmp byte [edi + esi + 1], 0xb8
jne 0x1006e85c
cmp byte [edi + esi + 3], 0x28
jne 0x1006e85c
cmp byte [edi + esi + 4], 0
jne 0x1006e85c
cmp byte [edi + esi + 5], 0
jne 0x1006e85c
cmp byte [edi + esi + 6], 0xe8
jne 0x1006e85c
mov byte [esp + 0x15], 1
jmp 0x1006eab0
cmp ecx, 0x100
jae 0x1006e897
cmp byte [esp + 0x15], 0
je 0x1006e897
cmp byte [edi + esi], 3
jne 0x1006e897
cmp byte [edi + esi + 1], 0x98
jne 0x1006e897
cmp byte [edi + esi + 3], 0x28
jne 0x1006e897
cmp byte [edi + esi + 4], 0
jne 0x1006e897
cmp byte [edi + esi + 5], 0
jne 0x1006e897
mov byte [esp + 0x17], 1
jmp 0x1006eab0
lea ebx, [esi + 4]
mov dword [esp + 0x1c], ebx
cmp ebx, 0x100
jae 0x1006e8d3
cmp byte [esp + 0x17], 0
je 0x1006e8d3
cmp byte [edi + esi], 0x8b
jne 0x1006e8d3
cmp byte [edi + esi + 1], 0x5b
jne 0x1006e8d3
cmp byte [edi + esi + 2], 2
jne 0x1006e8d3
cmp byte [edi + esi + 3], 0xff
jne 0x1006e8d3
cmp byte [edi + esi + 4], 0x33
je 0x1006eb07
mov al, byte [edi + esi]
cmp al, 0xc3
je 0x1006eadb
lea ecx, [esi + 1]
cmp ecx, 0x100
jae 0x1006e90d
cmp al, 0xeb
jne 0x1006e90d
movsx eax, byte [edi + esi + 1]
inc eax
add esi, eax
lea eax, [esi + 1]
add eax, edx
cmp eax, dword [esp + 0x48]
ja 0x1006eac8
mov dword [esp + 0x4c], eax
jmp 0x1006eac8
cmp ebx, 0x100
jae 0x1006eab0
cmp al, 0xe9
jne 0x1006eab0
movzx ecx, byte [edi + esi + 4]
movzx eax, byte [edi + esi + 3]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x20], esi
movzx eax, byte [edi + esi + 2]
shl ecx, 8
add ecx, eax
mov dword [esp + 0xa8], 0
movzx eax, byte [edi + esi + 1]
shl ecx, 8
add ecx, eax
mov dword [esp + 0xac], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0xb0], 0
mov byte [esp + 0xc8], 1
lea eax, [esp + 0xa8]
push eax
mov eax, dword [esp + 0x34]
push esi
mov ecx, dword [eax + 0x14]
call fcn.100979a0
test al, al
jne 0x1006e9e8
mov eax, dword [esp + 0x44]
mov esi, ebx
inc eax
add eax, esi
cmp eax, dword [esp + 0x48]
ja 0x1006e9a1
mov dword [esp + 0x4c], eax
mov byte [esp + 0xc8], 0
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x1006eac4
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
jmp 0x1006eac4
mov ecx, dword [esp + 0xac]
mov eax, ecx
mov ebx, dword [esp + 0xa8]
sub eax, ebx
and eax, 0xfffffff8
cmp eax, 8
jne 0x1006ea06
mov eax, dword [ebx]
jmp 0x1006ea21
mov eax, ebx
cmp ebx, ecx
je 0x1006ea25
mov edx, dword [esp + 0x40]
cmp word [eax + 4], dx
je 0x1006ea1f
add eax, 8
cmp eax, ecx
jne 0x1006ea10
jmp 0x1006ea25
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add ecx, 5
add edx, ecx
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0x84]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test ax, ax
je 0x1006ea6e
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x1006ea65
mov eax, dword [ecx + 8]
mov eax, dword [eax]
jmp 0x1006ea67
xor eax, eax
mov eax, dword [eax]
cmp edx, dword [eax + 0xc]
jb 0x1006ea88
push 1
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x20]
push eax
push edx
call fcn.10099ab0
test al, al
jne 0x1006ea88
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
inc eax
add eax, esi
cmp eax, dword [esp + 0x48]
ja 0x1006ea99
mov dword [esp + 0x4c], eax
mov byte [esp + 0xc8], 0
test ebx, ebx
je 0x1006eac4
push ebx
jmp 0x1006e9b9
mov byte [esp + 0x12], 1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.100ae1f0
test eax, eax
je 0x1006eb0b
dec esi
add esi, eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
inc esi
inc eax
mov dword [esp + 0x28], eax
cmp eax, 0x32
jl 0x1006e730
mov cl, byte [esp + 0x16]
mov al, byte [esp + 0x13]
test al, al
je 0x1006eb0b
cmp byte [esp + 0x12], 0
je 0x1006eb0b
cmp byte [esp + 0x15], 0
je 0x1006eb0b
cmp byte [esp + 0x17], 0
je 0x1006eb0b
test cl, cl
je 0x1006eb0b
mov esi, 1
jmp 0x1006eb0d
mov cl, 1
jmp 0x1006eadf
xor esi, esi
mov dword [esp + 0xc8], 0xffffffff
test edi, edi
je 0x1006eb3e
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, esi
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.100b37df
mov esp, ebp
pop ebp
ret