Function at 0x5904ea10
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5914290a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebp
push esi
push edi
mov eax, dword [0x59194a20]
mov ebp, dword [esp + 0xac]
xor edi, edi
mov dword [esp + 0x9c], 1
cmp eax, edi
je 0x5904ea75
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push ebp
push eax
push ecx
push str.AnalyzeCommEmailFile___S____s___lu
push str.Winncap
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x1c
mov eax, dword [0x5914f850]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x9c], 2
mov dword [esp + 0x30], eax
mov byte [esp + 0x9c], 3
mov dword [esp + 0x34], eax
mov byte [esp + 0x9c], 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x9c], 5
mov dword [esp + 0x24], eax
mov byte [esp + 0x9c], 6
mov dword [esp + 0xc], eax
mov byte [esp + 0x9c], 7
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 8
call fcn.5909fd90
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 9
call fcn.5909fd90
lea ecx, [esp + 0x64]
mov byte [esp + 0x9c], 0xa
call fcn.590a6450
lea edx, [esp + 0x64]
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
mov byte [esp + 0xc8], 0xb
call fcn.5900c7a0
add esp, 0x2c
test eax, eax
je 0x5904ef30
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 8], edi
jne 0x5904ec5c
mov eax, dword [esp + 0x30]
cmp dword [eax - 8], edi
je 0x5904eb77
push 0x591735b4
push eax
call fcn.5907cbeb
add esp, 8
cmp eax, edi
jne 0x5904ec5c
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], edi
jne 0x5904ec5c
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], edi
jne 0x5904ec5c
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], edi
jne 0x5904ec5c
mov edx, dword [esp + 0x28]
cmp dword [edx - 8], edi
jne 0x5904ec5c
cmp dword [esp + 0x58], edi
jne 0x5904ec5c
cmp dword [0x59194a20], edi
je 0x5904ec03
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x18]
push eax
call fcn.59099b10
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0xc
push ecx
push str.AnalyzeCommEmailFile_EmptyMail___s_
push str.Winncap
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xb
call fcn.5909a410
mov edx, dword [esp + 0xa4]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call esi
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x10]
push eax
call fcn.59094660
push str..mht
push 0x591734fc
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xd
call fcn.59096ed0
mov ecx, dword [esp + 0x10]
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 0xb
call fcn.59095090
jmp 0x5904ef62
mov edx, dword [esp + 0xa8]
cmp dword [edx - 8], edi
je 0x5904ee6c
mov eax, dword [0x5914f850]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 0xe
push ecx
lea ecx, [esp + 0x3c]
call fcn.59099a10
lea edx, [esp + 0x24]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0xa0], 0xf
call fcn.59099a10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xa0], 0x10
call fcn.59099a10
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0x11
call fcn.5909b670
lea ecx, [esp + 0x44]
call fcn.5909b670
lea ecx, [esp + 0x40]
call fcn.5909b670
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push 0x59172460
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x24], edi
call fcn.5909ec10
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9c], 0x12
cmp dword [eax - 8], edi
je 0x5904ede9
push ebx
mov bl, 0x13
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.59099a10
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], bl
call fcn.5909b670
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push edx
call fcn.5909b5f0
cmp eax, 0xffffffff
jne 0x5904ed8d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
call fcn.5909b5f0
cmp eax, 0xffffffff
jne 0x5904ed8d
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.5909b5f0
cmp eax, 0xffffffff
jne 0x5904ed8d
mov edx, dword [esp + 0x24]
cmp dword [edx - 8], edi
je 0x5904ed7f
push 0x59172460
lea ecx, [esp + 0x28]
call fcn.5909b060
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call fcn.5909b0c0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x4c]
push ecx
push 0x59172460
push edx
lea ecx, [esp + 0xb8]
call fcn.5909ec10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 0x14
call fcn.5909a5a0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], bl
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0x12
call fcn.5909a410
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], edi
jne 0x5904ed11
pop ebx
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 8], edi
je 0x5904ee17
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], edi
je 0x5904ee09
push 0x59172460
lea ecx, [esp + 0x10]
call fcn.5909b060
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call fcn.5909b0c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0x11
call fcn.5909a410
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 0x10
call fcn.5909a410
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 0xf
call fcn.5909a410
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0xe
call fcn.5909a410
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0xb
call fcn.5909a410
mov eax, dword [esp + 0xb0]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
je 0x5904eee1
lea ecx, [esp + 0x48]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
push edi
lea eax, [esp + 0x44]
push edi
push eax
push edi
push ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x64], edi
call fcn.5905a280
add esp, 0x1c
lea edx, [esp + 0x38]
lea ecx, [esp + 0x84]
mov esi, 1
push edx
call fcn.590aa500
lea ecx, [esp + 0x84]
call fcn.590aa6f0
fstp qword [esp + 0x4c]
lea eax, [esp + 0x4c]
push esi
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x60]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0xcc]
push eax
push ecx
push 1
push ebp
push edx
push edi
push edi
call fcn.5900e040
add esp, 0x44
jmp 0x5904ef62
cmp dword [0x59194a20], edi
je 0x5904ef62
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push ebp
push eax
push ecx
push str.AnalyzeCommEmailFile___S____s___lu_failed__
push str.Winncap
push 0xffffffffffffffff
push 0x591949b4
call fcn.59078030
add esp, 0x1c
lea ecx, [esp + 0x64]
mov byte [esp + 0x9c], 0xa
call fcn.590a6460
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 9
call fcn.5909fda0
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 8
call fcn.5909fda0
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 7
call fcn.5909a410
lea ecx, [esp + 0xc]
mov byte [esp + 0x9c], 6
call fcn.5909a410
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 5
call fcn.5909a410
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 4
call fcn.5909a410
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 3
call fcn.5909a410
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 2
call fcn.5909a410
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 1
call fcn.5909a410
lea ecx, [esp + 0xa4]
mov byte [esp + 0x9c], 0
call fcn.59095090
lea ecx, [esp + 0xa8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.5909a410
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10