Function at 0x414930
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4be434]
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 0x414985
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.00407630
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4149a7
mov eax, dword [esi]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], edi
push ecx
push eax
mov dword [ebp - 0x90], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x4149dd
mov dword [ebp - 0x78], esi
jmp 0x414aeb
xor ebx, ebx
cmp dword [ebp - 0x90], ebx
jle 0x414ade
jmp 0x4149f0
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x414ace
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 0x414a14
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407630
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x14]
je 0x414a7a
mov eax, dword [ebp - 0x40]
mov edx, 7
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
add edi, 0x18
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], edi
jmp 0x414a8d
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401720
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x414ac8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414b78
push edx
push ecx
call fcn.004876f4
add esp, 8
mov eax, dword [ebp - 0x8c]
inc ebx
cmp ebx, dword [ebp - 0x90]
jl 0x4149f0
mov esi, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], esi
sub edi, esi
mov dword [ebp - 4], 2
mov eax, 0x2aaaaaab
imul edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x414eb6
push 0xb
xor eax, eax
mov dword [ebp - 0x30], 0
push str._prometheus
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407630
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x40]
push ecx
lea eax, [esi + 0x18]
push eax
call fcn.00401650
mov edx, dword [ebp - 0x2c]
add esp, 8
mov bl, al
cmp edx, 8
jb 0x414b8b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414b7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414b7e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
add esp, 8
test bl, bl
jne 0x414eaf
push 1
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x49c638
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407630
mov edi, dword [ebp - 0x88]
lea eax, [ebp - 0x40]
push edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.004016a0
mov esi, dword [ebp - 0x80]
push eax
lea ecx, [esi + 0x18]
push ecx
call fcn.00401650
mov edx, dword [ebp - 0x14]
add esp, 0x14
mov bl, al
cmp edx, 8
jb 0x414c19
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c5d
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
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 0x414c70
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414c63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414c63
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
add esp, 8
test bl, bl
jne 0x414eaf
push 0x49fa40
lea ecx, [ebp - 0x58]
call fcn.00401a00
mov esi, dword [ebp - 0x80]
mov ebx, 0x11
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], ebx
lea ecx, [esi + 0x18]
push ecx
call fcn.00401650
add esp, 8
test al, al
jne 0x414d3f
push 0x49fa4c
lea ecx, [ebp - 0x74]
call fcn.00401a00
mov esi, dword [ebp - 0x80]
mov ebx, 0x13
push eax
mov dword [ebp - 4], 5
mov dword [ebp - 0x8c], ebx
lea ecx, [esi + 0x18]
push ecx
call fcn.00401650
add esp, 8
test al, al
jne 0x414d3f
push str._wpp
lea ecx, [ebp - 0x28]
call fcn.00401a00
mov esi, dword [ebp - 0x80]
mov ebx, 0x17
push eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x8c], ebx
lea ecx, [esi + 0x18]
push ecx
call fcn.00401650
add esp, 8
test al, al
jne 0x414d3f
push str._pdf
lea ecx, [ebp - 0x40]
call fcn.00401a00
mov esi, dword [ebp - 0x80]
mov ebx, 0x1f
push eax
lea ecx, [esi + 0x18]
push ecx
call fcn.00401650
add esp, 8
mov byte [ebp - 0x81], 0
test al, al
je 0x414d46
mov byte [ebp - 0x81], 1
test bl, 8
je 0x414d9f
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x414d8b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414d7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e93
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
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 0x414dff
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x414deb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414dde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e93
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
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 0x414e5b
mov edx, dword [ebp - 0x60]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x414e47
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414e93
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
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 0x414ea6
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x414ea6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x414e99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414e99
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
mov esi, dword [ebp - 0x80]
add esp, 8
cmp byte [ebp - 0x81], 0
je 0x414ebc
xor bl, bl
jmp 0x41524e
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x94]
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x414ecc
mov eax, dword [ebx]
push 7
push str.ksowps:
push 0
push dword [ebx + 0x10]
push eax
call fcn.00404b40
add esp, 0x14
cmp eax, 0xffffffff
je 0x41509f
push 4
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x49fa40
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
add esi, 0x18
mov word [ebp - 0x28], ax
call fcn.00407630
mov edi, dword [ebp - 0x7c]
mov byte [ebp - 4], 7
cmp edi, dword [ebp - 0x78]
je 0x41508d
cmp esi, edi
jne 0x414f38
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040c910
mov eax, dword [ebp - 0x14]
jmp 0x41506e
lea eax, [ebp - 0x80]
mov dword [ebp - 0x5c], eax
lea ebx, [edi - 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 ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.0040ccd0
add dword [ebp - 0x7c], 0x18
add esp, 0xc
cmp esi, ebx
je 0x41501c
sub ebx, 0x18
sub edi, 0x18
cmp edi, ebx
je 0x415014
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x414fcc
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x414fc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415053
mov eax, edx
push ecx
push eax
call fcn.004876f4
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 0x414f85
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.00407d00
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x415063
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x415059
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004876f4
add esp, 8
mov ebx, dword [ebp - 0x94]
mov eax, 7
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x415229
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00413e00
jmp 0x415229
lea eax, [ebp - 0x28]
push eax
push esi
lea ecx, [ebp - 0x80]
call fcn.00401720
mov eax, dword [ebp - 0x14]
jmp 0x41506e
push 0
push str.ksoet:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x4150df
push 0x49fa4c
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 8
push eax
push esi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
call fcn.00416ac0
lea ecx, [ebp - 0x58]
jmp 0x415220
push 0
push str.ksowpp:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x415108
push str._wpp
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 9
jmp 0x4150c6
push 0
push str.ksopdf:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x415131
push str._pdf
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 0xa
jmp 0x4150c6
push 0
push str.ksoundeterminedwps:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x41515d
push 0x49fa40
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 0xb
jmp 0x4150c6
push 0
push str.ksoundeterminedet:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x415189
push 0x49fa4c
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 0xc
jmp 0x4150c6
push 0
push str.ksoundeterminedwpp:
mov ecx, ebx
call fcn.00403ea0
cmp eax, 0xffffffff
je 0x4151b5
push str._wpp
lea ecx, [ebp - 0x58]
add esi, 0x18
call fcn.00401a00
mov byte [ebp - 4], 0xd
jmp 0x4150c6
push 0
push str.ksoundeterminedpdf:
mov ecx, ebx
call fcn.00403ea0
add esi, 0x18
cmp eax, 0xffffffff
je 0x4151e1
push str._pdf
lea ecx, [ebp - 0x58]
call fcn.00401a00
mov byte [ebp - 4], 0xe
jmp 0x4150c6
push 0x49c638
lea ecx, [ebp - 0x74]
call fcn.00401a00
push edi
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push eax
call fcn.004016a0
add esp, 0xc
push eax
push esi
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x80]
call fcn.00416ac0
lea ecx, [ebp - 0x58]
call fcn.00401ca0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00401ca0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00417450
add esp, 8
mov ecx, ebx
push eax
call fcn.00407d00
lea ecx, [ebp - 0x58]
call fcn.00401ca0
mov esi, dword [ebp - 0x80]
mov bl, 1
test esi, esi
je 0x415291
mov edi, dword [ebp - 0x7c]
cmp esi, edi
je 0x415271
lea esp, [esp]
mov ecx, esi
call fcn.00401ca0
add esi, 0x18
cmp esi, edi
jne 0x415260
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
mov eax, 0x2aaaaaab
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.00413dc0
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.00487702
mov esp, ebp
pop ebp
ret