Function at 0x42fc40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b106e
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x4e437c]
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 - 0x3b8], ecx
cmp byte [0x4ed484], 0
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3bc], edi
mov dword [ebp - 0x3c0], esi
je 0x42fcc5
push 0
push 0
push 0x4b8230
push str.PrometheusCreateProcess
push 1
call fcn.00431660
add esp, 0x14
cmp byte [0x4ed484], 0
je 0x42fcc5
push 0xff
push str.PrometheusCreateProcess
call fcn.004316a0
add esp, 8
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], eax
mov byte [ebp - 0x3b1], al
mov eax, ebx
jb 0x42fcf5
mov eax, dword [ebx]
push dword [0x4ed44c]
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x42fd81
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fd12
mov eax, dword [ebx]
push dword [0x4ed450]
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x42fd81
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fd2f
mov eax, dword [ebx]
push dword [0x4ed454]
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x42fd81
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fd4c
mov eax, dword [ebx]
push dword [0x4ed458]
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x42fd81
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fd69
mov eax, dword [ebx]
push dword [0x4ed464]
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
jne 0x42fda1
cmp edi, 1
jne 0x42fda1
push 1
call fcn.00461f30
add esp, 4
test al, al
je 0x42fda1
mov esi, dword [ebp - 0x3b8]
mov byte [ebp - 0x3b1], 1
jmp 0x42feda
push ebx
lea eax, [ebp - 0x320]
push 0x4b77ec
push eax
call fcn.00406620
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x42fe6b
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42fe06
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fdfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x248], ax
mov dword [ebp - 0x234], 7
mov eax, dword [esi]
mov dword [ebp - 0x248], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x244], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x240], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x23c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x234], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x320]
call fcn.00402420
mov esi, dword [ebp - 0x3b8]
lea eax, [ebp - 0x350]
push eax
mov ecx, esi
call fcn.0042f980
push eax
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.004065a0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x42feb1
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402d90
lea ecx, [ebp - 0x338]
call fcn.00402420
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0
call fcn.00402420
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486380
mov ecx, dword [esi]
add esp, 0xc
call fcn.00404530
mov ecx, eax
call fcn.00404530
mov esi, eax
mov ecx, esi
call fcn.004044f0
test eax, eax
je 0x430036
mov ecx, esi
call fcn.004044f0
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004903c2
add esp, 0xc
lea ecx, [ebp - 0x2c0]
push ebx
call fcn.00401960
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push dword [0x4ed458]
cmovae eax, dword [ebp - 0x2c0]
push eax
mov byte [ebp - 4], 3
call fcn.0041e1f0
add esp, 8
test eax, eax
jne 0x42ff76
push 0xa
push str.wpspdf.exe
lea ecx, [ebp - 0x2c0]
call fcn.00402f10
jmp 0x42ffbc
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push 0x4ba458
cmovae eax, dword [ebp - 0x2c0]
push eax
call fcn.0041e1a0
add esp, 8
lea ecx, [ebp - 0x2c0]
test eax, eax
jne 0x42ffb0
push 0xa
push str.wpsofd.exe
call fcn.00402f10
jmp 0x42ffbc
push 4
push str..exe
call fcn.00402d90
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42ffc5
cmp dword [ebp - 0x2ac], 8
lea edx, [ebp - 0x2c0]
mov eax, dword [0x4b7a10]
cmovae edx, dword [ebp - 0x2c0]
mov dword [edi], eax
mov esi, edx
mov edi, edi
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42fff0
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x430006
mov ecx, edx
mov byte [ebp - 4], al
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2c0]
call fcn.00402420
mov edi, dword [ebp - 0x3bc]
jmp 0x43004a
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x2f8], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430070
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x308]
call fcn.00402f10
lea eax, [ebp - 0x308]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00401960
mov eax, dword [ebp - 0x3c0]
xor ecx, ecx
push 0x40
push ecx
mov byte [ebp - 4], 5
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x408], 0x44
call fcn.00486380
add esp, 0xc
mov dword [ebp - 0x3dc], 1
mov eax, 1
mov word [ebp - 0x3d8], ax
test edi, edi
je 0x43015b
cmp byte [ebp - 0x3b1], 0
jne 0x43015b
lea eax, [ebp - 0x380]
push edi
push eax
call fcn.0041ca30
push eax
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 6
push str.__prome_prestart_type
push eax
call fcn.004065a0
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x430132
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402d90
lea ecx, [ebp - 0x368]
call fcn.00402420
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 5
call fcn.00402420
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push str._PFMonChildProc
push eax
call fcn.00486708
add esp, 8
test eax, eax
je 0x430272
lea eax, [ebp - 0x3b0]
push ebx
push eax
call fcn.00430e30
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 8
push 0x4b77f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402f10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x398]
push eax
call fcn.004064f0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0xa
jb 0x4301e7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402d90
lea ecx, [ebp - 0x398]
call fcn.00402420
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x430245
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43023b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e07
push edx
push ecx
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402420
jmp 0x430327
call esi
push str._CreateCmdDb
push eax
call fcn.00486708
add esp, 8
test eax, eax
je 0x430327
push 0xe
xor eax, eax
mov dword [ebp - 0x220], 0
push str.__create_cmddb
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402f10
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
mov byte [ebp - 4], 0xb
call fcn.00402d90
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x430327
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43031d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e1b
push edx
push ecx
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 7
mov word [ebp - 0x2d8], ax
lea eax, [ebp - 0x2d8]
mov byte [ebp - 4], 0xc
push eax
call fcn.0042fa50
add esp, 4
test al, al
je 0x4304a5
push 1
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x4b77f4
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00402f10
cmp dword [ebp - 0x2c4], 8
lea eax, [ebp - 0x2d8]
push dword [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x2d8]
lea ecx, [ebp - 0x278]
push eax
mov byte [ebp - 4], 0xd
call fcn.00402d90
xor edi, edi
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x28c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x288], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x284], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x27c], ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], di
cmp ecx, 8
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x290]
cmovae eax, esi
lea ecx, [ebp - 0x248]
push edx
push eax
call fcn.00402d90
mov edx, dword [ebp - 0x27c]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x430461
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430457
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e0c
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x4304a5
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43049b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e0c
push edx
push ecx
call fcn.0046e36f
add esp, 8
cmp byte [ebp - 0x3b1], 0
mov esi, dword [ebp - 0x3b8]
mov ecx, dword [esi]
je 0x43079f
call fcn.00404530
mov ecx, eax
call fcn.00404530
mov ecx, eax
call fcn.004039d0
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, eax
call fcn.004075d0
push ebx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xf
push 0x4b77ec
push eax
call fcn.00406620
add esp, 0xc
mov ecx, dword [ebp - 0x298]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x29c]
mov ebx, 1
sub ecx, esi
mov byte [ebp - 4], 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x3bc], eax
cmp eax, ebx
jle 0x43072a
mov edi, 0x18
nop
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x43053c
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x430713
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x29c]
cmovae ecx, dword [ebp - 0x260]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x430576
mov eax, dword [eax]
push ecx
push eax
call fcn.0041e1f0
add esp, 8
test eax, eax
je 0x430713
mov eax, dword [ebp - 0x29c]
add eax, edi
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041dd70
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x11
push 0x4b77f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402f10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.004064f0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x13
jb 0x4305fe
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402d90
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x430651
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 0x11
cmp edx, 8
jb 0x4306b2
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4306a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0x10
cmp edx, 8
jb 0x430713
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430709
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x3bc]
jge 0x43072a
mov esi, dword [ebp - 0x29c]
jmp 0x430530
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x43076e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430764
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e11
push edx
push ecx
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0xc
call fcn.004038a0
jmp 0x430b52
lea eax, [ebp - 0x2a8]
push eax
call fcn.00404530
mov ecx, eax
call fcn.0042a430
cmp dword [ebp - 0x298], 0
mov byte [ebp - 4], 0x14
je 0x430b0e
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x3b8]
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x3c4], esi
cmovae eax, dword [ebp - 0x2a8]
push ecx
push eax
mov dword [ebp - 0x3b8], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x3bc], ebx
test ebx, ebx
je 0x430b0e
xor edi, edi
cmp dword [ebp - 0x3b8], edi
jle 0x430b07
mov edx, dword [ebx + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea esi, [ecx + 2]
jmp 0x430840
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430840
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.00402f10
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x3c4]
call fcn.0042f0a0
mov edx, dword [ebp - 0x24c]
test al, al
mov byte [ebp - 4], 0x14
sete bl
cmp edx, 8
jb 0x4308bb
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4308b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
test bl, bl
mov ebx, dword [ebp - 0x3bc]
jne 0x430afa
mov edx, dword [ebx + edi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4308f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.00402f10
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041dd70
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x17
push 0x4b77f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402f10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004064f0
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x19
jb 0x430984
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402d90
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x4309d7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4309cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov byte [ebp - 4], 0x17
cmp edx, 8
jb 0x430a38
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430a2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x27c]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x430a99
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430a8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x430afa
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430af0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e02
push edx
push ecx
call fcn.0046e36f
add esp, 8
inc edi
cmp edi, dword [ebp - 0x3b8]
jl 0x430813
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x430b52
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430b48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e16
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x248]
mov ebx, dword [ebp - 0x248]
cmp edi, 8
mov esi, dword [ebp - 0x238]
cmovae eax, ebx
test esi, esi
je 0x430b91
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x430b91
lea ecx, [ecx]
cmp word [edx], 0x20
jne 0x430cbe
add edx, 2
cmp edx, ecx
jb 0x430b80
or edx, 0xffffffff
cmp esi, edx
lea ecx, [ebp - 0x248]
cmovb edx, esi
cmp edi, 8
cmovae ecx, ebx
sub esi, edx
mov dword [ebp - 0x238], esi
lea eax, [esi*2 + 2]
push eax
lea eax, [ecx + edx*2]
push eax
push ecx
call fcn.00485e00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.enableetw
push eax
call fcn.00486708
add esp, 8
test eax, eax
je 0x430bec
push 0xb
push str.__enableetw
lea ecx, [ebp - 0x248]
call fcn.00402d90
mov esi, dword [ebp - 0x3c0]
lea edx, [ebp - 0x408]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
push esi
cmovae ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x2f0]
cmp dword [ebp - 0x2dc], 8
push edx
cmovae eax, dword [ebp - 0x2f0]
push 0
push 0
push 0
push 0
push ecx
push eax
call fcn.004642a0
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4ed484], 0
je 0x430cb1
push 0
push 0
push 0x4b8230
push str.PrometheusCreateProcess
push 1
call fcn.00431680
add esp, 0x14
cmp byte [0x4ed484], 0
je 0x430cb1
push 0xff
push str.PrometheusCreateProcess
call fcn.004316c0
add esp, 8
cmp byte [0x4ed484], 0
je 0x430cb1
push 0
push 0
push 0x4b8230
push str.PrometheusClientMainWindowAdded
push 1
call fcn.00431660
add esp, 0x14
cmp byte [0x4ed484], 0
je 0x430cb1
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.004316a0
add esp, 8
test bl, bl
jne 0x430cc7
mov dword [esi + 8], 0xffffffff
jmp 0x430cc9
sub edx, eax
sar edx, 1
jmp 0x430b94
mov bl, 1
mov edx, dword [ebp - 0x2c4]
cmp edx, 8
jb 0x430d09
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430cff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e1b
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x430d49
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430d3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e1b
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x2f4]
xor eax, eax
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
cmp edx, 8
jb 0x430da6
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430d9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e1b
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x430de2
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430dd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430e1b
push edx
push ecx
call fcn.0046e36f
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.0046e5dc
mov esp, ebp
pop ebp
ret 0xc
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
call fcn.0048f279
int3