Function at 0x47036d
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b1dee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d8
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x50], esi
call fcn.00413ea0
mov ecx, dword [esp + 0x6fc]
lea eax, [esp + 0x1d0]
push 0
push eax
mov dword [esp + 0x6f8], 0
call fcn.0044bcd0
mov ecx, dword [esi + 0x4c]
push eax
call fcn.00408c90
test al, al
je 0x4709d1
mov ebx, dword [esp + 0x6f8]
push str.uidl
mov ecx, ebx
call fcn.004991f0
push str.folder
mov ecx, ebx
mov dword [esp + 0x18], eax
call fcn.004991f0
push str.index
mov ecx, ebx
mov edi, eax
call fcn.004991f0
mov ecx, dword [0x4d5f90]
mov esi, eax
mov dword [esp + 0x18], ecx
push str.page
mov ecx, ebx
mov byte [esp + 0x6f4], 1
call fcn.004991f0
mov ebp, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4709c0
push eax
lea ecx, [esp + 0x1d4]
call fcn.00415080
test eax, eax
mov dword [esp + 0x48], eax
jne 0x4704c3
test edi, edi
jne 0x470436
mov edi, str.inbox
test ebp, ebp
jne 0x47043f
mov ebp, 0x4c8dd8
mov edx, dword [0x4d5f90]
mov dword [esp + 0x14], edx
push str.inbox
push edi
mov byte [esp + 0x6f8], 2
call fcn.0047f7d0
add esp, 8
test eax, eax
jne 0x470485
mov ecx, dword [esp + 0x6fc]
push ebp
call fcn.00479da0
push eax
lea eax, [esp + 0x1c]
push str._inbox_id_spage_s
push eax
call fcn.004a0e91
add esp, 0x10
jmp 0x4704a6
mov ecx, dword [esp + 0x6fc]
push edi
push ebp
call fcn.00479da0
push eax
lea ecx, [esp + 0x20]
push str._otherfolder_id_spage_sotherfolder_s
push ecx
call fcn.004a0e91
add esp, 0x14
mov edx, dword [esp + 0x14]
mov ecx, ebx
push edx
call fcn.00498030
mov byte [esp + 0x6f0], 1
lea ecx, [esp + 0x14]
jmp 0x4709bb
mov ecx, eax
call fcn.00440440
mov ecx, dword [esp + 0x6fc]
push eax
call fcn.00479dd0
mov ecx, eax
call fcn.00447460
test al, al
mov eax, dword [0x4d5f90]
jne 0x47052f
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x6fc]
mov byte [esp + 0x6f0], 3
call fcn.00479da0
push eax
lea ecx, [esp + 0x18]
push str._error_id_serrorno3
push ecx
call fcn.004a0e91
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, ebx
push edx
call fcn.00498030
mov byte [esp + 0x6f0], 1
lea ecx, [esp + 0x14]
jmp 0x4709bb
mov dword [esp + 0x20], eax
mov bl, 4
test edi, edi
mov byte [esp + 0x6f0], bl
jne 0x470545
mov edi, str.inbox
test esi, esi
jne 0x4705dd
mov ecx, dword [esp + 0x48]
call fcn.00441960
mov ecx, dword [esp + 0x6fc]
push eax
call fcn.0047a210
mov ecx, eax
call fcn.004794f0
cmp eax, 0xffffffff
jne 0x47057f
push 0x4c8dd8
lea ecx, [esp + 0x1c]
call fcn.004a371e
jmp 0x4705d9
push 0
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.00486390
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [esp + 0x6f0], 5
test eax, eax
jne 0x4705a3
mov eax, 0x4b49e4
push eax
lea ecx, [esp + 0x1c]
call fcn.004a371e
mov eax, dword [esp + 0x58]
mov byte [esp + 0x6f0], bl
test eax, eax
je 0x4705d9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4705d0
cmp al, 0xff
je 0x4705d0
dec al
mov byte [ecx], al
jmp 0x4705d9
push ecx
call fcn.004a2a3d
add esp, 4
mov esi, dword [esp + 0x18]
test ebp, ebp
jne 0x4705e6
mov ebp, 0x4c8dd8
push ebp
push esi
push edi
lea edx, [esp + 0x2c]
push str.folder_sindex_spage_s
push edx
call fcn.004a0e91
mov al, byte [esp + 0x27]
xor ebp, ebp
add esp, 0x14
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x6f8]
mov ebx, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
push edx
push str._readmsg.html
mov ecx, ebx
mov byte [esp + 0x6fc], 6
call fcn.00470fc0
test al, al
jne 0x470644
mov eax, dword [esp + 0x28]
push eax
jmp 0x47099b
mov cl, byte [0x4d83ac]
xor eax, eax
mov byte [esp + 0xc8], cl
mov ecx, 0x41
lea edi, [esp + 0xc9]
lea edx, [esp + 0xc8]
rep stosd dword es:[edi], eax
push edx
mov ecx, ebx
call fcn.004997e0
lea ecx, [esp + 0x38]
call fcn.00489cd0
push ebp
push 1
lea eax, [esp + 0xd0]
push 1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x700], 7
call fcn.00489d20
test al, al
jne 0x4706ae
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x470985
mov eax, dword [0x4d5f90]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x1c], eax
mov byte [esp + 0x6f0], 8
lea edi, [ebx + 0x44]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x64]
push ecx
push 0x64
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.00499870
test al, al
je 0x470879
mov al, byte [esp + 0x64]
test al, al
je 0x4708bc
lea edx, [esp + 0x13]
push ebp
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x704]
lea ecx, [esp + 0x6c]
push eax
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x27], 0
call fcn.00471310
test al, al
je 0x470879
mov al, byte [esp + 0x13]
test al, al
jne 0x4706c6
mov esi, str.HEADLINK
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x470758
test cl, cl
je 0x470754
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x470758
add eax, 2
add esi, 2
test cl, cl
jne 0x470734
xor eax, eax
jmp 0x47075d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x47078c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, dword [esp + 0x704]
call fcn.00479da0
push eax
lea edx, [esp + 0x28]
push str._readmsghead_id_suidl_s_s
push edx
call fcn.004a0e91
add esp, 0x14
jmp 0x4707e6
mov esi, str.BODYTEXTLINK
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4707b9
test cl, cl
je 0x4707b5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4707b9
add eax, 2
add esi, 2
test cl, cl
jne 0x470795
xor eax, eax
jmp 0x4707be
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x470801
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6fc]
push eax
call fcn.00479da0
push eax
lea ecx, [esp + 0x24]
push str._readmsgbody_id_suidl_stypetext
push ecx
call fcn.004a0e91
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00489f00
test al, al
je 0x470879
jmp 0x4706c6
mov esi, str.BODYHTMLLINK
lea eax, [esp + 0x64]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x47082e
test cl, cl
je 0x47082a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x47082e
add eax, 2
add esi, 2
test cl, cl
jne 0x47080a
xor eax, eax
jmp 0x470833
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4706c6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6fc]
push eax
call fcn.00479da0
push eax
lea ecx, [esp + 0x24]
push str._readmsgbody_id_suidl_stypehtml
push ecx
call fcn.004a0e91
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00489f00
test al, al
jne 0x4706c6
lea ecx, [esp + 0x38]
call fcn.00489e00
lea edx, [esp + 0xc8]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6f0], 7
call fcn.004a3625
lea ecx, [esp + 0x38]
mov byte [esp + 0x6f0], 6
call fcn.00489d10
mov eax, dword [esp + 0x28]
push eax
jmp 0x47099b
lea ecx, [esp + 0x38]
call fcn.00489e00
mov esi, dword [esp + 0x6f8]
push str.html
push 1
lea ecx, [esp + 0xd0]
push 0xc8
push ecx
mov ecx, esi
call fcn.00495a70
test al, al
jne 0x470901
push ebp
mov ecx, esi
call fcn.00497450
lea edx, [esp + 0xc8]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov esi, dword [esp + 0x48]
mov ecx, esi
call fcn.00441880
test al, al
jne 0x470929
push 1
mov ecx, esi
call fcn.00441870
mov ecx, dword [ebx + 0x4c]
lea eax, [esp + 0x1d0]
push eax
call fcn.0040b900
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push edx
push str.Read_Mail__WebMail_:_UIDL__s_
push eax
mov byte [esp + 0x6fc], 9
call fcn.004a0e91
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
lea ecx, [esp + 0x1d4]
call fcn.00415150
lea ecx, [esp + 0x34]
mov byte [esp + 0x6f0], 8
call fcn.004a3625
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6f0], 7
call fcn.004a3625
lea ecx, [esp + 0x38]
mov byte [esp + 0x6f0], 6
call fcn.00489d10
mov edx, dword [esp + 0x28]
push edx
call fcn.004a2a3d
add esp, 4
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x6f0], 1
lea ecx, [esp + 0x20]
call fcn.004a3625
lea ecx, [esp + 0x18]
mov byte [esp + 0x6f0], 0
call fcn.004a3625
lea ecx, [esp + 0x1d0]
mov dword [esp + 0x6f0], 0xffffffff
call fcn.00414790
mov ecx, dword [esp + 0x6e8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6e4
ret 8