Function at 0x4397b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 4], 0x909f9e9d
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x439836
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xe45132a5
and eax, 0xe45132a5
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
not ecx
and ecx, eax
add ecx, eax
not eax
and eax, edx
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
not ecx
and ecx, 0x39
and eax, 0xc6
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4397e0
mov eax, dword [esp + 4]
mov ecx, dword [0x4506dc]
test ecx, ecx
je 0x439882
xor edx, edx
mov esi, dword [0x4506e0]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x716b6a2
je 0x439860
inc edx
cmp ecx, edx
jne 0x439850
jmp 0x439882
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x439882
lea eax, [esp + 0x14]
push eax
push 8
push 0xffffffffffffffff
push 3
push dword [0x4506e4]
push ecx
call fcn.00440260
add esp, 0x18
test eax, eax
js 0x439930
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x909f9e9d
mov word [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x439906
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0xe45132a5
and eax, 0xe45132a5
lea eax, [esi + eax*2]
lea esi, [eax + edx]
and eax, edx
mov edx, esi
not edx
and edx, eax
add edx, eax
not eax
and eax, esi
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, eax
not edx
and edx, 0x39
and eax, 0xc6
sub eax, edx
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x4398b0
mov eax, dword [esp + 4]
mov edx, dword [0x4506dc]
test edx, edx
je 0x43995f
xor esi, esi
mov edi, dword [0x4506e0]
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x7d006057
je 0x439937
inc esi
cmp edx, esi
jne 0x439920
jmp 0x43995f
xor ebx, ebx
jmp 0x439a2e
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43995f
lea eax, [esp + 4]
lea esi, [esp + 0x18]
push eax
push 4
push esi
push 0x14
push ecx
push 5
push dword [0x4506e4]
push edx
call fcn.00440260
add esp, 0x20
cmp dword [esp + 0x18], 0
setne byte [esp + 0xf]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], 0x909f9e9d
mov word [esp + 8], 0
test eax, eax
setns bl
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 5
ja 0x4399e6
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
mov esi, eax
xor esi, 0xe45132a5
and eax, 0xe45132a5
lea eax, [esi + eax*2]
lea esi, [eax + edx]
and eax, edx
mov edx, esi
not edx
and edx, eax
add edx, eax
not eax
and eax, esi
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov edx, eax
not edx
and edx, 0x39
and eax, 0xc6
sub eax, edx
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 6
jb 0x439990
mov eax, dword [0x4506dc]
test eax, eax
je 0x439a2a
mov edx, dword [esp + 4]
xor esi, esi
mov edi, dword [0x4506e0]
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x625b6034
je 0x439a10
inc esi
cmp eax, esi
jne 0x439a00
jmp 0x439a2a
mov eax, dword [edi + esi*8 + 4]
cmp eax, edx
je 0x439a2a
push ecx
push 1
push dword [0x4506e4]
push eax
call fcn.00440260
add esp, 0x10
and bl, byte [esp + 0xf]
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
ret