Function at 0x42fa00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a790e
mov eax, dword fs:[0]
push eax
sub esp, 0x3f8
mov eax, dword [0x4d8368]
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 [0x4e05c4], 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 0x42fa85
push 0
push 0
push 0x4ae230
push str.PrometheusCreateProcess
push 1
call fcn.00431410
add esp, 0x14
cmp byte [0x4e05c4], 0
je 0x42fa85
push 0xff
push str.PrometheusCreateProcess
call fcn.00431450
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 0x42fab5
mov eax, dword [ebx]
push dword [0x4e058c]
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x42fb41
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fad2
mov eax, dword [ebx]
push dword [0x4e0590]
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x42fb41
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42faef
mov eax, dword [ebx]
push dword [0x4e0594]
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x42fb41
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fb0c
mov eax, dword [ebx]
push dword [0x4e0598]
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x42fb41
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42fb29
mov eax, dword [ebx]
push dword [0x4e05a4]
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x42fb61
cmp edi, 1
jne 0x42fb61
push 1
call fcn.0045abe0
add esp, 4
test al, al
je 0x42fb61
mov esi, dword [ebp - 0x3b8]
mov byte [ebp - 0x3b1], 1
jmp 0x42fc9a
push ebx
lea eax, [ebp - 0x320]
push 0x4ad7ec
push eax
call fcn.004064c0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x42fc2b
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42fbc6
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fbbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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.00402320
mov esi, dword [ebp - 0x3b8]
lea eax, [ebp - 0x350]
push eax
mov ecx, esi
call fcn.0042f740
push eax
lea eax, [ebp - 0x338]
mov byte [ebp - 4], 1
push str.__from_prome__prome_pipe_token
push eax
call fcn.00406440
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 2
jb 0x42fc71
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402c90
lea ecx, [ebp - 0x338]
call fcn.00402320
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0
call fcn.00402320
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0047ce40
mov ecx, dword [esi]
add esp, 0xc
call fcn.004043d0
mov ecx, eax
call fcn.004043d0
mov esi, eax
mov ecx, esi
call fcn.00404390
test eax, eax
je 0x42fdf6
mov ecx, esi
call fcn.00404390
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00486e82
add esp, 0xc
lea ecx, [ebp - 0x2c0]
push ebx
call fcn.00401960
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push dword [0x4e0598]
cmovae eax, dword [ebp - 0x2c0]
push eax
mov byte [ebp - 4], 3
call fcn.0041e0f0
add esp, 8
test eax, eax
jne 0x42fd36
push 0xa
push str.wpspdf.exe
lea ecx, [ebp - 0x2c0]
call fcn.00402e10
jmp 0x42fd7c
cmp dword [ebp - 0x2ac], 8
lea eax, [ebp - 0x2c0]
push 0x4b0458
cmovae eax, dword [ebp - 0x2c0]
push eax
call fcn.0041e0a0
add esp, 8
lea ecx, [ebp - 0x2c0]
test eax, eax
jne 0x42fd70
push 0xa
push str.wpsofd.exe
call fcn.00402e10
jmp 0x42fd7c
push 4
push str..exe
call fcn.00402c90
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42fd85
cmp dword [ebp - 0x2ac], 8
lea edx, [ebp - 0x2c0]
mov eax, dword [0x4ada10]
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 0x42fdb0
lea edi, [ebp - 0x218]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42fdc6
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.00402320
mov edi, dword [ebp - 0x3bc]
jmp 0x42fe0a
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 0x42fe30
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x308]
call fcn.00402e10
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 - 0x400]
push eax
mov dword [ebp - 0x404], 0x44
call fcn.0047ce40
add esp, 0xc
mov dword [ebp - 0x3d8], 1
mov eax, 1
mov word [ebp - 0x3d4], ax
test edi, edi
je 0x42ff1b
cmp byte [ebp - 0x3b1], 0
jne 0x42ff1b
lea eax, [ebp - 0x380]
push edi
push eax
call fcn.0041c930
push eax
lea eax, [ebp - 0x368]
mov byte [ebp - 4], 6
push str.__prome_prestart_type
push eax
call fcn.00406440
add esp, 0x14
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 7
jb 0x42fef2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402c90
lea ecx, [ebp - 0x368]
call fcn.00402320
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 5
call fcn.00402320
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call esi
push str._PFMonChildProc
push eax
call fcn.0047d1c8
add esp, 8
test eax, eax
je 0x430032
lea eax, [ebp - 0x3b0]
push ebx
push eax
call fcn.00430be0
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 8
push 0x4ad7f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402e10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x398]
push eax
call fcn.00406390
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0xa
jb 0x42ffa7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402c90
lea ecx, [ebp - 0x398]
call fcn.00402320
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x430005
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42fffb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb7
push edx
push ecx
call fcn.00464df3
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.00402320
jmp 0x4300e7
call esi
push str._CreateCmdDb
push eax
call fcn.0047d1c8
add esp, 8
test eax, eax
je 0x4300e7
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.00402e10
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.00402c90
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4300e7
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4300dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bcb
push edx
push ecx
call fcn.00464df3
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.0042f810
add esp, 4
test al, al
je 0x430265
push 1
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x4ad7f4
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.00402e10
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.00402c90
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.00402c90
mov edx, dword [ebp - 0x27c]
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x430221
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bbc
push edx
push ecx
call fcn.00464df3
add esp, 8
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x430265
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43025b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bbc
push edx
push ecx
call fcn.00464df3
add esp, 8
cmp byte [ebp - 0x3b1], 0
mov eax, dword [ebp - 0x3b8]
mov ecx, dword [eax]
je 0x43055f
call fcn.004043d0
mov ecx, eax
call fcn.004043d0
mov ecx, eax
call fcn.00403870
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, eax
call fcn.00407470
push ebx
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xf
push 0x4ad7ec
push eax
call fcn.004064c0
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 0x4304ea
mov edi, 0x18
nop
cmp dword [edi + esi + 0x14], 8
lea eax, [edi + esi]
jb 0x4302fc
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x4304d3
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 0x430336
mov eax, dword [eax]
push ecx
push eax
call fcn.0041e0f0
add esp, 8
test eax, eax
je 0x4304d3
mov eax, dword [ebp - 0x29c]
add eax, edi
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041dc70
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x11
push 0x4ad7f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402e10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00406390
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x13
jb 0x4303be
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402c90
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x430411
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430407
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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 0x430472
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430468
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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 0x4304d3
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4304c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
add esp, 8
inc ebx
add edi, 0x18
cmp ebx, dword [ebp - 0x3bc]
jge 0x4304ea
mov esi, dword [ebp - 0x29c]
jmp 0x4302f0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xf
cmp edx, 8
jb 0x43052e
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430524
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bc1
push edx
push ecx
call fcn.00464df3
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.00403740
jmp 0x430905
lea eax, [ebp - 0x2a8]
push eax
call fcn.004043d0
mov ecx, eax
call fcn.0042a330
cmp dword [ebp - 0x298], 0
mov byte [ebp - 4], 0x14
je 0x4308c1
cmp dword [ebp - 0x294], 8
lea ecx, [ebp - 0x3b8]
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x3b8], 0
cmovae eax, dword [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x3bc], ebx
test ebx, ebx
je 0x4308c1
xor edi, edi
cmp dword [ebp - 0x3b8], edi
jle 0x4308ba
lea ecx, [ecx]
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4305f5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.00402e10
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x3b1]
call fcn.0042ef90
mov edx, dword [ebp - 0x24c]
test al, al
mov byte [ebp - 4], 0x14
sete bl
cmp edx, 8
jb 0x430670
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430666
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
add esp, 8
test bl, bl
mov ebx, dword [ebp - 0x3bc]
jne 0x4308ad
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 ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4306a3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.00402e10
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0041dc70
add esp, 8
mov esi, eax
push 1
xor eax, eax
mov byte [ebp - 4], 0x17
push 0x4ad7f4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00402e10
push esi
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00406390
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, eax
mov byte [ebp - 4], 0x19
jb 0x430737
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00402c90
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x18
cmp edx, 8
jb 0x43078a
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430780
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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 0x4307eb
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4307e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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 0x43084c
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
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 0x4308ad
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4308a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bb2
push edx
push ecx
call fcn.00464df3
add esp, 8
inc edi
cmp edi, dword [ebp - 0x3b8]
jl 0x4305d0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x430905
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4308fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bc6
push edx
push ecx
call fcn.00464df3
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 0x430941
lea ecx, [eax + esi*2]
mov edx, eax
cmp eax, ecx
jae 0x430941
cmp word [edx], 0x20
jne 0x430a6e
add edx, 2
cmp edx, ecx
jb 0x430930
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.0047c8c0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.enableetw
push eax
call fcn.0047d1c8
add esp, 8
test eax, eax
je 0x43099c
push 0xb
push str.__enableetw
lea ecx, [ebp - 0x248]
call fcn.00402c90
mov esi, dword [ebp - 0x3c0]
lea edx, [ebp - 0x404]
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.0045c480
add esp, 0x20
test eax, eax
setne bl
cmp byte [0x4e05c4], 0
je 0x430a61
push 0
push 0
push 0x4ae230
push str.PrometheusCreateProcess
push 1
call fcn.00431430
add esp, 0x14
cmp byte [0x4e05c4], 0
je 0x430a61
push 0xff
push str.PrometheusCreateProcess
call fcn.00431470
add esp, 8
cmp byte [0x4e05c4], 0
je 0x430a61
push 0
push 0
push 0x4ae230
push str.PrometheusClientMainWindowAdded
push 1
call fcn.00431410
add esp, 0x14
cmp byte [0x4e05c4], 0
je 0x430a61
push 0xff
push str.PrometheusClientMainWindowAdded
call fcn.00431450
add esp, 8
test bl, bl
jne 0x430a77
mov dword [esi + 8], 0xffffffff
jmp 0x430a79
sub edx, eax
sar edx, 1
jmp 0x430944
mov bl, 1
mov edx, dword [ebp - 0x2c4]
cmp edx, 8
jb 0x430ab9
mov ecx, dword [ebp - 0x2d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430aaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bcb
push edx
push ecx
call fcn.00464df3
add esp, 8
mov edx, dword [ebp - 0x2dc]
cmp edx, 8
jb 0x430af9
mov ecx, dword [ebp - 0x2f0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430aef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bcb
push edx
push ecx
call fcn.00464df3
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 0x430b56
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430b4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bcb
push edx
push ecx
call fcn.00464df3
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x430b92
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430b88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430bcb
push edx
push ecx
call fcn.00464df3
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.00465060
mov esp, ebp
pop ebp
ret 0xc
call fcn.00485d39
call fcn.00485d39
call fcn.00485d39
call fcn.00485d39
call fcn.00485d39
call fcn.00485d39
int3