Function at 0x4184f0
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47794c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x49f008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2d4], esi
push 0x3f2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x418853
push 0x416a30
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push 1
push 0x21
push 0x20
push 0x20
mov dword [0x4a1bdc], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x110
push 0x2b4
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push str.file.txt
call edi
push dword [ebp - 0x2d0]
push 0xffffffffffffffff
push dword [esi + 0x34]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push str.file.dmp
call edi
push dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d4]
push 0xffffffffffffffff
push dword [eax + 0x34]
call esi
push 0x110
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0x80
push str.file.tlg
call edi
push dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2d4]
push 0xffffffffffffffff
push dword [eax + 0x34]
call esi
mov edi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x300]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xorps xmm0, xmm0
push eax
push 0
push 0x1061
movups xmmword [ebp - 0x2fc], xmm0
push edi
movq qword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x300], 4
mov dword [ebp - 0x2f4], str.name
call esi
mov eax, dword [ebp - 0x2d4]
push dword [eax + 0x34]
push 0
push 0x1003
push edi
call esi
mov eax, dword [0x4a2004]
test al, 1
jne 0x418694
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
add esp, 4
push 1
lea eax, [ebp - 0x2d4]
mov ecx, 0x4a2008
push eax
call fcn.00410450
push eax
push 0
push edi
mov dword [ebp - 4], 0
call fcn.0041aab0
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov edx, dword [ebp - 0x2d4]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4186de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x4a2004]
test al, 1
jne 0x418701
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
add esp, 4
push 2
lea eax, [ebp - 0x2d4]
mov ecx, 0x4a2008
push eax
call fcn.00410450
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x2d4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418740
lea eax, [ebp - 0x2d4]
push eax
push 0
push dword [ebp - 0x2d8]
call fcn.0041aab0
mov eax, dword [0x4a2004]
test al, 1
jne 0x418763
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
add esp, 4
push 0x860
lea eax, [ebp - 0x2dc]
mov ecx, 0x4a2008
push eax
call fcn.00410310
mov byte [ebp - 4], 2
push dword [ebp - 0x2dc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4187a1
lea eax, [ebp - 0x2dc]
push eax
push 1
push dword [ebp - 0x2d8]
call fcn.0041aab0
cmp dword [0x4a1d34], 0
je 0x418816
mov eax, dword [0x4a2004]
test al, 1
jne 0x4187cd
or eax, 1
mov dword [0x4a2004], eax
call fcn.00409740
push 0x47b450
call fcn.0044e3dd
add esp, 4
push 0x967
lea eax, [ebp - 0x2e0]
mov ecx, 0x4a2008
push eax
call fcn.00410310
push eax
push 1
push dword [ebp - 0x2d8]
mov byte [ebp - 4], 3
call fcn.0041aab0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x2e0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418816
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x2dc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418837
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x418853
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044df7a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret