Function at 0x1400d1a00
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140101078]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov r14, rcx
xor r13d, r13d
mov dword [rsp + 0x48], r13d
add rcx, 4
xor edx, edx
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov r8b, 1
lea rdx, [0x140105bac]
lea rcx, [rbp - 0x80]
call fcn.1400d1870
nop
mov ecx, dword [0x140105aa0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140105ba8], eax
jg 0x1400d224d
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov rdi, qword [0x140105b98]
lea rsi, [0x140105b88]
cmp qword [0x140105ba0], 0x10
cmovae rsi, qword [0x140105b88]
movabs rax, 0x7fffffffffffffff
cmp rdi, 0x10
jae 0x1400d1adf
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], 0xf
jmp 0x1400d1b52
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400d1b2c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400d229c
mov rcx, rax
call fcn.1400b8470
mov rcx, rax
test rax, rax
je 0x1400d1b25
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400d1b3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400d1b38
call fcn.1400b8470
jmp 0x1400d1b3b
mov rax, r13
mov qword [rbp - 0x50], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x40], rdi
lea rcx, [rbp - 0x80]
call fcn.1400d18c0
nop
mov rdi, 0xffffffffffffffff
cmp qword [rbp - 0x40], 0
je 0x1400d1def
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov qword [rsp + 0x70], rax
lea r8, [0x1400d1990]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400d18e0
mov r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400cedf0
mov r12d, 3
mov dword [rsp + 0x40], r12d
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x60], xmm0
movq rbx, xmm0
mov qword [rsp + 0x50], rbx
test rbx, rbx
jne 0x1400d1e72
lea ecx, [rdi + 0x31]
call fcn.1400b8470
mov rdi, rax
mov qword [rbp], 0x20
mov r15d, 0x2f
mov qword [rbp + 8], r15
movups xmm0, xmmword [str.Unable_to_open_message_catalog:]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400de300]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], bl
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x60], r13
mov ecx, 0xf
mov qword [rbp - 0x58], rcx
mov byte [rbp - 0x70], bl
mov dword [rsp + 0x48], 7
mov rdx, qword [rbp - 0x40]
add rdx, 0x20
cmp rdx, 0x10
jb 0x1400d1c4e
xor r8d, r8d
lea rcx, [rbp - 0x70]
call fcn.140090430
mov qword [rbp - 0x60], r13
mov rcx, qword [rbp - 0x58]
cmp rcx, 0x20
jb 0x1400d1c80
mov qword [rbp - 0x60], 0x20
lea rbx, [rbp - 0x70]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x70]
mov r8d, 0x20
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x20], 0
jmp 0x1400d1ca4
mov qword [rsp + 0x20], 0x20
mov r9, rdi
xor r8d, r8d
lea edx, [r8 + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140085520
mov r15, qword [rbp + 8]
mov rdi, qword [rbp - 0x10]
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae r9, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1400d1cf5
lea rax, [rcx + rsi]
mov qword [rbp - 0x60], rax
lea rbx, [rbp - 0x70]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x70]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400d1d09
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x70]
call fcn.140085520
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rax, qword [rbp - 0x70]
lea rbx, vtable.std::exception.0
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 1
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll___std_exception_copy
nop
lea rax, vtable.std::runtime_error.0
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400d1d8c
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d1d86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d1d86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
nop
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x30]
call fcn.1400d13a0
nop
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll___std_exception_destroy
nop
cmp r15, 0x10
jb 0x1400d1def
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400d1de6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d1de6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400b8460
nop
mov bl, 1
movzx ecx, bl
call fcn.1400d1440
test rax, rax
je 0x1400d1e12
nop
movzx ecx, byte [rax]
test cl, cl
je 0x1400d1e12
mov byte [rcx + r14 + 4], bl
add rax, 1
jne 0x1400d1e00
inc bl
cmp bl, 0x3c
jb 0x1400d1df1
mov bl, 0x41
nop dword [rax + rax]
movzx edi, bl
cmp byte [rdi + r14 + 4], 0
jne 0x1400d20da
mov byte [rsp + 0x30], bl
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x30]
mov edx, r9d
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetStringTypeExA]
test eax, eax
je 0x1400d20a4
test byte [rsp + 0x44], 2
je 0x1400d20a4
mov byte [rdi + r14 + 4], 0x16
jmp 0x1400d20da
mov r15b, 1
movzx ecx, r15b
call fcn.1400d1440
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400d1e91
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140084260
nop
movzx edx, r15b
mov r9d, 0x100
lea r8, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadStringA]
mov r13, qword [rbp - 0x30]
test eax, eax
jne 0x1400d1f8a
lea r12, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r12, r13
mov rsi, qword [rbp - 0x20]
cmp rsi, 0x10
jae 0x1400d1f06
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x70], xmm0
mov edi, 0xf
mov rbx, qword [rbp - 0x70]
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rsi
mov r12d, dword [rsp + 0x40]
jmp 0x1400d1fc8
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400d1f57
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400d2247
mov rcx, rax
call fcn.1400b8470
test rax, rax
je 0x1400d208f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400d1f68
test rcx, rcx
je 0x1400d1f66
call fcn.1400b8470
mov rbx, rax
jmp 0x1400d1f68
xor ebx, ebx
mov qword [rbp - 0x70], rbx
lea r8, [rsi + 1]
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x60], rsi
mov r12d, dword [rsp + 0x40]
jmp 0x1400d1fc8
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rax, [rbp + 0x10]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400d1fa5
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140084260
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
mov rbx, qword [rbp - 0x70]
or r12d, 8
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x40], r12d
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x1400d2012
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400d2009
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d2096
mov rcx, r13
call fcn.1400b8460
nop
xor r13d, r13d
mov ecx, r13d
test rsi, rsi
je 0x1400d203d
nop dword [rax]
lea rax, [rbp - 0x70]
cmp rdi, 0x10
cmovae rax, rbx
movzx eax, byte [rax + rcx]
mov byte [rax + r14 + 4], r15b
inc rcx
cmp rcx, rsi
jb 0x1400d2020
cmp rdi, 0x10
jb 0x1400d2071
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400d2068
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d209d
mov rcx, rbx
call fcn.1400b8460
nop
inc r15b
cmp r15b, 0x3c
jae 0x1400d1e19
mov rdi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
jmp 0x1400d1e75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov byte [rsp + 0x38], bl
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x38]
mov edx, r9d
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetStringTypeExA]
test eax, eax
je 0x1400d20da
test byte [rsp + 0x40], 1
je 0x1400d20da
mov byte [rdi + r14 + 4], 0x17
movzx eax, bl
inc bl
cmp al, 0xff
jne 0x1400d1e20
mov eax, r13d
lea rcx, [rbp + 0x110]
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, 0x100
jl 0x1400d20f1
lea rax, [r14 + 0x104]
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rbp + 0x110]
mov edx, r9d
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_LCMapStringA]
cmp eax, 0x100
jge 0x1400d2160
movsxd rcx, eax
lea r8, [r14 + 0x104]
add r8, rcx
nop dword [rax]
nop word [rax + rax]
mov byte [r8], al
inc eax
lea r8, [r8 + 1]
cmp eax, 0x100
jl 0x1400d2150
lea rax, [r14 + 0x204]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rbp + 0x110]
mov edx, 1
mov ecx, dword [r14]
call qword [sym.imp.KERNEL32.dll_GetStringTypeExA]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400d21c7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d21c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d21c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b8460
nop
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d2217
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d2217
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400d2217
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400b8190
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140080270
nop
lea rcx, [0x140105ba8]
call fcn.1400b8690
cmp dword [0x140105ba8], 0xffffffff
jne 0x1400d1a98
mov qword [0x140105b98], r13
mov qword [0x140105ba0], 0xf
mov byte [0x140105b88], 0
lea rcx, [0x1400d7800]
call fcn.1400b89e0
lea rcx, [0x140105ba8]
call fcn.1400b8630
jmp 0x1400d1a98
call fcn.140080270
int3