Function at 0x47a0a9
Capabilities:
Check if file exists

Disassembly:
push 0x70
mov eax, 0x5ceb26
call fcn.00506dc7
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edi, edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], edi
call fcn.0042ca82
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0042ca82
mov eax, dword [ebp + 0x10]
neg eax
mov byte [ebp - 4], 2
push edi
sbb eax, eax
and eax, 0x100
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x34], esi
call fcn.00412393
pop ecx
push dword [ebp + 8]
add eax, 0x10
lea ecx, [ebp - 0x64]
mov dword [esi], eax
call fcn.0043fb03
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.0049336c
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x48], eax
jle 0x47a373
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x24], ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0042def1
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00412393
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5f1b30
mov byte [ebp - 4], 4
call fcn.00413f09
push ecx
lea eax, [esi - 0x10]
mov byte [ebp - 4], 5
mov edi, esp
mov dword [ebp - 0x34], edi
push eax
mov dword [ebp - 0x34], eax
call fcn.00412393
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00434880
push dword [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47a225
push eax
push 0x60cdbc
lea ecx, [ebp - 0x10]
call fcn.0042ea61
test eax, eax
jne 0x47a225
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
mov ebx, eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x38], ecx
mov edi, esp
mov dword [ebp - 0x3c], esp
push ebx
mov byte [ebp - 4], 7
mov dword [ebp - 0x40], edi
call fcn.00412393
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov byte [ebp - 4], 8
push 0x61c570
call fcn.00413f09
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00489677
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00411f3a
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00412ac4
push ecx
mov edi, esp
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x28]
pop ecx
push eax
call fcn.0048b631
pop ecx
pop ecx
push dword [eax]
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0042e677
mov ecx, dword [ebp - 0x28]
mov ebx, eax
neg ebx
mov byte [ebp - 4], 6
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00412ac4
add bl, 1
je 0x47a33e
push dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push 0x61c580
call fcn.00413f09
cmp dword [ebp + 8], 0x80000002
jne 0x47a2e2
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x5f1b08
mov byte [ebp - 4], 0xb
call fcn.00413f09
push 0x5f1b04
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, esp
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
call fcn.0043910d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xe
call fcn.0045f14d
mov ecx, dword [ebp - 0x2c]
jmp 0x47a332
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push str.HKEY_CURRENT_USER
mov byte [ebp - 4], 0xf
call fcn.00413f09
push 0x5f1b04
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, esp
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
call fcn.0043910d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x12
call fcn.0045f14d
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], 6
call fcn.00412ac4
call fcn.00472ad9
cmp dword [0x683574], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
jne 0x47a3c6
call fcn.00412ac4
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00412ac4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x48]
jl 0x47a137
mov eax, dword [ebp - 0x60]
mov ecx, 0x200
cmp dword [ebp + 0x10], 0
cmovne eax, ecx
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x4c]
call fcn.00434a10
lea ecx, [ebp - 0x64]
call fcn.0042e60b
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x7c]
call fcn.0042e60b
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
call fcn.00506d90
ret 0xc
call fcn.00412ac4
lea ecx, [esi - 0x10]
call fcn.00412ac4
jmp 0x47a385