Function at 0x4288e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf8a
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x4cc498]
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 [0x4d38c0], 0
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], esi
je 0x42895f
push 0
push 0
push 0x4aa4d4
push str.PrometheusCreateProcess
push 1
call fcn.0045b1c0
add esp, 0x14
cmp byte [0x4d38c0], 0
je 0x42895f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045b240
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 0x42898d
mov eax, dword [ebx]
push dword [0x4d3870]
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x428a19
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4289aa
mov eax, dword [ebx]
push dword [0x4d3874]
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x428a19
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4289c7
mov eax, dword [ebx]
push dword [0x4d3878]
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x428a19
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4289e4
mov eax, dword [ebx]
push dword [0x4d387c]
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x428a19
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428a01
mov eax, dword [ebx]
push dword [0x4d3888]
push eax
call fcn.004125e0
add esp, 8
test eax, eax
jne 0x428a39
cmp edi, 1
jne 0x428a39
push 1
call fcn.0048e3f0
add esp, 4
test al, al
je 0x428a39
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x428c09
push ebx
lea eax, [ebp - 0x160]
push 0x4a76d8
push eax
call fcn.00407da0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x428adf
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428a95
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428a8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
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 0x428b21
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428b17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.00427b10
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00426980
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x428b5d
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 0x428ba7
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428bf9
push edx
push ecx
call fcn.0049744e
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 0x428c09
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428bff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428bff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
push ebx
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00427bf0
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 0x428d6e
cmp byte [ebp - 0x191], 0
jne 0x428d6e
lea eax, [ebp - 0x190]
push edi
push eax
call fcn.00410c40
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push str.__prome_prestart_type
push eax
call fcn.00426980
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x428cc1
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 0x428d0b
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d5e
push edx
push ecx
call fcn.0049744e
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 0x428d6e
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428d64
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push 0x4aa158
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x428ecd
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429960
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x88], 0
push 0x4a76dc
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 0x428e48
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ec7
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x428e85
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428ec7
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x428f7a
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428f70
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 0x428f7a
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 0x428f7a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42992c
push edx
push ecx
call fcn.0049744e
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.00427e60
add esp, 4
test al, al
je 0x4290ef
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a76dc
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 0x4290af
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4290a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4290df
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4290ef
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4290e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4290e5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
add esp, 8
mov esi, dword [ebp - 0x198]
mov ecx, dword [esi]
call fcn.00403890
cmp byte [ebp - 0x191], 0
je 0x42937e
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 0x4a76d8
push eax
call fcn.00407da0
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 0x429316
mov edi, 0x18
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x429182
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x4292ff
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 0x4291b3
mov eax, dword [eax]
push ecx
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x4292ff
mov eax, dword [ebp - 0x94]
add eax, edi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00412140
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a76dc
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 0x42927d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429273
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x4292bb
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4292b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x4292ff
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4292f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x429316
mov esi, dword [ebp - 0x94]
jmp 0x429176
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x429356
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42934c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42934c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
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 0x4296cd
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00455d00
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x13
je 0x429687
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 0x429687
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x429680
jmp 0x4293f0
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 0x429413
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.00426c10
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 0x13
sete al
mov byte [ebp - 0x191], al
cmp edx, 8
jb 0x42948f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42947f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
mov al, byte [ebp - 0x191]
add esp, 8
test al, al
jne 0x42966d
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 0x4294c0
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.00412140
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x4a76dc
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 0x429590
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429586
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x4295ce
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4295c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x429612
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
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 0x42966d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429663
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428b11
push edx
push ecx
call fcn.0049744e
add esp, 8
mov eax, dword [ebp - 0x19c]
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x4293f0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4296cd
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4296c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4296c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
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 0x429701
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x429701
lea esp, [esp]
cmp word [edx], 0x20
jne 0x42981c
add edx, 2
cmp edx, ecx
jb 0x4296f0
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 0x429753
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.00491580
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4d38c0], 0
je 0x42980f
push 0
push 0
push 0x4aa4d4
push str.PrometheusCreateProcess
push 1
call fcn.0045b200
add esp, 0x14
cmp byte [0x4d38c0], 0
je 0x42980f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045b260
add esp, 8
cmp byte [0x4d38c0], 0
je 0x42980f
push 0
push 0
push 0x4aa4d4
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0045b1c0
add esp, 0x14
cmp byte [0x4d38c0], 0
je 0x42980f
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0045b240
add esp, 8
test bl, bl
jne 0x429825
mov dword [esi + 8], 0xffffffff
jmp 0x429827
sub edx, eax
sar edx, 1
jmp 0x429704
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x429867
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42985d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42992c
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x4298a7
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42989d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42992c
push edx
push ecx
call fcn.0049744e
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 0x429900
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4298f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42992c
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42993c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429932
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049744e
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.0049745c
mov esp, ebp
pop ebp
ret 0xc