Function at 0x428a70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ebca
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 [0x4d5908], 0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], esi
je 0x428aef
push 0
push 0
push 0x4ac4ac
push str.PrometheusCreateProcess
push 1
call fcn.0045bc40
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x428aef
push 0xff
push str.PrometheusCreateProcess
call fcn.0045bcc0
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 0x428b1d
mov eax, dword [ebx]
push dword [0x4d58b8]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428ba9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b3a
mov eax, dword [ebx]
push dword [0x4d58bc]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428ba9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b57
mov eax, dword [ebx]
push dword [0x4d58c0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428ba9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b74
mov eax, dword [ebx]
push dword [0x4d58c4]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428ba9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b91
mov eax, dword [ebx]
push dword [0x4d58d0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x428bc9
cmp edi, 1
jne 0x428bc9
push 1
call fcn.0048e8e0
add esp, 4
test al, al
je 0x428bc9
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x428d99
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 0x428c6f
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428c25
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
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 0x428cb1
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428ca7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428ca7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.00427ca0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00426b10
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x428ced
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 0x428d37
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d89
push edx
push ecx
call fcn.0049900e
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 0x428d99
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428d8f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
push ebx
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00427d80
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 0x428efe
cmp byte [ebp - 0x191], 0
jne 0x428efe
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.00426b10
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x428e51
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 0x428e9b
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428eee
push edx
push ecx
call fcn.0049900e
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 0x428efe
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428ef4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428ef4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push 0x4ac130
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x42905d
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429af0
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 0x428fd8
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428fce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429057
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x429015
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42900b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429057
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42910a
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429100
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429100
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 0x42910a
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 0x42910a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429100
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429abc
push edx
push ecx
call fcn.0049900e
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.00427ff0
add esp, 4
test al, al
je 0x42927f
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 0x42923f
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42926f
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x42927f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429275
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429275
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
add esp, 8
mov esi, dword [ebp - 0x198]
mov ecx, dword [esi]
call fcn.00403890
cmp byte [ebp - 0x191], 0
je 0x42950e
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 0x4294a6
mov edi, 0x18
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x429312
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42948f
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 0x429343
mov eax, dword [eax]
push ecx
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x42948f
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 0x42940d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x42944b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x42948f
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429485
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x4294a6
mov esi, dword [ebp - 0x94]
jmp 0x429306
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4294e6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4294dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4294dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
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 0x42985d
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.004567d0
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x13
je 0x429817
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 0x429817
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x429810
jmp 0x429580
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 0x4295a3
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.00426da0
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 0x13
sete al
mov byte [ebp - 0x191], al
cmp edx, 8
jb 0x42961f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42960f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
mov al, byte [ebp - 0x191]
add esp, 8
test al, al
jne 0x4297fd
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 0x429650
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 0x429720
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429716
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x42975e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429754
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x4297a2
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429798
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
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 0x4297fd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ca1
push edx
push ecx
call fcn.0049900e
add esp, 8
mov eax, dword [ebp - 0x19c]
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x429580
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x42985d
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429853
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429853
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
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 0x429891
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x429891
lea esp, [esp]
cmp word [edx], 0x20
jne 0x4299ac
add edx, 2
cmp edx, ecx
jb 0x429880
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 0x4298e3
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.00492a60
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4d5908], 0
je 0x42999f
push 0
push 0
push 0x4ac4ac
push str.PrometheusCreateProcess
push 1
call fcn.0045bc80
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x42999f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045bce0
add esp, 8
cmp byte [0x4d5908], 0
je 0x42999f
push 0
push 0
push 0x4ac4ac
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0045bc40
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x42999f
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0045bcc0
add esp, 8
test bl, bl
jne 0x4299b5
mov dword [esi + 8], 0xffffffff
jmp 0x4299b7
sub edx, eax
sar edx, 1
jmp 0x429894
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x4299f7
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4299ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429abc
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x429a37
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429abc
push edx
push ecx
call fcn.0049900e
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 0x429a90
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429abc
push edx
push ecx
call fcn.0049900e
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x429acc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429ac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429ac2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049900e
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.0049901c
mov esp, ebp
pop ebp
ret 0xc