Function at 0x1019abf0
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dcac0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0x1c], esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], esp
cmp eax, edx
je 0x1019ac48
push str.arrIndexs
call fcn.101a0330
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x1019af6f
lea ecx, [ebp - 0x64]
call fcn.100d9d50
mov edx, dword [esi + 0x9c]
lea eax, [ebp - 0x64]
push edx
push eax
push 3
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.1019c290
mov ecx, dword [ebp - 0x60]
mov edi, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov edx, dword [ebp + 8]
xor edi, edi
mov byte [ebp - 4], 2
cmp dword [edx + 4], ebx
jle 0x1019adf2
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov ecx, dword [eax]
mov eax, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
je 0x1019acd5
cmp eax, dword [ecx - 4]
jle 0x1019ae7d
cmp eax, dword [ebp - 0x2c]
jge 0x1019aec1
mov edx, dword [ebp - 0x64]
mov esi, dword [edx + eax*4]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.1019fc00
mov ecx, dword [ebp - 0x18]
push str.base64
push ecx
mov byte [ebp - 4], 3
call fcn.10097619
add esp, 8
cmp eax, ebx
je 0x1019ad21
mov edx, dword [ebp - 0x18]
push str.quoted_printable
push edx
call fcn.10097619
add esp, 8
cmp eax, ebx
jne 0x1019af10
mov eax, dword [ebp - 0x40]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [ebp - 0x44]
call fcn.1002cc5f
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ecx + ebx*4]
call fcn.100cc660
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x24]
xor ebx, ebx
push edx
push eax
mov ecx, esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1019ee90
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x1019afd8
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 4]
cmp ecx, edx
jb 0x1019afd8
mov esi, dword [ebp - 0x28]
mov eax, ecx
sub eax, edx
cmp eax, esi
jg 0x1019afd8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1019afd8
cmp eax, ecx
jb 0x1019afd8
cmp eax, edx
jb 0x1019afd8
sub eax, edx
cmp eax, esi
jg 0x1019afd8
mov eax, dword [ebp - 0x50]
push 0xffffffffffffffff
mov esi, eax
inc eax
push eax
lea ecx, [ebp - 0x54]
call fcn.1019ca40
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x24]
push 0xffffffffffffffff
mov dword [ecx + esi*4], edx
mov eax, dword [ebp - 0x50]
mov esi, eax
inc eax
push eax
lea ecx, [ebp - 0x54]
call fcn.1019ca40
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [eax + esi*4], ecx
lea ecx, [ebp - 0x18]
call fcn.100cc4d0
mov edx, dword [ebp + 8]
inc edi
cmp edi, dword [edx + 4]
jl 0x1019acbb
mov eax, dword [ebp + 0x10]
push ebx
push eax
call fcn.101a1960
add esp, 8
cmp eax, 0xffffffff
mov dword [ebp - 0x24], eax
jne 0x1019afeb
push 0x102522a0
call fcn.101a0330
mov eax, dword [ebp - 0x54]
add esp, 4
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1019ae2c
push eax
call fcn.100637e1
add esp, 4
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x1019ae59
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1019ae50
lea edi, [eax]
mov ecx, esi
call fcn.100cc4d0
add esi, 4
dec edi
jne 0x1019ae40
mov esi, dword [ebp - 0x44]
push esi
call fcn.100637e1
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.100d9d60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x102526e8
call fcn.101a0330
mov eax, dword [ebp - 0x54]
add esp, 4
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1019ae9e
push eax
call fcn.100637e1
add esp, 4
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x1019ae59
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1019ae50
lea edi, [eax]
mov ecx, esi
call fcn.100cc4d0
add esi, 4
dec edi
jne 0x1019aeb2
jmp 0x1019ae4d
push 0x102526d4
call fcn.101a0330
mov eax, dword [ebp - 0x54]
add esp, 4
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x1019aee2
push eax
call fcn.100637e1
add esp, 4
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x1019ae59
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1019ae50
lea edi, [eax]
mov ecx, esi
call fcn.100cc4d0
add esi, 4
dec edi
jne 0x1019aefe
jmp 0x1019ae4d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100cc4d0
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1019af30
push eax
call fcn.100637e1
add esp, 4
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x1019af5d
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x1019af54
lea edi, [eax]
mov ecx, esi
call fcn.100cc4d0
add esi, 4
dec edi
jne 0x1019af44
mov esi, dword [ebp - 0x44]
push esi
call fcn.100637e1
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.100d9d60
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
xor edi, edi
cmp dword [edx + 4], ebx
jle 0x1019b36e
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.1019c4b0
mov ecx, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 4], 8
mov edx, dword [ecx]
lea ecx, [ebp - 0x74]
mov esi, dword [edx + edi*4]
call fcn.100d9d50
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 9
mov eax, dword [ecx + 0x9c]
push eax
push edx
push 3
call fcn.1019c290
cmp esi, dword [ebp - 0x70]
jl 0x1019b31a
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.100d9d60
xor eax, eax
jmp 0x1019b344
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100cc4d0
xor ebx, ebx
jmp 0x1019af1c
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x28], edx
cmp ebx, dword [ebp - 0x40]
jge 0x1019b25d
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x18]
lea eax, [edx + ebx*4]
push eax
call fcn.100cbab0
mov eax, dword [ebp - 0x54]
lea edx, [ebp + 8]
push ebx
push edx
mov ecx, dword [eax + ebx*8 + 4]
mov esi, dword [eax + ebx*8]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.1019c4b0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
xor edi, edi
lea ecx, [ebp - 0x1c]
sub esi, eax
push edi
push ecx
push esi
push eax
push edx
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1019b233
cmp dword [ebp - 0x1c], esi
jne 0x1019b233
mov eax, dword [ebp + 8]
push 1
push eax
mov dword [ebp - 0x20], edi
call fcn.101a1960
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
mov dword [ebp - 0x34], esi
jne 0x1019b081
push 0x102526c0
jmp 0x1019b238
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
jne 0x1019b0aa
push 0x102525f4
call fcn.101a0330
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1019b240
push eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 6
call fcn.100637b2
mov edx, dword [ebp - 0x28]
add esp, 4
lea ecx, [ebp - 0x2c]
mov edi, eax
push 0
push ecx
push edx
push edi
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1019b1cc
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
jne 0x1019b1cc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x20]
push ecx
push edx
push eax
push edi
call fcn.101a0800
add esp, 0x10
test eax, eax
jne 0x1019b123
push 0x102526b0
call fcn.101a0330
push edi
call fcn.100637e1
add esp, 8
jmp 0x1019b1e9
push edi
call fcn.100637e1
mov edx, dword [ebp - 0x20]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [ebp - 0x24]
dec ecx
mov esi, ecx
lea ecx, [ebp - 0x1c]
push eax
push ecx
push esi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1019b1b4
cmp dword [ebp - 0x1c], esi
jne 0x1019b1b4
mov edx, dword [ebp - 0x20]
push edx
call fcn.100637e1
add esp, 4
lea eax, [ebp - 0x1c]
push 0
push eax
push 4
push str._r_n_r_n
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1019b1a8
cmp dword [ebp - 0x1c], 4
jne 0x1019b1a8
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], ecx
lea ecx, [ebp + 8]
call fcn.100cc4d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100cc4d0
mov edx, dword [ebp - 0x28]
inc ebx
jmp 0x1019aff6
push 0x10252690
call fcn.101a0330
jmp 0x1019b1e6
push 0x1025266c
call fcn.101a0330
mov edx, dword [ebp - 0x20]
push edx
call fcn.100637e1
add esp, 8
jmp 0x1019b1e9
push 0x102522c4
call fcn.101a0330
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100637e1
add esp, 4
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 4
call fcn.100cc4d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100cc4d0
jmp 0x1019b299
push 0x1025264c
call fcn.101a0330
add esp, 4
mov dword [ebp - 0x14], edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.100cc4d0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.100cc4d0
jmp 0x1019b299
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1019b299
cmp byte [edx], 0
je 0x1019b299
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor edi, edi
mov esi, ecx
lea ecx, [ebp + 8]
push edi
push ecx
push esi
push edx
mov edx, dword [ebp - 0x24]
mov dword [ebp + 8], edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1019b296
cmp dword [ebp + 8], esi
je 0x1019b299
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1019b2b4
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 1
test eax, eax
je 0x1019b2c8
push eax
call fcn.100637e1
add esp, 4
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0
test esi, esi
je 0x1019b2f5
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x1019b2ec
lea edi, [eax]
mov ecx, esi
call fcn.100cc4d0
add esi, 4
dec edi
jne 0x1019b2dc
mov esi, dword [ebp - 0x44]
push esi
call fcn.100637e1
add esp, 4
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.100d9d60
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x74]
push 0
push 0
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.1019eeb0
push ebx
mov ecx, esi
call fcn.1019fa00
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.100d9d60
mov eax, 1
test eax, eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
sete bl
call fcn.100cc4d0
test bl, bl
jne 0x1019b38f
mov ecx, dword [ebp + 8]
inc edi
cmp edi, dword [ecx + 4]
jl 0x1019af7d
mov esi, dword [ebp - 0x1c]
xor ebx, ebx
mov edx, dword [ebp + 0x10]
push ebx
push edx
call fcn.101a1960
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x1019b3a4
push 0x102522a0
call fcn.101a0330
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 1
push ebx
push edi
push 0x1019c230
mov ecx, esi
call fcn.1019bce0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc