Function at 0x4396b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x518
mov edi, dword [ebp + 8]
mov dword [esp + 0x188], 0x40474645
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x188]
mov ebx, eax
and ebx, 2
mov edx, ecx
xor edx, 0x16701f91
add edx, ebx
xor edx, esi
mov esi, 1
sub esi, edx
and esi, 1
mov ebx, 0xd5
sub ebx, edx
and ebx, 0xfe
or ebx, esi
and edx, 1
xor ebx, 0xfe
lea edx, [ebx + edx*2]
mov byte [esp + ecx + 0x188], dl
inc ecx
add eax, 2
cmp ecx, 7
jne 0x4396f0
mov eax, dword [esp + 0x188]
mov ecx, dword [0x448588]
test ecx, ecx
je 0x43979a
xor edx, edx
mov esi, dword [0x44858c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x89c57e52
je 0x439770
inc edx
cmp ecx, edx
jne 0x439760
jmp 0x43979a
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43979a
lea eax, [esp + 0x10]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push ecx
push dword [0x448590]
call fcn.00437d80
add esp, 0x28
test eax, eax
js 0x439a76
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 0x188], 0x40474645
mov word [esp + 0x18c], 0
mov byte [esp + 0x18e], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx + 0x188]
mov ebx, ecx
and ebx, 2
mov esi, edx
xor esi, 0x16701f91
add esi, ebx
xor esi, eax
mov eax, 1
sub eax, esi
and eax, 1
mov ebx, 0xd5
sub ebx, esi
and ebx, 0xfe
or ebx, eax
and esi, 1
xor ebx, 0xfe
lea eax, [ebx + esi*2]
mov byte [esp + edx + 0x188], al
inc edx
add ecx, 2
cmp edx, 7
jne 0x4397d0
mov esi, dword [esp + 0x188]
mov ecx, dword [0x448588]
test ecx, ecx
je 0x439866
xor eax, eax
mov edx, dword [0x44858c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + eax*8], 0xc3cdc4a6
je 0x43985a
mov ebx, eax
xor ebx, 1
and eax, 1
lea eax, [ebx + eax*2]
cmp eax, ecx
jb 0x439840
jmp 0x439866
mov eax, dword [edx + eax*8 + 4]
cmp eax, esi
jne 0x439a82
mov dword [esp], esi
mov eax, dword [esp + 0x190]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0xc], eax
mov dword [esp + 0x68], 0x40474645
mov word [esp + 0x6c], 0
mov byte [esp + 0x6e], 0
xor esi, esi
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x68]
mov ecx, esi
and ecx, 2
mov edx, eax
xor edx, 0x16701f91
add edx, ecx
xor edx, ebx
mov ecx, 1
sub ecx, edx
and ecx, 1
mov ebx, 0xd5
sub ebx, edx
and ebx, 0xfe
or ebx, ecx
and edx, 1
xor ebx, 0xfe
lea ecx, [ebx + edx*2]
mov byte [esp + eax + 0x68], cl
inc eax
add esi, 2
cmp eax, 7
jne 0x4398a0
mov ecx, dword [0x448588]
test ecx, ecx
mov esi, dword [esp]
je 0x43993d
mov edx, dword [esp + 0x68]
xor eax, eax
mov ebx, dword [0x44858c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + eax*8], 0xb62b8d10
je 0x439920
inc eax
cmp ecx, eax
jne 0x439910
jmp 0x43993d
mov eax, dword [ebx + eax*8 + 4]
cmp eax, edx
je 0x43993d
push dword [esp + 4]
push 1
push eax
push dword [0x448590]
call fcn.00437d80
add esp, 0x10
test esi, esi
js 0x439a76
lea eax, [esp + 0x188]
push 0x20
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.00439490
add esp, 0x10
test eax, eax
js 0x439a76
lea eax, [esp + 0x10]
push 0x20
push eax
push dword [esp + 0x1ac]
push dword [esp + 0x1ac]
call fcn.00439490
add esp, 0x10
test eax, eax
js 0x439a76
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
add eax, 0x10
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], eax
jmp 0x4399ed
cmp cx, dx
je 0x439ab5
push esi
call fcn.00435470
add esp, 4
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, ecx
xor edx, dword [esp + 8]
mov esi, eax
xor esi, dword [esp]
or esi, edx
je 0x439a76
push 0x68
lea edx, [esp + 0x6c]
push edx
push ecx
push eax
call fcn.00439490
add esp, 0x10
test eax, eax
js 0x439a76
movzx eax, word [esp + 0xc2]
push eax
call fcn.004353b0
add esp, 4
mov esi, eax
movzx eax, word [esp + 0xc2]
push eax
push esi
push dword [esp + 0xd4]
push dword [esp + 0xd4]
call fcn.00439490
add esp, 0x10
test eax, eax
js 0x4399c9
xor eax, eax
nop
nop
nop
nop
nop
movzx ecx, word [edi + eax]
lea edx, [ecx - 0x41]
cmp dx, 0x1a
jae 0x439a50
or ecx, 0x20
movzx edx, word [esi + eax]
lea ebx, [edx - 0x41]
cmp bx, 0x1a
jae 0x439a60
or edx, 0x20
test cx, cx
je 0x4399c0
add eax, 2
cmp cx, dx
je 0x439a40
jmp 0x4399c0
xor eax, eax
xor edx, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x188]
push 0
push 0x30
push ecx
push 0
push dword [esp + 0x14]
push 5
push eax
push dword [0x448590]
call fcn.00437d80
add esp, 0x20
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
jmp 0x439869
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
push esi
call fcn.00435470
mov edx, ebx
mov eax, edi
add esp, 4
jmp 0x439a7a