Function at 0x4492b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x476339
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esp + 0x40], ebx
je 0x4493e0
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x4493e0
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
je 0x4493e0
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44930e
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x496d50]
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4493e0
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
push 0x47f668
push 0x47f688
mov dword [esp + 0x44], ebx
call eax
test eax, eax
je 0x449362
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x4493e0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4493e0
push 0x20
call fcn.00448770
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x449384
mov ecx, eax
call fcn.0044acf0
mov esi, eax
jmp 0x449386
xor esi, esi
mov byte [esp + 0x38], 0
cmp esi, ebx
je 0x4493c8
push esi
lea ecx, [esp + 0x1c]
call fcn.004489f0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push eax
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.0044aab0
test eax, eax
jne 0x4493f7
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4493c8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x4493e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x1c
call fcn.00448770
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 3
cmp eax, ebx
je 0x449419
mov ecx, eax
call fcn.00448f00
mov esi, eax
jmp 0x44941b
xor esi, esi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.004489f0
mov ebx, dword [esp + 0x1c]
push ebx
mov byte [esi + 0xc], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push 0
push esi
push eax
mov byte [esp + 0x48], 4
call edx
test eax, eax
je 0x449484
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x449460
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [esp + 0x38], 0
test esi, esi
je 0x449471
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
jmp 0x4493d6
push 0x78
call fcn.00448770
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 5
test eax, eax
je 0x4494a6
mov ecx, eax
call fcn.00448f50
mov edi, eax
jmp 0x4494a8
xor edi, edi
mov byte [esp + 0x38], 4
test edi, edi
je 0x44944f
push edi
lea ecx, [esp + 0x24]
call fcn.004489f0
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 6
call fcn.00448bd0
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x44], 7
call fcn.00449140
mov edx, dword [esp + 0x24]
push edx
mov byte [esp + 0x3c], 6
call fcn.004487a0
add esp, 4
mov byte [edi + 0x58], 0
test esi, esi
je 0x44950c
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax]
push ebp
push ecx
push esi
call edx
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push 0
push 0xffffffffffffffff
push 0
push eax
call edx
mov ebp, eax
test esi, esi
je 0x449539
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
xor ecx, ecx
test ebp, ebp
sete cl
push ecx
push esi
call edx
mov byte [esp + 0x38], 4
test ebp, ebp
je 0x44958b
test edi, edi
je 0x44954e
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x44955f
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test eax, eax
je 0x449471
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
jmp 0x4493d6
test edi, edi
je 0x449597
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x4495a8
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x38], 0
test eax, eax
je 0x4495bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
test eax, eax
je 0x4495d5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret