Function at 0x428ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49edca
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 0x428b4f
push 0
push 0
push 0x4ac4ac
push str.PrometheusCreateProcess
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x428b4f
push 0xff
push str.PrometheusCreateProcess
call fcn.0045be20
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 0x428b7d
mov eax, dword [ebx]
push dword [0x4d58b8]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428c09
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428b9a
mov eax, dword [ebx]
push dword [0x4d58bc]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428c09
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428bb7
mov eax, dword [ebx]
push dword [0x4d58c0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428c09
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428bd4
mov eax, dword [ebx]
push dword [0x4d58c4]
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x428c09
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x428bf1
mov eax, dword [ebx]
push dword [0x4d58d0]
push eax
call fcn.00412720
add esp, 8
test eax, eax
jne 0x428c29
cmp edi, 1
jne 0x428c29
push 1
call fcn.0048ea60
add esp, 4
test al, al
je 0x428c29
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x428df9
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 0x428ccf
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x428c85
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
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 0x428d11
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428d07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.00427d00
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00426b70
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 2
jb 0x428d4d
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 0x428d97
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428de9
push edx
push ecx
call fcn.004991fe
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 0x428df9
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428def
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428def
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
push ebx
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00427de0
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 0x428f5e
cmp byte [ebp - 0x191], 0
jne 0x428f5e
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.00426b70
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 6
jb 0x428eb1
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 0x428efb
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428ef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428f4e
push edx
push ecx
call fcn.004991fe
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 0x428f5e
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428f54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x428f54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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 0x4290bd
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00429b50
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 0x429038
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42902e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4290b7
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x429075
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42906b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4290b7
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x42916a
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429160
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 0x42916a
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 0x42916a
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b1c
push edx
push ecx
call fcn.004991fe
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.00428050
add esp, 4
test al, al
je 0x4292df
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 0x42929f
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429295
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4292cf
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4292df
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4292d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4292d5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
mov esi, dword [ebp - 0x198]
mov ecx, dword [esi]
call fcn.00403890
cmp byte [ebp - 0x191], 0
je 0x42956e
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 0x429506
mov edi, 0x18
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x429372
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x4294ef
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 0x4293a3
mov eax, dword [eax]
push ecx
push eax
call fcn.00412720
add esp, 8
test eax, eax
je 0x4294ef
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 0x42946d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x4294ab
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4294a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x11c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x4294ef
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4294e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x429506
mov esi, dword [ebp - 0x94]
jmp 0x429366
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x429546
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42953c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42953c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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 0x4298bd
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.00456930
cmp dword [ebp - 0x90], 0
mov byte [ebp - 4], 0x13
je 0x429877
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 0x429877
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x429870
jmp 0x4295e0
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 0x429603
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.00426e00
mov edx, dword [ebp - 0x2c]
test al, al
mov byte [ebp - 4], 0x13
sete al
mov byte [ebp - 0x191], al
cmp edx, 8
jb 0x42967f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42966f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
mov al, byte [ebp - 0x191]
add esp, 8
test al, al
jne 0x42985d
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 0x4296b0
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 0x429780
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x4297be
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x429802
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4297f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428d01
push edx
push ecx
call fcn.004991fe
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 0x42985d
mov ecx, dword [ebp - 0x40]
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
ja 0x428d01
push edx
push ecx
call fcn.004991fe
add esp, 8
mov eax, dword [ebp - 0x19c]
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x4295e0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4298bd
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4298b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4298b3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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 0x4298f1
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x4298f1
lea esp, [esp]
cmp word [edx], 0x20
jne 0x429a0c
add edx, 2
cmp edx, ecx
jb 0x4298e0
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 0x429943
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.00492be0
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4d5908], 0
je 0x4299ff
push 0
push 0
push 0x4ac4ac
push str.PrometheusCreateProcess
push 1
call fcn.0045bde0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4299ff
push 0xff
push str.PrometheusCreateProcess
call fcn.0045be40
add esp, 8
cmp byte [0x4d5908], 0
je 0x4299ff
push 0
push 0
push 0x4ac4ac
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0045bda0
add esp, 0x14
cmp byte [0x4d5908], 0
je 0x4299ff
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0045be20
add esp, 8
test bl, bl
jne 0x429a15
mov dword [esi + 8], 0xffffffff
jmp 0x429a17
sub edx, eax
sar edx, 1
jmp 0x4298f4
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x429a57
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b1c
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x429a97
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b1c
push edx
push ecx
call fcn.004991fe
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 0x429af0
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429ae6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429b1c
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x429b2c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429b22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
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.0049920c
mov esp, ebp
pop ebp
ret 0xc