Function at 0x4165c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5ab3e8]
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 edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x416602
sub edx, esi
mov ecx, ebx
sar edx, 1
push edx
push eax
call fcn.00407de0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x416624
mov eax, dword [ebx]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
push ecx
push eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x416651
mov dword [ebp - 0x44], ebx
jmp 0x41675e
xor edi, edi
cmp dword [ebp - 0x50], edi
jle 0x41674e
mov ebx, dword [ebp - 0x2c]
nop
mov edx, dword [eax + edi*4]
test edx, edx
je 0x416741
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x58], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416687
sub ecx, dword [ebp - 0x58]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407de0
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4166ed
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], esi
jmp 0x416703
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004020e0
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x41673e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416734
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b0f
push edx
push ecx
call fcn.0048bb0b
add esp, 8
mov eax, dword [ebp - 0x54]
inc edi
cmp edi, dword [ebp - 0x50]
jl 0x416660
mov ebx, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ebx
sub esi, ebx
mov dword [ebp - 4], 2
mov eax, 0x2aaaaaab
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x416895
push 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
push str._prometheus
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407de0
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
add eax, 0x18
push ecx
push eax
call fcn.00401f10
mov edx, dword [ebp - 0x14]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x4167f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4167ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b1e
push edx
push ecx
call fcn.0048bb0b
add esp, 8
test bl, bl
jne 0x4168f4
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x569558
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407de0
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401f60
mov ecx, dword [ebp - 0x4c]
add ecx, 0x18
push eax
push ecx
call fcn.00401f10
add esp, 0x14
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.004025b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41688e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416884
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b0f
push edx
push ecx
call fcn.0048bb0b
add esp, 8
test bl, bl
jne 0x4168f4
mov ebx, dword [ebp - 0x4c]
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x569558
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
lea esi, [ebx + 0x18]
mov word [ebp - 0x28], ax
call fcn.00407de0
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401f60
add esp, 0xc
mov ecx, eax
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 4], 5
cmp ebx, dword [ebp - 0x44]
je 0x416a24
cmp esi, ebx
jne 0x4168fb
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0040d1e0
jmp 0x416a2e
xor bl, bl
jmp 0x416a97
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
lea edi, [ebx - 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x78], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x64], eax
xor eax, eax
push edi
mov word [ecx], ax
lea eax, [ebp - 0x4c]
push ebx
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040d510
add dword [ebp - 0x48], 0x18
add esp, 0xc
cmp esi, edi
je 0x4169dd
lea edi, [ebx - 4]
lea edi, [edi - 0x18]
lea ecx, [edi - 0x14]
lea ebx, [edi + 4]
cmp ebx, ecx
je 0x4169d5
mov edx, dword [edi + 0x18]
cmp edx, 8
jb 0x4169a0
mov eax, dword [ebx]
lea ecx, [edx*2 + 2]
cmp ecx, 0x1000
jb 0x416993
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b14
mov eax, edx
push ecx
push eax
call fcn.0048bb0b
add esp, 8
lea ecx, [edi - 0x14]
mov eax, dword [edi - 0x14]
mov dword [ebx], eax
mov eax, dword [edi - 0x10]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
mov dword [ebx + 8], eax
mov eax, dword [edi - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [edi - 4]
mov dword [ebx + 0x10], eax
mov eax, dword [edi]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi - 4], 0
mov dword [edi], 7
mov word [edi - 0x14], ax
cmp esi, ecx
jne 0x416957
lea eax, [ebp - 0x78]
mov ecx, esi
push eax
call fcn.004026b0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x416a2e
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416a18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b14
push edx
push ecx
call fcn.0048bb0b
add esp, 8
jmp 0x416a2e
push ecx
push esi
lea ecx, [ebp - 0x4c]
call fcn.004020e0
lea ecx, [ebp - 0x40]
call fcn.004025b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x416a74
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416a6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b19
push edx
push ecx
call fcn.0048bb0b
add esp, 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418ff0
mov ecx, dword [ebp - 0x60]
add esp, 8
push eax
call fcn.004026b0
lea ecx, [ebp - 0x28]
call fcn.004025b0
mov bl, 1
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x416af1
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00402070
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x416ae7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416b1e
push ecx
push esi
call fcn.0048bb0b
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.0048bb19
mov esp, ebp
pop ebp
ret
call fcn.00497439
call fcn.00497439
call fcn.00497439
call fcn.00497439
int3