Function at 0x417920
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5a0d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x542488]
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 - 0x88], eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x417975
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.00407d30
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x417997
mov eax, dword [esi]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], esi
push ecx
push eax
mov dword [ebp - 0x90], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x4179cd
mov dword [ebp - 0x78], esi
jmp 0x417adb
xor ebx, ebx
cmp dword [ebp - 0x90], ebx
jle 0x417ace
jmp 0x4179e0
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x417abe
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 0x417a04
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov byte [ebp - 4], 1
cmp esi, dword [ebp - 0x2c]
je 0x417a6a
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 0x417a7d
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00401f30
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x417ab8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417aae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418216
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov eax, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x90]
jl 0x4179e0
mov edi, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 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 0x417d46
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.00407d30
mov edi, dword [ebp - 0x80]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [edi + 0x18]
push eax
call fcn.00401d60
mov edx, dword [ebp - 0x14]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x417b79
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418220
push edx
push ecx
call fcn.004b5e6a
mov edi, dword [ebp - 0x80]
add esp, 8
test bl, bl
jne 0x417dc7
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x5034f8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407d30
push dword [ebp - 0x88]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00401db0
mov ecx, dword [ebp - 0x80]
add ecx, 0x18
push eax
push ecx
call fcn.00401d60
add esp, 0x14
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00402400
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x417c13
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417c09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418216
push edx
push ecx
call fcn.004b5e6a
add esp, 8
test bl, bl
jne 0x417dc4
push 0x506bf0
lea ecx, [ebp - 0x58]
call fcn.00402260
mov edi, dword [ebp - 0x80]
mov ebx, 0x11
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00401d60
add esp, 8
test al, al
jne 0x417ce2
push 0x506bfc
lea ecx, [ebp - 0x74]
call fcn.00402260
mov edi, dword [ebp - 0x80]
mov ebx, 0x13
push eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00401d60
add esp, 8
test al, al
jne 0x417ce2
push str._wpp
lea ecx, [ebp - 0x40]
call fcn.00402260
mov edi, dword [ebp - 0x80]
mov ebx, 0x17
push eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x8c], ebx
lea ecx, [edi + 0x18]
push ecx
call fcn.00401d60
add esp, 8
test al, al
jne 0x417ce2
push str._pdf
lea ecx, [ebp - 0x28]
call fcn.00402260
mov edi, dword [ebp - 0x80]
mov ebx, 0x1f
push eax
lea ecx, [edi + 0x18]
push ecx
call fcn.00401d60
add esp, 8
mov byte [ebp - 0x81], 0
test al, al
je 0x417ce9
mov byte [ebp - 0x81], 1
test bl, 8
je 0x417cfc
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00402400
mov edi, dword [ebp - 0x80]
test bl, 4
je 0x417d0f
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffb
call fcn.00402400
mov edi, dword [ebp - 0x80]
test bl, 2
je 0x417d22
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.00402400
mov edi, dword [ebp - 0x80]
mov dword [ebp - 4], 2
test bl, 1
je 0x417d39
lea ecx, [ebp - 0x58]
call fcn.00402400
mov edi, dword [ebp - 0x80]
cmp byte [ebp - 0x81], 0
jne 0x417dc7
mov ebx, dword [ebp - 0x94]
mov eax, ebx
mov esi, dword [ebx + 0x14]
cmp esi, 8
jb 0x417d58
mov eax, dword [ebx]
push 7
push str.ksowps:
push 0
push dword [ebx + 0x10]
push eax
call fcn.00405100
add esp, 0x14
cmp eax, 0xffffffff
je 0x417f5d
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x506bf0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x40], ax
call fcn.00407d30
mov edi, dword [ebp - 0x7c]
mov byte [ebp - 4], 7
cmp edi, dword [ebp - 0x78]
je 0x417f4b
cmp esi, edi
jne 0x417dce
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040d390
mov eax, dword [ebp - 0x2c]
jmp 0x417f07
mov edi, dword [ebp - 0x80]
xor bl, bl
jmp 0x4181a1
lea eax, [ebp - 0x80]
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 - 0x80]
push edi
push eax
call fcn.0040d800
add dword [ebp - 0x7c], 0x18
add esp, 0xc
cmp esi, ebx
je 0x417eb7
jmp 0x417e20
sub ebx, 0x18
sub edi, 0x18
cmp edi, ebx
je 0x417eaf
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x417e67
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x417e5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41821b
mov eax, edx
push ecx
push eax
call fcn.004b5e6a
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 0x417e20
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00402500
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x417efc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ef2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41821b
push edx
push ecx
call fcn.004b5e6a
add esp, 8
mov ebx, dword [ebp - 0x94]
mov eax, 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x41817c
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418220
push edx
push ecx
call fcn.004b5e6a
add esp, 8
jmp 0x41817c
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00401f30
mov eax, dword [ebp - 0x2c]
jmp 0x417f07
mov eax, ebx
cmp esi, 8
jb 0x417f66
mov eax, dword [ebx]
push 6
push str.ksoet:
push 0
push dword [ebx + 0x10]
push eax
call fcn.00405100
add esp, 0x14
cmp eax, 0xffffffff
je 0x418009
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x506bfc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x28], ax
call fcn.00407d30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
push esi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
call fcn.00419ae0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41817c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ffa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418220
push edx
push ecx
call fcn.004b5e6a
add esp, 8
jmp 0x41817c
mov eax, ebx
cmp esi, 8
jb 0x418012
mov eax, dword [ebx]
push 7
push str.ksowpp:
push 0
push dword [ebx + 0x10]
push eax
call fcn.00405100
add esp, 0x14
cmp eax, 0xffffffff
je 0x418059
push str._wpp
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402260
mov byte [ebp - 4], 9
push eax
push esi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
call fcn.00419ae0
lea ecx, [ebp - 0x58]
jmp 0x418173
push 0
push str.ksopdf:
mov ecx, ebx
call fcn.00404520
cmp eax, 0xffffffff
je 0x418082
push str._pdf
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402260
mov byte [ebp - 4], 0xa
jmp 0x418040
push 0
push str.ksoundeterminedwps:
mov ecx, ebx
call fcn.00404520
cmp eax, 0xffffffff
je 0x4180ab
push 0x506bf0
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402260
mov byte [ebp - 4], 0xb
jmp 0x418040
push 0
push str.ksoundeterminedet:
mov ecx, ebx
call fcn.00404520
cmp eax, 0xffffffff
je 0x4180d7
push 0x506bfc
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402260
mov byte [ebp - 4], 0xc
jmp 0x418040
push 0
push str.ksoundeterminedwpp:
mov ecx, ebx
call fcn.00404520
cmp eax, 0xffffffff
je 0x418103
push str._wpp
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.00402260
mov byte [ebp - 4], 0xd
jmp 0x418040
push 0
push str.ksoundeterminedpdf:
mov ecx, ebx
call fcn.00404520
lea esi, [edi + 0x18]
cmp eax, 0xffffffff
je 0x41812f
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.00402260
mov byte [ebp - 4], 0xe
jmp 0x418040
push 0x5034f8
lea ecx, [ebp - 0x74]
call fcn.00402260
push dword [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401db0
add esp, 0xc
push eax
push esi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x80]
call fcn.00419ae0
lea ecx, [ebp - 0x58]
call fcn.00402400
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00402400
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041a0d0
add esp, 8
mov ecx, ebx
push eax
call fcn.00402500
lea ecx, [ebp - 0x58]
call fcn.00402400
mov edi, dword [ebp - 0x80]
mov bl, 1
test edi, edi
je 0x4181f8
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
push edi
call fcn.00401ec0
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x80]
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 0x4181ee
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418220
push ecx
push esi
call fcn.004b5e6a
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.004b5e78
mov esp, ebp
pop ebp
ret
call fcn.004c19b9
call fcn.004c19b9
call fcn.004c19b9
int3