Function at 0x14003d410
Capabilities:
Create directory
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov dword [rbp + 0x1b8], 0
lea rcx, str.Localappdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
lea rcx, [rbp + 0x1f8]
call fcn.140001680
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov r14, qword [rbp + 0x208]
sub rax, r14
cmp rax, 0x17
jb 0x14003e260
lea rax, [rbp + 0x1f8]
mov r12, qword [rbp + 0x1f8]
mov r13, qword [rbp + 0x210]
cmp r13, 0xf
cmova rax, r12
mov qword [rbp + 0x1b8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r15, [r14 + 0x17]
mov edi, 0xf
mov ebx, edi
lea rsi, [rsp + 0x50]
movabs rdx, 0x8000000000000000
lea r8d, [rdi + 7]
cmp r15, rbx
jbe 0x14003d577
mov rbx, r15
or rbx, rdi
cmp rbx, rcx
jbe 0x14003d530
mov rbx, rcx
lea rax, [rdx + 0x27]
mov rcx, rax
call fcn.14004e7e0
test rax, rax
je 0x14003d553
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rbp + 0x1b8]
jmp 0x14003d572
cmp rbx, r8
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14003d55a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003e266
jmp 0x14003d50e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14003d570
call fcn.14004e7e0
mov rsi, rax
mov rax, qword [rbp + 0x1b8]
jmp 0x14003d572
xor esi, esi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], rbx
mov r8, r14
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.TakumoLoaderuser.data]
movups xmmword [r14 + rsi], xmm0
mov eax, dword [0x140057eb8]
mov dword [r14 + rsi + 0x10], eax
movzx eax, word [0x140057ebc]
mov word [r14 + rsi + 0x14], ax
movzx eax, byte [0x140057ebe]
mov byte [r14 + rsi + 0x16], al
mov byte [rsi + r15], 0
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [0x140059938]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0x1b8], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xb0], rax
mov byte [rbp + 0x12c], 0
mov byte [rbp + 0x121], 0
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
xor esi, esi
mov qword [rbp + 0x130], rsi
mov rax, qword [0x140064420]
mov qword [rbp + 0x124], rax
mov qword [rbp + 0x118], rsi
lea r8d, [rsi + 1]
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call fcn.140040f00
test rax, rax
jne 0x14003d6d6
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
lea edx, [rsi + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003d716
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d711
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
movdqa xmm0, xmmword [0x140059b50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14003df38
lea rdx, [rbp + 0x1f8]
cmp r13, 0xf
cmova rdx, r12
mov qword [rbp + 0x1b8], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [r14 + 0xd]
mov rbx, rdi
lea rsi, [rsp + 0x30]
cmp rax, rbx
jbe 0x14003d823
mov rbx, rax
or rbx, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rbx, rcx
jbe 0x14003d7d9
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004e7e0
test rax, rax
je 0x14003d8b0
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
lea rax, [r14 + 0xd]
mov rdx, qword [rbp + 0x1b8]
jmp 0x14003d81e
cmp rbx, 0x16
mov ecx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14003d802
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003e26c
jmp 0x14003d7af
test rcx, rcx
je 0x14003d81c
call fcn.14004e7e0
mov rsi, rax
lea rax, [r14 + 0xd]
mov rdx, qword [rbp + 0x1b8]
jmp 0x14003d81e
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rbx
mov r8, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str.TakumoLoader]
movsd qword [r14 + rsi], xmm0
mov eax, dword [0x140057ec8]
mov dword [r14 + rsi + 8], eax
movzx eax, byte [0x140057ecc]
mov byte [r14 + rsi + 0xc], al
mov byte [rsi + r14 + 0xd], 0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003d8bc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d8b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003d8b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
lea rsi, [rbp + 0x1f8]
cmp r13, 0xf
cmova rsi, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rbx, [rsp + 0x30]
cmp r15, 0xf
jbe 0x14003d987
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
jbe 0x14003d941
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14004e7e0
test rax, rax
je 0x14003d96a
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14003d982
cmp rdi, 0x16
mov eax, 0x16
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14003d971
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003e272
jmp 0x14003d926
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14003d980
call fcn.14004e7e0
mov rbx, rax
jmp 0x14003d982
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.TakumoLoaderuser.data]
movups xmmword [r14 + rbx], xmm0
mov eax, dword [0x140057eb8]
mov dword [r14 + rbx + 0x10], eax
movzx eax, word [0x140057ebc]
mov word [r14 + rbx + 0x14], ax
movzx eax, byte [0x140057ebe]
mov byte [r14 + rbx + 0x16], al
mov byte [rbx + r15], 0
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rcx, [rbp + 0x220]
call fcn.14003ec10
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14003da32
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003da2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003da2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
lea rax, [rbp]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov byte [rbp], 0
xor eax, eax
mov qword [rbp + 8], rax
xor edx, edx
lea rcx, [rbp + 8]
call fcn.140041760
mov byte [rbp], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
mov ecx, 0x20
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, str.server
mov rcx, rbx
call fcn.140001680
nop
mov qword [rbp + 8], rbx
xor edi, edi
mov qword [rbp + 0x10], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov byte [rbp + 0x18], dil
xor eax, eax
mov qword [rbp + 0x20], rax
movsxd rbx, dword [0x140064130]
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.140041760
mov byte [rbp + 0x18], 5
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rdi
lea rax, [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.14003fce0
mov qword [rbp + 0x50], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x60], dil
xor eax, eax
mov qword [rbp - 0x58], rax
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.140041760
mov byte [rbp - 0x60], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
lea ecx, [rdi + 0x20]
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, str.path
mov rcx, rbx
call fcn.140001680
nop
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rdi
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x48], dil
xor eax, eax
mov qword [rbp - 0x40], rax
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140041760
mov byte [rbp - 0x48], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
lea ecx, [rdi + 0x20]
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, [0x140051815]
mov rcx, rbx
call fcn.140001680
nop
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x58]
call fcn.14003fce0
mov qword [rbp + 0x68], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x70], dil
xor eax, eax
mov qword [rsp + 0x78], rax
xor edx, edx
lea rcx, [rsp + 0x78]
call fcn.140041760
mov byte [rsp + 0x70], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
lea ecx, [rdi + 0x20]
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, str.CustomServer
mov rcx, rbx
call fcn.140001680
nop
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov byte [rbp - 0x78], dil
xor eax, eax
mov qword [rbp - 0x70], rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140041760
mov byte [rbp - 0x78], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
lea ecx, [rdi + 0x20]
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, [0x140051815]
mov rcx, rbx
call fcn.140001680
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.14003fce0
mov qword [rbp + 0x80], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x30], dil
xor eax, eax
mov qword [rbp - 0x28], rax
xor edx, edx
lea rcx, [rbp - 0x28]
call fcn.140041760
mov byte [rbp - 0x30], 3
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
lea ecx, [rdi + 0x20]
call fcn.14004e7e0
mov rbx, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rbx
lea rdx, str.ActiveTheme
mov rcx, rbx
call fcn.140001680
nop
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rdi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x18], dil
xor eax, eax
mov qword [rbp - 0x10], rax
movsxd rbx, dword [0x140064340]
xor edx, edx
lea rcx, [rbp - 0x10]
call fcn.140041760
mov byte [rbp - 0x18], 5
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x88]
call fcn.14003fce0
mov qword [rbp + 0x98], rdi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1d8]
call fcn.14003fce0
nop
lea r9, [fcn.14003e360]
lea edx, [rdi + 0x18]
lea r8d, [rdi + 4]
lea rcx, [rbp + 0x40]
call fcn.14004ec0c
nop
lea r9, [fcn.14003e360]
lea edx, [rdi + 0x18]
lea r8d, [rdi + 2]
lea rcx, [rbp - 0x30]
call fcn.14004ec0c
nop
lea r9, [fcn.14003e360]
lea edx, [rdi + 0x18]
lea r8d, [rdi + 2]
lea rcx, [rsp + 0x70]
call fcn.14004ec0c
nop
lea r9, [fcn.14003e360]
lea edx, [rdi + 0x18]
lea r8d, [rdi + 2]
lea rcx, [rbp - 0x60]
call fcn.14004ec0c
nop
lea r9, [fcn.14003e360]
lea edx, [rdi + 0x18]
lea r8d, [rdi + 2]
lea rcx, [rbp]
call fcn.14004ec0c
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1d8]
call fcn.14003f9f0
nop
mov rdx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14003de75
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x220]
call fcn.1400466c0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003dec7
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dec1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dec1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
nop
movzx edx, byte [rbp + 0x1d8]
lea rcx, [rbp + 0x1e0]
call fcn.140041760
nop
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x220], rax
mov rax, qword [rbp + 0x220]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x21c], edx
lea rcx, [rbp + 0x228]
call fcn.14003f910
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2c8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14003e19c
mov qword [rbp + 0x38], rsi
lea r8, [rbp]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1c8]
call fcn.140042200
nop
lea rdx, str.server
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
call fcn.140042410
mov dword [0x140064130], eax
lea rdx, str.path
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
lea rdx, [rbp + 0x1d8]
call fcn.140042520
mov rbx, rax
lea rdx, str.path
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140042520
cmp qword [rax + 0x18], 0xf
jbe 0x14003dfc4
mov rax, qword [rax]
mov r8, qword [rbx + 0x10]
mov rdx, rax
lea rcx, [0x140064240]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003e017
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e012
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e012
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
movdqa xmm0, xmmword [0x140059b50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0xf
jbe 0x14003e06e
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e069
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
lea rdx, str.CustomServer
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
lea rdx, [rbp + 0x1d8]
call fcn.140042520
mov rbx, rax
lea rdx, str.CustomServer
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140042520
cmp qword [rax + 0x18], 0xf
jbe 0x14003e0bd
mov rax, qword [rax]
mov r8, qword [rbx + 0x10]
mov rdx, rax
lea rcx, [0x140064140]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14003e110
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e10b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e10b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
movdqa xmm0, xmmword [0x140059b50]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0xf
jbe 0x14003e167
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e162
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e81c
lea rdx, str.ActiveTheme
lea rcx, [rbp + 0x1c8]
call fcn.140042310
mov rcx, rax
call fcn.140042410
mov dword [0x140064340], eax
movzx edx, byte [rbp + 0x1c8]
lea rcx, [rbp + 0x1d0]
call fcn.140041760
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb0]
call fcn.14003f910
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r13, 0xf
jbe 0x14003e230
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14003e228
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14004e81c
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.14004e7c0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
nop
call fcn.140001170
nop
call fcn.140001170
int3
call fcn.140001170
int3