Function at 0x414000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d052
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4ce4bc]
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 edi, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x94], edi
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 0x414055
sub edx, esi
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.00404580
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x414077
mov eax, dword [edi]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
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 0x4140ad
mov dword [ebp - 0x78], ebx
jmp 0x4141d3
xor edi, edi
cmp dword [ebp - 0x90], edi
jle 0x4141c0
jmp 0x4140c0
mov edx, dword [eax + edi*4]
test edx, edx
je 0x4141b0
mov ecx, edx
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea ebx, [ecx + 2]
jmp 0x4140f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4140f0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404580
mov byte [ebp - 4], 1
cmp esi, dword [ebp - 0x14]
je 0x41415c
mov eax, dword [ebp - 0x40]
mov edx, 7
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], esi
jmp 0x41416f
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401680
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4141aa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4141a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414281
push edx
push ecx
call fcn.004991fe
add esp, 8
mov eax, dword [ebp - 0x8c]
inc edi
cmp edi, dword [ebp - 0x90]
jl 0x4140c0
mov ebx, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], 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 0x4145d6
push 0xb
push str._prometheus
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00404580
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x40]
add eax, 0x18
cmp dword [ebp - 0x2c], 8
cmovae ecx, esi
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x41423e
mov eax, dword [eax]
cmp edx, dword [ebp - 0x30]
jne 0x414256
push edx
push ecx
push eax
call fcn.00404690
add esp, 0xc
test eax, eax
jne 0x414256
mov bl, 1
jmp 0x414258
xor bl, bl
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x414291
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x414287
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414287
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.004991fe
add esp, 8
test bl, bl
jne 0x4145cf
push 1
xor eax, eax
mov dword [ebp - 0x40], 0
push 0x4a96d8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404580
push dword [ebp - 0x88]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401590
mov ecx, dword [ebp - 0x80]
add esp, 0xc
add ecx, 0x18
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4142ee
mov eax, dword [eax]
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x4142f9
mov ecx, dword [ecx]
cmp edx, esi
jne 0x414310
push edx
push eax
push ecx
call fcn.00404690
add esp, 0xc
test eax, eax
jne 0x414310
mov bl, 1
jmp 0x414312
xor bl, bl
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x414348
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41433e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41438c
push edx
push ecx
call fcn.004991fe
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41439c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414392
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414392
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
test bl, bl
jne 0x4145cf
push str._wps
lea ecx, [ebp - 0x58]
call fcn.00401960
mov ecx, dword [ebp - 0x80]
mov ebx, 0x11
add ecx, 0x18
mov byte [ebp - 4], 4
push eax
push ecx
mov dword [ebp - 0x8c], ebx
call fcn.00401530
add esp, 8
test al, al
jne 0x41446b
push 0x4aa888
lea ecx, [ebp - 0x74]
call fcn.00401960
mov ecx, dword [ebp - 0x80]
mov ebx, 0x13
add ecx, 0x18
mov dword [ebp - 4], 5
push eax
push ecx
mov dword [ebp - 0x8c], ebx
call fcn.00401530
add esp, 8
test al, al
jne 0x41446b
push str._wpp
lea ecx, [ebp - 0x28]
call fcn.00401960
mov ecx, dword [ebp - 0x80]
mov ebx, 0x17
add ecx, 0x18
mov dword [ebp - 4], 6
push eax
push ecx
mov dword [ebp - 0x8c], ebx
call fcn.00401530
add esp, 8
test al, al
jne 0x41446b
push str._pdf
lea ecx, [ebp - 0x40]
call fcn.00401960
mov ecx, dword [ebp - 0x80]
mov ebx, 0x1f
add ecx, 0x18
push eax
push ecx
call fcn.00401530
add esp, 8
mov byte [ebp - 0x81], 0
test al, al
je 0x414472
mov byte [ebp - 0x81], 1
test bl, 8
je 0x4144c8
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x4144b4
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4144aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145b6
push edx
push ecx
call fcn.004991fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 5
test bl, 4
je 0x414525
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x414511
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145b6
push edx
push ecx
call fcn.004991fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
test bl, 2
je 0x41457e
mov edx, dword [ebp - 0x60]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x41456a
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414560
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145b6
push edx
push ecx
call fcn.004991fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 2
test bl, 1
je 0x4145c6
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4145c6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4145bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4145bc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004991fe
add esp, 8
cmp byte [ebp - 0x81], 0
je 0x4145d6
xor bl, bl
jmp 0x4149cd
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4145e0
mov eax, dword [edi]
push 7
push str.ksowps:
push 0
push dword [edi + 0x10]
push eax
call fcn.00405110
add esp, 0x14
cmp eax, 0xffffffff
je 0x414786
push 4
xor eax, eax
mov dword [ebp - 0x28], 0
push str._wps
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404580
mov ebx, dword [ebp - 0x80]
mov esi, dword [ebp - 0x7c]
add ebx, 0x18
mov byte [ebp - 4], 7
cmp esi, dword [ebp - 0x78]
je 0x414757
cmp ebx, esi
jne 0x414653
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401610
jmp 0x414764
lea eax, [ebp - 0x80]
mov dword [ebp - 0x5c], eax
lea edi, [esi - 0x18]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
push edi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0040e330
add dword [ebp - 0x7c], 0x18
add esp, 0xc
cmp ebx, edi
je 0x414737
sub edi, 0x18
sub esi, 0x18
cmp esi, edi
je 0x41472f
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4146e7
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4146dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414281
mov eax, edx
push ecx
push eax
call fcn.004991fe
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov word [esi], ax
mov dword [esi + 0x14], 7
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp ebx, edi
jne 0x4146a0
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.004023b0
lea ecx, [ebp - 0x58]
call fcn.00401bf0
mov edi, dword [ebp - 0x94]
mov eax, 7
jmp 0x414767
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x80]
call fcn.00401680
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x4149ab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004046f0
jmp 0x4149ab
push 0
push str.ksoet:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x4147c9
push 0x4aa888
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksowpp:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x41480c
push str._wpp
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksopdf:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x41484f
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksoundeterminedwps:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x414892
push str._wps
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksoundeterminedet:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x4148d5
push 0x4aa888
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksoundeterminedwpp:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x414918
push str._wpp
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0
push str.ksoundeterminedpdf:
mov ecx, edi
call fcn.00404730
cmp eax, 0xffffffff
je 0x414958
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.00401960
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
jmp 0x4149a2
push 0x4a96d8
lea ecx, [ebp - 0x74]
call fcn.00401960
push dword [ebp - 0x88]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401590
add esp, 0xc
push eax
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x80]
add eax, 0x18
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004156c0
lea ecx, [ebp - 0x58]
call fcn.00401bf0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401bf0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00416040
add esp, 8
mov ecx, edi
push eax
call fcn.004023b0
lea ecx, [ebp - 0x58]
call fcn.00401bf0
mov bl, 1
mov esi, dword [ebp - 0x80]
test esi, esi
je 0x414a11
mov edi, dword [ebp - 0x7c]
cmp esi, edi
je 0x4149ee
jmp 0x4149e0
mov ecx, esi
call fcn.00401bf0
add esi, 0x18
cmp esi, edi
jne 0x4149e0
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x80]
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x80]
call fcn.00413e00
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.0049920c
mov esp, ebp
pop ebp
ret