Function at 0x474620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50934c
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xd4], 0
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x474672
mov eax, dword [esi]
jmp 0x474674
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebx + 0x10], ecx
je 0x474b74
cmp dword [edi + 0x10], ecx
je 0x474b74
push 0x20019
push str.mailto_shellopencommand
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0x80000000
movq qword [ebp - 0x24], xmm0
call fcn.0040baf0
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.00423870
test eax, eax
jne 0x474b44
cmp dword [ebp - 0x2c], eax
je 0x474b44
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00472aa0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.0041acb0
add esp, 0x10
test al, al
je 0x47486e
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47486e
xor eax, eax
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
push ebx
call fcn.0041acb0
add esp, 8
test al, al
je 0x474866
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.00472aa0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
push eax
push eax
call fcn.0041acb0
add esp, 0x10
test al, al
je 0x47485b
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x474adb
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00441880
add esp, 8
test al, al
je 0x474adb
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
jb 0x47485b
push 2
xor eax, eax
mov dword [ebp - 0x88], 7
push 0x518c3c
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
call fcn.004073d0
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
push ecx
cmovae eax, dword [ebp - 0x9c]
push 0
mov dword [ebp - 0xd0], ecx
lea ecx, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 5
call fcn.0040b680
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x474883
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00463800
add esp, 8
test al, al
je 0x474850
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x474846
push ebx
push 0
push eax
mov ecx, esi
call fcn.00407980
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x9c]
call fcn.00408450
lea ecx, [ebp - 0x84]
call fcn.00408450
lea ecx, [ebp - 0x6c]
call fcn.00408450
lea ecx, [ebp - 0x54]
call fcn.00408450
lea ecx, [ebp - 0x3c]
call fcn.00408450
jmp 0x474b65
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x2c]
add eax, ebx
sub ecx, eax
mov dword [ebp - 0xd8], ecx
cmp eax, dword [edi + 0x10]
ja 0x474850
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push ebx
cmovae eax, dword [ebp - 0x3c]
mov ecx, edi
push eax
push ebx
push 0
call fcn.00408670
test eax, eax
jne 0x474850
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0x3c]
add ecx, ebx
cmp word [eax + ecx*2], 0
lea edx, [eax + ecx*2]
jne 0x4748d7
xor ecx, ecx
jmp 0x4748f5
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4748e2
sub ecx, dword [ebp - 0xd0]
sar ecx, 1
push ecx
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.00429030
cmp eax, 0xffffffff
je 0x474aab
mov ecx, dword [ebp - 0xd8]
add ecx, eax
cmp ecx, dword [edi + 0x10]
jne 0x474aab
cmp eax, ebx
jbe 0x474aab
sub eax, ebx
mov ecx, edi
push eax
push ebx
lea eax, [ebp - 0xcc]
push eax
call fcn.00407940
push 7
xor eax, eax
mov byte [ebp - 4], 6
push str.mailto:
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
call fcn.004073d0
cmp dword [ebp - 0xa0], 8
lea edx, [ebp - 0xb4]
mov byte [ebp - 4], 7
cmovae edx, dword [ebp - 0xb4]
cmp word [edx], 0
jne 0x474989
xor ecx, ecx
jmp 0x47499f
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474990
sub ecx, edi
sar ecx, 1
push ecx
push edx
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xcc]
push 0
call fcn.00408670
test eax, eax
je 0x4749d3
lea ecx, [ebp - 0xb4]
call fcn.00408450
lea ecx, [ebp - 0xcc]
call fcn.00408450
jmp 0x474850
movq xmm0, qword [str._t_n_v_]
mov eax, dword [0x518c5c]
movq qword [ebp - 0x1c], xmm0
cmp word [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
jne 0x4749f3
xor ecx, ecx
jmp 0x474a0f
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474a00
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00411090
cmp eax, 0xffffffff
jne 0x4749b8
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x474a39
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00407980
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0xd4], 1
jb 0x474a5a
push dword [ebp - 0xb4]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
cmp dword [ebp - 0xb8], 8
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
jb 0x474a8e
push dword [ebp - 0xcc]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
cmp dword [ebp - 0x88], 8
jb 0x474ac2
push dword [ebp - 0x9c]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x70], 8
jb 0x474aef
push dword [ebp - 0x84]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
cmp dword [ebp - 0x58], 8
mov dword [ebp - 0x74], eax
mov word [ebp - 0x84], ax
jb 0x474b13
push dword [ebp - 0x6c]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], 7
cmp dword [ebp - 0x40], 8
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x5c], eax
jb 0x474b34
push dword [ebp - 0x54]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x28], 8
jb 0x474b55
push dword [ebp - 0x3c]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0040beb0
cmp dword [ebp - 0xd4], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret