Function at 0x49bf70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc3c
mov eax, dword [0x661204]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc34]
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0xa2c]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.005b9c20
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b9c20
add esp, 0x48
lea eax, [ebp - 0xc34]
mov ecx, ebx
push 0
push 0x1a
push eax
push 0
call fcn.0049e130
xor ecx, ecx
movzx eax, word [ebp + ecx - 0xc34]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x49c015
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.005b8f34
add esp, 8
test eax, eax
jne 0x49c05c
push esi
mov ecx, ebx
call fcn.0049b4a0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov word [eax], cx
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x826], ax
test ax, ax
jne 0x49c061
lea ecx, [ebp - 0x824]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x49c082
mov eax, dword [str.Local]
mov dword [ecx], eax
mov eax, dword [0x5ea9b0]
mov dword [ecx + 4], eax
mov eax, dword [0x5ea9b4]
mov dword [ecx + 8], eax
mov ax, word [0x5ea9b8]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x824]
push eax
call edi
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc38], eax
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x61e], ax
test ax, ax
jne 0x49c0e0
lea ecx, [ebp - 0x61c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x49c101
mov eax, dword [str.LocalLow]
mov dword [ecx], eax
mov eax, dword [0x5ea9c0]
mov dword [ecx + 4], eax
mov eax, dword [0x5ea9c4]
mov dword [ecx + 8], eax
mov eax, dword [0x5ea9c8]
mov dword [ecx + 0xc], eax
mov eax, dword [0x5ea9cc]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x61c]
push eax
call edi
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
xor ecx, ecx
mov dword [ebp - 0xc3c], eax
movzx eax, word [ebp + ecx - 0x414]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0xa2e], ax
test ax, ax
jne 0x49c154
lea ecx, [ebp - 0xa2c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x49c175
mov eax, dword [str.Roaming]
mov dword [ecx], eax
mov eax, dword [0x5ea9d4]
mov dword [ecx + 4], eax
mov eax, dword [0x5ea9d8]
mov dword [ecx + 8], eax
mov eax, dword [0x5ea9dc]
mov dword [ecx + 0xc], eax
mov ax, word [0x5ea9e0]
mov word [ecx + 0x10], ax
lea eax, [ebp - 0xa2c]
push eax
call edi
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, dword [ebp - 0xc38]
test ecx, ecx
je 0x49c291
mov ecx, dword [ebp - 0xc3c]
test ecx, ecx
je 0x49c291
test eax, eax
je 0x49c291
push str.PuddingDesktop.users
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x5eaa04
push eax
call fcn.0049f160
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x49c222
lea eax, [ebp - 0x20c]
push eax
call fcn.0049f670
add esp, 4
cmp word [ebp - 0x20c], 0
jne 0x49c250
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push eax
mov ecx, esi
call fcn.0049ee20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49c260
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0049ee20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, ebx
call fcn.0049b4a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054c3c9
mov esp, ebp
pop ebp
ret 4