Function at 0x407ecc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5133d3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
lea edi, [ecx + 2]
xor ebx, ebx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x407f10
sub ecx, edi
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040392d
cmp dword [esi + 0x14], 8
jb 0x407f30
mov esi, dword [esi]
lea ecx, [ebp - 0x60]
push esi
push ecx
call fcn.004081c2
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 4], ebx
cmp eax, 1
jbe 0x408094
xor ecx, ecx
push 0xb
mov word [ebp - 0x2c], cx
push str._prometheus
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.0040392d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x407f93
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
lea ecx, [edi + 0x1c]
call fcn.00407955
test eax, eax
sete byte [ebp - 0x49]
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], bl
jb 0x407fc0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f7d
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x407feb
cmp edi, ebx
je 0x407fe4
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x54]
push eax
push ecx
push edi
call fcn.00407612
push edi
call fcn.00404f7d
add esp, 0x14
xor al, al
jmp 0x4081a6
push 1
xor edx, edx
push 0x5240d8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040392d
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 2
call fcn.00405b23
add esp, 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 3
jb 0x408031
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
lea ecx, [edi + 0x1c]
call fcn.00407955
test eax, eax
mov esi, 8
sete byte [ebp - 0x49]
cmp dword [ebp - 0x34], esi
jb 0x40805c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x408080
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f7d
add esp, 4
cmp byte [ebp - 0x49], bl
je 0x408094
lea ecx, [ebp - 0x60]
call fcn.0040f4e6
xor al, al
jmp 0x4081a6
xor ecx, ecx
push 1
mov word [ebp - 0x2c], cx
push 0x5240d8
lea ecx, [ebp - 0x2c]
lea esi, [edi + 0x1c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.0040392d
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 4
call fcn.00405b23
add esp, 0xc
push eax
sub esi, edi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
add esi, edx
call fcn.00408315
mov edx, dword [ebp - 0x5c]
lea ecx, [esi*8]
sub ecx, esi
mov esi, dword [ebp - 0x60]
lea eax, [edx - 0x1c]
lea ecx, [esi + ecx*4]
cmp ecx, eax
je 0x40811a
cmp eax, edx
je 0x40811a
push ebx
push ebx
push edx
push eax
push ecx
call fcn.004083ef
add esp, 0x14
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x408130
mov edx, dword [ebp - 0x48]
push edx
call fcn.00404f7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], esi
jb 0x408154
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00404f7d
add esp, 4
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00408575
add esp, 8
mov ecx, dword [ebp - 0x50]
push eax
mov byte [ebp - 4], 6
call fcn.00403fa0
cmp dword [ebp - 0x34], esi
jb 0x408182
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f7d
add esp, 4
mov esi, dword [ebp - 0x60]
cmp esi, ebx
je 0x4081a4
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x54]
push eax
push ecx
push esi
call fcn.00407612
push esi
call fcn.00404f7d
add esp, 0x14
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