Function at 0x140003400
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x1e0
mov qword [rsp + 0x1c8], 0xfffffffffffffffe
mov rax, qword [0x140006100]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x188], 0
mov dword [rsp + 0x180], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x1a0], 0
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x198], 0
lea rcx, [rsp + 0x50]
call fcn.140003b90
nop
call fcn.140002ca0
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1f8]
mov rdi, qword [rdx]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x1f0]
dec eax
mov dword [rsp + 0x1f0], eax
cmp dword [rsp + 0x1f0], 0
jle 0x140003884
mov rax, qword [rsp + 0x1f8]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001508]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x14000350b
add rax, 2
test dx, dx
jne 0x1400034f5
xor eax, eax
jmp 0x140003510
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14000352a
lea rax, [0x140001508]
mov qword [rsp + 0x38], rax
jmp 0x140003884
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001510]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140003555
add rax, 2
test dx, dx
jne 0x14000353f
xor eax, eax
jmp 0x14000355a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14000357c
mov dword [rsp + 0x44], 1
lea rax, [0x140001510]
mov qword [rsp + 0x38], rax
jmp 0x140003884
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001518]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400035a7
add rax, 2
test dx, dx
jne 0x140003591
xor eax, eax
jmp 0x1400035ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x140003617
lea rcx, [0x140001528]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x1b0], rax
cmp qword [rsp + 0x1b0], 0
je 0x140003612
lea rdx, [0x140001540]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x1a8], rax
cmp qword [rsp + 0x1a8], 0
je 0x140003612
mov ecx, 0xffffffff
call qword [rsp + 0x1a8]
test eax, eax
je 0x140003612
mov dword [0x1400073e0], 1
jmp 0x140003851
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001550]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140003642
add rax, 2
test dx, dx
jne 0x14000362c
xor eax, eax
jmp 0x140003647
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14000366c
mov dword [rsp + 0x1a0], 1
lea rax, [0x140001550]
mov qword [rsp + 0x38], rax
jmp 0x140003884
cmp dword [rsp + 0x1f0], 1
jle 0x140003718
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001558]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400036a5
add rax, 2
test dx, dx
jne 0x14000368f
xor eax, eax
jmp 0x1400036aa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x140003718
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1f8]
mov rdi, qword [rdx]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
lea rax, [rcx + rax + 1]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1f8]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
mov qword [rsp + 0x178], rax
mov eax, dword [rsp + 0x1f0]
dec eax
mov dword [rsp + 0x1f0], eax
jmp 0x140003851
cmp dword [rsp + 0x1f0], 1
jle 0x1400037c4
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001568]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x140003751
add rax, 2
test dx, dx
jne 0x14000373b
xor eax, eax
jmp 0x140003756
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1400037c4
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1f8]
mov rdi, qword [rdx]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
lea rax, [rcx + rax + 1]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x1f8]
add rax, 8
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
mov eax, dword [rsp + 0x1f0]
dec eax
mov dword [rsp + 0x1f0], eax
jmp 0x140003851
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
lea rcx, [0x140001570]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1400037ef
add rax, 2
test dx, dx
jne 0x1400037d9
xor eax, eax
jmp 0x1400037f4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1400037ff
jmp 0x140003884
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
movzx eax, word [rax]
cmp eax, 0x2d
je 0x14000382f
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14000382f
cmp dword [rsp + 0x1f0], 1
je 0x14000383c
mov dword [rsp + 0x180], 1
jmp 0x14000384f
mov rax, qword [rsp + 0x1f8]
mov rax, qword [rax]
mov qword [rsp + 0x188], rax
jmp 0x140003884
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x1f8]
mov rdi, qword [rdx]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
lea rax, [rcx + rax + 1]
mov dword [rsp + 0x40], eax
jmp 0x1400034ae
cmp dword [rsp + 0x180], 0
jne 0x140003899
cmp qword [rsp + 0x188], 0
jne 0x1400038ac
lea rdx, [0x140001580]
lea rcx, [0x140001938]
call fcn.140002d60
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x190], 0
cmp qword [rsp + 0x38], 0
je 0x140003ace
cmp dword [rsp + 0x44], 0
je 0x1400038e4
mov eax, dword [rsp + 0x190]
or eax, 4
mov dword [rsp + 0x190], eax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000395e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0x1c0], rax
cmp qword [rsp + 0x1c0], 0
jne 0x140003921
lea rdx, [0x140001968]
mov ecx, 0x80004005
call fcn.140002ec0
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x50]
call fcn.140003be0
test rax, rax
jne 0x14000394f
lea rdx, [0x1400019a0]
mov ecx, 0x8007000e
call fcn.140002ec0
lea rcx, [rsp + 0x50]
call fcn.140003c30
mov qword [rsp + 0x30], rax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x38]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x1b8], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
test eax, eax
je 0x140003a36
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x20
je 0x1400039bc
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 9
jne 0x140003a23
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x2d
jne 0x140003a21
mov eax, dword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
cmp eax, 0x20
je 0x140003a01
mov eax, dword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
cmp eax, 9
jne 0x140003a21
mov eax, dword [rsp + 0x1b8]
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
jne 0x140003a21
jmp 0x140003a36
jmp 0x140003a31
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140003992
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
test eax, eax
jne 0x140003a55
lea rdx, [0x1400019c0]
lea rcx, [0x140001938]
call fcn.140002d60
cmp dword [rsp + 0x44], 0
jne 0x140003a66
cmp dword [rsp + 0x1a0], 0
je 0x140003a76
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
jmp 0x140003a84
mov rax, qword [rsp + 0x30]
add rax, 6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 0x20
je 0x140003a9e
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
cmp eax, 9
jne 0x140003aae
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
jmp 0x140003a84
cmp dword [rsp + 0x1a0], 0
je 0x140003ace
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x178]
mov r8d, dword [rsp + 0x190]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x188]
call fcn.1400031f0
nop
lea rcx, [rsp + 0x50]
call fcn.140003b30
jmp 0x140003b0c
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140004610
add rsp, 0x1e0
pop rdi
ret