Function at 0x590217c0
Capabilities:
Contain obfuscated stackstrings
Delete file
Encode data using base64
Parse pe header
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59141786
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x138]
mov dword [esp + 0x130], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x59021808
mov dword [esp + 0x130], 0xffffffff
jmp 0x590232a5
push 0x180
push 0x8000
push eax
call fcn.590821dd
mov esi, eax
or edi, 0xffffffff
add esp, 0xc
cmp esi, edi
mov dword [esp + 0xb0], esi
je 0x5902329e
push 2
push 0
push esi
call fcn.59082606
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x100], ebp
je 0x59023283
cmp ebp, 0x6400000
jle 0x5902186b
push esi
call fcn.59081f0d
mov eax, dword [esp + 0x13c]
add esp, 4
push eax
jmp 0x59023298
push 0
push 0
push esi
call fcn.59082606
mov esi, ebp
shr esi, 1
lea ecx, [esi + esi + 2]
push ecx
call fcn.591315b0
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [esp + 0xfc], ebx
je 0x5902329e
lea ecx, [ebp + 2]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0xb8]
push eax
call fcn.5908298b
add esp, 0xc
lea ecx, [esp + 0x18]
push esi
push ebx
call fcn.5909ed90
push str.Content:
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 1
call fcn.590a0360
push str.Attach:
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.590a0360
mov edi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x1c], edi
je 0x590224e0
push str.Content:
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x18]
push esi
push str.Content:
call fcn.590a03a0
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x59021947
push str.Attach:
lea ecx, [esp + 0x1c]
call fcn.590a0360
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x59021947
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov dword [esp + 0x20], eax
sub eax, esi
test eax, eax
jle 0x5902336e
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
lea eax, [edx + esi*2]
push eax
call fcn.5909ed90
mov eax, dword [0x59155850]
mov byte [esp + 0x130], 2
mov dword [esp + 0x14], eax
mov byte [esp + 0x130], 3
mov dword [esp + 0x84], eax
mov byte [esp + 0x130], 4
mov dword [esp + 0x88], eax
mov byte [esp + 0x130], 5
mov dword [esp + 0x8c], eax
mov byte [esp + 0x130], 6
mov dword [esp + 0x90], eax
mov byte [esp + 0x130], 7
mov dword [esp + 0x94], eax
mov byte [esp + 0x130], 8
mov dword [esp + 0x98], eax
mov byte [esp + 0x130], 9
mov dword [esp + 0x9c], eax
mov byte [esp + 0x130], 0xa
mov dword [esp + 0xa0], eax
mov ecx, dword [0x5915584c]
mov byte [esp + 0x130], 0xb
mov dword [esp + 0xa4], ecx
push str.TYPE
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0xd
call fcn.590a0360
mov esi, eax
push str.TYPE
mov dword [esp + 0x124], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x11c], esi
push esi
push str.TB
call fcn.590a03a0
mov esi, eax
push str.TB
mov dword [esp + 0xfc], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], esi
push esi
push str.TE
call fcn.590a03a0
mov esi, eax
push str.TE
mov dword [esp + 0x10c], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], esi
push esi
push str.TR
call fcn.590a03a0
mov esi, eax
push str.TR
mov dword [esp + 0x108], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], esi
push esi
push 0x5917c61c
call fcn.590a03a0
mov esi, eax
push 0x5917c61c
mov dword [esp + 0x54], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
push esi
push str.TO
call fcn.590a03a0
mov edi, eax
push str.TO
mov dword [esp + 0x4c], edi
call fcn.5908146d
add esp, 4
add edi, eax
lea ecx, [esp + 0x10]
push edi
push str.CC
call fcn.590a03a0
mov ebp, eax
push str.CC
mov dword [esp + 0x40], ebp
call fcn.5908146d
add esp, 4
add ebp, eax
lea ecx, [esp + 0x10]
push ebp
push str.BCC
call fcn.590a03a0
mov ebx, eax
push str.BCC
mov dword [esp + 0x110], ebx
call fcn.5908146d
add esp, 4
add ebx, eax
lea ecx, [esp + 0x10]
push ebx
push str.SUBJ
call fcn.590a03a0
push str.SUBJ
mov dword [esp + 0xc4], eax
mov dword [esp + 0x58], eax
call fcn.5908146d
mov ecx, dword [esp + 0xc4]
add esp, 4
add ecx, eax
mov dword [esp + 0xc0], ecx
push ecx
push str.TXT
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.TXT
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], eax
call fcn.5908146d
mov ecx, dword [esp + 0x34]
add esp, 4
add ecx, eax
mov dword [esp + 0x30], ecx
push ecx
push str.HTML
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.HTML
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
call fcn.5908146d
mov ecx, dword [esp + 0x30]
add esp, 4
add ecx, eax
push ecx
mov dword [esp + 0x30], ecx
push str.OrgPath
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.OrgPath
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], eax
call fcn.5908146d
mov ecx, dword [esp + 0x2c]
add esp, 4
add ecx, eax
mov dword [esp + 0x28], ecx
push ecx
push 0x5917c5a8
lea ecx, [esp + 0x18]
call fcn.590a03a0
push 0x5917c5a8
mov dword [esp + 0xb8], eax
mov dword [esp + 0x28], eax
call fcn.5908146d
mov ecx, dword [esp + 0xb8]
add esp, 4
add ecx, eax
mov dword [esp + 0xb4], ecx
push ecx
push str.FLAG
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.FLAG
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], eax
call fcn.5908146d
mov ecx, dword [esp + 0x38]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x120]
cmp eax, 0xffffffff
mov dword [esp + 0x34], ecx
je 0x590228eb
mov ecx, dword [esp + 0xf8]
or eax, 0xffffffff
cmp ecx, eax
je 0x590228eb
cmp dword [esp + 0x108], eax
je 0x590228eb
cmp dword [esp + 0x104], eax
je 0x590228eb
cmp dword [esp + 0x50], eax
je 0x590228eb
cmp dword [esp + 0x48], eax
je 0x590228eb
cmp dword [esp + 0x3c], eax
je 0x590228eb
cmp dword [esp + 0x10c], eax
je 0x590228eb
cmp dword [esp + 0x54], eax
je 0x590228eb
cmp dword [esp + 0x60], eax
je 0x590228eb
cmp dword [esp + 0x40], eax
je 0x590228eb
cmp dword [esp + 0x44], eax
je 0x590228eb
cmp dword [esp + 0x24], eax
je 0x590228eb
cmp dword [esp + 0x58], eax
je 0x590228eb
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x11c]
sub eax, ecx
lea edx, [esp + 0x124]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x17
call fcn.5909f310
lea ecx, [esp + 0x124]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x14]
push 0xa
push 0
push eax
call fcn.59081b82
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x114]
add esp, 0xc
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0x120]
mov dword [esp + 0xc4], eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x18
call fcn.5909f310
lea ecx, [esp + 0x118]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
lea edx, [esp + 0x110]
push 8
push edx
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x19
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
cmp dword [esp + 0xbc], 8
jle 0x59021e5b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x114]
mov eax, dword [eax - 8]
add eax, 0xfffffff8
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a18c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x1a
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x5c]
sub eax, ecx
lea edx, [esp + 0xe8]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], eax
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x1b
call fcn.5909f310
lea ecx, [esp + 0xe8]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
lea eax, [esp + 0xc8]
push 8
push eax
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x1c
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
cmp dword [esp + 0x5c], 8
jle 0x59021f39
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xe0]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
add eax, 0xfffffff8
push eax
push edx
call fcn.590a18c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x1d
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x78], eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
sub eax, ecx
mov dword [esp + 0x64], eax
push eax
lea eax, [esp + 0xd4]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x1e
call fcn.5909f310
lea ecx, [esp + 0xd0]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
lea ecx, [esp + 0xf0]
push 8
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x1f
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
cmp dword [esp + 0x64], 8
jle 0x59022017
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffff8
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.590a18c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x20
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x80], eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov ecx, dword [esp + 0xb4]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x58]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x21
call fcn.5909f310
lea ecx, [esp + 0xb8]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov edx, dword [esp + 0x14]
push 0xa
push 0
push edx
call fcn.59081b82
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
add esp, 0xc
sub eax, esi
lea ecx, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.590a14a0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x134], 0x22
call fcn.5909f310
lea ecx, [esp + 0x38]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov esi, dword [esp + 0x3c]
lea edx, [esp + 0xc4]
mov ecx, esi
sub ecx, edi
push ecx
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x134], 0x23
call fcn.5909f310
lea ecx, [esp + 0xc4]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
sub esi, ebp
lea eax, [esp + 0xcc]
push esi
push ebp
push eax
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x134], 0x24
call fcn.5909f310
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xd4]
sub eax, ebx
push eax
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x134], 0x25
call fcn.5909f310
lea ecx, [esp + 0xd4]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xc0]
sub eax, ecx
lea edx, [esp + 0x4c]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x134], 0x26
call fcn.5909f310
lea ecx, [esp + 0x4c]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
sub eax, ecx
push eax
lea eax, [esp + 0xe0]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x134], 0x27
call fcn.5909f310
lea ecx, [esp + 0xdc]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0xec]
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x134], 0x28
call fcn.5909f310
lea ecx, [esp + 0xe4]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub eax, ecx
lea edx, [esp + 0xec]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
mov eax, dword [eax]
lea ecx, [esp + 0xa4]
push eax
mov byte [esp + 0x134], 0x29
call fcn.5909a140
lea ecx, [esp + 0xec]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
push 0x59179374
lea ecx, [esp + 0x13c]
call fcn.5909e640
test eax, eax
jle 0x590222c9
mov eax, dword [esp + 0x144]
test eax, eax
je 0x590222c9
lea eax, [esp + 0xa4]
push eax
call fcn.5905a490
add esp, 4
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xf4]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.590a1470
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x134], 0x2a
call fcn.5909f310
lea ecx, [esp + 0xf4]
mov byte [esp + 0x130], 0xd
call fcn.5909f180
mov edi, dword [esp + 0x13c]
push 0xffffffffffffffff
mov ecx, edi
mov esi, dword [edi + 4]
lea eax, [esi + 1]
push eax
call fcn.5905af50
mov edx, dword [edi]
mov ecx, esi
mov eax, dword [esp + 0x68]
shl ecx, 4
add ecx, esi
lea esi, [esp + 0x6c]
lea ebp, [edx + ecx*4]
mov ecx, 6
lea edi, [ebp + 4]
mov dword [ebp], eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x84]
push ecx
lea ecx, [ebp + 0x1c]
call fcn.5909f310
lea edx, [esp + 0x88]
lea ecx, [ebp + 0x20]
push edx
call fcn.5909f310
lea eax, [esp + 0x8c]
lea ecx, [ebp + 0x24]
push eax
call fcn.5909f310
lea ecx, [esp + 0x90]
push ecx
lea ecx, [ebp + 0x28]
call fcn.5909f310
lea edx, [esp + 0x94]
lea ecx, [ebp + 0x2c]
push edx
call fcn.5909f310
lea eax, [esp + 0x98]
lea ecx, [ebp + 0x30]
push eax
call fcn.5909f310
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [ebp + 0x34]
call fcn.5909f310
lea edx, [esp + 0xa0]
lea ecx, [ebp + 0x38]
push edx
call fcn.5909f310
lea eax, [esp + 0xa4]
lea ecx, [ebp + 0x3c]
push eax
call fcn.59099f80
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0x40], ecx
push edx
push str.Content:
lea ecx, [esp + 0x20]
call fcn.590a03a0
mov esi, eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x130], 0x32
call fcn.59099e00
lea ecx, [esp + 0xa0]
mov byte [esp + 0x130], 0x31
call fcn.5909f180
lea ecx, [esp + 0x9c]
mov byte [esp + 0x130], 0x30
call fcn.5909f180
lea ecx, [esp + 0x98]
mov byte [esp + 0x130], 0x2f
call fcn.5909f180
lea ecx, [esp + 0x94]
mov byte [esp + 0x130], 0x2e
call fcn.5909f180
lea ecx, [esp + 0x90]
mov byte [esp + 0x130], 0x2d
call fcn.5909f180
lea ecx, [esp + 0x8c]
mov byte [esp + 0x130], 0x2c
call fcn.5909f180
lea ecx, [esp + 0x88]
mov byte [esp + 0x130], 0x2b
call fcn.5909f180
lea ecx, [esp + 0x84]
mov byte [esp + 0x130], 3
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 2
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.5909f180
cmp esi, 0xffffffff
jne 0x590218fe
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x100]
cmp edi, 0xffffffff
je 0x5902325f
push str.Attach:
call fcn.5908146d
add esp, 4
add edi, eax
lea ecx, [esp + 0x18]
push edi
push str.Content:
call fcn.590a03a0
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x59022533
push edi
push str.Attach:
lea ecx, [esp + 0x20]
call fcn.590a03a0
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
jne 0x59022533
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
mov dword [esp + 0x30], eax
sub eax, edi
test eax, eax
jle 0x5902336e
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edi*2]
push ecx
lea ecx, [esp + 0x18]
call fcn.5909ed90
mov eax, dword [0x59155850]
mov byte [esp + 0x130], 0x34
mov dword [esp + 0x14], eax
mov byte [esp + 0x130], 0x35
mov dword [esp + 0x84], eax
mov byte [esp + 0x130], 0x36
mov dword [esp + 0x88], eax
mov byte [esp + 0x130], 0x37
mov dword [esp + 0x8c], eax
mov edx, dword [0x5915584c]
mov byte [esp + 0x130], 0x38
mov dword [esp + 0x94], edx
mov byte [esp + 0x130], 0x39
mov dword [esp + 0xac], eax
push str.TYPE
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0x3b
call fcn.590a0360
mov esi, eax
push str.TYPE
mov dword [esp + 0x20], esi
call fcn.5908146d
add esp, 4
add esi, eax
lea ecx, [esp + 0x10]
push esi
push str.TB
call fcn.590a03a0
mov edi, eax
push str.TB
mov dword [esp + 0x28], edi
call fcn.5908146d
add esp, 4
add edi, eax
lea ecx, [esp + 0x10]
push edi
push str.TE
call fcn.590a03a0
mov ebx, eax
push str.TE
mov dword [esp + 0x48], ebx
call fcn.5908146d
add esp, 4
add ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x4c], ebx
push ebx
push str.TR
call fcn.590a03a0
mov ebx, eax
push str.TR
mov dword [esp + 0x44], ebx
call fcn.5908146d
add esp, 4
add ebx, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], ebx
push ebx
push str.ATTACHNAME
call fcn.590a03a0
mov ebp, eax
push str.ATTACHNAME
mov dword [esp + 0x64], ebp
call fcn.5908146d
add esp, 4
add ebp, eax
push ebp
push str.ATTACHPATH
lea ecx, [esp + 0x18]
call fcn.590a03a0
mov ebx, eax
push str.ATTACHPATH
mov dword [esp + 0x40], ebx
call fcn.5908146d
add esp, 4
add ebx, eax
lea ecx, [esp + 0x10]
push ebx
push str.OrgPath
call fcn.590a03a0
push str.OrgPath
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
call fcn.5908146d
mov ecx, dword [esp + 0x38]
add esp, 4
add ecx, eax
mov dword [esp + 0x34], ecx
push ecx
push 0x5917c5a8
lea ecx, [esp + 0x18]
call fcn.590a03a0
push 0x5917c5a8
mov dword [esp + 0x24], eax
mov dword [esp + 0x5c], eax
call fcn.5908146d
mov ecx, dword [esp + 0x24]
add esp, 4
add ecx, eax
mov dword [esp + 0x20], ecx
push ecx
push str.FLAG
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.FLAG
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
call fcn.5908146d
mov ecx, dword [esp + 0x2c]
add esp, 4
add ecx, eax
mov dword [esp + 0x28], ecx
push ecx
push str.AttachFileSize
lea ecx, [esp + 0x18]
call fcn.590a03a0
push str.AttachFileSize
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], eax
call fcn.5908146d
mov ecx, dword [esp + 0x30]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], ecx
je 0x590232ca
mov ecx, dword [esp + 0x24]
or eax, 0xffffffff
cmp ecx, eax
je 0x590232ca
cmp dword [esp + 0x44], eax
je 0x590232ca
cmp dword [esp + 0x40], eax
je 0x590232ca
cmp dword [esp + 0x60], eax
je 0x590232ca
cmp dword [esp + 0x3c], eax
je 0x590232ca
cmp dword [esp + 0x48], eax
je 0x590232ca
cmp dword [esp + 0x58], eax
je 0x590232ca
cmp dword [esp + 0x54], eax
je 0x590232ca
cmp dword [esp + 0x50], eax
je 0x590232ca
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
sub eax, esi
push eax
lea eax, [esp + 0xf8]
push esi
push eax
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x41
call fcn.5909f310
lea ecx, [esp + 0xf4]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov ecx, dword [esp + 0x14]
push 0xa
push 0
push ecx
call fcn.59081b82
mov esi, dword [esp + 0x50]
add esp, 0xc
sub esi, edi
lea edx, [esp + 0xec]
push esi
push edi
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], eax
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x42
call fcn.5909f310
lea ecx, [esp + 0xec]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
lea eax, [esp + 0xe4]
push 8
push eax
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push 0
push eax
mov byte [esp + 0x13c], 0x43
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
cmp esi, 8
jle 0x59022a00
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xdc]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
add eax, 0xfffffff8
push eax
push edx
call fcn.590a18c0
mov eax, dword [eax]
xor esi, esi
push 0x10
push esi
push eax
mov byte [esp + 0x13c], 0x44
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x70], eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
jmp 0x59022a02
mov eax, dword [esp + 0xb0]
push eax
call fcn.59081f0d
mov ecx, dword [esp + 0x13c]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x130], 0x15
call fcn.59099e00
lea ecx, [esp + 0xa0]
mov byte [esp + 0x130], 0x14
call fcn.5909f180
lea ecx, [esp + 0x9c]
mov byte [esp + 0x130], 0x13
call fcn.5909f180
lea ecx, [esp + 0x98]
mov byte [esp + 0x130], 0x12
call fcn.5909f180
lea ecx, [esp + 0x94]
mov byte [esp + 0x130], 0x11
call fcn.5909f180
lea ecx, [esp + 0x90]
mov byte [esp + 0x130], 0x10
call fcn.5909f180
lea ecx, [esp + 0x8c]
mov byte [esp + 0x130], 0xf
call fcn.5909f180
lea ecx, [esp + 0x88]
mov byte [esp + 0x130], 0xe
call fcn.5909f180
lea ecx, [esp + 0x84]
mov byte [esp + 0x130], 3
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 2
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.5909f180
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0
call fcn.5909f180
mov dword [esp + 0x130], 0xffffffff
jmp 0x590232a5
xor esi, esi
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
sub edi, eax
lea ecx, [esp + 0x10]
push edi
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x45
call fcn.5909f310
lea ecx, [esp + 0xd4]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
lea ecx, [esp + 0xcc]
push 8
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push esi
push eax
mov byte [esp + 0x13c], 0x46
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x74], eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
cmp edi, 8
jle 0x59022ad5
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffff8
push eax
lea eax, [esp + 0xc8]
push eax
call fcn.590a18c0
mov eax, dword [eax]
push 0x10
push esi
push eax
mov byte [esp + 0x13c], 0x47
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x78], eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
sub edi, eax
lea ecx, [esp + 0xb8]
push edi
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x48
call fcn.5909f310
lea ecx, [esp + 0xb8]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
lea edx, [esp + 0xd8]
push 8
push edx
lea ecx, [esp + 0x1c]
call fcn.590a16c0
mov eax, dword [eax]
push 0x10
push esi
push eax
mov byte [esp + 0x13c], 0x49
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
cmp edi, 8
jle 0x59022bab
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xf0]
mov eax, dword [eax - 8]
add eax, 0xfffffff8
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a18c0
mov eax, dword [eax]
push 0x10
push esi
push eax
mov byte [esp + 0x13c], 0x4a
call fcn.59081b82
add esp, 0xc
mov dword [esp + 0x80], eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
sub eax, ecx
lea edx, [esp + 0xd0]
push eax
push ecx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.590a14a0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x4b
call fcn.5909f310
lea ecx, [esp + 0xd0]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x14]
push 0xa
push esi
push eax
call fcn.59081b82
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x48]
add esp, 0xc
sub eax, ebp
lea ecx, [esp + 0x64]
push eax
push ebp
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x134], 0x4c
call fcn.5909f310
lea ecx, [esp + 0x64]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xe0]
sub eax, ebx
lea ecx, [esp + 0x10]
push eax
push ebx
push edx
call fcn.590a14a0
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x134], 0x4d
call fcn.5909f310
lea ecx, [esp + 0xe0]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x34]
sub eax, ecx
push eax
lea eax, [esp + 0xcc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.590a14a0
mov eax, dword [eax]
lea ecx, [esp + 0x94]
push eax
mov byte [esp + 0x134], 0x4e
call fcn.5909a140
lea ecx, [esp + 0xc8]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
sub eax, ecx
push eax
push ecx
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x1c]
call fcn.590a14a0
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x134], 0x4f
call fcn.5909f310
lea ecx, [esp + 0xe8]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
push 0x59179374
lea ecx, [esp + 0x13c]
call fcn.5909e640
test eax, eax
jle 0x59022d5a
cmp dword [esp + 0x144], esi
je 0x59022d5a
lea edx, [esp + 0x94]
push edx
call fcn.5905a490
lea eax, [esp + 0x90]
push eax
call fcn.5905a4c0
add esp, 8
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.590a1470
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 0x50
call fcn.5909f310
lea ecx, [esp + 0x5c]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
mov eax, dword [esp + 0x14]
push 0xa
push esi
push eax
call fcn.59081b82
mov ebp, dword [esp + 0x14c]
add esp, 0xc
mov dword [esp + 0x90], eax
mov ecx, dword [ebp + 4]
mov ebx, ecx
mov dword [esp + 0x4c], ebx
inc ebx
cmp ebx, esi
jne 0x59022e50
mov edi, dword [ebp]
cmp edi, esi
je 0x59022e3e
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x1c], edi
je 0x59022e2f
lea ebx, [ecx + 1]
lea ecx, [edi + 0x44]
mov byte [esp + 0x130], 0x54
call fcn.5909f180
lea ecx, [edi + 0x2c]
mov byte [esp + 0x130], 0x53
call fcn.59099e00
lea ecx, [edi + 0x24]
mov byte [esp + 0x130], 0x52
call fcn.5909f180
lea ecx, [edi + 0x20]
mov byte [esp + 0x130], 0x51
call fcn.5909f180
lea ecx, [edi + 0x1c]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
add edi, 0x48
dec ebx
mov dword [esp + 0x1c], edi
jne 0x59022dd5
mov eax, dword [ebp]
push eax
call fcn.591315d9
add esp, 4
mov dword [ebp], esi
mov dword [ebp + 8], esi
mov dword [ebp + 4], esi
mov ebp, dword [esp + 0x140]
jmp 0x590230fe
mov eax, dword [ebp]
cmp eax, esi
jne 0x59022ec0
lea edi, [ebx + ebx*8]
shl edi, 3
push edi
call fcn.591315b0
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x1c], esi
rep stosb byte es:[edi], al
lea edi, [ebx]
mov dword [esp + 0x38], esi
test esi, esi
mov byte [esp + 0x130], 0x56
je 0x59022e9c
mov ecx, esi
call fcn.59013250
add esi, 0x48
mov byte [esp + 0x130], 0x3b
dec edi
mov dword [esp + 0x1c], esi
jne 0x59022e85
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
mov ebp, dword [esp + 0x140]
jmp 0x590230fe
mov edi, dword [ebp + 8]
cmp ebx, edi
jg 0x59023011
cmp ecx, ebx
jge 0x59022f90
mov esi, ebx
sub esi, ecx
lea ecx, [ecx + ecx*8]
lea edx, [eax + ecx*8]
lea ecx, [esi + esi*8]
shl ecx, 3
mov ebp, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x1c], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
dec esi
test eax, eax
je 0x59022f7a
lea eax, [esi + 1]
mov dword [esp + 0x38], edx
test edx, edx
mov byte [esp + 0x130], 0x57
je 0x59022f68
mov ecx, dword [0x59155850]
mov dword [edx + 0x1c], ecx
mov ecx, dword [0x59155850]
mov byte [esp + 0x130], 0x58
mov dword [edx + 0x20], ecx
mov ecx, dword [0x59155850]
mov byte [esp + 0x130], 0x59
mov dword [edx + 0x24], ecx
mov ecx, dword [0x5915584c]
mov byte [esp + 0x130], 0x5a
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x59155850]
mov byte [esp + 0x130], 0x5b
mov dword [edx + 0x44], ecx
mov byte [esp + 0x130], 0x57
add edx, 0x48
mov byte [esp + 0x130], 0x3b
dec eax
mov dword [esp + 0x1c], edx
jne 0x59022f03
mov ebp, dword [esp + 0x140]
mov dword [ebp + 4], ebx
mov ebp, dword [esp + 0x140]
jmp 0x590230fe
jle 0x59022f81
lea edx, [ebx + ebx*8]
sub ecx, ebx
lea esi, [eax + edx*8]
mov eax, ecx
dec ecx
mov dword [esp + 0x1c], esi
test eax, eax
je 0x59022f81
lea edi, [ecx + 1]
lea ecx, [esi + 0x44]
mov byte [esp + 0x130], 0x60
call fcn.5909f180
lea ecx, [esi + 0x2c]
mov byte [esp + 0x130], 0x5f
call fcn.59099e00
lea ecx, [esi + 0x24]
mov byte [esp + 0x130], 0x5e
call fcn.5909f180
lea ecx, [esi + 0x20]
mov byte [esp + 0x130], 0x5d
call fcn.5909f180
lea ecx, [esi + 0x1c]
mov byte [esp + 0x130], 0x3b
call fcn.5909f180
add esi, 0x48
dec edi
mov dword [esp + 0x1c], esi
jne 0x59022fa8
mov dword [ebp + 4], ebx
mov ebp, dword [esp + 0x140]
jmp 0x590230fe
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x5902303b
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x5902302f
mov eax, 4
jmp 0x5902303b
cmp eax, 0x400
jle 0x5902303b
mov eax, 0x400
add eax, edi
cmp ebx, eax
mov dword [esp + 0x20], eax
jl 0x59023049
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*8]
shl ecx, 3
push ecx
call fcn.591315b0
mov ebp, dword [esp + 0x144]
mov edi, eax
mov dword [esp + 0x20], eax
add esp, 4
mov ecx, dword [ebp + 4]
mov esi, dword [ebp]
lea ecx, [ecx + ecx*8]
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
sub edx, ecx
lea ecx, [ecx + ecx*8]
lea edi, [eax + ecx*8]
lea ecx, [edx + edx*8]
shl ecx, 3
mov esi, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0x24], edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x590230e1
mov esi, dword [esp + 0x24]
lea edi, [edx + 1]
mov dword [esp + 0x38], esi
test esi, esi
mov byte [esp + 0x130], 0x62
je 0x590230cf
mov ecx, esi
call fcn.59013250
add esi, 0x48
mov byte [esp + 0x130], 0x3b
dec edi
mov dword [esp + 0x24], esi
jne 0x590230b8
mov eax, dword [ebp]
push eax
call fcn.591315d9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [ebp], ecx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x68]
lea esi, [esp + 0x6c]
lea eax, [eax + eax*8]
lea ebx, [ecx + eax*8]
mov ecx, 6
lea eax, [esp + 0x84]
lea edi, [ebx + 4]
mov dword [ebx], edx
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x1c]
call fcn.5909f310
lea ecx, [esp + 0x88]
push ecx
lea ecx, [ebx + 0x20]
call fcn.5909f310
lea edx, [esp + 0x8c]
lea ecx, [ebx + 0x24]
push edx
call fcn.5909f310
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x28], eax
call fcn.59099f80
mov edx, dword [esp + 0x98]
lea eax, [ebx + 0x34]
mov dword [ebx + 0x30], edx
mov ecx, dword [esp + 0x9c]
mov dword [eax], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xa8]
lea ecx, [ebx + 0x44]
mov dword [eax + 0xc], edx
lea eax, [esp + 0xac]
push eax
call fcn.5909f310
mov ecx, dword [esp + 0x30]
push ecx
push str.Attach:
lea ecx, [esp + 0x20]
call fcn.590a03a0
mov edi, eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x130], 0x66
call fcn.5909f180
lea ecx, [esp + 0x94]
mov byte [esp + 0x130], 0x65
call fcn.59099e00
lea ecx, [esp + 0x8c]
mov byte [esp + 0x130], 0x64
call fcn.5909f180
lea ecx, [esp + 0x88]
mov byte [esp + 0x130], 0x63
call fcn.5909f180
lea ecx, [esp + 0x84]
mov byte [esp + 0x130], 0x35
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 0x34
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.5909f180
cmp edi, 0xffffffff
jne 0x590224e9
mov ebx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x100]
push ebx
call fcn.591315d9
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0
call fcn.5909f180
mov esi, dword [esp + 0xb0]
or edi, 0xffffffff
push esi
call fcn.59081f0d
add esp, 4
test ebp, ebp
jne 0x5902329e
mov ecx, dword [esp + 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x130], edi
lea ecx, [esp + 0x138]
call fcn.59099e00
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret
mov edx, dword [esp + 0xb0]
push edx
call fcn.59081f0d
mov eax, dword [esp + 0x13c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xac]
mov byte [esp + 0x130], 0x3f
call fcn.5909f180
lea ecx, [esp + 0x94]
mov byte [esp + 0x130], 0x3e
call fcn.59099e00
lea ecx, [esp + 0x8c]
mov byte [esp + 0x130], 0x3d
call fcn.5909f180
lea ecx, [esp + 0x88]
mov byte [esp + 0x130], 0x3c
call fcn.5909f180
lea ecx, [esp + 0x84]
mov byte [esp + 0x130], 0x35
call fcn.5909f180
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 0x34
call fcn.5909f180
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.5909f180
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0
call fcn.5909f180
mov dword [esp + 0x130], 0xffffffff
jmp 0x590232a5