Function at 0x45c46b
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x149c]
mov eax, 0x149c
call fcn.004760e0
push 0xffffffffffffffff
push 0x4b1d83
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4f2be0]
xor eax, ebp
mov dword [ebp + 0x1498], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0045a4ed
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jne 0x45c4c1
xor eax, eax
jmp 0x45c6a6
call fcn.0045e3b3
mov ebx, eax
cmp ebx, esi
je 0x45c4ba
push 0x4f8ce0
lea ecx, [ebp - 0x1c]
call fcn.004029af
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], esi
call fcn.0045fd29
lea ecx, [ebp - 0x3c]
call fcn.00447fd1
push 0xbf
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00432299
push dword [eax]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004028fb
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004029d4
xor eax, eax
push 0x206
mov word [ebp + 0x1290], ax
lea eax, [ebp + 0x1292]
push esi
push eax
call fcn.00474a10
xor eax, eax
push 0x206
mov word [ebp + 0x1088], ax
lea eax, [ebp + 0x108a]
push esi
push eax
call fcn.00474a10
mov eax, dword [ebx]
add esp, 0x18
push 0x104
lea ecx, [ebp + 0x1088]
push ecx
push ebx
call dword [eax + 0x18]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
jmp 0x45c644
cmp dword [ebp - 0x2c], esi
je 0x45c644
push 0x800
lea eax, [ebp]
push esi
push eax
call fcn.00474a10
push 0x800
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.00474a10
add esp, 0x18
lea eax, [ebp + 0x1290]
push eax
lea eax, [ebp + 0x1088]
push eax
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x1290]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.004028fb
push esi
lea eax, [ebp - 0x3c]
push eax
push 0x3443
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c6c9
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x1290]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push eax
push 0x343c
push dword [edi + 4]
mov dword [ebp - 0x48], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0x104
lea ecx, [ebp + 0x1290]
push ecx
push ebx
call dword [eax + 0xc]
test eax, eax
jne 0x45c57a
push str.pFileMgr__EnumFile_RETURN_FALSE_
call fcn.00404dac
mov eax, dword [ebx]
pop ecx
push ebx
call dword [eax + 0x1c]
mov esi, eax
lea eax, [edi + 0x5c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x3c]
call fcn.00447ff7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
xor eax, eax
cmp esi, 1
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1498]
xor ecx, ebp
call fcn.00474a8a
add ebp, 0x149c
leave
ret
push str.extractfile
lea ecx, [ebp - 0x10]
call fcn.00402675
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403b59
push dword [ebp - 0x10]
push esi
push 0x9d
call fcn.00402f1e
mov ecx, eax
call fcn.00402faf
lea eax, [ebp + 0x800]
push eax
push str._s_File_Not_Found_r_n
call fcn.00404dac
pop ecx
pop ecx
push 0x4f8ce0
lea ecx, [ebp - 0x28]
call fcn.004029af
push 4
pop ebx
push 0x95
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00402631
push 0x4bbddc
lea eax, [ebp + 0x1004]
push 0x20
push eax
mov dword [ebp + 0x1000], ebx
call fcn.00477775
push 0x4baf0c
lea eax, [ebp + 0x1048]
push 0x20
push eax
mov dword [ebp + 0x1044], 2
call fcn.00477775
add esp, 0x18
push 0x3ea
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x96
lea ecx, [ebp - 0x30]
call fcn.00432299
mov eax, dword [eax]
push esi
push esi
push esi
push 0x30
lea ecx, [ebp + 0x1000]
push ecx
mov ecx, dword [ebp - 0x18]
push 2
push eax
push dword [ebp - 0x28]
mov byte [ebp - 4], 5
push dword [edi + 4]
call fcn.0045f685
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], bl
call fcn.004029d4
cmp dword [ebp - 0x18], ebx
jne 0x45c7c3
call fcn.004472e0
push esi
push esi
push 0x3442
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004029d4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004029d4
lea ecx, [ebp - 0x3c]
call fcn.00447ff7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004029d4
or eax, 0xffffffff
jmp 0x45c6a6