Function at 0x4289f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f51a
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 0x428a6f
push 0
push 0
push 0x4ac4b4
push str.PrometheusCreateProcess
push 1
call fcn.0045b9e0
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x428a6f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045ba60
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 0x428a9d
mov eax, dword [ebx]
push dword [0x4d58a8]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b29
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428aba
mov eax, dword [ebx]
push dword [0x4d58ac]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b29
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428ad7
mov eax, dword [ebx]
push dword [0x4d58b0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b29
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428af4
mov eax, dword [ebx]
push dword [0x4d58b4]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428b29
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b11
mov eax, dword [ebx]
push dword [0x4d58c0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x428b49
cmp edi, 1
jne 0x428b49
push 1
call fcn.0048efd0
add esp, 4
test al, al
je 0x428b49
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x428d19
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 0x428bef
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428ba5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
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 0x428c31
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428c27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.00427c20
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00426a90
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x428c6d
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 0x428cb7
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428cad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d09
push edx
push ecx
call fcn.0049995e
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 0x428d19
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428d0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
push ebx
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00427d00
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 0x428e7e
cmp byte [ebp - 0x191], 0
jne 0x428e7e
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.00426a90
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x428dd1
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 0x428e1b
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428e6e
push edx
push ecx
call fcn.0049995e
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 0x428e7e
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428e74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x428fdd
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429a70
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 0x428f58
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f4e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fd7
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x428f95
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428fd7
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42908a
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429080
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429080
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 0x42908a
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 0x42908a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429080
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a3c
push edx
push ecx
call fcn.0049995e
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.00427f70
add esp, 4
test al, al
je 0x4291ff
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 0x4291bf
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4291b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4291ef
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4291ff
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4291f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4291f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
add esp, 8
mov esi, dword [ebp - 0x198]
mov ecx, dword [esi]
call fcn.00403890
cmp byte [ebp - 0x191], 0
je 0x42948e
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 0x429426
mov edi, 0x18
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x429292
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42940f
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 0x4292c3
mov eax, dword [eax]
push ecx
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42940f
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 0x42938d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429383
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x4293cb
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4293c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x42940f
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x429426
mov esi, dword [ebp - 0x94]
jmp 0x429286
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x429466
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42945c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42945c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x4297dd
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00456520
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x13
je 0x429797
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 0x429797
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x429790
jmp 0x429500
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 0x429523
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.00426d20
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 0x13
sete al
mov byte [ebp - 0x191], al
cmp edx, 8
jb 0x42959f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42958f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
mov al, byte [ebp - 0x191]
add esp, 8
test al, al
jne 0x42977d
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 0x4295d0
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 0x4296a0
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429696
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x4296de
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4296d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x429722
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429718
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
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 0x42977d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429773
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c21
push edx
push ecx
call fcn.0049995e
add esp, 8
mov eax, dword [ebp - 0x19c]
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x429500
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4297dd
mov ecx, dword [ebp - 0xa0]
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
jbe 0x4297d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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 0x429811
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x429811
lea esp, [esp]
cmp word [edx], 0x20
jne 0x42992c
add edx, 2
cmp edx, ecx
jb 0x429800
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 0x429863
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.00493150
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4d58f8], 0
je 0x42991f
push 0
push 0
push 0x4ac4b4
push str.PrometheusCreateProcess
push 1
call fcn.0045ba20
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x42991f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045ba80
add esp, 8
cmp byte [0x4d58f8], 0
je 0x42991f
push 0
push 0
push 0x4ac4b4
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0045b9e0
add esp, 0x14
cmp byte [0x4d58f8], 0
je 0x42991f
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0045ba60
add esp, 8
test bl, bl
jne 0x429935
mov dword [esi + 8], 0xffffffff
jmp 0x429937
sub edx, eax
sar edx, 1
jmp 0x429814
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x429977
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42996d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a3c
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x4299b7
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4299ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a3c
push edx
push ecx
call fcn.0049995e
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 0x429a10
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a3c
push edx
push ecx
call fcn.0049995e
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x429a4c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429a42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049995e
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.0049996c
mov esp, ebp
pop ebp
ret 0xc