Function at 0x403cf7
Capabilities:
Encode data using xor

Disassembly:
push 0xac
mov eax, 0x42e166
call fcn.0041a90a
xor ebx, ebx
lea edx, [ebp + 8]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x5c]
call fcn.00407b41
push 0x438f3b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004042c3
push 8
pop ecx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x9c]
mov esi, 0x438ff8
rep movsd dword es:[edi], dword [esi]
push 0x37
pop esi
mov dword [ebp - 0x6c], esi
cmp byte [0x439017], bl
je 0x403d61
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x9c], dl
inc ecx
cmp ecx, 0x20
jl 0x403d4b
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp + 8]
call fcn.004041eb
push 7
pop ecx
mov esi, 0x439064
mov dword [ebp - 0x60], eax
lea edi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
push 0x37
mov ecx, ebx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x9c], dl
inc ecx
cmp ecx, 0x1d
jl 0x403d8a
push ebx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp + 8]
call fcn.004041eb
cmp dword [ebp - 0x60], 0xffffffff
je 0x403ec6
push 0x1a
pop edx
lea ecx, [ebp - 0x94]
call fcn.00405dad
push 1
push 0x438f4c
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.004044c7
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040428a
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040444b
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040428a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404255
lea ecx, [ebp - 0x2c]
call fcn.00402616
lea ecx, [ebp - 0xb8]
call fcn.00402616
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00402616
cmp byte [0x4393ff], 0
mov eax, dword [str.vJNyg_UUUSM_]
mov ecx, dword [0x4393fc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
je 0x403e61
xor edx, edx
mov eax, ebx
div esi
add dl, 0x39
xor byte [ebp + ebx - 0x68], dl
inc ebx
cmp ebx, 8
jl 0x403e4e
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403e67
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040447e
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.004042fc
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
mov dword [ebp - 0x6c], esp
mov ecx, esp
push eax
call fcn.004042fc
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.004042fc
mov byte [ebp - 4], 2
call fcn.00403832
add esp, 0x48
jmp 0x4040fe
lea ecx, [ebp - 0x2c]
cmp eax, 0xffffffff
je 0x403f92
push 0x1a
pop edx
call fcn.00405dad
push 1
push 0x438f4c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004044c7
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040428a
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040444b
push eax
lea ecx, [ebp - 0x94]
call fcn.0040428a
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404255
lea ecx, [ebp - 0x94]
call fcn.00402616
lea ecx, [ebp - 0xb8]
call fcn.00402616
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402616
mov eax, dword [str.vJN_]
mov dword [ebp - 0x68], eax
mov ax, word [0x4391a8]
mov word [ebp - 0x64], ax
test ah, ah
je 0x403f74
mov ecx, ebx
xor edx, edx
mov eax, ecx
div esi
add dl, 0x39
xor byte [ebp + ecx - 0x68], dl
inc ecx
cmp ecx, 6
jl 0x403f61
lea ecx, [ebp - 0x68]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403f7a
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040447e
jmp 0x404009
push 0x1c
pop edx
call fcn.00405dad
push 1
push 0x438f4c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004044c7
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040428a
lea eax, [ebp + 8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040444b
push eax
lea ecx, [ebp - 0x94]
call fcn.0040428a
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404255
lea ecx, [ebp - 0x94]
call fcn.00402616
lea ecx, [ebp - 0xb8]
call fcn.00402616
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402616
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x20]
call fcn.0040853a
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
jmp 0x4040ee
cmp byte [0x4393cf], 0
mov eax, dword [str.iHTZTRZ_]
mov dword [ebp - 0x74], eax
mov eax, dword [0x4393cc]
mov dword [ebp - 0x70], eax
je 0x404052
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x6c]
add dl, 0x39
xor byte [ebp + ecx - 0x74], dl
inc ecx
cmp ecx, 8
jl 0x40403e
push ebx
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.004041eb
cmp byte [0x439123], 0
mov dword [ebp - 0x60], eax
mov eax, dword [str.___HRK_zUVSYQc]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x439120]
mov dword [ebp - 0x78], eax
je 0x404090
mov ecx, ebx
xor edx, edx
mov eax, ecx
div dword [ebp - 0x6c]
add dl, 0x39
xor byte [ebp + ecx - 0x7c], dl
inc ecx
cmp ecx, 8
jl 0x40407c
push ebx
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004041eb
cmp dword [ebp - 0x60], 0xffffffff
jne 0x4040a7
cmp eax, 0xffffffff
je 0x4040eb
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call fcn.004042fc
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x60], esp
mov ecx, esp
push eax
call fcn.004042fc
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
push esi
call fcn.004042fc
mov byte [ebp - 4], 0xb
call fcn.00403832
add esp, 0x48
add esi, 0x18
cmp esi, edi
jne 0x404023
lea ecx, [ebp - 0x20]
call fcn.004043bd
lea ecx, [ebp - 0x44]
call fcn.00402616
lea ecx, [ebp - 0x5c]
call fcn.00402616
lea ecx, [ebp + 8]
call fcn.00402616
call fcn.0041a8b9
ret