Function at 0x481c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52440c
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x579630]
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 0x481ca2
mov eax, dword [esi]
jmp 0x481ca4
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [ebx + 0x10], ecx
je 0x4821a4
cmp dword [edi + 0x10], ecx
je 0x4821a4
push 0x20019
push str.mailto_shellopencommand
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
push 0x80000000
movq qword [ebp - 0x24], xmm0
call fcn.0040dca0
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.004197c0
test eax, eax
jne 0x482174
cmp dword [ebp - 0x2c], eax
je 0x482174
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004800c0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.00420960
add esp, 0x10
test al, al
je 0x481e9e
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 0x481e9e
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.00420960
add esp, 8
test al, al
je 0x481e96
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004800c0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
push eax
push eax
call fcn.00420960
add esp, 0x10
test al, al
je 0x481e8b
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00445c30
add esp, 8
test al, al
je 0x48210b
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00445c30
add esp, 8
test al, al
je 0x48210b
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x2c]
jb 0x481e8b
push 2
xor eax, eax
mov dword [ebp - 0x88], 7
push 0x535ac8
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
call fcn.00407750
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.0040cdd0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x481eb3
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00469e60
add esp, 8
test al, al
je 0x481e80
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x481e76
push ebx
push 0
push eax
mov ecx, esi
call fcn.00407d00
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x9c]
call fcn.004087d0
lea ecx, [ebp - 0x84]
call fcn.004087d0
lea ecx, [ebp - 0x6c]
call fcn.004087d0
lea ecx, [ebp - 0x54]
call fcn.004087d0
lea ecx, [ebp - 0x3c]
call fcn.004087d0
jmp 0x482195
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 0x481e80
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.004089f0
test eax, eax
jne 0x481e80
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 0x481f07
xor ecx, ecx
jmp 0x481f25
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xd0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481f12
sub ecx, dword [ebp - 0xd0]
sar ecx, 1
push ecx
push 0xffffffffffffffff
push edx
mov ecx, edi
call fcn.0042c9f0
cmp eax, 0xffffffff
je 0x4820db
mov ecx, dword [ebp - 0xd8]
add ecx, eax
cmp ecx, dword [edi + 0x10]
jne 0x4820db
cmp eax, ebx
jbe 0x4820db
sub eax, ebx
mov ecx, edi
push eax
push ebx
lea eax, [ebp - 0xcc]
push eax
call fcn.00407cc0
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.00407750
cmp dword [ebp - 0xa0], 8
lea edx, [ebp - 0xb4]
mov byte [ebp - 4], 7
cmovae edx, dword [ebp - 0xb4]
cmp word [edx], 0
jne 0x481fb9
xor ecx, ecx
jmp 0x481fcf
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481fc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
push dword [ebp - 0xa4]
lea ecx, [ebp - 0xcc]
push 0
call fcn.004089f0
test eax, eax
je 0x482003
lea ecx, [ebp - 0xb4]
call fcn.004087d0
lea ecx, [ebp - 0xcc]
call fcn.004087d0
jmp 0x481e80
movq xmm0, qword [str._t_n_v_]
mov eax, dword [0x535ae8]
movq qword [ebp - 0x1c], xmm0
cmp word [ebp - 0x1c], 0
mov dword [ebp - 0x14], eax
jne 0x482023
xor ecx, ecx
jmp 0x48203f
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482030
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040acd0
cmp eax, 0xffffffff
jne 0x481fe8
lea eax, [ebp - 0x54]
cmp esi, eax
je 0x482069
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00407d00
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0xd4], 1
jb 0x48208a
push dword [ebp - 0xb4]
call fcn.004085be
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 0x4820be
push dword [ebp - 0xcc]
call fcn.004085be
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 0x4820f2
push dword [ebp - 0x9c]
call fcn.004085be
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 0x48211f
push dword [ebp - 0x84]
call fcn.004085be
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 0x482143
push dword [ebp - 0x6c]
call fcn.004085be
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 0x482164
push dword [ebp - 0x54]
call fcn.004085be
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 0x482185
push dword [ebp - 0x3c]
call fcn.004085be
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.0040dfb0
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.00401590
mov esp, ebp
pop ebp
ret