Function at 0x445360
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x481a58]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x24], 0
mov byte [ebp - 0x23], 1
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0045acf0
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call fcn.0045acf0
add esp, 4
cmp esi, eax
jb 0x4453f3
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0045acf0
add esp, 4
add esi, eax
mov edx, dword [ebp + 8]
push edx
call fcn.0045acf0
add esp, 4
sub esi, eax
push esi
call fcn.0045b2f0
add esp, 8
test eax, eax
jne 0x4453f3
xor eax, eax
jmp 0x445583
push 0x408
call fcn.0045b1c7
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x445580
push 2
push 0x408
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x445574
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x445574
mov eax, dword [ebp - 0x94]
push eax
push 1
push 2
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x445567
push 1
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x445567
push 0
mov eax, dword [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x445567
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.0045acf0
add esp, 4
mov esi, eax
mov edx, dword [ebp + 8]
push edx
call fcn.0045acf0
add esp, 4
lea eax, [esi + eax + 1]
push eax
call fcn.0045b1c7
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x445567
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0045ad80
add esp, 8
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0045ad90
add esp, 8
mov dword [ebp - 0x44], 0xc
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44555b
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0045b0ea
add esp, 4
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edx, dword [ebp - 0x18]
push edx
call fcn.0045b0ea
add esp, 4
mov eax, dword [ebp - 0x48]
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0045a968
mov esp, ebp
pop ebp
ret