Function at 0x42f920
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d513
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x47d6c0]
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
xor ebx, ebx
push ebx
xor eax, eax
mov edi, 7
push 0x46f1b4
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
call fcn.00403840
xor ecx, ecx
push 0xe
mov word [ebp - 0x68], cx
mov dword [ebp - 4], ebx
push str.heciserver.log
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], ebx
call fcn.00403840
push 1
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00426040
add esp, 0xc
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004036c0
mov esi, 8
cmp dword [ebp - 0x1c], esi
jb 0x42f9cd
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004434f1
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x54], esi
jb 0x42f9ee
mov eax, dword [ebp - 0x68]
push eax
call fcn.004434f1
add esp, 4
push 0x30
call fcn.0044497b
mov esi, eax
add esp, 4
mov dword [ebp - 0xb0], esi
cmp esi, ebx
je 0x42fa42
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], vtable.FileLogOutlet.0
push ebx
lea eax, [ebp - 0x4c]
xor edx, edx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 5
mov word [ecx], dx
call fcn.00403740
push 1
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 6
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 1
call fcn.00418940
jmp 0x42fa44
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov edi, dword [section..data]
mov ecx, esi
mov byte [ebp - 4], 1
call eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [edi + 0x20]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb0], esi
call fcn.0042e2b0
call fcn.0042ed70
mov esi, eax
cmp esi, ebx
je 0x42faaf
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov edi, dword [section..data]
mov ecx, esi
call eax
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [edi + 0x20]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb0], esi
call fcn.0042e2b0
mov dword [ebp - 4], ebx
jmp 0x42fb8a
push str.wWinMain
lea ecx, [ebp - 0xac]
call fcn.00416bc0
push str.HeciServer_winmain
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004074a0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.00407130
mov eax, 7
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x78], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0xac], vtable.LogItem.0
mov dword [ebp - 0x98], ebx
mov word [ebp - 0xa8], dx
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x70], 1
push str.1.31.8.1
push str.HeciServer_Version:
push str._INF___N_A_
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x6c], 2
call fcn.004074a0
mov ecx, eax
call fcn.004074a0
mov ecx, eax
call fcn.004074a0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.00407130
call fcn.0042dd50
push str.wWinMain
lea ecx, [ebp - 0xac]
mov byte [ebp - 0xb0], al
call fcn.00416bc0
mov ecx, dword [ebp - 0xb0]
push ecx
push str.HeciServer:_Launch_permissions_set:
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004074a0
mov ecx, eax
call fcn.00425a70
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], bl
call fcn.00407130
cmp byte [0x481680], bl
je 0x42fce4
or esi, 0xffffffff
jmp 0x42fd1e
mov dword [ebp - 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0xb0]
push edx
push eax
mov ecx, 0x481700
call fcn.0042da60
cmp al, 1
jne 0x42fd16
mov eax, dword [ebp + 0x14]
push eax
mov ecx, 0x481700
call fcn.0042f770
jmp 0x42fd1c
mov eax, dword [ebp - 0xb0]
mov esi, eax
cmp dword [ebp - 0x38], 8
jb 0x42fd30
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004434f1
add esp, 4
mov eax, esi
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.00444268
mov esp, ebp
pop ebp
ret 0x10