Function at 0x46d7a1
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b1c48
push eax
mov eax, 0x1a8c
mov dword fs:[0], esp
call fcn.0047aff0
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea ecx, [esp + 0x588]
mov dword [esp + 0x14], esi
call fcn.00413ea0
mov edi, dword [esp + 0x1ab0]
lea eax, [esp + 0x584]
push 0
push eax
mov ecx, edi
mov dword [esp + 0x1aac], 0
call fcn.0044bcd0
mov ecx, dword [esi + 0x4c]
push eax
call fcn.00408c90
test al, al
je 0x46e296
mov esi, dword [esp + 0x1aac]
push str.uidl
mov ecx, esi
call fcn.004991f0
test eax, eax
je 0x46e296
push eax
lea ecx, [esp + 0x588]
call fcn.00415080
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x46e296
mov ecx, ebp
call fcn.00440440
push eax
mov ecx, edi
call fcn.00479dd0
mov ecx, eax
call fcn.00447460
test al, al
jne 0x46d884
mov ecx, dword [0x4d5f90]
mov dword [esp + 0x10], ecx
mov ecx, edi
mov byte [esp + 0x1aa4], 1
call fcn.00479da0
push eax
lea edx, [esp + 0x14]
push str._error_id_serrorno3
push edx
call fcn.004a0e91
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, esi
push eax
call fcn.00498030
mov byte [esp + 0x1aa4], 0
lea ecx, [esp + 0x10]
jmp 0x46e291
push 0x4cfcb0
mov ecx, esi
call fcn.004991f0
mov edi, eax
test edi, edi
je 0x46e296
mov esi, str.reply
mov ecx, edi
mov al, byte [ecx]
mov bl, byte [esi]
mov dl, al
cmp al, bl
jne 0x46d8cc
test dl, dl
je 0x46d8c5
mov al, byte [ecx + 1]
mov bl, byte [esi + 1]
mov dl, al
cmp al, bl
jne 0x46d8cc
add ecx, 2
add esi, 2
test dl, dl
jne 0x46d8a1
xor ecx, ecx
or ebx, 0xffffffff
jmp 0x46d8d5
sbb ecx, ecx
mov ebx, 0xffffffff
sbb ecx, ebx
test ecx, ecx
jne 0x46d8e3
mov dword [esp + 0x2c], 1
jmp 0x46d922
mov esi, str.forward
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x46d90e
test cl, cl
je 0x46d90a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x46d90e
add eax, 2
add esi, 2
test cl, cl
jne 0x46d8ea
xor eax, eax
jmp 0x46d912
sbb eax, eax
sbb eax, ebx
test eax, eax
jne 0x46de33
mov dword [esp + 0x2c], 2
mov dl, byte [0x4d83ac]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x185]
mov byte [esp + 0x184], dl
mov byte [esp + 0x129c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x129d]
mov byte [esp + 0x48], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x169c], dl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x169d]
mov byte [esp + 0xe9c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xe9d]
mov byte [esp + 0xa9c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0xa9d]
mov dword [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x184]
cmp eax, 2
mov edi, str.Fwd:
je 0x46d9de
mov edi, str.Re:
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x188]
mov ecx, ebx
repne scasb al, byte es:[edi]
push eax
push edx
lea eax, [esp + 0x16a8]
push 0x3fe
not ecx
push eax
dec ecx
mov eax, 0x3fe
lea edx, [esp + 0x5c]
push 0x30
sub eax, ecx
lea esi, [esp + ecx + 0x19c]
push edx
push eax
push esi
lea ecx, [esp + 0xec0]
push 0x3fe
push ecx
mov ecx, ebp
call fcn.00440690
test al, al
jne 0x46daac
mov edx, dword [0x4d5f90]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1ab0]
mov byte [esp + 0x1aa4], 2
call fcn.00479da0
push eax
lea eax, [esp + 0x14]
push str._error_id_serrorno3
push eax
call fcn.004a0e91
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x1ab0]
call fcn.00498030
lea ecx, [esp + 0x10]
mov byte [esp + 0x1aa4], 0
call fcn.004a3625
mov dword [esp + 0x1aa4], ebx
jmp 0x46e2a1
push 0x400
lea edx, [esp + 0x12a0]
push esi
push edx
call fcn.00486310
push 9
push str.fwd:_fwd:
lea eax, [esp + 0x198]
push 9
push eax
call fcn.00485920
add esp, 0x1c
test al, al
je 0x46db23
lea edi, [esp + 0x189]
mov ecx, ebx
xor eax, eax
lea edx, [esp + 0x184]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 9
mov eax, ecx
mov esi, edi
mov edi, edx
push str.fwd:_fwd:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 9
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x190]
push ecx
call fcn.00485920
add esp, 0x10
test al, al
jne 0x46dadc
push 7
push str.re:_re:
lea edx, [esp + 0x18c]
push 7
push edx
call fcn.00485920
add esp, 0x10
test al, al
je 0x46db87
lea edi, [esp + 0x188]
mov ecx, ebx
xor eax, eax
lea edx, [esp + 0x184]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 7
mov eax, ecx
mov esi, edi
mov edi, edx
push str.re:_re:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 7
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x190]
push ecx
call fcn.00485920
add esp, 0x10
test al, al
jne 0x46db40
lea edx, [esp + 0xa9c]
push 0x3fe
push edx
mov ecx, ebp
call fcn.00440530
push str.lt_
push 0x4c8ddc
lea eax, [esp + 0x18c]
push 0x400
push eax
call fcn.00485a40
push str.gt_
push 0x4cea54
lea ecx, [esp + 0x19c]
push 0x400
push ecx
call fcn.00485a40
push str.quot_
push 0x4cdd90
lea edx, [esp + 0x1ac]
push 0x400
push edx
call fcn.00485a40
push str.lt_
push 0x4c8ddc
lea eax, [esp + 0x12d4]
push 0x400
push eax
call fcn.00485a40
add esp, 0x40
lea ecx, [esp + 0x129c]
push str.gt_
push 0x4cea54
push 0x400
push ecx
call fcn.00485a40
push str.quot_
push 0x4cdd90
lea edx, [esp + 0x12b4]
push 0x400
push edx
call fcn.00485a40
push str.lt_
push 0x4c8ddc
lea eax, [esp + 0x16c4]
push 0x400
push eax
call fcn.00485a40
push str.gt_
push 0x4cea54
lea ecx, [esp + 0x16d4]
push 0x400
push ecx
call fcn.00485a40
add esp, 0x40
lea edx, [esp + 0x169c]
push str.quot_
push 0x4cdd90
push 0x400
push edx
call fcn.00485a40
push str.lt_
push 0x4c8ddc
lea eax, [esp + 0xab4]
push 0x400
push eax
call fcn.00485a40
push str.gt_
push 0x4cea54
lea ecx, [esp + 0xac4]
push 0x400
push ecx
call fcn.00485a40
push str.quot_
push 0x4cdd90
lea edx, [esp + 0xad4]
push 0x400
push edx
call fcn.00485a40
add esp, 0x40
push str.lt_
push 0x4c8ddc
lea eax, [esp + 0xea4]
push 0x400
push eax
call fcn.00485a40
push str.gt_
push 0x4cea54
lea ecx, [esp + 0xeb4]
push 0x400
push ecx
call fcn.00485a40
push str.quot_
push 0x4cdd90
lea edx, [esp + 0xec4]
push 0x400
push edx
call fcn.00485a40
push 0x400
lea eax, [esp + 0x1b8]
push 0x4cb968
push eax
call fcn.00486350
push 0x400
lea ecx, [esp + 0x12dc]
push 0x4cb968
push ecx
call fcn.00486350
add esp, 0x48
lea edx, [esp + 0xe9c]
push 0x400
push 0x4cb968
push edx
call fcn.00486350
push 0x32
lea eax, [esp + 0x58]
push 0x4cb968
push eax
call fcn.00486350
push 0x400
lea ecx, [esp + 0x16b8]
push 0x4cb968
push ecx
call fcn.00486350
push 0x400
lea edx, [esp + 0xac4]
push 0x4cb968
push edx
call fcn.00486350
mov esi, dword [esp + 0x1ae0]
add esp, 0x30
mov ecx, esi
call fcn.00479e80
mov ebp, eax
test ebp, ebp
jne 0x46de3f
mov eax, dword [0x4d5f90]
mov dword [esp + 0x10], eax
mov ecx, esi
mov byte [esp + 0x1aa4], 3
call fcn.00479da0
push eax
lea ecx, [esp + 0x14]
push str._error_id_serrorno4
push ecx
call fcn.004a0e91
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1ab8]
add esp, 0xc
push edx
call fcn.00498030
lea ecx, [esp + 0x10]
mov byte [esp + 0x1aa4], 0
call fcn.004a3625
mov dword [esp + 0x1aa4], ebx
jmp 0x46e2a1
mov al, byte [0x4d83ac]
mov ecx, 0x41
mov byte [esp + 0x7c], al
xor eax, eax
lea edi, [esp + 0x7d]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004997e0
lea ecx, [esp + 0x18]
call fcn.00489cd0
push 0
push 1
lea edx, [esp + 0x84]
mov ebx, 4
push 1
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ab4], bl
call fcn.00489d20
test al, al
jne 0x46dea3
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
mov esi, dword [esp + 0x2c]
cmp esi, 1
jne 0x46df4c
cmp byte [esp + 0xa9c], 0xd
jne 0x46def1
lea edi, [esp + 0xe9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xea0]
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46df28
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
lea edi, [esp + 0xa9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xa9c]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46df28
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
push 2
push 0x4cb968
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46df6f
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
push ebx
push str._r_n_r_n
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46df6f
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
lea edi, [esp + 0x184]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46dfa6
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
push ebx
push str._r_n_r_n
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46dfc9
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x46e0dc
push str._r_n_r_n_r_n______Original_Mail_______r_nFrom:
lea ecx, [esp + 0x18]
call fcn.004a364f
lea ecx, [esp + 0xe9c]
mov byte [esp + 0x1aa4], 5
push ecx
lea ecx, [esp + 0x18]
call fcn.004a37e2
push str.To:
lea ecx, [esp + 0x18]
call fcn.004a37e2
lea edx, [esp + 0x169c]
lea ecx, [esp + 0x14]
push edx
call fcn.004a37e2
push str.Received_On:
lea ecx, [esp + 0x18]
call fcn.004a37e2
lea eax, [esp + 0x48]
lea ecx, [esp + 0x14]
push eax
call fcn.004a37e2
push 0x4d46e0
lea ecx, [esp + 0x18]
call fcn.004a37e2
lea ecx, [esp + 0x129c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a37e2
push 0x4cb968
lea ecx, [esp + 0x18]
call fcn.004a37e2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00489f00
test al, al
jne 0x46e07e
lea ecx, [esp + 0x18]
call fcn.00489e00
lea edx, [esp + 0x7c]
push edx
jmp 0x46e0c6
mov edi, dword [esp + 0x1ab0]
mov ecx, edi
call fcn.00479dd0
mov ecx, eax
call fcn.00448c50
test al, al
je 0x46e0f2
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.00479dd0
mov ecx, eax
call fcn.004474c0
test al, al
jne 0x46e0f2
lea ecx, [esp + 0x18]
call fcn.00489e00
lea ecx, [esp + 0x7c]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1aa4], bl
call fcn.004a3625
lea ecx, [esp + 0x18]
mov byte [esp + 0x1aa4], 0
call fcn.00489d10
jmp 0x46e296
lea ecx, [esp + 0x18]
call fcn.00489e00
lea ecx, [esp + 0x14]
mov byte [esp + 0x1aa4], bl
call fcn.004a3625
lea ecx, [esp + 0x18]
mov byte [esp + 0x1aa4], 0
call fcn.00489d10
lea edx, [esp + 0x7c]
mov ecx, ebp
push edx
call fcn.00466810
cmp esi, 2
jne 0x46e2e2
mov ecx, edi
xor esi, esi
call fcn.00479dd0
mov ecx, eax
call fcn.00448c60
test eax, eax
jle 0x46e214
mov ebx, dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x80], 0
call fcn.004997e0
lea ecx, [esp + 0x38]
call fcn.00489cd0
push 0
push 1
lea ecx, [esp + 0x84]
push 1
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1ab4], 6
call fcn.00489d20
test al, al
je 0x46e2c8
lea edx, [esp + 0x38]
push esi
push edx
mov ecx, edi
call fcn.00479dd0
mov ecx, eax
call fcn.00447680
test al, al
lea ecx, [esp + 0x38]
je 0x46e1e0
call fcn.00489e00
push esi
mov ecx, edi
call fcn.00479dd0
mov ecx, eax
call fcn.00448c80
push eax
lea eax, [esp + 0x80]
push eax
mov ecx, ebp
call fcn.00466530
test al, al
jne 0x46e1ec
lea ecx, [esp + 0x7c]
push ecx
jmp 0x46e1ea
call fcn.00489e00
lea edx, [esp + 0x7c]
push edx
call ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x1aa4], 0
call fcn.00489d10
mov ecx, edi
inc esi
call fcn.00479dd0
mov ecx, eax
call fcn.00448c60
cmp esi, eax
jl 0x46e14f
mov ebx, dword [esp + 0x30]
mov ecx, ebx
call fcn.00441920
test al, al
jne 0x46e240
push 1
mov ecx, ebx
call fcn.00441910
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x584]
push eax
mov ecx, dword [ecx + 0x4c]
call fcn.0040b900
mov edx, dword [0x4d5f90]
mov dword [esp + 0x28], edx
mov ecx, ebp
mov byte [esp + 0x1aa4], 7
call fcn.00466520
push eax
mov ecx, edi
call fcn.00479da0
push eax
lea eax, [esp + 0x30]
push str._compose_id_scomposeid_d
push eax
call fcn.004a0e91
mov ecx, dword [esp + 0x38]
add esp, 0x10
push ecx
mov ecx, dword [esp + 0x1ab0]
call fcn.00498030
mov byte [esp + 0x1aa4], 0
lea ecx, [esp + 0x28]
call fcn.004a3625
mov dword [esp + 0x1aa4], 0xffffffff
lea ecx, [esp + 0x584]
call fcn.00414790
mov ecx, dword [esp + 0x1a9c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a98
ret 8
lea eax, [esp + 0x7c]
push eax
call ebx
lea ecx, [esp + 0x38]
mov byte [esp + 0x1aa4], 0
call fcn.00489d10
jmp 0x46e296
cmp esi, 1
jne 0x46e214
mov ebx, dword [esp + 0x30]
mov ecx, ebx
call fcn.004418e0
test al, al
jne 0x46e240
push esi
mov ecx, ebx
call fcn.004418d0
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x584]
push ecx
mov ecx, dword [edx + 0x4c]
jmp 0x46e23b