Function at 0x417020
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce850
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5153e8]
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 ebx, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], 0
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 0x417075
sub edx, esi
mov ecx, ebx
sar edx, 1
push edx
push eax
call fcn.00408480
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x417097
mov eax, dword [ebx]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], esi
push ecx
push eax
mov dword [ebp - 0x94], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x4170cd
mov dword [ebp - 0x7c], esi
jmp 0x4171db
xor ebx, ebx
cmp dword [ebp - 0x94], ebx
jle 0x4171ce
jmp 0x4170e0
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x4171be
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417104
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00408480
mov byte [ebp - 4], 1
cmp esi, dword [ebp - 0x2c]
je 0x41716a
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 0x41717d
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004026d0
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4171b8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4171ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178c2
push edx
push ecx
call fcn.0049211e
add esp, 8
mov eax, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x94]
jl 0x4170e0
mov edi, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], edi
sub esi, edi
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 0x417461
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.00408480
mov edi, dword [ebp - 0x84]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [edi + 0x18]
push eax
call fcn.00402590
mov edx, dword [ebp - 0x14]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x417282
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417272
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178cc
push edx
push ecx
call fcn.0049211e
mov edi, dword [ebp - 0x84]
add esp, 8
test bl, bl
jne 0x4174e9
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4db4f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00408480
push dword [ebp - 0x90]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004025e0
mov ecx, dword [ebp - 0x84]
add ecx, 0x18
push eax
push ecx
call fcn.00402590
add esp, 0x14
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00402ba0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41731f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178c2
push edx
push ecx
call fcn.0049211e
add esp, 8
test bl, bl
jne 0x4174e3
push 0x4debc8
lea ecx, [ebp - 0x58]
call fcn.00402a00
mov edi, dword [ebp - 0x84]
mov ebx, 0x11
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00402590
add esp, 8
test al, al
jne 0x4173f7
push 0x4debd4
lea ecx, [ebp - 0x74]
call fcn.00402a00
mov edi, dword [ebp - 0x84]
mov ebx, 0x13
push eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00402590
add esp, 8
test al, al
jne 0x4173f7
push str._wpp
lea ecx, [ebp - 0x40]
call fcn.00402a00
mov edi, dword [ebp - 0x84]
mov ebx, 0x17
push eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00402590
add esp, 8
test al, al
jne 0x4173f7
push str._pdf
lea ecx, [ebp - 0x28]
call fcn.00402a00
mov edi, dword [ebp - 0x84]
mov ebx, 0x1f
push eax
lea ecx, [edi + 0x18]
push ecx
call fcn.00402590
add esp, 8
mov byte [ebp - 0x75], 0
test al, al
je 0x4173fb
mov byte [ebp - 0x75], 1
test bl, 8
je 0x417411
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00402ba0
mov edi, dword [ebp - 0x84]
test bl, 4
je 0x417427
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffb
call fcn.00402ba0
mov edi, dword [ebp - 0x84]
test bl, 2
je 0x41743d
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.00402ba0
mov edi, dword [ebp - 0x84]
mov dword [ebp - 4], 2
test bl, 1
je 0x417457
lea ecx, [ebp - 0x58]
call fcn.00402ba0
mov edi, dword [ebp - 0x84]
cmp byte [ebp - 0x75], 0
jne 0x4174e9
mov ecx, dword [ebp - 0x88]
mov eax, ecx
mov esi, dword [ecx + 0x14]
cmp esi, 8
jb 0x417473
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
push 7
push str.ksowps:
push 0
push ebx
push eax
call fcn.00405850
add esp, 0x14
cmp eax, 0xffffffff
je 0x41770c
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x4debc8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x40], ax
call fcn.00408480
mov edi, dword [ebp - 0x80]
mov byte [ebp - 4], 7
cmp edi, dword [ebp - 0x7c]
je 0x4176f4
cmp esi, edi
jne 0x4174f0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x84]
call fcn.0040d880
mov eax, dword [ebp - 0x2c]
jmp 0x417624
mov edi, dword [ebp - 0x84]
xor bl, bl
jmp 0x417690
lea eax, [ebp - 0x84]
mov dword [ebp - 0x5c], eax
lea ebx, [edi - 0x18]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
xor eax, eax
push ebx
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.0040dbb0
add dword [ebp - 0x80], 0x18
add esp, 0xc
cmp esi, ebx
je 0x4175da
sub ebx, 0x18
sub edi, 0x18
cmp edi, ebx
je 0x4175d2
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x41758a
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x417580
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178c7
mov eax, edx
push ecx
push eax
call fcn.0049211e
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov word [edi], ax
mov dword [edi + 0x14], 7
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
cmp esi, ebx
jne 0x417543
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00402ca0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x41761f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178c7
push edx
push ecx
call fcn.0049211e
add esp, 8
mov eax, 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x41765f
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417655
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178cc
push edx
push ecx
call fcn.0049211e
add esp, 8
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419f20
add esp, 8
mov ecx, ebx
push eax
call fcn.00402ca0
lea ecx, [ebp - 0x58]
call fcn.00402ba0
mov edi, dword [ebp - 0x84]
mov bl, 1
test edi, edi
je 0x4178a4
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x80]
push edi
call fcn.00402660
mov ecx, dword [ebp - 0x7c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x84]
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 0x41789a
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4178cc
jmp 0x41789a
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.004026d0
mov eax, dword [ebp - 0x2c]
jmp 0x417624
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp esi, 8
jb 0x41771b
mov eax, dword [ecx]
push 6
push str.ksoet:
push 0
push ebx
push eax
call fcn.00405850
add esp, 0x14
cmp eax, 0xffffffff
je 0x417793
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4debd4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x28], ax
call fcn.00408480
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push esi
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x84]
call fcn.004195c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41765f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
jmp 0x417637
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp esi, 8
jb 0x4177a2
mov eax, dword [ecx]
push 7
push str.ksowpp:
push 0
push ebx
push eax
call fcn.00405850
add esp, 0x14
cmp eax, 0xffffffff
je 0x4177f3
push str._wpp
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402a00
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x84]
call fcn.004195c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00402ba0
jmp 0x41765f
mov ebx, dword [ebp - 0x88]
mov ecx, ebx
push 0
push str.ksopdf:
call fcn.00404c70
lea esi, [edi + 0x18]
cmp eax, 0xffffffff
je 0x417845
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.00402a00
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x84]
call fcn.004195c0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00402ba0
jmp 0x417665
push 0x4db4f8
lea ecx, [ebp - 0x74]
call fcn.00402a00
push dword [ebp - 0x90]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004025e0
add esp, 0xc
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x84]
call fcn.004195c0
lea ecx, [ebp - 0x58]
call fcn.00402ba0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00402ba0
jmp 0x417665
push ecx
push esi
call fcn.0049211e
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.0049212c
mov esp, ebp
pop ebp
ret
call fcn.0049da69
call fcn.0049da69
call fcn.0049da69
int3