Function at 0x46e11c
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4ae657
call fcn.004711ef
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x46e190
cmp dword [ebp + 0xc], ebx
je 0x46e190
cmp dword [ebp + 0x18], ebx
je 0x46e190
push dword [ebp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46e150
push dword [ebp + 0x18]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.CreateObject
push dword [0x4f39b0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x46e190
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x4c276c
push 0x4c278c
mov dword [ebp - 4], ebx
call eax
test eax, eax
je 0x46e199
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x46e190
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
call fcn.004712c7
ret
push 0x20
call fcn.0046d860
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x46e1b7
mov ecx, eax
call fcn.0046f2c1
mov esi, eax
jmp 0x46e1b9
xor esi, esi
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x46e17f
push esi
lea ecx, [ebp - 0x14]
call fcn.0046da2e
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
call fcn.0046f174
test eax, eax
jne 0x46e1f3
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x46e17f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46e17f
push 0x1c
call fcn.0046d860
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x46e211
mov ecx, eax
call fcn.0046ddff
mov esi, eax
jmp 0x46e213
xor esi, esi
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0046da2e
mov edi, dword [ebp - 0x18]
push edi
mov byte [esi + 0xc], bl
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push esi
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0xc]
test eax, eax
je 0x46e261
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x46e24b
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x46e17f
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x46e17f
push 0x78
call fcn.0046d860
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x46e27f
mov ecx, eax
call fcn.0046de4a
mov esi, eax
jmp 0x46e281
xor esi, esi
mov byte [ebp - 4], 4
cmp esi, ebx
jne 0x46e2a0
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x46e1e1
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x46e1e1
push esi
lea ecx, [ebp - 0x1c]
call fcn.0046da2e
push dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0046dc25
mov edi, dword [ebp + 0x1c]
push edi
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0046df94
push dword [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0046d88b
pop ecx
mov byte [esi + 0x58], bl
cmp edi, ebx
je 0x46e2ed
push dword [ebp + 0x18]
mov eax, dword [edi]
push dword [ebp + 8]
push edi
call dword [eax]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push ebx
push 0xffffffffffffffff
push ebx
push eax
call dword [ecx + 0x1c]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x46e32a
cmp esi, ebx
je 0x46e310
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x46e1e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x46e1e1
cmp esi, ebx
je 0x46e334
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x46e345
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x46e355
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x46e366
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x46e193