Function at 0x4262e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49caad
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4cc498]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426342
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404580
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x6c]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x6c], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x70], ebx
test ebx, ebx
jne 0x4264d0
mov esi, dword [ebp - 0x64]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
test esi, esi
je 0x426478
mov edi, dword [ebp - 0x60]
cmp esi, edi
je 0x42641c
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4263ff
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4263f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
mov eax, edx
push ecx
push eax
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4263c6
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
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 0x426456
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push ecx
push esi
call fcn.0049744e
mov edi, dword [ebp - 0x74]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4264b2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4264a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
mov eax, edi
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.0049745c
mov esp, ebp
pop ebp
ret
mov esi, 1
cmp dword [ebp - 0x6c], esi
jle 0x4265f7
mov edi, edi
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x4265ed
push str._prometheus
push eax
call fcn.004125e0
add esp, 8
test eax, eax
je 0x4265ed
push dword [ebp - 0x68]
push dword [ebx + esi*4]
call fcn.004125e0
add esp, 8
test eax, eax
je 0x4265ed
mov edx, dword [ebx + esi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426540
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404580
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 2
cmp ecx, dword [ebp - 0x5c]
je 0x42659f
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebp - 0x60], 0x18
mov word [ebp - 0x28], ax
jmp 0x4265af
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.00401680
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4265ea
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4265e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
mov ebx, dword [ebp - 0x70]
inc esi
cmp esi, dword [ebp - 0x6c]
jl 0x4264e0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x68]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426621
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00404580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x64]
call fcn.00415750
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42668f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426685
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
push 0xb
xor eax, eax
mov dword [ebp - 0x28], 0
push str._prometheus
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404580
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x64]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x64]
call fcn.00415750
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42670e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
cmp ebx, esi
je 0x426833
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00412140
add esp, 8
push 1
push 0x4a76dc
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.004047f0
mov esi, eax
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
cmp ecx, 8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmovae eax, edi
lea ecx, [ebp - 0x40]
push edx
push eax
call fcn.00401cd0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4267e1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4267d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x42681f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426815
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push edx
push ecx
call fcn.0049744e
add esp, 8
mov esi, dword [ebp - 0x60]
add ebx, 0x18
cmp ebx, esi
jne 0x426733
mov ebx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x40]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test ebx, ebx
je 0x4264b2
cmp ebx, esi
je 0x4268e6
lea ebx, [ebx]
mov ecx, dword [ebx + 0x14]
cmp ecx, 8
jb 0x4268c9
mov eax, dword [ebx]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4268bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
mov eax, edx
push ecx
push eax
call fcn.0049744e
add esp, 8
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
add ebx, 0x18
cmp ebx, esi
jne 0x426890
mov ebx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 3
cmp ecx, 0x1000
jb 0x42691c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426973
push ecx
push ebx
call fcn.0049744e
mov edx, dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
cmp edx, 8
jb 0x4264b2
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4264a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4264a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3