Function at 0x428a50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f6ba
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x4ce4bc]
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 - 0x198], ecx
cmp byte [0x4d58f8], 0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], esi
je 0x428acf
push 0
push 0
push 0x4ac4b4
push str.PrometheusCreateProcess
push 1
call fcn.0045bb20
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x428acf
push 0xff
push str.PrometheusCreateProcess
call fcn.0045bba0
add esp, 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], eax
mov byte [ebp - 0x191], al
mov eax, ebx
jb 0x428afd
mov eax, dword [ebx]
push dword [0x4d58a8]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b89
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b1a
mov eax, dword [ebx]
push dword [0x4d58ac]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b89
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b37
mov eax, dword [ebx]
push dword [0x4d58b0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b89
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b54
mov eax, dword [ebx]
push dword [0x4d58b4]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b89
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b71
mov eax, dword [ebx]
push dword [0x4d58c0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x428ba9
cmp edi, 1
jne 0x428ba9
push 1
call fcn.0048f0f0
add esp, 4
test al, al
je 0x428ba9
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x428d79
push ebx
lea eax, [ebp - 0x160]
push 0x4a96d8
push eax
call fcn.00407df0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x428c4f
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428c05
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428bfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x14c]
cmp edx, 8
jb 0x428c91
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428c87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.00427c80
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00426af0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x428ccd
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00401cd0
mov edx, dword [ebp - 0x104]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x428d17
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d69
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x164]
xor eax, eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x428d79
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428d6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
push ebx
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00427d60
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x100]
call fcn.00401f70
mov eax, dword [ebp - 0x1a4]
xor ecx, ecx
push 0x40
push ecx
mov byte [ebp - 4], 4
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1e4]
push eax
mov dword [ebp - 0x1e8], 0x44
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1bc], 1
mov eax, 1
mov word [ebp - 0x1b8], ax
test edi, edi
je 0x428ede
cmp byte [ebp - 0x191], 0
jne 0x428ede
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.00410d80
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push str.__prome_prestart_type
push eax
call fcn.00426af0
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x428e31
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00401cd0
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x428e7b
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ece
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x17c]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x428ede
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428ed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428ed4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push 0x4ac138
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x42903d
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429ad0
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x4a96dc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00404580
push esi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x70]
call fcn.00405340
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 9
call fcn.00401cd0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x428fb8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428fae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429037
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x428ff5
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428feb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429037
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4290ea
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4290e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4290e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call esi
push str._CreateCmdDb
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4290ea
push 0xe
xor eax, eax
mov dword [ebp - 0x88], 0
push str.__create_cmddb
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
call fcn.00404580
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401cd0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x4290ea
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4290e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a9c
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
push eax
call fcn.00427fd0
add esp, 4
test al, al
je 0x42925f
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a96dc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404580
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push dword [ebp - 0xc0]
cmovae eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401cd0
xor edi, edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], di
cmp ecx, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xe8]
cmovae eax, esi
lea ecx, [ebp - 0x28]
push edx
push eax
call fcn.00401cd0
mov edx, dword [ebp - 0xd4]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x42921f
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42924f
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x42925f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429255
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429255
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov esi, dword [ebp - 0x198]
mov ecx, dword [esi]
call fcn.00403890
cmp byte [ebp - 0x191], 0
je 0x4294ee
mov ecx, eax
call fcn.00403890
mov ecx, eax
call fcn.00402400
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00405740
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push 0x4a96d8
push eax
call fcn.00407df0
add esp, 0xc
mov ecx, dword [ebp - 0x90]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x94]
mov ebx, 1
sub ecx, esi
mov byte [ebp - 4], 0xf
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x19c], eax
cmp eax, ebx
jle 0x429486
mov edi, 0x18
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x4292f2
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42946f
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x94]
cmovae ecx, dword [ebp - 0x40]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x429323
mov eax, dword [eax]
push ecx
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42946f
mov eax, dword [ebp - 0x94]
add eax, edi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00412280
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a96dc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404580
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x11
push eax
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x70]
call fcn.00405340
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401cd0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4293ed
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4293e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x42942b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429421
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x42946f
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429465
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x429486
mov esi, dword [ebp - 0x94]
jmp 0x4292e6
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4294c6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4294bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4294bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0xb
call fcn.00401b00
jmp 0x42983d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00456660
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x13
je 0x4297f7
cmp dword [ebp - 0x8c], 8
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x1a0], esi
cmovae eax, dword [ebp - 0xa0]
push ecx
push eax
mov dword [ebp - 0x198], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x19c], eax
test eax, eax
je 0x4297f7
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x4297f0
jmp 0x429560
mov edx, dword [eax + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429583
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404580
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00426d80
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 0x13
sete al
mov byte [ebp - 0x191], al
cmp edx, 8
jb 0x4295ff
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4295ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
mov al, byte [ebp - 0x191]
add esp, 8
test al, al
jne 0x4297dd
mov edx, dword [ebp - 0x19c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov edx, dword [edx + edi*4]
mov ecx, edx
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429630
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404580
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00412280
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a96dc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00404580
push esi
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x17
push eax
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x70]
call fcn.00405340
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0x18
call fcn.00401cd0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x17
cmp edx, 8
jb 0x429700
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4296f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x42973e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429734
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x429782
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429778
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x4297dd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c81
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, dword [ebp - 0x19c]
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x429560
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x42983d
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429833
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429833
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 8
mov esi, dword [ebp - 0x18]
cmovae eax, ebx
test esi, esi
je 0x429871
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x429871
lea esp, [esp]
cmp word [edx], 0x20
jne 0x42998c
add edx, 2
cmp edx, ecx
jb 0x429860
or edx, 0xffffffff
cmp esi, edx
lea ecx, [ebp - 0x28]
cmovb edx, esi
cmp edi, 8
cmovae ecx, ebx
sub esi, edx
mov dword [ebp - 0x18], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.enableetw
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x4298c3
push 0xb
push str.__enableetw
lea ecx, [ebp - 0x28]
call fcn.00401cd0
mov esi, dword [ebp - 0x1a4]
lea edx, [ebp - 0x1e8]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 8
push edx
cmovae eax, dword [ebp - 0x100]
push 0
push 0
push 0
push 0
push ecx
push eax
call fcn.00493270
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4d58f8], 0
je 0x42997f
push 0
push 0
push 0x4ac4b4
push str.PrometheusCreateProcess
push 1
call fcn.0045bb60
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x42997f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045bbc0
add esp, 8
cmp byte [0x4d58f8], 0
je 0x42997f
push 0
push 0
push 0x4ac4b4
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0045bb20
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x42997f
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0045bba0
add esp, 8
test bl, bl
jne 0x429995
mov dword [esi + 8], 0xffffffff
jmp 0x429997
sub edx, eax
sar edx, 1
jmp 0x429874
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x4299d7
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4299cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a9c
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x429a17
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a0d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a9c
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
cmp edx, 8
jb 0x429a70
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a9c
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x429aac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429aa2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429aa2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov al, bl
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.00499afc
mov esp, ebp
pop ebp
ret 0xc