Function at 0x140004620
Capabilities:
Accept command line arguments

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rbp, rcx
call fcn.140021e08
mov rcx, rax
xor edi, edi
mov edx, edi
test rax, rax
setne dl
test edx, edx
jne 0x140004662
mov ecx, 0x80004005
call fcn.140001000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rbp + 0xeeac], edi
mov dword [rbp + 0xeeb0], edi
mov dword [rbp + 0xeeb4], edi
mov dword [rbp + 0xeeb8], edi
mov dword [rbp + 0xeebc], edi
mov dword [rbp + 0xeec0], edi
mov dword [rbp + 0xeec4], edi
mov dword [rbp + 0xeec8], edi
mov dword [rbp + 0xeecc], edi
mov dword [rbp + 0xeed0], edi
mov dword [rbp + 0xeed4], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rdx, rax
or rbx, 0xffffffffffffffff
test rax, rax
je 0x1400046d6
xor eax, eax
mov rcx, rbx
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
mov r8d, edi
lea rcx, [rsp + 0x48]
call fcn.140003070
mov rdi, qword [rsp + 0x48]
cmp dword [rdi - 0x10], 1
jge 0x1400046f2
mov esi, ebx
jmp 0x140004710
lea rcx, [rdi + 1]
lea rdx, [0x1400582df]
call fcn.14003cc10
mov rsi, rax
test rax, rax
jne 0x14000470e
mov esi, ebx
jmp 0x140004710
sub esi, edi
cmp dword [rdi - 0x10], 0
jge 0x14000471a
mov eax, ebx
jmp 0x140004734
lea rdx, [0x1400588b4]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x140004732
mov eax, ebx
jmp 0x140004734
sub eax, edi
cmp eax, esi
jle 0x140004742
mov dword [rbp + 0xeeac], 1
cmp dword [rdi - 0x10], 0
jge 0x14000474c
mov eax, ebx
jmp 0x140004766
lea rdx, [0x1400588b0]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x140004764
mov eax, ebx
jmp 0x140004766
sub eax, edi
cmp eax, esi
jle 0x140004774
mov dword [rbp + 0xeeb0], 1
cmp dword [rdi - 0x10], 0
jge 0x14000477e
mov eax, ebx
jmp 0x140004798
lea rdx, [0x1400588ac]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x140004796
mov eax, ebx
jmp 0x140004798
sub eax, edi
cmp eax, esi
jle 0x1400047a6
mov dword [rbp + 0xeeb4], 1
cmp dword [rdi - 0x10], 0
jge 0x1400047b0
mov eax, ebx
jmp 0x1400047ca
lea rdx, [0x1400588a8]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x1400047c8
mov eax, ebx
jmp 0x1400047ca
sub eax, edi
cmp eax, esi
jle 0x1400047d8
mov dword [rbp + 0xeeb8], 1
cmp dword [rdi - 0x10], 0
jge 0x1400047e2
mov eax, ebx
jmp 0x1400047fc
lea rdx, [0x1400588a4]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x1400047fa
mov eax, ebx
jmp 0x1400047fc
sub eax, edi
cmp eax, esi
jle 0x14000480a
mov dword [rbp + 0xeebc], 1
cmp dword [rdi - 0x10], 0
jge 0x140004814
mov eax, ebx
jmp 0x14000482e
lea rdx, [0x1400588a0]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x14000482c
mov eax, ebx
jmp 0x14000482e
sub eax, edi
cmp eax, esi
jle 0x14000483c
mov dword [rbp + 0xeec0], 1
cmp dword [rdi - 0x10], 0
jge 0x140004846
mov eax, ebx
jmp 0x140004860
lea rdx, [0x14005889c]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x14000485e
mov eax, ebx
jmp 0x140004860
sub eax, edi
cmp eax, esi
jle 0x14000486e
mov dword [rbp + 0xeec4], 1
cmp dword [rdi - 0x10], 0
jge 0x140004878
mov eax, ebx
jmp 0x140004892
lea rdx, [0x140058898]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x140004890
mov eax, ebx
jmp 0x140004892
sub eax, edi
cmp eax, esi
jle 0x1400048a0
mov dword [rbp + 0xeec8], 1
cmp dword [rdi - 0x10], 0
jge 0x1400048aa
mov eax, ebx
jmp 0x1400048c4
lea rdx, [0x140058894]
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x1400048c2
mov eax, ebx
jmp 0x1400048c4
sub eax, edi
cmp eax, esi
jle 0x1400048d2
mov dword [rbp + 0xeecc], 1
cmp dword [rdi - 0x10], 0
jge 0x1400048dc
mov eax, ebx
jmp 0x1400048f6
lea rdx, str._deu
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x1400048f4
mov eax, ebx
jmp 0x1400048f6
sub eax, edi
cmp eax, esi
jle 0x140004904
mov dword [rbp + 0xeed0], 1
cmp dword [rdi - 0x10], 0
jge 0x14000490e
mov eax, ebx
jmp 0x140004928
lea rdx, str._nrg2709
mov rcx, rdi
call fcn.14003cc10
test rax, rax
jne 0x140004926
mov eax, ebx
jmp 0x140004928
sub eax, edi
cmp eax, esi
jle 0x140004936
mov dword [rbp + 0xeed4], 1
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14000494f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.oledlg.dll_OleUIBusyA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret