Function at 0x5289e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x727525
mov eax, dword fs:[0]
push eax
sub esp, 0x230
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 esi, ecx
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x9c], eax
mov ax, word [0x738154]
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0xe
movq qword [ebp - 0xa4], xmm0
mov word [ebp - 0x98], ax
mov byte [ebp - 0x96], 0
push 1
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0x23c]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x528ac3
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528ab9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529316
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
call fcn.0054d360
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x2c], 0x54534f50
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xbc]
mov ecx, esi
push eax
call fcn.00535d10
mov edx, dword [ebp - 0x18]
test eax, eax
mov byte [ebp - 4], 5
sete al
mov byte [ebp - 0x189], al
cmp edx, 0x10
jb 0x528bb3
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52931b
push edx
push ecx
call fcn.006f4b9f
mov al, byte [ebp - 0x189]
add esp, 8
test al, al
je 0x528bed
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 0x34]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f0], 3
push str.TCoremailExpiryDateClient::GetExpiryDate_hRequest_is_NULL
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
lea eax, [esi + 0x80]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
cmp ecx, eax
je 0x528c6b
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x528c5c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.0044f130
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 0x34]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f0], 6
push str.TCoremailExpiryDateClient::GetExpiryDate__strOuId
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae ecx, dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
add esp, 4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0054e390
add esp, 0xc
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x74]
push 0
push dword [ebp - 0x64]
push eax
push 0x1d
push str.Content_Type:_application_xml
call fcn.00536140
test eax, eax
jne 0x528d49
mov ecx, esi
call fcn.00534eb0
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 0x34]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f0], 3
push str.TCoremailExpiryDateClient::GetExpiryDate_send_request_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x528d33
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
add esp, 4
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x529320
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00515d70
add esp, 4
push str.ExpiryDatetmp
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
push eax
call fcn.00506c90
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x528dcf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x528dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52932a
push edx
push ecx
call fcn.006f4b9f
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0xc0], 8
lea ecx, [ebp - 0x190]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0xd4]
cmovae eax, dword [ebp - 0xd4]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x18], 7
call fcn.00535f90
test eax, eax
jne 0x528e60
mov ecx, esi
call fcn.00534eb0
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 0x34]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f0], 3
push str.TCoremailExpiryDateClient::GetExpiryDate_read_file_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x528e4a
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
push 0xfde9
push dword [ebp - 0x190]
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x188], eax
call fcn.004d3ce0
push dword [ebp - 0x188]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.005294a0
mov edi, eax
lea eax, [ebp - 0x44]
cmp eax, edi
je 0x528f25
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x528ef1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528ee7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52932f
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x528f59
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x528f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52932f
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [ebp - 0x188]
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0xe
cmp eax, ecx
je 0x528f88
push eax
call fcn.006fa47e
add esp, 4
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00527a90
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x528fe0
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 0x34]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1f0], 3
push str.TCoremailExpiryDateClient::GetExpiryDate_Delete_xml_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
mov ecx, esi
mov dword [esi + 0x11c], 0x3ea
call fcn.00450400
mov dword [esi + 0x120], eax
lea ecx, [esi + 0x11c]
lea eax, [ebp - 0xec]
push eax
call fcn.0051bce0
mov edx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x529043
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x529039
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x529096
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52908c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x5290ec
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5290e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x190]
xor eax, eax
mov word [ebp - 0xd4], ax
add edx, 0xfffffff0
mov dword [ebp - 0xc4], 0
or eax, 0xffffffff
mov dword [ebp - 0xc0], 7
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x52912b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x529166
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52915c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x5291b3
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5291a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x5291fd
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5291f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x52924d
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x529243
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x529334
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
call fcn.00553780
lea eax, [ebp - 0x1dc]
mov dword [ebp - 4], 0x10
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov al, 1
jmp 0x5292fa
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
int3