Function at 0x540460
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728c31
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
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 - 0x25c], eax
mov ax, word [0x738154]
mov dword [ebp - 0x2c0], esi
mov dword [ebp - 0x250], 0xf
mov dword [ebp - 0x254], 0xe
movq qword [ebp - 0x264], xmm0
mov word [ebp - 0x258], ax
mov byte [ebp - 0x256], 0
push 1
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push 0x400
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0x368]
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x540543
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54168c
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [0x738150]
movq xmm0, qword [str.Foxmail.Addins]
mov dword [ebp - 0x22c], eax
mov ax, word [0x738154]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0xe
movq qword [ebp - 0x234], xmm0
mov word [ebp - 0x228], ax
mov byte [ebp - 0x226], 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
call fcn.00555fc0
add esp, 4
lea ecx, [ebp - 0xbc]
push 1
push 0x400
push eax
call fcn.00552eb0
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x540605
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5405fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x541691
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov ecx, esi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00546540
lea ecx, [ebp - 0xbc]
test eax, eax
jne 0x54069b
mov eax, dword [ebp - 0xbc]
call dword [eax + 0x34]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x70], 3
push str.TCoremailOrganizationClient::_LoadSyncInfo_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
lea ecx, [esi + 0x210]
call fcn.0053b5a0
lea ecx, [ebp - 0xbc]
mov byte [esi + 0x211], 0
call fcn.00553780
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov byte [esi + 0x211], 0
jmp 0x5406c8
call fcn.00553780
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.006f3999
add esp, 4
mov byte [ebp - 4], 3
cmp byte [esi + 0x211], 0
jne 0x540a0d
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea eax, [esi + 0xc8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0054d640
add esp, 8
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 4
mov dword [ebp - 0x24c], 0x54534f50
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00535d10
mov edx, dword [ebp - 0x238]
test eax, eax
mov byte [ebp - 4], 9
sete bl
cmp edx, 0x10
jb 0x540788
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x54077e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x541696
push edx
push ecx
call fcn.006f4b9f
add esp, 8
test bl, bl
je 0x540836
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_hRequest_is_NULL
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x220]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x540804
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5407fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00553780
mov dword [ebp - 4], 0xb
jmp 0x54103a
cmp byte [esi + 0x180], 0
je 0x5408e8
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xc
push eax
call fcn.0054d700
add esp, 4
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x24c]
push 1
push dword [ebp - 0x23c]
push eax
push 0x1d
push str.Content_Type:_application_xml
call fcn.00536140
mov edx, dword [ebp - 0x238]
mov edi, eax
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x5408fe
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5408dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54169b
push edx
push ecx
call fcn.006f4b9f
add esp, 8
jmp 0x5408fe
push 1
push 0
push 0
push 0x1d
push str.Content_Type:_application_xml
mov ecx, esi
call fcn.00536140
mov edi, eax
test edi, edi
jne 0x5409cc
mov ecx, esi
call fcn.00534eb0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_send_request_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x540946
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x220]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x54099a
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540990
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00553780
mov dword [ebp - 4], 0xd
jmp 0x54103a
mov edx, dword [ebp - 0x220]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x540f22
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a0
jmp 0x540d1e
cmp dword [esi + 0x23c], 0
jne 0x540d2d
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
lea eax, [esi + 0xc8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0054d640
add esp, 8
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 4
mov dword [ebp - 0x24c], 0x54534f50
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00535d10
mov edx, dword [ebp - 0x238]
test eax, eax
mov byte [ebp - 4], 0xe
sete bl
cmp edx, 0x10
jb 0x540ada
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540ad0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a5
push edx
push ecx
call fcn.006f4b9f
add esp, 8
test bl, bl
je 0x540b88
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_2_hRequest_is_NULL
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x220]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x540b56
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540b4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00553780
mov dword [ebp - 4], 0x10
jmp 0x54103a
cmp byte [esi + 0x180], 0
je 0x540c3a
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0xf
mov byte [ebp - 0x24c], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x11
push eax
call fcn.0054d700
add esp, 4
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x24c]
push 1
push dword [ebp - 0x23c]
push eax
push 0x1d
push str.Content_Type:_application_xml
call fcn.00536140
mov edx, dword [ebp - 0x238]
mov edi, eax
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x540c50
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540c2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416aa
push edx
push ecx
call fcn.006f4b9f
add esp, 8
jmp 0x540c50
push 1
push 0
push 0
push 0x1d
push str.Content_Type:_application_xml
mov ecx, esi
call fcn.00536140
mov edi, eax
test edi, edi
jne 0x5409cc
mov ecx, esi
call fcn.00534eb0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_2_send_request_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x540c98
mov ecx, dword [esi + 8]
push dword [esi + 0x18]
push ecx
push eax
call fcn.004cba60
add esp, 0xc
push eax
call fcn.004cbd50
mov edx, dword [ebp - 0x220]
add esp, 4
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x540cec
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416a0
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.00553780
mov dword [ebp - 4], 0x12
jmp 0x54103a
push edx
push ecx
call fcn.006f4b9f
add esp, 8
jmp 0x540f22
mov edx, dword [esi + 0x23c]
lea ecx, [esi + 0x22c]
mov eax, closesocket
sub eax, edx
cmp eax, 5
jb 0x5416af
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x540d53
mov eax, dword [ecx]
push 5
push str._sid
push edx
push eax
push ecx
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x294]
call fcn.004cc200
lea eax, [esi + 0xc8]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0044f600
add esp, 0xc
lea ecx, [ebp - 0x294]
call fcn.0044f440
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 4
mov dword [ebp - 0x24c], 0x54534f50
mov byte [ebp - 0x248], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00535d10
mov edx, dword [ebp - 0x238]
test eax, eax
mov byte [ebp - 4], 0x15
sete bl
cmp edx, 0x10
jb 0x540e1b
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x540e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5416b4
push edx
push ecx
call fcn.006f4b9f
add esp, 8
test bl, bl
je 0x540e77
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_3_hRequest_is_NULL
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
lea ecx, [ebp - 0x234]
call fcn.0044f440
lea ecx, [ebp - 0x368]
call fcn.00553780
mov dword [ebp - 4], 0x17
jmp 0x54103a
cmp byte [esi + 0x210], 0
mov ecx, esi
sete al
movzx eax, al
push eax
push 0
push 0
push 0x1d
push str.Content_Type:_application_xml
call fcn.00536140
test eax, eax
jne 0x540f13
mov ecx, esi
call fcn.00534eb0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_3_send_request_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x540edb
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
lea ecx, [ebp - 0x234]
call fcn.0044f440
lea ecx, [ebp - 0x368]
call fcn.00553780
mov dword [ebp - 4], 0x18
jmp 0x54103a
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.0044f440
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x5416b9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 0x19
push eax
call fcn.00515d70
add esp, 4
push str.LoadOrgtmp
push eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00506c90
add esp, 0xc
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0x1c
call fcn.004ccb20
cmp dword [ebp - 0x268], 8
lea ecx, [ebp - 0x298]
lea eax, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x27c]
push ecx
push eax
mov ecx, esi
call fcn.00535f90
mov ecx, esi
test eax, eax
jne 0x541058
call fcn.00534eb0
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_read_file_failed_
push eax
call fcn.004cb4e0
add esp, 8
lea ecx, [esi + 8]
cmp dword [esi + 0x1c], 0x10
jb 0x540fe5
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
lea ecx, [ebp - 0x27c]
call fcn.004ccb20
mov edx, dword [ebp - 0x298]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x541028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x368]
call fcn.00553780
mov dword [ebp - 4], 0x1d
lea eax, [ebp - 0x308]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.006f3999
add esp, 4
jmp 0x541213
call fcn.00534eb0
cmp byte [esi + 0x211], 0
je 0x541160
cmp byte [esi + 0x210], 0
je 0x541160
cmp dword [esi + 0x23c], 0
je 0x541160
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x104
ja 0x541528
test eax, eax
je 0x541528
lea ecx, [ebp - 0x2b8]
call fcn.004e5940
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x2bc]
call fcn.004e5890
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x2bc]
mov ecx, esi
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.005419f0
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x1e
call fcn.004cc9f0
push dword [ebp - 0x298]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
test eax, eax
jne 0x541141
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::Login_Delete_zip_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x298]
call fcn.004e7220
lea ecx, [ebp - 0x2b8]
call fcn.004cc9f0
jmp 0x541166
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2b4], 0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x298]
mov ecx, esi
push eax
call fcn.00535cc0
test eax, eax
jne 0x541231
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_load_xml_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov eax, dword [ebp - 0x2b4]
add esp, 4
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x5411db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x27c]
call fcn.004ccb20
mov edx, dword [ebp - 0x298]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x541208
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x368]
call fcn.004cd070
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
push dword [ebp - 0x298]
call edi
test eax, eax
jne 0x541273
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::Login_Delete_xml_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
add esp, 4
push 8
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
mov dword [ebp - 0x2a0], 0
call fcn.006f4b6f
lea ecx, [ebp - 0x2b0]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2b0], eax
mov dword [eax], ecx
mov byte [ebp - 4], 0x21
call fcn.00450400
mov ecx, esi
mov dword [esi + 0x11c], eax
call fcn.00450400
mov dword [esi + 0x120], eax
mov ecx, esi
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.00544a30
test eax, eax
jne 0x5413d3
call fcn.00450400
cmp dword [esi + 0x11c], eax
jne 0x541314
mov dword [esi + 0x11c], 0x3f2
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_Extract_File_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov ecx, dword [ebp - 0x2a0]
add esp, 4
test ecx, ecx
je 0x54139b
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a8]
dec eax
add ecx, eax
dec edx
mov eax, dword [ebp - 0x2ac]
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.0053afc0
mov ecx, dword [ebp - 0x2a0]
sub ecx, 1
mov dword [ebp - 0x2a0], ecx
jne 0x541360
mov dword [ebp - 0x2a4], 0
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x2ac]
test esi, esi
je 0x5414d4
nop
mov ecx, dword [eax + esi*4 - 4]
dec esi
test ecx, ecx
je 0x5413ca
push 0x1c
push ecx
call fcn.006f4b9f
mov eax, dword [ebp - 0x2ac]
add esp, 8
test esi, esi
jne 0x5413b0
jmp 0x5414ce
mov ecx, esi
call fcn.00450400
mov dword [esi + 0x120], eax
call fcn.00450400
mov dword [esi + 0x11c], eax
mov ecx, esi
lea eax, [ebp - 0x2b0]
push eax
call fcn.00541d50
test eax, eax
jne 0x541543
call fcn.00450400
cmp dword [esi + 0x11c], eax
jne 0x541418
mov dword [esi + 0x11c], 0x3f2
mov eax, dword [ebp - 0x368]
lea ecx, [ebp - 0x368]
call dword [eax + 0x34]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x31c], 3
push str.TCoremailOrganizationClient::LoadOrg_extract_org_failed
push eax
call fcn.004cb4e0
add esp, 8
push eax
call fcn.004cbd50
mov ecx, dword [ebp - 0x2a0]
add esp, 4
test ecx, ecx
je 0x54149b
nop dword [eax + eax]
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a8]
dec eax
add ecx, eax
dec edx
mov eax, dword [ebp - 0x2ac]
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.0053afc0
mov ecx, dword [ebp - 0x2a0]
sub ecx, 1
mov dword [ebp - 0x2a0], ecx
jne 0x541460
mov dword [ebp - 0x2a4], 0
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x2ac]
test esi, esi
je 0x5414d4
nop dword [eax + eax]
mov ecx, dword [eax + esi*4 - 4]
dec esi
test ecx, ecx
je 0x5414ca
push 0x1c
push ecx
call fcn.006f4b9f
mov eax, dword [ebp - 0x2ac]
add esp, 8
test esi, esi
jne 0x5414b0
mov esi, dword [ebp - 0x2a8]
test eax, eax
je 0x5414e5
push esi
push eax
lea ecx, [ebp - 0x299]
call fcn.00546cd0
mov eax, dword [ebp - 0x2b0]
push 8
push eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2b0], 0
call fcn.006f4b9f
mov eax, dword [ebp - 0x2b4]
add esp, 8
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x541528
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x27c]
call fcn.004ccb20
lea ecx, [ebp - 0x298]
call fcn.004cc9f0
jmp 0x541208
mov ecx, dword [ebp - 0x2a0]
test ecx, ecx
je 0x54158b
nop dword [eax]
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x2a8]
dec eax
add ecx, eax
dec edx
mov eax, dword [ebp - 0x2ac]
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.0053afc0
mov ecx, dword [ebp - 0x2a0]
sub ecx, 1
mov dword [ebp - 0x2a0], ecx
jne 0x541550
mov dword [ebp - 0x2a4], 0
mov esi, dword [ebp - 0x2a8]
mov eax, dword [ebp - 0x2ac]
test esi, esi
je 0x5415c4
nop dword [eax + eax]
mov ecx, dword [eax + esi*4 - 4]
dec esi
test ecx, ecx
je 0x5415ba
push 0x1c
push ecx
call fcn.006f4b9f
mov eax, dword [ebp - 0x2ac]
add esp, 8
test esi, esi
jne 0x5415a0
mov esi, dword [ebp - 0x2a8]
test eax, eax
je 0x5415d5
push esi
push eax
lea ecx, [ebp - 0x299]
call fcn.00546cd0
mov eax, dword [ebp - 0x2b0]
push 8
push eax
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2b0], 0
call fcn.006f4b9f
mov eax, dword [ebp - 0x2b4]
add esp, 8
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x541618
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x27c]
call fcn.004ccb20
lea ecx, [ebp - 0x298]
call fcn.004cc9f0
lea ecx, [ebp - 0x368]
call fcn.004cd070
mov eax, 1
jmp 0x541215
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.006fb96e
call fcn.0044f120
call fcn.006fb96e
push 0x80004005
call fcn.004cf5d0
int3