Function at 0x45ff60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov dword [ebp - 0xd4], 0
je 0x4604de
cmp dword [ebx + 0x10], 0
je 0x4604de
push edi
push 0x20019
push str.mailto_shellopencommand
push 0x80000000
lea ecx, [ebp - 0xd0]
call fcn.0040a620
lea ecx, [ebp - 0x20]
xor eax, eax
push ecx
mov edi, 7
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], ax
call fcn.00429950
test eax, eax
jne 0x4604b0
cmp dword [ebp - 0x10], eax
je 0x4604b0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0045fc50
lea ecx, [ebp - 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.0041e780
add esp, 0x10
test al, al
je 0x46012a
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x46001a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46012a
lea ecx, [ebp - 0x58]
push ecx
xor eax, eax
push esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.0041e780
add esp, 8
test al, al
je 0x460122
lea edx, [ebp - 0x74]
push ebx
push edx
call fcn.0045fc50
lea eax, [ebp - 0x74]
push eax
mov ecx, eax
push ecx
call fcn.0041e780
add esp, 0x10
test al, al
je 0x46011a
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00459fb0
add esp, 8
test al, al
je 0x460436
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.00459fb0
add esp, 8
test al, al
je 0x460436
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebp - 0x10]
jb 0x46011a
xor ecx, ecx
push 2
mov word [ebp - 0x90], cx
push 0x4ebb54
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0
call fcn.00405fe0
cmp dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x90]
jae 0x4600de
lea eax, [ebp - 0x90]
mov edi, dword [ebp - 0x80]
push edi
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a060
mov esi, eax
cmp esi, 0xffffffff
jne 0x46013f
lea edx, [ebp - 0x20]
push edx
push ebx
call fcn.004529b0
add esp, 8
test al, al
je 0x46010f
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x90]
call fcn.00409f90
lea ecx, [ebp - 0x74]
call fcn.00409f90
lea ecx, [ebp - 0x58]
call fcn.00409f90
lea ecx, [ebp - 0x3c]
call fcn.00409f90
lea ecx, [ebp - 0x20]
call fcn.00409f90
jmp 0x4604d2
mov eax, dword [ebp - 0x10]
add edi, esi
sub eax, edi
mov dword [ebp - 0xd8], eax
cmp edi, dword [ebx + 0x10]
ja 0x46010f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x46015d
lea eax, [ebp - 0x20]
push esi
push eax
push esi
push 0
mov ecx, ebx
call fcn.00407190
test eax, eax
jne 0x46010f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x460179
lea eax, [ebp - 0x20]
lea edx, [eax + edi*2]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x460181
sub eax, edi
sar eax, 1
push eax
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.0041fb70
cmp eax, 0xffffffff
je 0x46038e
mov ecx, dword [ebp - 0xd8]
lea edx, [eax + ecx]
cmp edx, dword [ebx + 0x10]
jne 0x46038e
cmp eax, esi
jbe 0x46038e
sub eax, esi
push eax
xor ecx, ecx
push esi
mov word [ebp - 0xc8], cx
xor edi, edi
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], edi
call fcn.00406640
mov ebx, 7
push ebx
xor edx, edx
push str.mailto:
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], edi
mov word [ebp - 0xac], dx
call fcn.00405fe0
cmp dword [ebp - 0x98], 8
mov edx, dword [ebp - 0xac]
jae 0x460229
lea edx, [ebp - 0xac]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x460230
sub eax, esi
sar eax, 1
push eax
mov eax, dword [ebp - 0x9c]
push edx
push eax
push edi
lea ecx, [ebp - 0xc8]
call fcn.00407190
test eax, eax
je 0x460273
lea ecx, [ebp - 0xac]
call fcn.00409f90
lea ecx, [ebp - 0xc8]
call fcn.00409f90
jmp 0x46010f
push 1
push edi
push 0x4eba68
lea ecx, [ebp - 0xc8]
call fcn.0040a060
cmp eax, 0xffffffff
jne 0x460258
mov esi, 8
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0x98], esi
jb 0x4602b1
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x9c], edi
mov word [ebp - 0xac], dx
cmp dword [ebp - 0xb4], esi
jb 0x4602dd
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb8], edi
mov word [ebp - 0xc8], cx
cmp dword [ebp - 0x7c], esi
jb 0x460306
mov edx, dword [ebp - 0x90]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], edi
mov word [ebp - 0x90], ax
cmp dword [ebp - 0x60], esi
jb 0x460326
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], edi
mov word [ebp - 0x74], dx
cmp dword [ebp - 0x44], esi
jb 0x460343
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], cx
cmp dword [ebp - 0x28], esi
jb 0x460360
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x3c], ax
cmp dword [ebp - 0xc], esi
jb 0x46037d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov word [ebp - 0x20], dx
jmp 0x4604d2
mov ebx, 8
cmp dword [ebp - 0x7c], ebx
jb 0x4603a7
mov eax, dword [ebp - 0x90]
push eax
call fcn.00406ca9
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov word [ebp - 0x90], cx
cmp dword [ebp - 0x60], ebx
jb 0x4603ce
mov edx, dword [ebp - 0x74]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], edi
mov word [ebp - 0x74], ax
cmp dword [ebp - 0x44], ebx
jb 0x4603eb
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
mov word [ebp - 0x58], dx
cmp dword [ebp - 0x28], ebx
jb 0x460408
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x3c], cx
cmp dword [ebp - 0xc], ebx
jb 0x460425
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov word [ebp - 0x20], ax
jmp 0x4604d2
mov ebx, 8
cmp dword [ebp - 0x60], ebx
jb 0x46044c
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406ca9
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x64], esi
mov word [ebp - 0x74], dx
cmp dword [ebp - 0x44], ebx
jb 0x46046b
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], cx
cmp dword [ebp - 0x28], ebx
jb 0x460488
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406ca9
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x3c], ax
cmp dword [ebp - 0xc], ebx
jb 0x4604a5
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x20], dx
jmp 0x4604cf
cmp dword [ebp - 0xc], 8
jb 0x4604c2
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406ca9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], cx
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xd0]
call fcn.0040aa30
pop edi
cmp dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 4]
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret