Function at 0x404610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x44a72b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x45d740]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x45d740]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x5c]
xor edi, edi
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], edi
call dword [sym.imp.SHELL32.dll_Shell_GetImageLists]
mov edx, dword [esp + 0x58]
mov eax, dword [ebx + 0x818]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push edi
push 0x1003
push eax
call esi
mov ecx, dword [esp + 0x54]
mov edx, dword [ebx + 0x818]
push ecx
push 1
push 0x1003
push edx
call esi
mov eax, dword [ebx + 0x818]
push edi
push edi
push 0x1009
push eax
call esi
nop
mov ecx, dword [ebx + 0x818]
push edi
push edi
push 0x101c
push ecx
call esi
test eax, eax
jne 0x4046b0
push 0xffffffffffffffff
push 0xc8
push edi
push 0x452200
lea esi, [ebx + 0x7f8]
push edi
mov ecx, esi
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push edi
push 0x452208
push 1
mov ecx, esi
call fcn.00410932
push 0xffffffffffffffff
push 0x64
push edi
push 0x452210
push 2
mov ecx, esi
call fcn.00410932
push 0xffffffffffffffff
push 0x73
push edi
push 0x452218
push 3
mov ecx, esi
call fcn.00410932
push 0x45228c
lea esi, [ebx + 0x298]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x404735
mov eax, 0x80
jmp 0x40473a
or eax, 0x80
push 0x4010
push 0x160
lea edx, [esp + 0x64]
push edx
push eax
push 0x45228c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x4c], eax
mov al, byte [esi]
test al, al
mov dword [esp + 0x44], 7
je 0x4047f3
mov ebx, esi
movsx ecx, al
push ecx
push 0x452b88
push 0x3b6
push str..FileClientDlg.cpp
push 0
mov ecx, str.CFileClientDlg::FixedRemoteDriveList
call fcn.0040d010
movsx edx, byte [ebx]
add esp, 0x14
push edx
push 0x452b88
push 0x3b6
push str..FileClientDlg.cpp
push 0
mov ecx, str.CFileClientDlg::FixedRemoteDriveList
call fcn.0040cd30
add esp, 0x14
cmp byte [ebx], 0x43
jne 0x4047c8
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x44]
je 0x4047c8
mov dword [esp + 0x44], eax
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add edi, 0xa
lea eax, [edi + esi]
push eax
call ebx
lea edi, [edi + eax + 1]
lea ecx, [edi + esi]
push ecx
call ebx
lea edi, [edi + eax + 1]
mov al, byte [edi + esi]
test al, al
lea ebx, [edi + esi]
jne 0x404771
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
push edx
push eax
push str._d___d
push 0x3d0
push str..FileClientDlg.cpp
push 0
mov ecx, str.CFileClientDlg::FixedRemoteDriveList
call fcn.0040d010
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push ecx
push edx
push str._d___d
push 0x3d0
push str..FileClientDlg.cpp
push 0
mov ecx, str.CFileClientDlg::FixedRemoteDriveList
call fcn.0040cd30
add esp, 0x30
xor edi, edi
cmp byte [esi], 0
je 0x404a4a
jmp 0x404850
movsx eax, byte [esi + edi + 1]
movsx ecx, byte [edi + esi]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x404861.3
jmp dword [eax*4 + 0x404ab4]
cmp ecx, 0x41
je 0x40487d
cmp ecx, 0x42
je 0x40487d
mov ebx, dword [ebx + 0x6a0]
add ebx, 3
jmp 0x4048a4
mov ebx, dword [ebx + 0x6a0]
add ebx, 1
jmp 0x4048a4
mov ebx, dword [ebx + 0x6a0]
jmp 0x4048a4
mov ebx, dword [ebx + 0x6a0]
add ebx, 4
jmp 0x4048a4
mov ebx, dword [ebx + 0x6a0]
add ebx, 2
call fcn.00412fcd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404aaa
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x200], 0
movsx ecx, byte [edi + esi]
push ecx
lea edx, [esp + 0x48]
push str._c:_
push edx
call fcn.0040b0d0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
add esp, 0xc
push 0
push ebx
push 0
push 0
push eax
push edi
push 3
add ecx, 0x7f8
call fcn.00410985
mov ecx, dword [esp + 0x48]
push 1
push 0
push 0
push 0
push 0
push 4
mov ebx, eax
push 0
push ebx
add ecx, 0x7f8
call fcn.004109d1
mov eax, dword [edi + esi + 2]
test eax, eax
mov ecx, dword [edi + esi + 6]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
mov dword [esp + 0x4c], ecx
jge 0x404946
fadd dword [0x453210]
fmul qword [0x453208]
sub esp, 8
lea edx, [esp + 0x4c]
fstp qword [esp]
push str._10.1f_GB
push edx
call fcn.0040b0d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add esp, 0x10
push eax
push 2
push ebx
add ecx, 0x7f8
call fcn.004107d4
fild dword [esp + 0x4c]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jge 0x40498d
fadd dword [0x453210]
fmul qword [0x453208]
sub esp, 8
lea edx, [esp + 0x4c]
fstp qword [esp]
push str._10.1f_GB
push edx
call fcn.0040b0d0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
add esp, 0x10
push eax
push 3
push ebx
add ecx, 0x7f8
call fcn.004107d4
add edi, 0xa
lea eax, [edi + esi]
push eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [edi + eax + 1]
mov dword [esp + 0x50], edi
add edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4049ef
mov ecx, dword [esp + 0x4c]
push ecx
jmp 0x4049f0
push edi
mov ecx, dword [esp + 0x4c]
push 1
push ebx
add ecx, 0x7f8
call fcn.004107d4
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x50]
lea edi, [edx + eax + 1]
mov dword [esp + 0x200], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [edi + esi], 0
mov ebx, dword [esp + 0x48]
jne 0x404850
push 0
lea esi, [ebx + 0x294]
push 0x451c5c
mov ecx, esi
call fcn.00402100
mov ecx, dword [ebx + 0x770]
push 0
push 0
push 0x14b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edx
push 0x4522c8
mov esi, ebx
call fcn.00405940
add esp, 8
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00431676
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402350
push 0x9b004048
dec eax
inc eax
add byte [eax - 0x6fffbfb8], cl
dec eax
inc eax
add byte [edx + 0x48], dh
inc eax
add ah, cl
int3