Function at 0x427410
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493e32
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4bf434]
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 [0x4c6b68], 0
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1a0], esi
je 0x42748f
push 0
push 0
push 0x49dd09
push str.PrometheusCreateProcess
push 1
call fcn.0044c670
add esp, 0x14
cmp byte [0x4c6b68], 0
je 0x42748f
push 0xff
push str.PrometheusCreateProcess
call fcn.0044c6f0
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], eax
mov byte [ebp - 0x191], al
mov eax, edi
jb 0x4274b6
mov eax, dword [edi]
push dword [0x4c4d58]
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427542
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4274d3
mov eax, dword [edi]
push dword [0x4c4d5c]
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427542
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4274f0
mov eax, dword [edi]
push dword [0x4c4d60]
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427542
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42750d
mov eax, dword [edi]
push dword [0x4c4d64]
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427542
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42752a
mov eax, dword [edi]
push dword [0x4c4d70]
push eax
call fcn.00410e90
add esp, 8
test eax, eax
jne 0x427562
cmp ebx, 1
jne 0x427562
push 1
call fcn.00478770
add esp, 4
test al, al
je 0x427562
mov esi, dword [ebp - 0x198]
mov byte [ebp - 0x191], 1
jmp 0x427733
push edi
lea eax, [ebp - 0x160]
push 0x49d618
push eax
call fcn.00404490
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x427608
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4275be
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4275b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x2c], 7
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], 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 0x42764a
mov ecx, dword [ebp - 0x160]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427640
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427640
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov esi, dword [ebp - 0x198]
lea eax, [ebp - 0x178]
push eax
mov ecx, esi
call fcn.004267c0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00404410
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x427685
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov edx, dword [ebp - 0x104]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4276d1
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4276c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427723
push edx
push ecx
call fcn.00488034
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 0x427733
mov ecx, dword [ebp - 0x178]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427729
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427729
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
push edi
lea eax, [ebp - 0x148]
mov ecx, esi
push eax
call fcn.00426890
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xe8]
call fcn.00402080
mov eax, dword [ebp - 0x1a0]
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 - 0x1e0]
push eax
mov dword [ebp - 0x1e4], 0x44
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1b8], 1
mov eax, 1
mov word [ebp - 0x1b4], ax
test ebx, ebx
je 0x427899
cmp byte [ebp - 0x191], 0
jne 0x427899
lea eax, [ebp - 0x190]
push ebx
push eax
call fcn.0040f620
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push str.__prome_prestart_type
push eax
call fcn.00404410
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 6
jb 0x4277ea
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x427836
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42782c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427889
push edx
push ecx
call fcn.00488034
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 0x427899
mov ecx, dword [ebp - 0x190]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42788f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42788f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call ebx
push str._PFMonChildProc
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x427a07
lea eax, [ebp - 0x130]
push edi
push eax
call fcn.004284e0
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 7
push 0x49d61c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407630
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404360
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 9
jb 0x427913
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x42795d
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427953
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427a01
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4279ab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4279a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427a01
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x427a97
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427a8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call ebx
push str._CreateCmdDb
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
je 0x427a97
push 0xe
xor eax, eax
mov dword [ebp - 0x18], 0
push str.__create_cmddb
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xa
call fcn.00401d80
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x427a97
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4284a5
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
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.00426ae0
add esp, 4
test al, al
je 0x427c10
push 1
xor eax, eax
mov dword [ebp - 0x90], 0
push 0x49d61c
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00407630
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
push dword [ebp - 0xc0]
cmovae eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401d80
xor ebx, ebx
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xf8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xf4], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x100], esi
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], bx
cmp ecx, 8
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x100]
cmovae eax, esi
lea ecx, [ebp - 0x40]
push edx
push eax
call fcn.00401d80
mov edx, dword [ebp - 0xec]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x427bca
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427bc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427c00
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x427c10
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427c06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427c06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
cmp byte [ebp - 0x191], 0
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
je 0x427eaa
call fcn.004030b0
mov ecx, eax
call fcn.004030b0
mov ecx, eax
call fcn.00402470
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.00405010
push edi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xe
push 0x49d618
push eax
call fcn.00404490
add esp, 0xc
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x7c]
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 0x427e45
mov edi, 0x18
mov edi, edi
cmp dword [esi + edi + 0x14], 8
lea eax, [esi + edi]
jb 0x427c9c
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427e31
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x70]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x427cca
mov eax, dword [eax]
push ecx
push eax
call fcn.00410e90
add esp, 8
test eax, eax
je 0x427e31
mov eax, dword [ebp - 0x7c]
add eax, edi
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00410a10
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x10
push 0x49d61c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407630
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404360
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x12
jb 0x427d3d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x427d87
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427d7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x427dd9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427dcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x427e31
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x19c]
jge 0x427e45
mov esi, dword [ebp - 0x7c]
jmp 0x427c90
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x427e85
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427e7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x427e7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
xor eax, eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xb
call fcn.00401bb0
jmp 0x428200
lea eax, [ebp - 0x88]
push eax
call fcn.004030b0
mov ecx, eax
call fcn.0042b010
cmp dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x13
je 0x4281bd
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x198], 0
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x19c], ebx
test ebx, ebx
je 0x4281bd
xor edi, edi
cmp dword [ebp - 0x198], edi
jle 0x4281b6
mov edx, dword [ebx + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427f30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00407630
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x191]
call fcn.004260a0
mov edx, dword [ebp - 0x5c]
test al, al
mov byte [ebp - 4], 0x13
sete bl
cmp edx, 8
jb 0x427f9f
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x427f95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
test bl, bl
mov ebx, dword [ebp - 0x19c]
jne 0x4281a9
mov edx, dword [ebx + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427fd2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00407630
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00410a10
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x16
push 0x49d61c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407630
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00404360
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x18
jb 0x428054
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x17
cmp edx, 8
jb 0x42809e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428094
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x4280f0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4280e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x428148
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42813e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x8c]
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 0x4281a9
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42819f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42763a
push edx
push ecx
call fcn.00488034
add esp, 8
inc edi
cmp edi, dword [ebp - 0x198]
jl 0x427f12
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x428200
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4281f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4281f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
add esp, 8
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x40]
cmp edi, 8
mov esi, dword [ebp - 0x30]
cmovae eax, ebx
test esi, esi
je 0x428231
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x428231
nop
cmp word [edx], 0x20
jne 0x428395
add edx, 2
cmp edx, ecx
jb 0x428220
or edx, 0xffffffff
cmp esi, edx
lea ecx, [ebp - 0x40]
cmovb edx, esi
cmp edi, 8
cmovae ecx, ebx
sub esi, edx
mov dword [ebp - 0x30], 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 0x428283
push 0xb
push str.__enableetw
lea ecx, [ebp - 0x40]
call fcn.00401d80
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
mov esi, dword [ebp - 0x30]
add eax, 4
add esi, eax
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048818b
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xe8]
mov edi, eax
cmovae edx, dword [ebp - 0x40]
cmp dword [ebp - 0xd4], 8
push edx
cmovae ecx, dword [ebp - 0xe8]
push ecx
push str.__s___s
push esi
push edi
call fcn.00425030
mov esi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x1e4]
add esp, 0x18
push esi
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
cmp byte [0x4c6b68], 0
je 0x42837f
push 0
push 0
push 0x49dd09
push str.PrometheusCreateProcess
push 1
call fcn.0044c6b0
add esp, 0x14
cmp byte [0x4c6b68], 0
je 0x42837f
push 0xff
push str.PrometheusCreateProcess
call fcn.0044c710
add esp, 8
cmp byte [0x4c6b68], 0
je 0x42837f
push 0
push 0
push 0x49dd09
push str.PrometheusClientMainWindowAdded
push 1
call fcn.0044c670
add esp, 0x14
cmp byte [0x4c6b68], 0
je 0x42837f
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.0044c6f0
add esp, 8
push edi
call fcn.00488194
add esp, 4
test bl, bl
jne 0x42839e
mov dword [esi + 8], 0xffffffff
jmp 0x4283a0
sub edx, eax
sar edx, 1
jmp 0x428234
mov bl, 1
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x4283e0
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4283d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4284a5
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x428420
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428416
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4284a5
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp edx, 8
jb 0x428479
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42846f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4284a5
push edx
push ecx
call fcn.00488034
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4284b5
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4284ab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4284ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00488034
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.00488042
mov esp, ebp
pop ebp
ret 0xc