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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51602e
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [section..data]
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 - 0x284], ecx
mov cl, byte [0x55f474]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x28c], edi
test cl, cl
je 0x438ac7
push 0
push str.PrometheusCreateProcess
call fcn.0043d275
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 - 0x279], dl
cmp dword [esi + 0x14], ebx
jb 0x438af0
mov eax, dword [esi]
jmp 0x438af2
mov eax, esi
mov ecx, dword [0x55bac4]
push ecx
push eax
call fcn.00407844
add esp, 8
test eax, eax
je 0x438b78
cmp dword [esi + 0x14], ebx
jb 0x438b0f
mov eax, dword [esi]
jmp 0x438b11
mov eax, esi
mov edx, dword [0x55bac8]
push edx
push eax
call fcn.00407844
add esp, 8
test eax, eax
je 0x438b78
cmp dword [esi + 0x14], ebx
jb 0x438b2e
mov eax, dword [esi]
jmp 0x438b30
mov eax, esi
mov ecx, dword [0x55bacc]
push ecx
push eax
call fcn.00407844
add esp, 8
test eax, eax
je 0x438b78
cmp dword [esi + 0x14], ebx
jb 0x438b4d
mov eax, dword [esi]
jmp 0x438b4f
mov eax, esi
mov edx, dword [0x55bad0]
push edx
push eax
call fcn.00407844
add esp, 8
test eax, eax
jne 0x438b88
call fcn.00409178
test al, al
je 0x438b88
mov byte [ebp - 0x279], 1
jmp 0x438c4f
push 0
call fcn.004152e5
add esp, 4
test al, al
jne 0x438b6c
jmp 0x438b63
push esi
lea eax, [ebp - 0x224]
push 0x5240d8
push eax
call fcn.0040c07e
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403fa0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x210], ebx
jb 0x438bc5
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00404f7d
add esp, 4
mov ecx, dword [ebp - 0x284]
lea edx, [ebp - 0x25c]
push edx
call fcn.00437d3a
push eax
lea eax, [ebp - 0x160]
push str.__from_prome__prome_pipe_token
push eax
mov byte [ebp - 4], 2
call fcn.0041db59
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040511f
cmp dword [ebp - 0x14c], ebx
jb 0x438c18
mov ecx, dword [ebp - 0x160]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x14c], 7
mov dword [ebp - 0x150], 0
mov word [ebp - 0x160], dx
mov byte [ebp - 4], dl
cmp dword [ebp - 0x248], ebx
jb 0x438c4f
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00404f7d
add esp, 4
push esi
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x284]
call fcn.0043814a
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x64]
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.00404e84
xor eax, eax
mov dword [edi], eax
push 0x40
mov dword [edi + 4], eax
push eax
lea ecx, [ebp - 0x2e0]
mov dword [edi + 8], eax
push ecx
mov byte [ebp - 4], 5
mov dword [edi + 0xc], eax
mov dword [ebp - 0x2e4], 0x44
call fcn.00402e70
add esp, 0xc
cmp dword [ebp - 0x280], 0
mov edx, 1
mov dword [ebp - 0x2b8], 1
mov word [ebp - 0x2b4], dx
je 0x438d6f
cmp byte [ebp - 0x279], 0
jne 0x438d6f
mov eax, dword [ebp - 0x280]
push eax
lea ecx, [ebp - 0x278]
push ecx
call fcn.0042a8a0
push eax
lea edx, [ebp - 0x1ec]
push str.__prome_prestart_type
push edx
mov byte [ebp - 4], 6
call fcn.0041db59
add esp, 0x14
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.0040511f
cmp dword [ebp - 0x1d8], ebx
jb 0x438d37
mov eax, dword [ebp - 0x1ec]
push eax
call fcn.00404f7d
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 - 0x264], ebx
jb 0x438d6f
mov edx, dword [ebp - 0x278]
push edx
call fcn.00404f7d
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call edi
push str._PFMonChildProc
push eax
call fcn.00406341
add esp, 8
test eax, eax
je 0x438e56
lea eax, [ebp - 0x208]
push esi
push eax
call fcn.004383cf
add esp, 8
mov edi, eax
xor ecx, ecx
push 1
mov word [ebp - 0x80], cx
push 0x5240dc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
call fcn.0040392d
push edi
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x17c]
push eax
mov byte [ebp - 4], 9
call fcn.0041a7b6
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0040511f
cmp dword [ebp - 0x168], ebx
jb 0x438e06
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.00404f7d
add esp, 4
xor edi, edi
xor edx, edx
mov dword [ebp - 0x168], 7
mov dword [ebp - 0x16c], edi
mov word [ebp - 0x17c], dx
cmp dword [ebp - 0x6c], ebx
jb 0x438e32
mov eax, dword [ebp - 0x80]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], cx
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1f4], ebx
jb 0x438ecb
mov edx, dword [ebp - 0x208]
jmp 0x438ec2
call edi
push str._CreateCmdDb
push eax
call fcn.00406341
add esp, 8
test eax, eax
je 0x438ecb
push 0xe
xor eax, eax
push str.__create_cmddb
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xdc], 7
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
call fcn.0040392d
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0040511f
mov byte [ebp - 4], 5
cmp dword [ebp - 0xdc], ebx
jb 0x438ecb
mov edx, dword [ebp - 0xf0]
push edx
call fcn.00404f7d
add esp, 4
cmp byte [ebp - 0x279], 0
je 0x43912e
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
call fcn.00416b92
mov ecx, eax
call fcn.0040dfde
mov ecx, eax
call fcn.0040dfde
lea ecx, [ebp - 0x29c]
push ecx
mov ecx, eax
call fcn.0040e369
push esi
lea edx, [ebp - 0xd4]
push 0x5240d8
push edx
mov byte [ebp - 4], 0xc
call fcn.0040c07e
add esp, 0xc
mov ecx, dword [ebp - 0x298]
sub ecx, dword [ebp - 0x29c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 4], 0xd
cmp eax, 1
jle 0x4390b8
dec eax
mov edi, 0x1c
mov dword [ebp - 0x280], eax
mov ebx, 8
mov eax, dword [ebp - 0x29c]
add eax, edi
cmp dword [eax + 0x14], ebx
jb 0x438f66
mov eax, dword [eax]
push str._prometheus
push eax
call fcn.00407844
add esp, 8
test eax, eax
je 0x4390a9
mov ecx, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], ebx
jae 0x438f90
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0x29c]
cmp dword [edi + edx + 0x14], ebx
lea eax, [edi + edx]
jb 0x438fa1
mov eax, dword [eax]
push ecx
push eax
call fcn.00407844
add esp, 8
test eax, eax
je 0x4390a9
mov eax, dword [ebp - 0x29c]
add eax, edi
push eax
lea ecx, [ebp - 0x240]
push ecx
call fcn.00408677
add esp, 8
mov esi, eax
push 1
xor edx, edx
push 0x5240dc
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], dx
call fcn.0040392d
push esi
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 0xf
call fcn.0041a7b6
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.0040511f
cmp dword [ebp - 0x184], ebx
jb 0x439043
mov edx, dword [ebp - 0x198]
push edx
call fcn.00404f7d
add esp, 4
xor esi, esi
xor eax, eax
mov dword [ebp - 0x184], 7
mov dword [ebp - 0x188], esi
mov word [ebp - 0x198], ax
cmp dword [ebp - 0x88], ebx
jb 0x439075
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], dx
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x22c], ebx
jb 0x4390a9
mov eax, dword [ebp - 0x240]
push eax
call fcn.00404f7d
add esp, 4
add edi, 0x1c
dec dword [ebp - 0x280]
jne 0x438f57
cmp dword [ebp - 0xc0], 8
jb 0x4390d0
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.00404f7d
add esp, 4
mov eax, dword [ebp - 0x29c]
xor edx, edx
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], dx
mov byte [ebp - 4], 5
test eax, eax
je 0x4393de
mov ecx, dword [ebp - 0x28c]
push ecx
mov ecx, dword [ebp - 0x298]
lea edx, [ebp - 0x290]
push edx
push ecx
push eax
call fcn.00407612
mov edx, dword [ebp - 0x29c]
push edx
call fcn.00404f7d
add esp, 0x14
jmp 0x4393de
mov ecx, dword [ebp - 0x284]
mov ecx, dword [ecx]
lea eax, [ebp - 0x128]
push eax
call fcn.00416b92
mov ecx, eax
call fcn.0042d1dc
cmp dword [ebp - 0x118], 0
mov byte [ebp - 4], 0x11
je 0x4393c3
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x288], 0
cmp dword [ebp - 0x114], ebx
jae 0x439178
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x288]
push edx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x280], eax
test eax, eax
je 0x4393c3
xor ecx, ecx
mov dword [ebp - 0x284], ecx
cmp dword [ebp - 0x288], ecx
jle 0x4393b7
mov ecx, dword [eax + ecx*4]
xor eax, eax
mov word [ebp - 0x10c], ax
mov eax, ecx
mov dword [ebp - 0xf8], 7
mov dword [ebp - 0xfc], 0
lea esi, [eax + 2]
jmp 0x4391d5
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4391d5
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x10c]
call fcn.0040392d
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x279]
mov byte [ebp - 4], 0x12
call fcn.00437de8
test al, al
sete bl
cmp dword [ebp - 0xf8], 8
mov byte [ebp - 4], 0x11
jb 0x439228
mov edx, dword [ebp - 0x10c]
push edx
call fcn.00404f7d
add esp, 4
test bl, bl
jne 0x439398
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x284]
mov ecx, dword [eax + ecx*4]
xor ebx, ebx
xor edx, edx
mov edi, 7
mov eax, ecx
mov word [ebp - 0x144], dx
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], ebx
lea edx, [eax + 2]
jmp 0x439265
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x439265
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x144]
call fcn.0040392d
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
mov byte [ebp - 4], 0x13
call fcn.00408677
add esp, 8
mov esi, eax
push 1
xor edx, edx
push 0x5240dc
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
call fcn.0040392d
push esi
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
mov byte [ebp - 4], 0x15
call fcn.0041a7b6
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
call fcn.0040511f
cmp dword [ebp - 0x1a0], 8
jb 0x43930b
mov edx, dword [ebp - 0x1b4]
push edx
call fcn.00404f7d
add esp, 4
xor eax, eax
mov esi, 8
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], ebx
mov word [ebp - 0x1b4], ax
cmp dword [ebp - 0xa4], esi
jb 0x43933c
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x1bc], esi
jb 0x439368
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1c0], ebx
mov word [ebp - 0x1d0], cx
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x130], esi
jb 0x439398
mov edx, dword [ebp - 0x144]
push edx
call fcn.00404f7d
add esp, 4
mov ecx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x280]
inc ecx
mov dword [ebp - 0x284], ecx
cmp ecx, dword [ebp - 0x288]
jl 0x4391a8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x114], ebx
jb 0x4393de
mov eax, dword [ebp - 0x128]
push eax
call fcn.00404f7d
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2a0], 0x20
test ecx, ecx
je 0x439448
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ebx, 8
jae 0x4393ff
lea eax, [ebp - 0x2c]
lea edi, [eax + ecx*2]
mov ecx, edx
cmp ebx, 8
jae 0x43940c
lea ecx, [ebp - 0x2c]
cmp ecx, edi
jae 0x439448
jmp 0x439415
movzx esi, word [ecx]
mov edx, 1
lea eax, [ebp - 0x2a0]
mov edi, edi
cmp word [eax], si
je 0x439441
add eax, 2
dec edx
jne 0x439425
mov eax, dword [ebp - 0x2c]
cmp ebx, 8
jae 0x43943b
lea eax, [ebp - 0x2c]
sub ecx, eax
sar ecx, 1
jmp 0x43944b
add ecx, 2
cmp ecx, edi
jb 0x439415
or ecx, 0xffffffff
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040877e
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.00405b75
mov ecx, dword [ebp - 0x2c]
mov esi, eax
mov eax, 8
add esp, 4
cmp dword [ebp - 0x18], eax
jae 0x43948d
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
jae 0x439498
lea eax, [ebp - 0x48]
push ecx
push eax
push str.__s___s
push edi
push esi
call fcn.0040c420
mov edi, dword [ebp - 0x28c]
add esp, 0x14
push edi
lea eax, [ebp - 0x2e4]
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 [0x55f474]
test eax, eax
setne bl
test cl, cl
je 0x4394ea
push 0
push str.PrometheusCreateProcess
call fcn.0043d286
add esp, 8
mov dl, byte [0x55f474]
test dl, dl
je 0x439503
push 0
push str.PrometheusClientMainWindowAdded
call fcn.0043d275
add esp, 8
push esi
call fcn.00409a6f
add esp, 4
mov esi, 8
test bl, bl
jne 0x439572
mov dword [edi + 8], 0xffffffff
cmp dword [ebp - 0x34], esi
jb 0x43952d
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f7d
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], esi
jb 0x439551
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x18], esi
jb 0x43956e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f7d
add esp, 4
xor al, al
jmp 0x4395c6
cmp dword [ebp - 0x34], esi
jb 0x439583
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f7d
add esp, 4
xor edi, edi
xor eax, eax
mov ebx, 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], esi
jb 0x4395a7
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], esi
jb 0x4395c4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f7d
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.0040330b
mov esp, ebp
pop ebp
ret 0xc