Function at 0x436c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0x100000
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0x14151617
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 4
xor cl, byte [esp + eax + 4]
add cl, 0xec
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x436c70
mov eax, dword [esp + 4]
mov ecx, dword [0x44a890]
test ecx, ecx
je 0x436cde
xor edx, edx
mov esi, dword [0x44a894]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x3e416e49
je 0x436cb0
inc edx
cmp ecx, edx
jne 0x436ca0
jmp 0x436cde
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x436cde
lea eax, [esp + 0x38]
lea edx, [esp + 0x18]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a898]
call fcn.00439540
add esp, 0x24
test eax, eax
js 0x437332
cmp dword [edi + 4], 0
je 0x4372c0
mov dword [esp + 0x3c], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 4], 0x49354b4c
mov byte [esp + 8], 0
lea ecx, [esp + 4]
mov edx, 0x60063d0c
nop
nop
nop
movzx esi, byte [ecx]
mov ebx, edx
or ebx, esi
lea edi, [edx - 0x60063d00]
and edi, esi
not ebx
or edi, ebx
and ebx, 0x40
add ebx, ebx
xor ebx, edi
xor bl, 0x40
inc bl
mov byte [ecx], bl
inc ecx
dec edx
cmp edx, 0x60063d07
jne 0x436d40
mov ebx, 0x7fff
cmp eax, 2
je 0x436d7a
mov ebx, 0
mov eax, 0xfffeffff
je 0x436d86
mov eax, SysReAllocString
mov edx, dword [esp + 4]
mov ecx, edx
sar ecx, 0x1f
mov dword [esp + 0x1c], eax
cmp edx, eax
mov dword [esp + 0x34], ecx
mov eax, ecx
sbb eax, ebx
mov edi, dword [esp + 0x3c]
jae 0x437266
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x30], edx
mov ecx, edi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x44]
push edx
call fcn.004367e0
mov edx, dword [esp + 0x30]
cmp eax, 0xbfffffff
ja 0x437266
test eax, eax
js 0x437230
cmp dword [esp + 0x60], 0x1000
jne 0x437230
test byte [esp + 0x5c], 0x66
je 0x437230
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x38], esi
mov ecx, dword [esp + 0x4c]
mov eax, 0
mov dword [esp + 0x40], ecx
sbb eax, ecx
jae 0x436f6e
mov dword [esp + 4], 0x14151617
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 4
xor cl, byte [esp + eax + 4]
add cl, 0xec
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x436e60
mov eax, dword [0x44a890]
test eax, eax
je 0x436eca
mov ebx, dword [esp + 4]
xor edx, edx
mov ecx, dword [0x44a894]
nop
nop
nop
nop
nop
cmp dword [ecx + edx*8], 0x16194952
je 0x436ea0
inc edx
cmp eax, edx
jne 0x436e90
jmp 0x436eca
mov eax, dword [ecx + edx*8 + 4]
cmp eax, ebx
je 0x436eca
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a898]
call fcn.00439540
add esp, 0x1c
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], esi
mov dword [esp + 4], 0x14151617
mov word [esp + 8], 0
xor eax, eax
nop
mov ecx, eax
add cl, 4
xor cl, byte [esp + eax + 4]
add cl, 0xec
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x436ef0
mov eax, dword [esp + 4]
mov ecx, dword [0x44a890]
test ecx, ecx
je 0x436f5e
xor edx, edx
mov ebx, dword [0x44a894]
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0x3e416e49
je 0x436f30
inc edx
cmp ecx, edx
jne 0x436f20
jmp 0x436f5e
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
je 0x436f5e
push 4
push 0x3000
lea eax, [esp + 0x40]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44a898]
call fcn.00439540
add esp, 0x24
test eax, eax
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
js 0x437266
mov ecx, edi
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x44]
push esi
push dword [esp + 0x24]
push dword [esp + 0x44]
push edx
call fcn.00436ac0
test eax, eax
jns 0x436f97
cmp eax, 0x8000000d
jne 0x437230
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x10]
cmp eax, edx
sbb ecx, 0
jb 0x437230
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.00437380
add esp, 0x18
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
cmp esi, eax
je 0x43720c
mov dword [esp + 0x64], esi
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
jmp 0x437038
push dword [esp + 0x14]
call fcn.00408220
add esp, 4
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + ebx*8]
mov dword [esp + 0x20], eax
mov edx, ecx
mov eax, dword [esp + 0x24]
add edx, eax
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov dword [ecx + eax], edi
mov edi, eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + edi + 4], eax
add edx, 8
add esi, 4
cmp esi, dword [esp + 0x58]
je 0x4371c8
mov edi, dword [esi]
sub edi, dword [esp + 0x18]
mov eax, edi
sar eax, 0x1f
add edi, ebx
mov dword [esp + 0x40], edi
adc eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, edx
sub eax, ecx
cmp edx, dword [esp + 0x20]
jne 0x437017
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov ecx, eax
sar ecx, 3
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x43707b
mov ebx, eax
lea eax, [ebx*8]
push eax
call fcn.00408210
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x14]
test edx, edx
je 0x437004
mov dword [esp + 0x20], ebx
cmp ecx, edx
mov dword [esp + 0x2c], ecx
jbe 0x437162
cmp dword [esp + 0x10], ecx
jbe 0x437162
cmp dword [esp + 0x24], 0
je 0x436ff0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
add eax, edx
dec eax
mov ecx, dword [esp + 0x2c]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x4370f4
neg edi
xor edx, edx
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4370e0
add eax, edx
add ecx, edx
add edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
sub edi, dword [esp + 0x10]
cmp edi, 0xfffffff8
ja 0x436ff0
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x437110
jmp 0x436ff0
mov ebx, dword [esp + 0x24]
mov ecx, ebx
shr ecx, 2
mov eax, edx
mov edi, dword [esp + 0x2c]
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, ebx
not eax
or eax, 0xfffffffc
add eax, ebx
mov ecx, dword [esp + 0x2c]
lea edi, [ecx + eax]
inc edi
add edx, eax
inc edx
mov ecx, ebx
xor ecx, 0xfffffffc
mov eax, ebx
or eax, 3
and eax, ecx
mov ecx, eax
shr ecx, 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x10], edi
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
je 0x436ff0
and eax, 0xfffffffe
mov ecx, dword [esp + 0x68]
movzx ecx, byte [ecx + eax]
mov edx, dword [esp + 0x10]
mov byte [edx + eax], cl
jmp 0x436ff0
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov dword [eax], ecx
mov esi, dword [esp + 0x20]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x64]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x437254
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
je 0x437206
push eax
call fcn.00408220
add esp, 4
mov dword [esp + 4], 0
mov ebx, dword [esp + 0x28]
jmp 0x437234
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
add edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
adc eax, dword [esp + 0x54]
cmp edx, esi
mov dword [esp + 0x34], eax
sbb eax, ebx
jb 0x436dd0
jmp 0x437266
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
jmp 0x437234
mov dword [esp + 4], 0x14151617
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 4
xor cl, byte [esp + eax + 4]
add cl, 0xec
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x437280
mov eax, dword [0x44a890]
test eax, eax
je 0x437332
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44a894]
nop
cmp dword [esi + edx*8], 0x16194952
je 0x437308
inc edx
cmp eax, edx
jne 0x4372b0
jmp 0x437332
push 0xbbf966b4
push dword [0x44a884]
call fcn.0043c420
add esp, 8
test eax, eax
je 0x43733f
mov ecx, dword [edi]
test ecx, ecx
je 0x436cf0
mov dword [esp + 4], 0
lea edx, [esp + 4]
push edx
push ecx
call eax
test eax, eax
je 0x43734b
cmp dword [esp + 4], 0
je 0x43734b
mov dword [edi + 4], 3
jmp 0x436cf0
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x437332
lea ecx, [esp + 0x44]
lea edx, [esp + 0x18]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44a898]
call fcn.00439540
add esp, 0x1c
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [edi + 4], 1
jmp 0x436cf0
lea eax, [esp + 0x50]
push eax
call fcn.0043cc10
add esp, 4
test al, al
je 0x436cf0
mov eax, dword [esp + 0x50]
mov ecx, 2
cmp eax, 3
je 0x437370
mov ecx, eax
mov dword [edi + 4], ecx
jmp 0x436cf0