Function at 0x547f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7293df
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x84], eax
mov ax, word [0x738154]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x7c], 0xe
movq qword [ebp - 0x8c], xmm0
mov word [ebp - 0x80], ax
mov byte [ebp - 0x7e], 0
push 1
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0x25c]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x548024
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54801a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54875f
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x7c], 0
push eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 3
call fcn.00515f10
add esp, 4
push 0xa
push str.global.ini
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0044ef80
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x5480d3
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5480c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548764
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x94], 0
cmovae eax, dword [ebp - 0x2c]
push 0xfde9
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.004d3aa0
mov esi, dword [ebp - 0x1a8]
mov byte [ebp - 4], 7
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x548769
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 8
test esi, esi
je 0x548160
test esi, 0xffff0000
jne 0x548160
movzx eax, si
lea ecx, [ebp - 0x1b0]
push eax
call fcn.004d4560
jmp 0x54816c
push esi
lea ecx, [ebp - 0x1b0]
call fcn.004cce60
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a4]
cmp eax, ecx
je 0x548185
push eax
call fcn.006fa47e
add esp, 4
mov esi, dword [ebp - 0x1b0]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x548667
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
mov ecx, edi
call fcn.00547030
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x5c]
push 0x20
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.0044f2f0
movups xmm0, xmmword [str.cloud.icoremail.net]
mov edx, eax
mov dword [ebp - 0x4c], 0x13
mov dword [ebp - 0x48], 0x1f
movups xmmword [edx], xmm0
mov cx, word [0x740188]
mov word [edx + 0x10], cx
mov al, byte [0x74018a]
mov byte [edx + 0x12], al
mov byte [edx + 0x13], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x74]
push 0x20
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.0044f2f0
movups xmm0, xmmword [str.Coremail_Outlook_Addin]
mov edx, eax
mov dword [ebp - 0x64], 0x16
mov dword [ebp - 0x60], 0x1f
movups xmmword [edx], xmm0
mov ecx, dword [0x74019c]
mov dword [edx + 0x10], ecx
mov ax, word [0x7401a0]
mov word [edx + 0x14], ax
mov byte [edx + 0x16], 0
mov dword [ebp - 0x74], edx
push 0
push 0x50
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00535750
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x5482ba
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5482b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548773
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x548304
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5482fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548773
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x5c], 0x54534f50
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.00535d10
mov edx, dword [ebp - 0x48]
test eax, eax
mov byte [ebp - 4], 0xb
sete al
mov byte [ebp - 0x1a9], al
cmp edx, 0x10
jb 0x548379
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x548369
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548778
push edx
push ecx
call fcn.006f4b9f
mov al, byte [ebp - 0x1a9]
add esp, 8
test al, al
je 0x54847e
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [eax + 0x34]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 3
push str.TCoremailStatisticsClient::UpdateInstallStatistics_hRequect_is_NULL
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x5483ef
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5483e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54877d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x34], 0
add esi, 0xfffffff0
mov dword [ebp - 0x30], 0xf
or eax, 0xffffffff
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 6
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x54841d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x548455
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54844b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54877d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00553780
mov dword [ebp - 4], 0xf
jmp 0x5485af
push 0
push 0
push 0
push 0
push 0
mov ecx, edi
call fcn.00536140
mov ecx, edi
test eax, eax
jne 0x5485cd
call fcn.00534eb0
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [eax + 0x34]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 3
push str.TCoremailStatisticsClient::UpdateInstallStatistics_send_request_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [edi + 8]
cmp dword [edi + 0x1c], 0x10
jb 0x5484d7
mov ecx, dword [edi + 8]
push dword [edi + 0x18]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x30]
add esp, 4
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x548525
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54851b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54877d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x34], 0
add esi, 0xfffffff0
mov dword [ebp - 0x30], 0xf
or eax, 0xffffffff
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 6
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x548553
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x54858b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x548581
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54877d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00553780
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x1fc]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.006f3999
add esp, 4
jmp 0x548741
call fcn.00534eb0
push 0
push 0x80
push 4
push 0
push 1
push connect
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x548628
mov edx, dword [ebp - 0x25c]
lea ecx, [ebp - 0x25c]
call dword [edx + 0x34]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x210], 3
push str.TCoremailStatisticsClient::UpdateInstallStatistics_Create_global.ini_Wrong_
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x548667
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54865d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54877d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov byte [ebp - 4], 6
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x548683
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x5486bb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5486b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x548782
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x25c]
call fcn.00553780
lea eax, [ebp - 0x1fc]
mov dword [ebp - 4], 0x12
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov eax, 1
jmp 0x548743
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
call fcn.006fb96e
call fcn.006fb96e
push 0x80004005
call fcn.004cf5d0
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
int3