Function at 0x404c83
Capabilities:
Create process on windows
Delete file
Get system information on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4244e7
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x42e058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x25c]
and dword [ebp - 0x228], 0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x220], ebx
push eax
mov dword [ebp - 0x21c], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x258]
xor ecx, ecx
mov dword [0x42f224], eax
inc ecx
mov eax, 0x10000
mov dword [0x42f228], 0x3c
mov dword [0x42f230], eax
mov dword [0x42f238], eax
mov dword [0x42f240], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
mov dword [0x42f22c], ecx
push eax
mov dword [0x42f234], ecx
mov dword [0x42f23c], ecx
mov dword [0x42f244], ecx
call fcn.00404f07
mov edi, eax
test edi, edi
js 0x404ec3
cmp edi, 1
je 0x404ec1
cmp dword [ebp - 0x224], ebx
je 0x404d5e
xor edx, edx
xor ecx, ecx
call fcn.00404fdf
mov edi, eax
jmp 0x404ec3
cmp dword [ebp - 0x228], ebx
je 0x404e78
push 0x44
pop edi
push edi
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.00412da1
add esp, 0xc
mov dword [ebp - 0x2a0], edi
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x404db9
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x404ec3
push ecx
lea eax, [ebp - 0x220]
push eax
call fcn.0040f307
mov ebx, dword [ebp - 0x220]
mov edi, eax
test edi, edi
js 0x404ec3
push ecx
push ecx
mov edx, ebx
lea ecx, [ebp - 0x218]
call fcn.0040f158
mov edi, eax
test edi, edi
js 0x404ec3
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push ebx
lea eax, [ebp - 0x21c]
push str.__s___standalone
push eax
call fcn.0040e64e
mov esi, dword [ebp - 0x21c]
mov edi, eax
add esp, 0xc
test edi, edi
js 0x404ec3
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x2a0]
push eax
xor eax, eax
push eax
push eax
push 0x20
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x404ec3
push dword [ebp - 0x234]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x238]
call esi
mov esi, dword [ebp - 0x21c]
jmp 0x404ec3
and dword [ebp - 0x230], ebx
lea eax, [ebp - 0x238]
and dword [ebp - 0x22c], ebx
push eax
mov dword [ebp - 0x238], 0x42a66c
mov dword [ebp - 0x234], 0x40c94c
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x404ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x404ec3
xor edi, edi
cmp dword [0x42f220], 0
je 0x404ed1
call fcn.00410ae7
test esi, esi
je 0x404edc
mov ecx, esi
call fcn.00411336
test ebx, ebx
je 0x404ee7
mov ecx, ebx
call fcn.00411336
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411647
mov esp, ebp
pop ebp
ret 0x10