Function at 0x46e500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], esi
mov dword [eax + 0x10], esi
jb 0x46e53d
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
cmp dword [ecx + 0x10], esi
je 0x46eb4e
cmp dword [ebx + 0x10], esi
je 0x46eb4e
push edi
push 0x20019
push str.mailto_shellopencommand
push 0x80000000
lea ecx, [ebp - 0xdc]
call fcn.0040aa40
lea ecx, [ebp - 0x2c]
push ecx
xor eax, eax
mov edi, 7
push esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.0041fe50
test eax, eax
jne 0x46eb24
cmp dword [ebp - 0x1c], esi
je 0x46eb24
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0046e170
lea ecx, [ebp - 0x48]
push ecx
mov edx, ecx
push edx
call fcn.00417bd0
add esp, 0x10
test al, al
je 0x46e628
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x46e5cd
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e628
mov edx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x64]
push ecx
xor eax, eax
push edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], ax
call fcn.00417bd0
add esp, 8
test al, al
je 0x46e620
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.0046e170
lea ecx, [ebp - 0x80]
push ecx
mov edx, ecx
push edx
call fcn.00417bd0
add esp, 0x10
test al, al
jne 0x46e63d
lea ecx, [ebp - 0x80]
call fcn.0040a440
lea ecx, [ebp - 0x64]
call fcn.0040a440
lea ecx, [ebp - 0x48]
call fcn.0040a440
lea ecx, [ebp - 0x2c]
call fcn.0040a440
jmp 0x46eb42
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004407c0
add esp, 8
test al, al
je 0x46eaaf
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004407c0
add esp, 8
test al, al
je 0x46eaaf
mov ecx, dword [ebx + 0x10]
cmp ecx, dword [ebp - 0x1c]
jb 0x46e618
push 2
xor edx, edx
push 0x5186c4
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], dx
call fcn.004063e0
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x46e6b1
lea eax, [ebp - 0x9c]
mov edi, dword [ebp - 0x8c]
push edi
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a590
mov esi, eax
cmp esi, 0xffffffff
jne 0x46e700
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.0045cca0
add esp, 8
test al, al
je 0x46e88b
push esi
push 0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.00406a40
mov dword [ebp - 0xe4], 1
jmp 0x46e88b
mov eax, dword [ebp - 0x1c]
add edi, esi
sub eax, edi
mov dword [ebp - 0xec], eax
cmp edi, dword [ebx + 0x10]
ja 0x46e88b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x46e722
lea eax, [ebp - 0x2c]
push esi
push eax
push esi
push 0
mov ecx, ebx
call fcn.00407490
test eax, eax
jne 0x46e88b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x46e742
lea eax, [ebp - 0x2c]
lea edx, [eax + edi*2]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xe0], ecx
xor edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x46e752
sub eax, dword [ebp - 0xe0]
mov ecx, ebx
sar eax, 1
push eax
push 0xffffffffffffffff
push edx
call fcn.00429d60
cmp eax, 0xffffffff
je 0x46e9f3
mov edx, dword [ebp - 0xec]
lea ecx, [eax + edx]
cmp ecx, dword [ebx + 0x10]
jne 0x46e9f3
cmp eax, esi
jbe 0x46e9f3
sub eax, esi
push eax
push esi
xor edx, edx
push ebx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], dx
call fcn.00406a40
push 7
xor eax, eax
push str.mailto:
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], ax
call fcn.004063e0
mov edx, dword [ebp - 0xb8]
mov ebx, 8
cmp dword [ebp - 0xa4], ebx
jae 0x46e800
lea edx, [ebp - 0xb8]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x46e805
mov ecx, dword [ebp - 0xa8]
sub eax, esi
sar eax, 1
push eax
push edx
push ecx
push edi
lea ecx, [ebp - 0xd4]
call fcn.00407490
test eax, eax
jne 0x46e875
mov eax, dword [0x5186ac]
mov edx, dword [str._t_n_v_]
mov ecx, dword [0x5186b0]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x46e850
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0xd4]
call fcn.0040f680
cmp eax, 0xffffffff
je 0x46e8c8
lea ecx, [ebp - 0xb8]
call fcn.0040a440
lea ecx, [ebp - 0xd4]
call fcn.0040a440
lea ecx, [ebp - 0x9c]
call fcn.0040a440
lea ecx, [ebp - 0x80]
call fcn.0040a440
lea ecx, [ebp - 0x64]
call fcn.0040a440
lea ecx, [ebp - 0x48]
call fcn.0040a440
lea ecx, [ebp - 0x2c]
call fcn.0040a440
lea ecx, [ebp - 0xdc]
call fcn.0040abf0
xor esi, esi
jmp 0x46eb4d
mov ecx, dword [ebp - 0xe8]
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x48]
push eax
call fcn.00406a40
mov dword [ebp - 0xe4], 1
cmp dword [ebp - 0xa4], ebx
jb 0x46e8fb
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0xc0], ebx
jb 0x46e92c
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], edi
mov word [ebp - 0xd4], cx
cmp dword [ebp - 0x88], ebx
jb 0x46e958
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x6c], ebx
jb 0x46e97e
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], ebx
jb 0x46e99b
mov eax, dword [ebp - 0x64]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], ebx
jb 0x46e9b8
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jb 0x46e9d5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.0040abf0
xor esi, esi
jmp 0x46eb4d
mov ebx, 8
cmp dword [ebp - 0x88], ebx
jb 0x46ea0f
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x6c], ebx
jb 0x46ea3a
mov edx, dword [ebp - 0x80]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x50], ebx
jb 0x46ea57
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], ebx
jb 0x46ea74
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], ebx
jb 0x46ea91
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.0040abf0
xor esi, esi
jmp 0x46eb4d
mov ebx, 8
cmp dword [ebp - 0x6c], ebx
jb 0x46eac5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x50], ebx
jb 0x46eae2
mov eax, dword [ebp - 0x64]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], ebx
jb 0x46eaff
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], ebx
jb 0x46eb1c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov word [ebp - 0x2c], dx
jmp 0x46eb3c
cmp dword [ebp - 0x18], 8
jb 0x46eb36
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0xdc]
call fcn.0040abf0
pop edi
cmp dword [ebp - 0xe4], esi
mov ecx, dword [ebp - 4]
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
mov esp, ebp
pop ebp
ret