Function at 0x464330
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x48c489
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be8a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [esp + 0x40], ebx
je 0x464460
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x464460
mov ebp, dword [esp + 0x50]
cmp ebp, ebx
je 0x464460
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46438e
push ebp
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov eax, dword [0x4c4ee8]
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x464460
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x14]
push ecx
push 0x49df2c
push 0x49df4c
mov dword [esp + 0x44], ebx
call eax
test eax, eax
je 0x4643e2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
je 0x464460
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x464460
push 0x20
call fcn.00463750
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x464404
mov ecx, eax
call fcn.00465ce0
mov esi, eax
jmp 0x464406
xor esi, esi
mov byte [esp + 0x38], 0
cmp esi, ebx
je 0x464448
push esi
lea ecx, [esp + 0x1c]
call fcn.004639e0
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.00465b40
test eax, eax
jne 0x464477
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x464448
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 0x464460
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.00463750
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 3
cmp eax, ebx
je 0x464499
mov ecx, eax
call fcn.00463ef0
mov esi, eax
jmp 0x46449b
xor esi, esi
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.004639e0
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 0x464504
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x4644e0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [esp + 0x38], 0
test esi, esi
je 0x4644f1
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 0x464456
push 0x78
call fcn.00463750
add esp, 4
mov dword [esp + 0x20], eax
mov byte [esp + 0x38], 5
test eax, eax
je 0x464526
mov ecx, eax
call fcn.00463fb0
mov edi, eax
jmp 0x464528
xor edi, edi
mov byte [esp + 0x38], 4
test edi, edi
je 0x4644cf
push edi
lea ecx, [esp + 0x24]
call fcn.004639e0
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 6
call fcn.00463bc0
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.00464120
mov edx, dword [esp + 0x24]
push edx
mov byte [esp + 0x3c], 6
call fcn.00463780
add esp, 4
mov byte [edi + 0x58], 0
test esi, esi
je 0x46458c
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 0x4645b9
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 0x46460b
test edi, edi
je 0x4645ce
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x4645df
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 0x4644f1
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 0x464456
test edi, edi
je 0x464617
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov byte [esp + 0x38], 2
test ebx, ebx
je 0x464628
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 0x46463d
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 0x464655
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