Function at 0x417dce
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4baff1
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4f9004]
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 0x417e23
sub edx, esi
mov ecx, ebx
sar edx, 1
push edx
push eax
call fcn.004057cc
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x417e45
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 0x417e7b
mov dword [ebp - 0x7c], esi
jmp 0x417f89
xor ebx, ebx
cmp dword [ebp - 0x94], ebx
jle 0x417f7c
jmp 0x417e8e
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x417f6c
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 0x417eb2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004057cc
mov byte [ebp - 4], 1
cmp esi, dword [ebp - 0x2c]
je 0x417f18
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 0x417f2b
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0041401c
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x417f66
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417f5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418670
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x94]
jl 0x417e8e
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 0x41820f
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.004057cc
mov edi, dword [ebp - 0x84]
lea ecx, [ebp - 0x28]
push ecx
lea eax, [edi + 0x18]
push eax
call fcn.00418680
mov edx, dword [ebp - 0x14]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x418030
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41867a
push edx
push ecx
call fcn.0040660b
mov edi, dword [ebp - 0x84]
add esp, 8
test bl, bl
jne 0x418297
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4c9548
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004057cc
push dword [ebp - 0x90]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00407249
mov ecx, dword [ebp - 0x84]
add ecx, 0x18
push eax
push ecx
call fcn.00418680
add esp, 0x14
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00411b77
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4180cd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4180c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418670
push edx
push ecx
call fcn.0040660b
add esp, 8
test bl, bl
jne 0x418291
push 0x4cd7c0
lea ecx, [ebp - 0x58]
call fcn.004120b3
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.00418680
add esp, 8
test al, al
jne 0x4181a5
push 0x4cd7cc
lea ecx, [ebp - 0x74]
call fcn.004120b3
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.00418680
add esp, 8
test al, al
jne 0x4181a5
push str._wpp
lea ecx, [ebp - 0x40]
call fcn.004120b3
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.00418680
add esp, 8
test al, al
jne 0x4181a5
push str._pdf
lea ecx, [ebp - 0x28]
call fcn.004120b3
mov edi, dword [ebp - 0x84]
mov ebx, 0x1f
push eax
lea ecx, [edi + 0x18]
push ecx
call fcn.00418680
add esp, 8
mov byte [ebp - 0x75], 0
test al, al
je 0x4181a9
mov byte [ebp - 0x75], 1
test bl, 8
je 0x4181bf
lea ecx, [ebp - 0x28]
and ebx, 0xfffffff7
call fcn.00411b77
mov edi, dword [ebp - 0x84]
test bl, 4
je 0x4181d5
lea ecx, [ebp - 0x40]
and ebx, 0xfffffffb
call fcn.00411b77
mov edi, dword [ebp - 0x84]
test bl, 2
je 0x4181eb
lea ecx, [ebp - 0x74]
and ebx, 0xfffffffd
call fcn.00411b77
mov edi, dword [ebp - 0x84]
mov dword [ebp - 4], 2
test bl, 1
je 0x418205
lea ecx, [ebp - 0x58]
call fcn.00411b77
mov edi, dword [ebp - 0x84]
cmp byte [ebp - 0x75], 0
jne 0x418297
mov ecx, dword [ebp - 0x88]
mov eax, ecx
mov esi, dword [ecx + 0x14]
cmp esi, 8
jb 0x418221
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
push 7
push str.ksowps:
push 0
push ebx
push eax
call fcn.0041483a
add esp, 0x14
cmp eax, 0xffffffff
je 0x4184ba
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x4cd7c0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x40], ax
call fcn.004057cc
mov edi, dword [ebp - 0x80]
mov byte [ebp - 4], 7
cmp edi, dword [ebp - 0x7c]
je 0x4184a2
cmp esi, edi
jne 0x41829e
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x84]
call fcn.0042e4d8
mov eax, dword [ebp - 0x2c]
jmp 0x4183d2
mov edi, dword [ebp - 0x84]
xor bl, bl
jmp 0x41843e
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.0042e5fd
add dword [ebp - 0x80], 0x18
add esp, 0xc
cmp esi, ebx
je 0x418388
sub ebx, 0x18
sub edi, 0x18
cmp edi, ebx
je 0x418380
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x418338
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x41832e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418675
mov eax, edx
push ecx
push eax
call fcn.0040660b
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 0x4182f1
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00414c66
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4183cd
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4183c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418675
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x41840d
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418403
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41867a
push edx
push ecx
call fcn.0040660b
add esp, 8
mov ebx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044ee68
add esp, 8
mov ecx, ebx
push eax
call fcn.00414c66
lea ecx, [ebp - 0x58]
call fcn.00411b77
mov edi, dword [ebp - 0x84]
mov bl, 1
test edi, edi
je 0x418652
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x80]
push edi
call fcn.00413f4c
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 0x418648
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41867a
jmp 0x418648
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x84]
call fcn.0041401c
mov eax, dword [ebp - 0x2c]
jmp 0x4183d2
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp esi, 8
jb 0x4184c9
mov eax, dword [ecx]
push 6
push str.ksoet:
push 0
push ebx
push eax
call fcn.0041483a
add esp, 0x14
cmp eax, 0xffffffff
je 0x418541
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4cd7cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
lea esi, [edi + 0x18]
mov word [ebp - 0x28], ax
call fcn.004057cc
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.0043218d
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41840d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
jmp 0x4183e5
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp esi, 8
jb 0x418550
mov eax, dword [ecx]
push 7
push str.ksowpp:
push 0
push ebx
push eax
call fcn.0041483a
add esp, 0x14
cmp eax, 0xffffffff
je 0x4185a1
push str._wpp
lea ecx, [ebp - 0x58]
lea esi, [edi + 0x18]
call fcn.004120b3
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x84]
call fcn.0043218d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00411b77
jmp 0x41840d
mov ebx, dword [ebp - 0x88]
mov ecx, ebx
push 0
push str.ksopdf:
call fcn.0042e2f2
lea esi, [edi + 0x18]
cmp eax, 0xffffffff
je 0x4185f3
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.004120b3
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x84]
call fcn.0043218d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00411b77
jmp 0x418413
push 0x4c9548
lea ecx, [ebp - 0x74]
call fcn.004120b3
push dword [ebp - 0x90]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407249
add esp, 0xc
push eax
push esi
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x84]
call fcn.0043218d
lea ecx, [ebp - 0x58]
call fcn.00411b77
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00411b77
jmp 0x418413
push ecx
push esi
call fcn.0040660b
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.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
int3