Function at 0x59058620
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x59154b6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebp
push esi
push edi
mov eax, dword [0x591ac718]
mov ebp, dword [esp + 0xac]
xor edi, edi
mov dword [esp + 0x9c], 1
cmp eax, edi
je 0x59058685
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 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
mov eax, dword [0x59162880]
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.590abbc0
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 9
call fcn.590abbc0
lea ecx, [esp + 0x64]
mov byte [esp + 0x9c], 0xa
call fcn.590b3a40
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.5900ceb0
add esp, 0x2c
test eax, eax
je 0x59058b40
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 8], edi
jne 0x5905886c
mov eax, dword [esp + 0x30]
cmp dword [eax - 8], edi
je 0x59058787
push 0x59188b5c
push eax
call fcn.590889fc
add esp, 8
cmp eax, edi
jne 0x5905886c
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], edi
jne 0x5905886c
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], edi
jne 0x5905886c
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], edi
jne 0x5905886c
mov edx, dword [esp + 0x28]
cmp dword [edx - 8], edi
jne 0x5905886c
cmp dword [esp + 0x58], edi
jne 0x5905886c
cmp dword [0x591ac718], edi
je 0x59058813
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x18]
push eax
call fcn.590a5940
mov ecx, dword [eax]
mov byte [esp + 0x9c], 0xc
push ecx
push str.AnalyzeCommEmailFile_EmptyMail___s_
push str.Winncap
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0xb
call fcn.590a6240
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.590a0490
push str..mht
push 0x59188aa4
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xd
call fcn.590a2d00
mov ecx, dword [esp + 0x10]
push ecx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 0xb
call fcn.590a0ec0
jmp 0x59058b72
mov edx, dword [esp + 0xa8]
cmp dword [edx - 8], edi
je 0x59058a7c
mov eax, dword [0x59162880]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 0xe
push ecx
lea ecx, [esp + 0x3c]
call fcn.590a5840
lea edx, [esp + 0x24]
lea ecx, [esp + 0x44]
push edx
mov byte [esp + 0xa0], 0xf
call fcn.590a5840
lea eax, [esp + 0xc]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xa0], 0x10
call fcn.590a5840
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0x11
call fcn.590a74a0
lea ecx, [esp + 0x44]
call fcn.590a74a0
lea ecx, [esp + 0x40]
call fcn.590a74a0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push 0x59187530
push edx
lea ecx, [esp + 0xb4]
mov dword [esp + 0x24], edi
call fcn.590aaa40
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x9c], 0x12
cmp dword [eax - 8], edi
je 0x590589f9
push ebx
mov bl, 0x13
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.590a5840
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], bl
call fcn.590a74a0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
push edx
call fcn.590a7420
cmp eax, 0xffffffff
jne 0x5905899d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
call fcn.590a7420
cmp eax, 0xffffffff
jne 0x5905899d
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.590a7420
cmp eax, 0xffffffff
jne 0x5905899d
mov edx, dword [esp + 0x24]
cmp dword [edx - 8], edi
je 0x5905898f
push 0x59187530
lea ecx, [esp + 0x28]
call fcn.590a6e90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call fcn.590a6ef0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x4c]
push ecx
push 0x59187530
push edx
lea ecx, [esp + 0xb8]
call fcn.590aaa40
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 0x14
call fcn.590a63d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], bl
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0xa0], 0x12
call fcn.590a6240
mov eax, dword [esp + 0x20]
cmp dword [eax - 8], edi
jne 0x59058921
pop ebx
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 8], edi
je 0x59058a27
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], edi
je 0x59058a19
push 0x59187530
lea ecx, [esp + 0x10]
call fcn.590a6e90
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
call fcn.590a6ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 0x11
call fcn.590a6240
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 0x10
call fcn.590a6240
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 0xf
call fcn.590a6240
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0xe
call fcn.590a6240
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 0xb
call fcn.590a6240
mov eax, dword [esp + 0xb0]
xor esi, esi
cmp eax, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
je 0x59058af1
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.59064580
add esp, 0x1c
lea edx, [esp + 0x38]
lea ecx, [esp + 0x84]
mov esi, 1
push edx
call fcn.590b7af0
lea ecx, [esp + 0x84]
call fcn.590b7ce0
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.5900e750
add esp, 0x44
jmp 0x59058b72
cmp dword [0x591ac718], edi
je 0x59058b72
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 0x591ac6ac
call fcn.59083dc0
add esp, 0x1c
lea ecx, [esp + 0x64]
mov byte [esp + 0x9c], 0xa
call fcn.590b3a50
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 9
call fcn.590abbd0
lea ecx, [esp + 0x54]
mov byte [esp + 0x9c], 8
call fcn.590abbd0
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 7
call fcn.590a6240
lea ecx, [esp + 0xc]
mov byte [esp + 0x9c], 6
call fcn.590a6240
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 5
call fcn.590a6240
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 4
call fcn.590a6240
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 3
call fcn.590a6240
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 2
call fcn.590a6240
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 1
call fcn.590a6240
lea ecx, [esp + 0xa4]
mov byte [esp + 0x9c], 0
call fcn.590a0ec0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.590a6240
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10