Function at 0x4b2260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5727b1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5f969c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b229a
xor eax, eax
jmp 0x4b2496
lea ecx, [ebp - 0x1c]
call fcn.0045f300
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00476080
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
lea ecx, [ebp - 0x1c]
call fcn.00475690
movzx ecx, al
test ecx, ecx
je 0x4b22e5
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov eax, dword [ebp - 0x20]
jmp 0x4b2496
lea ecx, [ebp - 0x18]
call fcn.0045f300
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x18]
call fcn.00476080
push eax
call fcn.004b2140
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00475690
movzx eax, al
test eax, eax
je 0x4b2348
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov eax, dword [ebp - 0x24]
jmp 0x4b2496
lea ecx, [ebp - 0x10]
call fcn.0045f300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x10]
call fcn.00476080
push eax
push 0x58cf80
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
call edx
lea ecx, [ebp - 0x10]
call fcn.00475690
movzx eax, al
test eax, eax
je 0x4b23c4
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00496090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov eax, dword [ebp - 0x28]
jmp 0x4b2496
lea ecx, [ebp - 0x14]
call fcn.0045f300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004dfdf0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x14]
call fcn.00476080
push eax
push 0x58cf90
push 0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
call ecx
lea ecx, [ebp - 0x14]
call fcn.00475690
movzx edx, al
test edx, edx
je 0x4b2447
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00496090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00496090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov eax, dword [ebp - 0x2c]
jmp 0x4b2496
push str.NewFolder
lea ecx, [ebp - 0x14]
call fcn.004dfdf0
push eax
call fcn.004b21e0
add esp, 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00496090
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00496090
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00496090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00496090
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret