Function at 0x4369e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov dword [esp + 0x34], ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x40], 0x2050407
mov dword [esp + 0x44], 0
mov dword [esp + 0x47], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xa
ja 0x436a97
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x40]
lea edx, [eax + 0x3e506d01]
inc eax
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, eax
xor ecx, 0xf8
and eax, 0x78
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x40], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xb
jb 0x436a50
mov eax, dword [esp + 0x40]
mov ecx, dword [0x446c20]
test ecx, ecx
je 0x436aee
xor edx, edx
mov esi, dword [0x446c24]
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x436ac0
inc edx
cmp ecx, edx
jne 0x436ab0
jmp 0x436aee
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x436aee
lea eax, [esp + 0x24]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x446c28]
push ecx
call fcn.00437df0
add esp, 0x24
test eax, eax
js 0x43715a
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0x10000
jmp 0x436b60
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, ecx
and edx, eax
xor ecx, eax
lea eax, [ecx + edx*2]
mov dword [esp + 0x30], eax
cmp eax, 0x7fffffff
jae 0x43708a
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [esp + 0x10], 0x2050407
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x436bd7
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x10]
lea esi, [eax + 0x3e506d01]
inc eax
and eax, edx
or esi, edx
sub esi, eax
mov dword [esp + 8], esi
mov eax, dword [esp + 8]
mov edx, eax
xor edx, 0xf8
and eax, 0x78
lea eax, [edx + eax*2]
inc al
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436b90
mov eax, dword [esp + 0x10]
mov edx, dword [0x446c20]
test edx, edx
je 0x436c30
xor esi, esi
mov edi, dword [0x446c24]
nop
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x436c00
inc esi
cmp edx, esi
jne 0x436bf0
jmp 0x436c30
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x436c30
push 0
push 0x1c
lea eax, [esp + 0x48]
push eax
push 0
push dword [esp + 0x40]
push ecx
push 6
push dword [0x446c28]
push edx
call fcn.00437df0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43708a
test eax, eax
js 0x436b40
cmp dword [esp + 0x50], 0x1000
jne 0x436b40
cmp dword [esp + 0x54], 1
je 0x436b40
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x4c], eax
jbe 0x436e2a
mov dword [esp + 0x10], 0x2050407
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x436ce7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x3e506d01]
inc eax
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
xor ecx, 0xf8
and eax, 0x78
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436ca0
mov eax, dword [0x446c20]
test eax, eax
je 0x436d3a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x446c24]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x436d10
inc edx
cmp eax, edx
jne 0x436d00
jmp 0x436d3a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x436d3a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x446c28]
push eax
call fcn.00437df0
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], 0x2050407
lea eax, [esp + 0x14]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x436dc7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x3e506d01]
inc eax
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
xor ecx, 0xf8
and eax, 0x78
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x436d80
mov eax, dword [esp + 0x10]
mov ecx, dword [0x446c20]
test ecx, ecx
je 0x436e1e
xor edx, edx
mov esi, dword [0x446c24]
nop
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x436df0
inc edx
cmp ecx, edx
jne 0x436de0
jmp 0x436e1e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x436e1e
push 4
push 0x3000
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x446c28]
push ecx
call fcn.00437df0
add esp, 0x24
test eax, eax
js 0x43708a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x3c]
call fcn.00436870
cmp eax, 0xbfffffff
ja 0x436b40
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.00437170
add esp, 0x18
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp esi, ecx
je 0x436b40
mov eax, ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], ecx
mov edi, dword [ebx + 4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
jmp 0x436ec3
mov ebx, dword [ebp + 8]
mov edx, ecx
mov ecx, ebx
mov ebx, dword [esp + 0x70]
mov dword [esi + edx*4], ebx
add edi, 4
mov dword [ecx + 4], edi
mov esi, dword [esp + 0x6c]
add esi, 4
cmp esi, eax
je 0x437064
mov dword [esp + 0x6c], esi
mov ebx, dword [esi]
sub ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x30]
mov dword [esp + 0x70], ebx
mov edx, edi
mov esi, dword [esp + 0x20]
sub edx, esi
mov ecx, edx
sar ecx, 2
cmp edi, dword [esp + 0x2c]
jne 0x436ea0
mov dword [esp + 0x28], edx
lea eax, [ecx + 1]
mov edx, ecx
shr edx, 1
mov dword [esp + 0x68], ecx
add edx, ecx
cmp edx, eax
ja 0x436eff
mov edx, eax
mov dword [esp + 0x2c], edx
lea eax, [edx*4]
push eax
call fcn.00408d40
add esp, 4
mov esi, eax
mov edx, dword [esp + 0x20]
test edx, edx
mov ebx, dword [ebp + 8]
je 0x437040
cmp esi, edx
mov dword [esp + 0x38], esi
jbe 0x436fef
cmp edi, esi
jbe 0x436fef
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x43702d
lea ecx, [ebx + 0x4cfb6981]
mov esi, dword [esp + 0x20]
lea eax, [esi + ecx]
add eax, 0xb304967e
mov edx, dword [esp + 0x38]
add ecx, edx
add ecx, 0xb304967e
not esi
add esi, edi
and ebx, 7
je 0x436f84
neg ebx
xor edi, edi
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
dec edi
cmp ebx, edi
jne 0x436f70
add eax, edi
add ecx, edi
add dword [esp + 0x28], edi
cmp esi, 7
mov edi, dword [esp + 0x28]
jb 0x43702d
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp edi, edx
jne 0x436fa0
jmp 0x43702d
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 2
mov ebx, edx
mov edi, esi
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
mov ecx, edx
mov edx, eax
and edx, 0xfffffffc
add esi, edx
add edx, ecx
mov ecx, eax
shr ecx, 1
and ecx, 1
mov ebx, edx
mov edi, esi
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test al, 1
je 0x43702d
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
push dword [esp + 0x20]
call fcn.00408d50
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x38]
mov dword [ebx], esi
mov edx, dword [esp + 0x68]
lea edi, [esi + edx*4]
mov eax, dword [esp + 0x2c]
lea eax, [esi + eax*4]
mov dword [esp + 0x2c], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x64]
jmp 0x436ea5
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x436b40
cmp eax, ecx
je 0x436b40
push eax
call fcn.00408d50
add esp, 4
jmp 0x436b40
mov dword [esp + 0x10], 0x2050407
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x437107
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax + 0x3e506d01]
inc eax
and eax, ecx
or edx, ecx
sub edx, eax
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
mov ecx, eax
xor ecx, 0xf8
and eax, 0x78
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x4370c0
mov eax, dword [0x446c20]
test eax, eax
je 0x43715a
mov ecx, dword [esp + 0x10]
xor edx, edx
mov esi, dword [0x446c24]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x437130
inc edx
cmp eax, edx
jne 0x437120
jmp 0x43715a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43715a
push 0x8000
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x446c28]
push eax
call fcn.00437df0
add esp, 0x1c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10