Function at 0x423192
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push 0x90
mov eax, 0x48cf6a
call fcn.00458cd6
mov edi, ecx
mov dword [ebp - 0x64], edi
mov eax, dword [edi]
or eax, dword [edi + 4]
jne 0x4231d3
xor ebx, ebx
push ebx
call fcn.0043a5e1
mov dword [edi], eax
imul eax, dword [edi + 8], 0x3c
pop ecx
mov dword [edi + 4], edx
test eax, eax
jle 0x4231e1
push eax
push ebx
call fcn.0042758f
cdq
add dword [edi], eax
pop ecx
adc dword [edi + 4], edx
jmp 0x4231e0
xor ebx, ebx
push ebx
call fcn.0043a5e1
mov dword [edi], eax
mov dword [edi + 4], edx
pop ecx
lea eax, [edi + 0xa8]
mov dword [ebp - 0x60], ebx
push eax
lea ecx, [ebp - 0x40]
mov esi, ebx
call fcn.00417e8a
xor ecx, ecx
mov dword [ebp - 4], ebx
inc ecx
cmp dword [ebp - 0x30], 0
je 0x4233c3
cmp dword [edi + 0xc0], ebx
je 0x42328a
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], cl
push eax
sub esp, 0x18
lea ecx, [ebp - 0x40]
mov eax, esp
push ecx
push eax
call fcn.0041a85d
pop ecx
pop ecx
mov ecx, dword [edi + 0xc0]
push ebx
call fcn.00421ec3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423274
lea eax, [ebp - 0x60]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00403ad0
call fcn.004278c6
add esp, 0x1c
mov esi, eax
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401fb0
test esi, esi
jne 0x423375
push 0x1869f
push 0x2710
call fcn.0042758f
push str._rand
mov esi, eax
call fcn.004457a0
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
push str._rand
call fcn.00408780
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00420863
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00408680
xor esi, esi
mov byte [ebp - 4], bl
push ebx
inc esi
lea ecx, [ebp - 0x58]
push esi
call fcn.004188e8
lea ecx, [ebp - 0x9c]
call fcn.0041c2b6
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041c499
lea ecx, [ebp - 0x9c]
call fcn.0041c742
mov ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cmove eax, esi
mov dword [ebp - 0x60], eax
inc eax
push eax
call fcn.0041350d
mov ecx, dword [ebp - 0x60]
mov esi, eax
inc ecx
push ecx
push ebx
push esi
call fcn.00432e20
mov eax, dword [ebp - 0x5c]
add esp, 0x10
mov edx, ebx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
je 0x423363
mov edi, eax
mov eax, dword [edi]
mov al, byte [edx + eax]
mov byte [edx + esi], al
inc edx
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp edx, eax
jb 0x42334e
mov edi, dword [ebp - 0x64]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.0041c2f7
test esi, esi
je 0x4233aa
push str.BUDINGPAOPAO
call fcn.004457a0
cmp dword [ebp - 0x60], 0
mov edx, ebx
pop ecx
mov dword [ebp - 0x5c], eax
jbe 0x4233aa
mov edi, dword [ebp - 0x5c]
mov eax, ebx
mov cl, byte [eax + str.BUDINGPAOPAO]
xor byte [edx + esi], cl
inc eax
xor ecx, ecx
cmp eax, edi
cmovge eax, ecx
inc edx
cmp edx, dword [ebp - 0x60]
jb 0x423390
mov edi, dword [ebp - 0x64]
push esi
mov ecx, edi
call fcn.00422ea8
mov byte [edi + 0xc], al
test esi, esi
je 0x4233c0
push esi
call fcn.00413516
pop ecx
xor ecx, ecx
inc ecx
push ebx
push ecx
lea ecx, [ebp - 0x40]
call fcn.004188e8
call fcn.00458c91
ret