Function at 0x42a570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x509354]
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 + 0x14], 0
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], 0
je 0x42a756
cmp dword [ebx + 0x14], 0
je 0x42a756
push edi
push 0x20019
push str.mailto_shellopencommand
push SysReAllocString
lea ecx, [ebp - 0xd0]
call fcn.00440760
lea ecx, [ebp - 0x20]
xor eax, eax
push ecx
mov edi, 7
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.00440450
test al, al
je 0x42a742
cmp dword [ebp - 0xc], 0
je 0x42a742
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0042a0f0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, ecx
push edx
call fcn.004385e0
add esp, 0x10
test al, al
je 0x42a73a
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x42a631
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42a73a
lea ecx, [ebp - 0x58]
push ecx
xor eax, eax
push esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.004385e0
add esp, 8
test al, al
je 0x42a732
lea edx, [ebp - 0x90]
push ebx
push edx
call fcn.0042a0f0
lea eax, [ebp - 0x90]
push eax
mov ecx, eax
push ecx
call fcn.004385e0
add esp, 0x10
test al, al
je 0x42a727
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00437f00
add esp, 8
test al, al
je 0x42a727
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.00437f00
add esp, 8
test al, al
je 0x42a727
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebp - 0xc]
jb 0x42a727
xor ecx, ecx
push 2
mov word [ebp - 0x70], cx
push 0x4d2524
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], 0
call fcn.00401cd6
cmp dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x70]
jae 0x42a6ee
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x60]
push esi
push 0
push eax
lea ecx, [ebp - 0x20]
call fcn.00405a9f
mov edi, eax
cmp edi, 0xffffffff
jne 0x42a770
lea edx, [ebp - 0x20]
push edx
push ebx
call fcn.00407a67
add esp, 8
test al, al
je 0x42a71f
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x74]
call fcn.0040198e
lea ecx, [ebp - 0x90]
call fcn.0040198e
lea ecx, [ebp - 0x58]
call fcn.0040198e
lea ecx, [ebp - 0x3c]
call fcn.0040198e
lea ecx, [ebp - 0x20]
call fcn.0040198e
lea ecx, [ebp - 0xd0]
call fcn.00440270
pop edi
cmp dword [ebp - 0xd4], 0
mov ecx, dword [ebp - 4]
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e25d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebx + 0x14]
add esi, edi
sub eax, esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xdc], eax
cmp esi, ecx
ja 0x42a71f
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x42a796
lea eax, [ebp - 0x1c]
mov esi, edi
cmp ecx, edi
jae 0x42a7a2
mov esi, ecx
mov edx, esi
jmp 0x42a7a4
mov edx, edi
cmp dword [ebx + 0x18], 8
jb 0x42a7af
mov ecx, dword [ebx + 4]
jmp 0x42a7b2
lea ecx, [ebx + 4]
test edx, edx
jbe 0x42a7dd
jmp 0x42a7c0
mov bx, word [ecx]
cmp bx, word [eax]
jne 0x42a94b
add ecx, 2
add eax, 2
sub edx, 1
jne 0x42a7c0
mov ebx, dword [ebp - 0xd8]
cmp esi, edi
jb 0x42a71f
xor eax, eax
cmp esi, edi
setne al
test eax, eax
jne 0x42a71f
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x42a800
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xe0]
lea edx, [eax + edx*2]
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a810
sub eax, esi
sar eax, 1
push eax
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.0041b570
cmp eax, 0xffffffff
je 0x42aa9a
mov ecx, dword [ebp - 0xdc]
lea edx, [eax + ecx]
cmp edx, dword [ebx + 0x14]
jne 0x42aa9a
cmp eax, edi
jbe 0x42aa9a
sub eax, edi
push eax
xor ecx, ecx
push edi
mov word [ebp - 0xa8], cx
xor esi, esi
push ebx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], esi
call fcn.00401c43
push 7
xor edx, edx
push 0x4d2514
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], esi
mov word [ebp - 0xc4], dx
call fcn.00401cd6
cmp dword [ebp - 0xb0], 8
mov ecx, dword [ebp - 0xc4]
jae 0x42a8b8
lea ecx, [ebp - 0xc4]
mov eax, ecx
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42a8c0
mov edx, dword [ebp - 0xb4]
sub eax, esi
mov esi, dword [ebp - 0x98]
sar eax, 1
mov edi, edx
cmp esi, edx
jae 0x42a8e3
mov edi, esi
mov esi, edi
cmp edi, eax
jb 0x42a8eb
mov esi, eax
cmp dword [ebp - 0x94], 8
mov edx, dword [ebp - 0xa8]
jae 0x42a900
lea edx, [ebp - 0xa8]
test esi, esi
jbe 0x42a917
mov bx, word [edx]
cmp bx, word [ecx]
jne 0x42a96a
add edx, 2
add ecx, 2
sub esi, 1
jne 0x42a904
mov ebx, 8
lea esi, [ebx - 1]
cmp edi, eax
jb 0x42a930
xor ecx, ecx
cmp edi, eax
setne cl
xor edi, edi
cmp ecx, edi
je 0x42a984
lea ecx, [ebp - 0xc8]
call fcn.0040198e
lea ecx, [ebp - 0xac]
call fcn.0040198e
jmp 0x42a71f
mov cx, bx
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
je 0x42a7d7
mov ebx, dword [ebp - 0xd8]
jmp 0x42a7ec
mov dx, bx
cmp dx, word [ecx]
mov esi, 7
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 1
lea ebx, [esi + 1]
jne 0x42a92a
jmp 0x42a91f
push 1
push edi
push 0x4d2510
lea ecx, [ebp - 0xac]
call fcn.00405a9f
cmp eax, 0xffffffff
jne 0x42a930
mov dword [ebp - 0xd4], 1
cmp dword [ebp - 0xb0], ebx
jb 0x42a9bd
mov eax, dword [ebp - 0xc4]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], edi
mov word [ebp - 0xc4], cx
cmp dword [ebp - 0x94], ebx
jb 0x42a9e9
mov edx, dword [ebp - 0xa8]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x98], edi
mov word [ebp - 0xa8], ax
cmp dword [ebp - 0x5c], ebx
jb 0x42aa0f
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x70], dx
cmp dword [ebp - 0x78], ebx
jb 0x42aa2f
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x8c], cx
cmp dword [ebp - 0x40], ebx
jb 0x42aa4f
mov edx, dword [ebp - 0x54]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
mov word [ebp - 0x54], ax
cmp dword [ebp - 0x24], ebx
jb 0x42aa6c
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov word [ebp - 0x38], dx
cmp dword [ebp - 8], ebx
jb 0x42aa89
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov word [ebp - 0x1c], cx
jmp 0x42a74a
mov ebx, 8
cmp dword [ebp - 0x5c], ebx
jb 0x42aab0
mov edx, dword [ebp - 0x70]
push edx
call fcn.0048e006
add esp, 4
xor edi, edi
xor eax, eax
mov esi, 7
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x70], ax
cmp dword [ebp - 0x78], ebx
jb 0x42aad7
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], edi
mov word [ebp - 0x8c], dx
cmp dword [ebp - 0x40], ebx
jb 0x42aaf7
mov eax, dword [ebp - 0x54]
push eax
call fcn.0048e006
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
mov word [ebp - 0x54], cx
cmp dword [ebp - 0x24], ebx
jb 0x42ab14
mov edx, dword [ebp - 0x38]
push edx
call fcn.0048e006
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov word [ebp - 0x38], ax
cmp dword [ebp - 8], ebx
jb 0x42ab31
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0048e006
add esp, 4
xor edx, edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov word [ebp - 0x1c], dx
jmp 0x42a74a