Function at 0x457fa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x5246a8]
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 0x45851e
cmp dword [ebx + 0x10], 0
je 0x45851e
push edi
push 0x20019
push str.mailto_shellopencommand
push 0x80000000
lea ecx, [ebp - 0xd0]
call fcn.0040a680
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.00422fd0
test eax, eax
jne 0x4584f0
cmp dword [ebp - 0x10], eax
je 0x4584f0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.00457c90
lea ecx, [ebp - 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.00416360
add esp, 0x10
test al, al
je 0x45816a
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x45805a
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45816a
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.00416360
add esp, 8
test al, al
je 0x458162
lea edx, [ebp - 0x74]
push ebx
push edx
call fcn.00457c90
lea eax, [ebp - 0x74]
push eax
mov ecx, eax
push ecx
call fcn.00416360
add esp, 0x10
test al, al
je 0x45815a
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.0045b070
add esp, 8
test al, al
je 0x458476
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.0045b070
add esp, 8
test al, al
je 0x458476
mov eax, dword [ebx + 0x10]
cmp eax, dword [ebp - 0x10]
jb 0x45815a
xor ecx, ecx
push 2
mov word [ebp - 0x90], cx
push 0x4ec8ac
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], 0
call fcn.00406040
cmp dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x90]
jae 0x45811e
lea eax, [ebp - 0x90]
mov edi, dword [ebp - 0x80]
push edi
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a0c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x45817f
lea edx, [ebp - 0x20]
push edx
push ebx
call fcn.0044c9e0
add esp, 8
test al, al
je 0x45814f
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x90]
call fcn.00409ff0
lea ecx, [ebp - 0x74]
call fcn.00409ff0
lea ecx, [ebp - 0x58]
call fcn.00409ff0
lea ecx, [ebp - 0x3c]
call fcn.00409ff0
lea ecx, [ebp - 0x20]
call fcn.00409ff0
jmp 0x458512
mov eax, dword [ebp - 0x10]
add edi, esi
sub eax, edi
mov dword [ebp - 0xd8], eax
cmp edi, dword [ebx + 0x10]
ja 0x45814f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x45819d
lea eax, [ebp - 0x20]
push esi
push eax
push esi
push 0
mov ecx, ebx
call fcn.004071f0
test eax, eax
jne 0x45814f
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4581b9
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 0x4581c1
sub eax, edi
sar eax, 1
push eax
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.00417850
cmp eax, 0xffffffff
je 0x4583ce
mov ecx, dword [ebp - 0xd8]
lea edx, [eax + ecx]
cmp edx, dword [ebx + 0x10]
jne 0x4583ce
cmp eax, esi
jbe 0x4583ce
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.004066a0
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.00406040
cmp dword [ebp - 0x98], 8
mov edx, dword [ebp - 0xac]
jae 0x458269
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 0x458270
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.004071f0
test eax, eax
je 0x4582b3
lea ecx, [ebp - 0xac]
call fcn.00409ff0
lea ecx, [ebp - 0xc8]
call fcn.00409ff0
jmp 0x45814f
push 1
push edi
push 0x4ec7c0
lea ecx, [ebp - 0xc8]
call fcn.0040a0c0
cmp eax, 0xffffffff
jne 0x458298
mov esi, 8
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0x98], esi
jb 0x4582f1
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.00406d09
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 0x45831d
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00406d09
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 0x458346
mov edx, dword [ebp - 0x90]
push edx
call fcn.00406d09
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 0x458366
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406d09
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 0x458383
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406d09
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 0x4583a0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406d09
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 0x4583bd
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov word [ebp - 0x20], dx
jmp 0x458512
mov ebx, 8
cmp dword [ebp - 0x7c], ebx
jb 0x4583e7
mov eax, dword [ebp - 0x90]
push eax
call fcn.00406d09
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 0x45840e
mov edx, dword [ebp - 0x74]
push edx
call fcn.00406d09
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 0x45842b
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.00406d09
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 0x458448
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00406d09
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 0x458465
mov edx, dword [ebp - 0x20]
push edx
call fcn.00406d09
add esp, 4
xor eax, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov word [ebp - 0x20], ax
jmp 0x458512
mov ebx, 8
cmp dword [ebp - 0x60], ebx
jb 0x45848c
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406d09
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 0x4584ab
mov eax, dword [ebp - 0x58]
push eax
call fcn.00406d09
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 0x4584c8
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00406d09
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 0x4584e5
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00406d09
add esp, 4
xor edx, edx
mov dword [ebp - 0x10], esi
mov word [ebp - 0x20], dx
jmp 0x45850f
cmp dword [ebp - 0xc], 8
jb 0x458502
mov eax, dword [ebp - 0x20]
push eax
call fcn.00406d09
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.0040aa90
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