Function at 0x18003e6d0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
movzx eax, word [0x1800a66c0]
movzx eax, ax
mov dword [rsp + 0x128], eax
mov rax, qword [0x1800a66a8]
mov qword [rsp + 0x138], rax
mov byte [rsp + 0x21], 0xfa
mov dword [rsp + 0xb8], 0x36e2
movzx eax, word [0x1800a6694]
mov word [rsp + 0x34], ax
mov eax, dword [0x1800a663c]
cdqe
mov qword [rsp + 0xf8], rax
mov eax, 0x8b5d5113
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0x25], 0xd
movzx eax, word [0x1800a6698]
mov word [rsp + 0x3c], ax
mov dword [rsp + 0x84], 0xfe
mov eax, 0xe0
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x20], 0x3c
mov rax, qword [0x1800a66d0]
mov byte [rsp + 0x30], al
mov eax, 0x11cf
mov word [rsp + 0xa0], ax
movzx eax, word [0x1800a660c]
mov qword [rsp + 0x60], rax
movzx eax, byte [0x1800a6566]
movsx ax, al
mov word [rsp + 0x28], ax
mov byte [rsp + 0x24], 0x4a
mov eax, 0x9c10bfd6
mov qword [rsp + 0xd0], rax
movzx eax, byte [0x1800a658e]
mov dword [rsp + 0x12c], eax
movzx eax, word [0x1800a66ec]
mov word [rsp + 0x38], ax
mov eax, 0xb1
mov word [rsp + 0x40], ax
mov byte [rsp + 0x23], 0x14
mov eax, dword [0x1800a663c]
mov byte [rsp + 0x22], al
movsx rax, byte [0x1800a65fb]
mov qword [rsp + 0x140], rax
mov rax, qword [0x1800a66e0]
mov qword [rsp + 0x108], rax
movzx eax, word [0x1800a6694]
mov byte [rsp + 0x31], al
movzx eax, word [0x1800a66e8]
mov word [rsp + 0xa4], ax
movzx eax, word [0x1800a65fc]
mov word [rsp + 0xa8], ax
mov eax, dword [0x1800a663c]
cdqe
mov qword [rsp + 0x148], rax
movzx eax, byte [0x1800a65e7]
mov byte [rsp + 0x32], al
mov eax, 0xef76
mov word [rsp + 0xac], ax
movzx eax, byte [0x1800a65a7]
mov word [rsp + 0xb0], ax
movzx eax, byte [0x1800a669c]
mov byte [rsp + 0x33], al
movabs rax, 0xd05dd0cd1b01f
mov qword [rsp + 0x150], rax
mov rax, qword [0x1800a6668]
mov dword [rsp + 0x130], eax
movzx eax, byte [0x18091bdb0]
mov byte [0x1800a65fb], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18003e8ab
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xe0], rax
jmp 0x18003e8ba
mov rax, qword [0x1800a66d0]
mov qword [rsp + 0xe0], rax
movzx eax, word [rsp + 0xe0]
mov word [rsp + 0x28], ax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1800a6694]
movzx eax, ax
movzx ecx, byte [0x1800a658e]
mov eax, dword [rsp + 0x48]
add eax, 0x381
mov dword [rsp + 0xcc], eax
movzx eax, byte [rsp + 0x20]
movabs rcx, 0xc0378a897a8d7
sub rax, rcx
mov word [0x1800a660c], ax
mov eax, dword [rsp + 0x48]
add eax, 0x950
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x60]
shl rax, 2
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x48]
add eax, 0x2e78
mov dword [rsp + 0x80], eax
cmp dword [0x1800a6624], 0
je 0x18003e951
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov byte [0x1800a658f], al
mov eax, dword [0x1800a6688]
mov rcx, qword [rsp + 0xd0]
cmp rax, rcx
jbe 0x18003e96e
mov dword [rsp + 0x6c], 1
jmp 0x18003e976
mov dword [rsp + 0x6c], 0
cmp dword [0x1800a6688], 0x2f
jbe 0x18003e989
mov dword [rsp + 0x68], 1
jmp 0x18003e991
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x6c], eax
je 0x18003ea4f
movzx eax, word [0x1800a66c0]
movzx eax, ax
add eax, 0xe57fa9db
mov eax, eax
mov qword [0x1800a66d0], rax
movzx eax, byte [0x1800a65a6]
movzx eax, al
test eax, eax
jne 0x18003e9cf
mov dword [rsp + 0x70], 1
jmp 0x18003e9d7
mov dword [rsp + 0x70], 0
mov eax, dword [0x1800a66e8]
add rax, qword [rsp + 0xf8]
test rax, rax
jne 0x18003e9f4
mov dword [rsp + 0x74], 1
jmp 0x18003e9fc
mov dword [rsp + 0x74], 0
movsx eax, word [rsp + 0x34]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
cdqe
movzx ecx, byte [0x1800a65a3]
movsx rcx, cl
movabs rdx, 0x403c375208b22
add rcx, rdx
sub rax, rcx
movzx ecx, word [0x1800a66c0]
movzx ecx, cx
movzx edx, byte [0x1800a65e6]
movzx edx, dl
sub ecx, edx
add ecx, dword [rsp + 0x74]
movsxd rcx, ecx
add rax, rcx
mov byte [rsp + 0x23], al
jmp 0x18003eae4
mov rax, qword [0x1800a6678]
test rax, rax
jne 0x18003ea81
movzx eax, byte [0x1800a66a8]
mov byte [rsp + 0x24], al
movzx eax, byte [0x1800a6567]
movabs rcx, 0x23e9bb51e82cc
add rax, rcx
mov word [rsp + 0x2c], ax
jmp 0x18003eae4
mov rax, qword [0x1800a66a0]
mov ecx, dword [0x1800a66c4]
cmp rax, rcx
je 0x18003ea9d
mov dword [rsp + 0x7c], 1
jmp 0x18003eaa5
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x22]
cmp eax, 0x278a
je 0x18003eabb
mov dword [rsp + 0x78], 1
jmp 0x18003eac3
mov dword [rsp + 0x78], 0
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x7c], eax
jg 0x18003eae4
movzx eax, word [rsp + 0x28]
cwde
movzx ecx, byte [0x1800a65e7]
movsx ecx, cl
add eax, ecx
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0xcc]
or eax, ecx
mov ecx, dword [rsp + 0xb4]
mov edx, dword [rsp + 0x80]
or ecx, edx
add eax, ecx
xor eax, 0x5f71
mov dword [rsp + 0xc4], eax
mov rax, qword [0x1800a66e0]
sub rax, 0x87ed
mov qword [rsp + 0xe8], rax
movsx rax, word [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [0x18091bdb0]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
add eax, 0x401
mov dword [rsp + 0xbc], eax
movzx eax, byte [0x1800a6567]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [0x1800a6678]
test rax, rax
jne 0x18003eb8a
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18003ed6b
movzx eax, byte [0x1800a6566]
movsx eax, al
cmp dword [rsp + 0x84], eax
je 0x18003ebaa
mov dword [rsp + 0x8c], 1
jmp 0x18003ebb5
mov dword [rsp + 0x8c], 0
cmp dword [rsp + 0x84], 0x3f
je 0x18003ebcc
mov dword [rsp + 0x88], 1
jmp 0x18003ebd7
mov dword [rsp + 0x88], 0
mov eax, dword [rsp + 0x88]
cmp dword [rsp + 0x8c], eax
jg 0x18003ec3a
movsx eax, byte [rsp + 0x21]
test eax, eax
je 0x18003ec04
movzx eax, word [0x1800a6694]
movzx eax, ax
mov qword [rsp + 0xf0], rax
jmp 0x18003ec13
mov rax, qword [0x1800a66a0]
mov qword [rsp + 0xf0], rax
movzx eax, byte [rsp + 0xf0]
mov byte [0x1800a6567], al
movzx eax, byte [rsp + 0x20]
sub eax, 0x4373
cdqe
mov qword [rsp + 0xf8], rax
jmp 0x18003ed69
mov eax, dword [0x1800a6624]
or eax, 0xd197
test eax, eax
je 0x18003ec73
movzx eax, word [rsp + 0x2c]
dec ax
mov word [rsp + 0x2c], ax
movzx eax, byte [rsp + 0x25]
movsx eax, al
mov ecx, dword [0x1800a66ec]
sub ecx, eax
mov eax, ecx
mov dword [0x1800a66ec], eax
jmp 0x18003ed69
movzx eax, byte [0x1800a6566]
movsx eax, al
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jg 0x18003ed20
cmp qword [rsp + 0x108], 0
jne 0x18003eca2
mov dword [rsp + 0x90], 1
jmp 0x18003ecad
mov dword [rsp + 0x90], 0
movsx eax, byte [rsp + 0x21]
imul eax, dword [rsp + 0x90]
test eax, eax
jne 0x18003eccb
mov dword [rsp + 0x94], 1
jmp 0x18003ecd6
mov dword [rsp + 0x94], 0
movsx eax, byte [rsp + 0x21]
mov ecx, dword [rsp + 0x94]
sub ecx, eax
mov eax, ecx
mov byte [rsp + 0x23], al
movsx eax, word [rsp + 0x3c]
test eax, eax
jne 0x18003ed00
mov dword [rsp + 0x98], 1
jmp 0x18003ed0b
mov dword [rsp + 0x98], 0
movzx eax, word [rsp + 0x28]
cwde
sub eax, dword [rsp + 0x98]
mov dword [0x1800a663c], eax
jmp 0x18003ed69
movzx eax, byte [rsp + 0x24]
movsx eax, al
test eax, eax
je 0x18003ed69
movzx eax, word [0x1800a668c]
movabs rcx, 0x11e3a298aa888
sub rax, rcx
mov byte [rsp + 0x30], al
mov rax, qword [0x1800a66b8]
mov rcx, qword [0x1800a6680]
add rax, rcx
mov rcx, qword [0x1800a66b8]
add rcx, rax
mov rax, rcx
mov qword [0x1800a66b8], rax
jmp 0x18003eda1
mov rax, qword [0x1800a66b8]
test rax, rax
jne 0x18003ed85
mov qword [rsp + 0x100], 1
jmp 0x18003ed91
mov qword [rsp + 0x100], 0
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x44]
add eax, 0x41c
mov dword [rsp + 0xc0], eax
movzx eax, byte [0x1800a6567]
movsx ecx, byte [0x1800a658f]
cmp eax, ecx
jne 0x18003edcd
mov dword [rsp + 0x4c], 1
jmp 0x18003edd5
mov dword [rsp + 0x4c], 0
movzx eax, byte [0x1800a6567]
cmp eax, 0x11
jne 0x18003edee
mov dword [rsp + 0x9c], 1
jmp 0x18003edf9
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x4c], eax
jge 0x18003ee15
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov byte [rsp + 0x22], al
jmp 0x18003ee9e
movzx eax, byte [0x1800a65a7]
test eax, eax
jne 0x18003ee9e
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x18003ee3c
mov eax, dword [rsp + 0xb8]
mov eax, eax
mov qword [rsp + 0xd8], rax
jmp 0x18003ee4b
mov rax, qword [0x1800a6668]
mov qword [rsp + 0xd8], rax
movzx eax, byte [rsp + 0xd8]
mov byte [0x1800a65a6], al
movzx eax, byte [0x1800a65a6]
movzx eax, al
mov rcx, qword [0x1800a66a0]
not rcx
mov rdx, qword [rsp + 0xd0]
add rcx, rdx
not rcx
xor rax, rcx
mov rcx, qword [0x1800a6678]
mov rdx, qword [rsp + 0x108]
lea rcx, [rdx + rcx - 0x68c5]
sub rax, rcx
mov byte [0x1800a658f], al
mov eax, dword [rsp + 0x44]
add eax, 0x414
mov dword [rsp + 0x54], eax
movzx eax, byte [0x1800a65a6]
movzx eax, al
not eax
cdqe
mov qword [0x1800a6680], rax
mov eax, dword [0x1800a66cc]
test eax, eax
jne 0x18003eed4
mov dword [rsp + 0x50], 1
jmp 0x18003eedc
mov dword [rsp + 0x50], 0
mov eax, dword [0x1800a66cc]
sub eax, dword [rsp + 0x50]
not eax
cdqe
mov rcx, qword [0x1800a6680]
imul rcx, rax
mov rax, rcx
mov byte [0x1800a65a3], al
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0xbc]
sub eax, ecx
mov ecx, dword [rsp + 0xc0]
mov edx, dword [rsp + 0x54]
sub ecx, edx
imul eax, ecx
add eax, 0xffffff68
mov dword [rsp + 0xc8], eax
movzx eax, word [rsp + 0x2c]
test eax, eax
je 0x18003ef32
jmp 0x18003ef59
movzx eax, byte [0x1800a65fe]
movsx eax, al
test eax, eax
je 0x18003ef59
movzx eax, byte [rsp + 0x25]
movsx eax, al
movzx ecx, byte [rsp + 0x23]
movzx ecx, cl
imul eax, ecx
mov byte [0x1800a6567], al
mov eax, dword [rsp + 0xc4]
mov eax, eax
mov qword [rsp + 0x120], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x170]
mov r8, qword [rcx]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cdqe
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x170]
mov qword [rax], 0
movzx eax, word [rsp + 0x40]
movzx eax, ax
test eax, eax
jne 0x18003efb9
mov qword [rsp + 0x118], 1
jmp 0x18003efc5
mov qword [rsp + 0x118], 0
cmp qword [rsp + 0x60], 0
jne 0x18003efdb
mov qword [rsp + 0x110], 1
jmp 0x18003efe7
mov qword [rsp + 0x110], 0
mov rax, qword [0x1800a66b8]
sub rax, qword [rsp + 0x110]
not rax
mov rcx, qword [rsp + 0x118]
add rcx, rax
mov rax, rcx
mov word [rsp + 0x28], ax
mov eax, dword [rsp + 0xc8]
mov eax, eax
cmp qword [rsp + 0x120], rax
jbe 0x18003f029
mov dword [rsp + 0x58], 1
jmp 0x18003f031
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
add rsp, 0x168
ret