Function at 0x44cdb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4803
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x503074]
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
mov dword [ebp - 0x664], edx
cmp dword [0x50c7ac], 8
mov edi, 0x50c798
mov eax, edi
cmovae eax, dword [0x50c798]
push eax
push str.sProcessName___s
push str.HPCASL::Common::IsProcess
push 0
call fcn.00422b80
push eax
call fcn.0047bd80
xor esi, esi
add esp, 0x14
mov dword [ebp - 0x670], esi
mov dword [ebp - 4], esi
call fcn.00422b80
mov al, byte [eax + 0x38]
test al, al
je 0x44ce5f
push 0x28
call fcn.00475970
mov esi, eax
add esp, 4
mov dword [ebp - 0x668], esi
push str.HPCASL::Common::IsProcess
mov byte [ebp - 4], 1
call fcn.00422b80
push eax
mov ecx, esi
call fcn.00477bf0
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x670], esi
mov eax, dword [ebp - 0x664]
mov ebx, 0x80004005
mov byte [eax], 0
cmp dword [0x50c7a8], 0
jne 0x44ce80
mov ebx, 0x80070057
jmp 0x44d0d4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x50c720]
cmp eax, dword [ecx + 4]
jle 0x44cede
push 0x50c720
call fcn.00475ad7
add esp, 4
cmp dword [0x50c720], 0xffffffff
jne 0x44cede
xor eax, eax
mov dword [0x50c738], 7
push 0x4ba580
mov dword [0x50c734], 0
mov word [0x50c724], ax
call fcn.0047595b
push 0x50c720
call fcn.00475a98
add esp, 8
cmp dword [0x50c734], 0
mov eax, 0x50c724
jne 0x44d097
lea eax, [ebp - 0x66c]
mov dword [ebp - 0x66c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x668], eax
test eax, eax
jne 0x44cf36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x44d07e
movzx ebx, bx
or ebx, 0x80070000
jmp 0x44d07e
cmp dword [ebp - 0x66c], 0
jg 0x44cf49
mov ebx, 0x8000ffff
jmp 0x44d07e
push dword [eax]
push str.argv_0_:__s
push str.HPCASL::Common::IsProcess
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
xor eax, eax
push 0x200
push eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x618]
push eax
call fcn.0048b3f0
push 0x200
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.0048b3f0
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048b3f0
push 0x100
lea eax, [ebp - 0x218]
push eax
push 0x100
lea eax, [ebp - 0x418]
push eax
push 0x100
lea eax, [ebp - 0x618]
push eax
push 3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x668]
push dword [eax]
call fcn.00492de2
add esp, 0x5c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x660]
push eax
call fcn.0041c410
mov edi, eax
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x648]
call fcn.0041c410
push edi
push eax
lea eax, [ebp - 0x630]
mov byte [ebp - 4], 3
push eax
call fcn.0044d2e0
add esp, 0xc
mov edi, 0x50c724
mov ecx, edi
push eax
call fcn.0044d150
lea ecx, [ebp - 0x630]
call fcn.004029a0
lea ecx, [ebp - 0x648]
call fcn.004029a0
lea ecx, [ebp - 0x660]
mov byte [ebp - 4], 0
call fcn.004029a0
cmp dword [0x50c738], 8
mov eax, edi
cmovae eax, dword [0x50c724]
push eax
push str.s_sThisProcName:__s
push str.HPCASL::Common::IsProcess
push 2
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x14
mov edi, 0x50c798
lea ecx, [ebp - 0x668]
call fcn.0042b8d0
cmp dword [0x50c734], 0
je 0x44d0ce
mov eax, 0x50c724
xor ebx, ebx
cmp dword [0x50c7ac], 8
cmovae edi, dword [0x50c798]
cmp dword [0x50c738], 8
push edi
cmovae eax, dword [0x50c724]
push eax
call fcn.0048edc3
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x664]
jne 0x44d0d4
mov byte [eax], 1
jmp 0x44d0d4
mov eax, dword [ebp - 0x664]
movzx eax, byte [eax]
push eax
push ebx
push str.hr:_0x_08lX__bIsProcess:__d
push str.HPCASL::Common::IsProcess
push 1
call fcn.00422b80
push eax
call fcn.0047bd80
add esp, 0x18
test esi, esi
je 0x44d109
mov ecx, esi
call fcn.00478c00
push 0x28
push esi
call fcn.00475d73
add esp, 8
mov eax, ebx
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.004756da
mov esp, ebp
pop ebp
ret