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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541682
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x58d038]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2d8], ecx
mov cl, byte [0x59368c]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x2e0], edi
test cl, cl
je 0x437ef2
push 0
push str.PrometheusCreateProcess
call fcn.0043d0e0
add esp, 8
xor eax, eax
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], dx
mov ebx, 8
mov dword [ebp - 4], eax
mov byte [ebp - 0x2cd], dl
cmp dword [esi + 0x14], ebx
jb 0x437f1b
mov eax, dword [esi]
jmp 0x437f1d
mov eax, esi
mov ecx, dword [0x59338c]
push ecx
push eax
call fcn.00415c50
add esp, 8
test eax, eax
je 0x437fa3
cmp dword [esi + 0x14], ebx
jb 0x437f3a
mov eax, dword [esi]
jmp 0x437f3c
mov eax, esi
mov edx, dword [0x593390]
push edx
push eax
call fcn.00415c50
add esp, 8
test eax, eax
je 0x437fa3
cmp dword [esi + 0x14], ebx
jb 0x437f59
mov eax, dword [esi]
jmp 0x437f5b
mov eax, esi
mov ecx, dword [0x593394]
push ecx
push eax
call fcn.00415c50
add esp, 8
test eax, eax
je 0x437fa3
cmp dword [esi + 0x14], ebx
jb 0x437f78
mov eax, dword [esi]
jmp 0x437f7a
mov eax, esi
mov edx, dword [0x593398]
push edx
push eax
call fcn.00415c50
add esp, 8
test eax, eax
jne 0x437fb3
call fcn.0046d050
test al, al
je 0x437fb3
mov byte [ebp - 0x2cd], 1
jmp 0x43807a
push 0
call fcn.0046cfd0
add esp, 4
test al, al
jne 0x437f97
jmp 0x437f8e
push esi
lea eax, [ebp - 0x278]
push 0x54b7d8
push eax
call fcn.00404cf0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402560
mov byte [ebp - 4], 0
cmp dword [ebp - 0x264], ebx
jb 0x437ff0
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.00480102
add esp, 4
mov ecx, dword [ebp - 0x2d8]
lea edx, [ebp - 0x294]
push edx
call fcn.00437140
push eax
lea eax, [ebp - 0x198]
push str.__from_prome__prome_pipe_token
push eax
mov byte [ebp - 4], 2
call fcn.00404dd0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004043e0
cmp dword [ebp - 0x184], ebx
jb 0x438043
mov ecx, dword [ebp - 0x198]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x184], 7
mov dword [ebp - 0x188], 0
mov word [ebp - 0x198], dx
mov byte [ebp - 4], dl
cmp dword [ebp - 0x280], ebx
jb 0x43807a
mov eax, dword [ebp - 0x294]
push eax
call fcn.00480102
add esp, 4
push esi
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x2d8]
call fcn.00437560
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], dx
call fcn.00401a70
xor eax, eax
mov dword [edi], eax
push 0x40
mov dword [edi + 4], eax
push eax
lea ecx, [ebp - 0x334]
mov dword [edi + 8], eax
push ecx
mov byte [ebp - 4], 5
mov dword [edi + 0xc], eax
mov dword [ebp - 0x338], 0x44
call fcn.00480280
add esp, 0xc
cmp dword [ebp - 0x2d4], 0
mov edx, 1
mov dword [ebp - 0x30c], 1
mov word [ebp - 0x308], dx
je 0x43819a
cmp byte [ebp - 0x2cd], 0
jne 0x43819a
mov eax, dword [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00419120
push eax
lea edx, [ebp - 0x1ec]
push str.__prome_prestart_type
push edx
mov byte [ebp - 4], 6
call fcn.00404dd0
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004043e0
cmp dword [ebp - 0x1d8], ebx
jb 0x438162
mov eax, dword [ebp - 0x1ec]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1d8], 7
mov dword [ebp - 0x1dc], 0
mov word [ebp - 0x1ec], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x2b8], ebx
jb 0x43819a
mov edx, dword [ebp - 0x2cc]
push edx
call fcn.00480102
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push str._PFMonChildProc
push eax
call fcn.0048385f
add esp, 8
test eax, eax
je 0x43829b
lea eax, [ebp - 0x2b0]
push esi
push eax
call fcn.004377f0
add esp, 8
mov edi, eax
xor ecx, ecx
push 1
mov word [ebp - 0x9c], cx
push 0x54b7d4
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
call fcn.00401b70
push edi
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x208]
push eax
mov byte [ebp - 4], 9
call fcn.00404e90
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004043e0
cmp dword [ebp - 0x1f4], ebx
jb 0x438240
mov ecx, dword [ebp - 0x208]
push ecx
call fcn.00480102
add esp, 4
xor edi, edi
xor edx, edx
mov dword [ebp - 0x1f4], 7
mov dword [ebp - 0x1f8], edi
mov word [ebp - 0x208], dx
cmp dword [ebp - 0x88], ebx
jb 0x438272
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x29c], ebx
jb 0x43830c
mov edx, dword [ebp - 0x2b0]
jmp 0x438303
call edi
push str._CreateCmdDb
push eax
call fcn.0048385f
add esp, 8
test eax, eax
je 0x43830c
push 0xe
xor eax, eax
push str.__create_cmddb
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
call fcn.00401b70
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.004043e0
cmp dword [ebp - 0x114], ebx
jb 0x43830c
mov edx, dword [ebp - 0x128]
push edx
call fcn.00480102
add esp, 4
mov edi, 7
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00436a90
add esp, 4
test al, al
je 0x4383de
push 1
xor edx, edx
push 0x54b7d4
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xfc], 0
mov word [ebp - 0x10c], dx
call fcn.00401b70
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x1b4]
push edx
mov byte [ebp - 4], 0xd
call fcn.00410870
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.004043e0
cmp dword [ebp - 0x1a0], ebx
jb 0x4383aa
mov eax, dword [ebp - 0x1b4]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], 0
mov word [ebp - 0x1b4], cx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xf8], ebx
jb 0x4383de
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00480102
add esp, 4
cmp byte [ebp - 0x2cd], 0
je 0x43863f
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax]
call fcn.00423800
mov ecx, eax
call fcn.004237f0
mov ecx, eax
call fcn.004237f0
lea ecx, [ebp - 0x2f0]
push ecx
mov ecx, eax
call fcn.004063d0
push esi
lea edx, [ebp - 0xf0]
push 0x54b7d8
push edx
mov byte [ebp - 4], 0xf
call fcn.00404cf0
add esp, 0xc
mov ecx, dword [ebp - 0x2ec]
sub ecx, dword [ebp - 0x2f0]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 0x10
cmp eax, 1
jle 0x4385c9
dec eax
mov edi, 0x1c
mov dword [ebp - 0x2d4], eax
mov ebx, 8
mov eax, dword [ebp - 0x2f0]
add eax, edi
cmp dword [eax + 0x14], ebx
jb 0x438479
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00415c50
add esp, 8
test eax, eax
je 0x4385ba
mov ecx, dword [ebp - 0xf0]
cmp dword [ebp - 0xdc], ebx
jae 0x4384a3
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0x2f0]
add eax, edi
cmp dword [eax + 0x14], ebx
jb 0x4384b2
mov eax, dword [eax]
push ecx
push eax
call fcn.00415c50
add esp, 8
test eax, eax
je 0x4385ba
mov eax, dword [ebp - 0x2f0]
add eax, edi
push eax
lea ecx, [ebp - 0x25c]
push ecx
call fcn.0041aac0
add esp, 8
mov esi, eax
push 1
xor edx, edx
push 0x54b7d4
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], dx
call fcn.00401b70
push esi
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
mov byte [ebp - 4], 0x12
call fcn.00404e90
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x13
call fcn.004043e0
cmp dword [ebp - 0x1bc], ebx
jb 0x438554
mov edx, dword [ebp - 0x1d0]
push edx
call fcn.00480102
add esp, 4
xor esi, esi
xor eax, eax
mov dword [ebp - 0x1bc], 7
mov dword [ebp - 0x1c0], esi
mov word [ebp - 0x1d0], ax
cmp dword [ebp - 0xa4], ebx
jb 0x438586
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], dx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x248], ebx
jb 0x4385ba
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00480102
add esp, 4
add edi, 0x1c
dec dword [ebp - 0x2d4]
jne 0x43846a
cmp dword [ebp - 0xdc], 8
jb 0x4385e1
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00480102
add esp, 4
mov eax, dword [ebp - 0x2f0]
xor edx, edx
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], dx
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4388e9
mov ecx, dword [ebp - 0x2e0]
push ecx
mov ecx, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2e4]
push edx
push ecx
push eax
call fcn.004025e0
mov edx, dword [ebp - 0x2f0]
push edx
call fcn.00480102
add esp, 0x14
jmp 0x4388e9
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x160]
push eax
call fcn.00423800
mov ecx, eax
call fcn.00423b30
cmp dword [ebp - 0x150], 0
mov byte [ebp - 4], 0x14
je 0x4388ce
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x2dc], 0
cmp dword [ebp - 0x14c], ebx
jae 0x438689
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x2dc]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x4388ce
xor ecx, ecx
mov dword [ebp - 0x2d8], ecx
cmp dword [ebp - 0x2dc], ecx
jle 0x4388c2
lea esp, [esp]
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov word [ebp - 0x144], ax
mov eax, ecx
mov dword [ebp - 0x130], 7
mov dword [ebp - 0x134], 0
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4386e5
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x144]
call fcn.00401b70
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x2cd]
mov byte [ebp - 4], 0x15
call fcn.004371f0
test al, al
sete bl
cmp dword [ebp - 0x130], 8
mov byte [ebp - 4], 0x14
jb 0x438738
mov edx, dword [ebp - 0x144]
push edx
call fcn.00480102
add esp, 4
test bl, bl
jne 0x4388a3
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [eax + ecx*4]
xor ebx, ebx
xor edx, edx
mov edi, 7
mov eax, ecx
mov word [ebp - 0x17c], dx
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ebx
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x438770
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x17c]
call fcn.00401b70
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x224]
push ecx
mov byte [ebp - 4], 0x16
call fcn.0041aac0
add esp, 8
mov esi, eax
push 1
xor edx, edx
push 0x54b7d4
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
call fcn.00401b70
push esi
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x240]
push ecx
mov byte [ebp - 4], 0x18
call fcn.00404e90
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x19
call fcn.004043e0
cmp dword [ebp - 0x22c], 8
jb 0x438816
mov edx, dword [ebp - 0x240]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov esi, 8
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], ebx
mov word [ebp - 0x240], ax
cmp dword [ebp - 0xc0], esi
jb 0x438847
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], dx
cmp dword [ebp - 0x210], esi
jb 0x438873
mov eax, dword [ebp - 0x224]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], ebx
mov word [ebp - 0x224], cx
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x168], esi
jb 0x4388a3
mov edx, dword [ebp - 0x17c]
push edx
call fcn.00480102
add esp, 4
mov ecx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x2d4]
inc ecx
mov dword [ebp - 0x2d8], ecx
cmp ecx, dword [ebp - 0x2dc]
jl 0x4386c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 8
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14c], ebx
jb 0x4388e9
mov eax, dword [ebp - 0x160]
push eax
call fcn.00480102
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2f4], 0x20
test ecx, ecx
je 0x438953
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ebx, 8
jae 0x43890a
lea eax, [ebp - 0x2c]
lea edi, [eax + ecx*2]
mov ecx, edx
cmp ebx, 8
jae 0x438917
lea ecx, [ebp - 0x2c]
cmp ecx, edi
jae 0x438953
jmp 0x438920
movzx esi, word [ecx]
mov edx, 1
lea eax, [ebp - 0x2f4]
mov edi, edi
cmp word [eax], si
je 0x43894c
add eax, 2
dec edx
jne 0x438930
mov eax, dword [ebp - 0x2c]
cmp ebx, 8
jae 0x438946
lea eax, [ebp - 0x2c]
sub ecx, eax
sar ecx, 1
jmp 0x438956
add ecx, 2
cmp ecx, edi
jb 0x438920
or ecx, 0xffffffff
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.004016d0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
lea edi, [edx + ecx + 4]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047eeb1
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov eax, 8
add esp, 4
cmp dword [ebp - 0x18], eax
jae 0x438998
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
jae 0x4389a3
lea eax, [ebp - 0x48]
push ecx
push eax
push str.__s___s
push edi
push esi
call fcn.00482a49
mov edi, dword [ebp - 0x2e0]
add esp, 0x14
push edi
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov cl, byte [0x59368c]
test eax, eax
setne bl
test cl, cl
je 0x4389f5
push 0
push str.PrometheusCreateProcess
call fcn.0043d100
add esp, 8
mov dl, byte [0x59368c]
test dl, dl
je 0x438a0e
push 0
push str.PrometheusClientMainWindowAdded
call fcn.0043d0e0
add esp, 8
push esi
call fcn.00481649
add esp, 4
mov esi, 8
test bl, bl
jne 0x438a9a
mov dword [edi + 8], 0xffffffff
cmp dword [ebp - 0x50], esi
jb 0x438a38
mov eax, dword [ebp - 0x64]
push eax
call fcn.00480102
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x438a5c
mov edx, dword [ebp - 0x48]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x6c], esi
jb 0x438a79
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00480102
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x18], esi
jb 0x438a96
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00480102
add esp, 4
xor al, al
jmp 0x438b0b
cmp dword [ebp - 0x50], esi
jb 0x438aab
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00480102
add esp, 4
xor edi, edi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], esi
jb 0x438acf
mov eax, dword [ebp - 0x48]
push eax
call fcn.00480102
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x6c], esi
jb 0x438aec
mov edx, dword [ebp - 0x80]
push edx
call fcn.00480102
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], ax
cmp dword [ebp - 0x18], esi
jb 0x438b09
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00480102
add esp, 4
mov al, 1
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.00480264
mov esp, ebp
pop ebp
ret 0xc