Function at 0x14008a3b0
Capabilities:
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 - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x1401c8c00]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
xor esi, esi
mov rbx, qword [0x1402567d8]
mov rdi, qword [0x1402567e0]
cmp rbx, rdi
je 0x14008a41f
nop dword [rax]
mov rcx, rbx
call fcn.140005300
add rbx, 0x40
cmp rbx, rdi
jne 0x14008a400
mov rax, qword [0x1402567d8]
mov qword [0x1402567e0], rax
lea rcx, str.appdata
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
mov qword [rbp + 0x380], rsi
mov qword [rbp + 0x388], rsi
mov r14, 0xffffffffffffffff
mov r8, r14
nop
inc r8
cmp byte [rax + r8], sil
jne 0x14008a450
mov rdx, rax
lea rcx, [rbp + 0x370]
call fcn.140004860
nop
movabs r12, 0x7fffffffffffffff
mov rax, r12
mov rcx, qword [rbp + 0x380]
sub rax, rcx
cmp rax, 1
jb 0x14008b626
lea r9, [rbp + 0x370]
cmp qword [rbp + 0x388], 0xf
cmova r9, qword [rbp + 0x370]
mov qword [rsp + 0x30], 1
lea rax, [0x14016af6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x370]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x100]
call fcn.140005120
nop
mov r8d, 8
lea rdx, [0x14016af60]
lea rcx, [rbp + 0x100]
call fcn.140004430
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x310], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x320], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x118]
cmp rdx, 0xf
jbe 0x14008a56d
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a568
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a568
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
movdqa xmm0, xmmword [0x1401a6e30]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], 0
mov rdi, qword [rbp + 0x320]
lea rbx, [rbp + 0x310]
cmp qword [rbp + 0x328], 0xf
cmova rbx, qword [rbp + 0x310]
call fcn.140130c20
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rdi
lea r8, [rbp + 0x90]
mov edx, eax
lea rcx, [rbp + 0x120]
call fcn.140001eb0
nop
mov r8d, 3
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x2a0]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xa0], ecx
lea r15, [0x1401c8c88]
mov qword [rbp + 0xa8], r15
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x3c0], xmm0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14008a666
cmp eax, 1
sete bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x14008a677
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a672
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a672
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14008b5f6
jmp 0x14008a622
call fcn.140131bf4
test bl, bl
je 0x14008a728
mov rdi, qword [rbp + 0x320]
lea rbx, [rbp + 0x310]
cmp qword [rbp + 0x328], 0xf
cmova rbx, qword [rbp + 0x310]
call fcn.140130c20
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rdi
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.140001eb0
nop
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rcx, qword [rbp + 8]
call fcn.140131124
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14008b62c
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x14008a728
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a723
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a723
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rax, r12
mov rcx, qword [rbp + 0x320]
sub rax, rcx
cmp rax, 0xc
jb 0x14008b641
lea r9, [rbp + 0x310]
cmp qword [rbp + 0x328], 0xf
cmova r9, qword [rbp + 0x310]
mov qword [rsp + 0x30], send
lea rax, str._backgrounds
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x310]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x330]
call fcn.140005120
nop
mov rdi, qword [rbp + 0x340]
lea rbx, [rbp + 0x330]
cmp qword [rbp + 0x348], 0xf
cmova rbx, qword [rbp + 0x330]
call fcn.140130c20
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], rdi
lea r8, [rbp + 0xc0]
mov edx, eax
lea rcx, [rbp + 0x140]
call fcn.140001eb0
nop
mov r8d, 3
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x2b0]
call fcn.140002970
movsd xmm0, qword [rax]
movsd qword [rsp + 0x48], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xd0], ecx
mov qword [rbp + 0xd8], r15
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x3b0], xmm0
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14008a864
cmp eax, 1
sete bl
mov rdx, qword [rbp + 0x158]
cmp rdx, 7
jbe 0x14008a875
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008a870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008a870
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test ecx, ecx
jne 0x14008b60a
jmp 0x14008a820
call fcn.140131bf4
test bl, bl
jne 0x14008b4c2
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x180], xmm1
movdqa xmmword [rbp + 0x190], xmm0
mov r8d, 4
lea rdx, str..png
lea rcx, [rbp + 0x180]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1b0], xmm1
mov r8d, 4
lea rdx, str..jpg
lea rcx, [rbp + 0x1a0]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1d0], xmm1
mov r8d, 5
lea rdx, str..jpeg
lea rcx, [rbp + 0x1c0]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1f0], xmm1
mov r8d, 4
lea rdx, str..gif
lea rcx, [rbp + 0x1e0]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x210], xmm1
mov r8d, 4
lea rdx, str..bmp
lea rcx, [rbp + 0x200]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x230], xmm1
mov r8d, 5
lea rdx, str..tiff
lea rcx, [rbp + 0x220]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x250], xmm1
mov r8d, 4
lea rdx, str..tif
lea rcx, [rbp + 0x240]
call fcn.140004860
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x270], xmm1
mov r8d, 5
lea rdx, str..webp
lea rcx, [rbp + 0x260]
call fcn.140004860
nop
lea rax, [rbp + 0x180]
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x280]
mov qword [rbp + 0xe8], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x360]
call fcn.140028df0
nop
lea r9, [fcn.1400041d0]
mov edx, reloc.WLDAP32.dll_Ordinal_32
lea r8d, [rdx - 0x18]
lea rcx, [rbp + 0x180]
call fcn.140131e80
mov rdi, qword [rbp + 0x340]
lea rbx, [rbp + 0x330]
cmp qword [rbp + 0x348], 0xf
cmova rbx, qword [rbp + 0x330]
call fcn.140130c20
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rdi
lea r8, [rbp + 0xf0]
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.140001eb0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x2f0], xmm0
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x2f0]
call fcn.1400291d0
test eax, eax
jne 0x14008b647
mov rdx, qword [rbp + 0x80]
cmp rdx, 7
jbe 0x14008aaf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aaf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008aaf0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
xorps xmm0, xmm0
movups xmmword [rbp + 0x350], xmm0
mov rsi, qword [rbp + 0x2f8]
mov qword [rsp + 0x58], rsi
test rsi, rsi
je 0x14008ab20
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x2f8]
mov qword [rsp + 0x58], rsi
movaps xmm0, xmmword [rbp + 0x2f0]
movdqa xmmword [rbp + 0x350], xmm0
test rsi, rsi
je 0x14008ab44
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x2f8]
mov qword [rsp + 0x58], rsi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3d0], xmm1
test rsi, rsi
je 0x14008aba0
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14008ab94
mov rbx, qword [rbp + 0x2f8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008ab94
mov rsi, qword [rbp + 0x2f8]
mov qword [rsp + 0x58], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14008aba0
mov rax, qword [rbp + 0x2f8]
mov qword [rsp + 0x58], rax
movzx ebx, byte [rsp + 0x40]
movzx edi, byte [rsp + 0x40]
nop word [rax + rax]
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14008b3ff
add rcx, 0x20
mov qword [rsp + 0x48], rcx
lea rdx, [rbp + 0x280]
call fcn.140024d90
nop
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400290e0
mov r14, qword [rbp + 0x360]
mov qword [rbp - 0x60], r14
mov rsi, qword [r14 + 8]
mov r13, r14
mov r12, qword [rbp - 0x38]
cmp byte [rsi + 0x19], 0
jne 0x14008ac73
mov r15, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x20]
nop word [rax + rax]
lea rcx, [rsi + 0x20]
lea rdx, [rbp - 0x38]
cmp rdi, 0xf
cmova rdx, r12
mov r14, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x14008ac2e
mov rcx, qword [rcx]
mov r8, r14
cmp r15, r14
cmovb r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008ac47
jns 0x14008ac52
mov al, 0xff
jmp 0x14008ac54
cmp r14, r15
jae 0x14008ac50
mov al, 0xff
jmp 0x14008ac54
jbe 0x14008ac5e
mov al, 1
test al, al
jns 0x14008ac5e
mov rsi, qword [rsi + 0x10]
jmp 0x14008ac64
mov r13, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x14008ac10
movzx edi, byte [rsp + 0x40]
mov r14, qword [rbp - 0x60]
cmp byte [r13 + 0x19], 0
jne 0x14008ac8b
lea r8, [r13 + 0x20]
lea rdx, [rbp - 0x38]
call fcn.14000df90
test al, al
je 0x14008ac8e
mov r13, r14
mov rax, qword [rbp - 0x20]
cmp rax, 0xf
jbe 0x14008acca
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14008acc2
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3c0
mov rcx, r12
call fcn.140131bf4
xor esi, esi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], sil
mov rdx, qword [rbp + 0x298]
cmp rdx, 7
jbe 0x14008ad22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ad1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3c7
call fcn.140131bf4
cmp r13, r14
je 0x14008b3a7
mov r12, qword [rsp + 0x48]
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14008ad3f
mov rcx, qword [r12]
lea rax, [r12 + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rax]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140024890
cmp rax, r11
je 0x14008ad9b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008ad6f
cmp cx, 0x2f
jne 0x14008ad78
add rax, 2
cmp rax, r11
jne 0x14008ad60
cmp rax, r11
je 0x14008ad9b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008ad9b
cmp cx, 0x2f
je 0x14008ad9b
mov r10, rdx
cmp rax, rdx
jne 0x14008ad80
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
mov r8, r11
mov rdx, r10
lea rcx, [rbp - 0x58]
call fcn.1400298e0
nop
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x58]
call fcn.1400290e0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x340]
sub rax, rcx
cmp rax, 1
jb 0x14008b5f0
lea r9, [rbp + 0x330]
cmp qword [rbp + 0x348], 0xf
cmova r9, qword [rbp + 0x330]
mov qword [rsp + 0x30], 1
lea rax, [0x14016af6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp + 0x330]
movzx edx, bl
lea rcx, [rbp + 0x160]
call fcn.140005120
nop
lea r9, [rbp + 0x28]
lea r8, [rbp + 0x160]
movzx edx, dil
lea rcx, [rbp + 0x48]
call fcn.14000ca20
lea r13, [rbp + 0x48]
mov rdx, qword [rbp + 0x60]
cmp rdx, 0xf
seta al
mov rcx, qword [rbp + 0x48]
cmova r13, rcx
test al, al
je 0x14008ae94
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ae8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3ce
call fcn.140131bf4
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x14008aee6
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008aee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3d5
call fcn.140131bf4
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x14008af21
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008af1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3dc
call fcn.140131bf4
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 7
jbe 0x14008af71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008af6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3e3
call fcn.140131bf4
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], si
lea r8, [0x1401a1ca8]
mov rdx, r13
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x14008afa8
mov r15, rsi
mov qword [rbp + 0x2e0], rsi
jmp 0x14008afaf
mov r15, qword [rbp + 0x2e0]
test r15, r15
jne 0x14008afd5
mov edx, Ordinal_41
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea rax, str.cant_fopen
mov qword [rdx + rcx], rax
jmp 0x14008b3a7
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov r14d, eax
movups xmm0, xmmword [0x140218b00]
movaps xmmword [rbp + 0x3f0], xmm0
movsd xmm0, qword [0x140218b10]
movsd qword [rbp + 0x400], xmm0
mov qword [rbp + 0x408], r15
mov dword [rbp + 0x414], 0x80
mov dword [rbp + 0x410], 1
mov dword [rbp + 0x498], esi
lea rax, [rbp + 0x418]
mov qword [rbp + 0x4b0], rax
lea rax, [rbp + 0x418]
mov qword [rbp + 0x4a0], rax
lea rcx, [rbp + 0x3e0]
call fcn.14006fd80
mov rax, qword [rbp + 0x4a8]
mov qword [rbp + 0x4b8], rax
lea r9, [rbp + 0x300]
lea r8, [rbp + 0x304]
lea rdx, [rbp + 0x308]
lea rcx, [rbp + 0x3e0]
call fcn.1400802d0
mov esi, eax
xor r8d, r8d
mov edx, r14d
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test esi, esi
je 0x14008b3a7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], rax
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x304]
lea r8, [rbp + 0x308]
mov rdx, r13
lea rcx, [rbp + 0x390]
call fcn.14008a150
nop
mov r14, qword [rbp + 0x390]
mov r13, qword [rbp + 0x398]
cmp r14, r13
je 0x14008b36b
cmp qword [r12 + 0x18], 7
jbe 0x14008b0f9
mov r12, qword [r12]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea r11, [r12 + rax*2]
mov r10, r11
mov rdx, r11
mov rcx, r12
call fcn.140024890
cmp rax, r11
je 0x14008b15b
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008b12f
cmp cx, 0x2f
jne 0x14008b138
add rax, 2
cmp rax, r11
jne 0x14008b120
cmp rax, r11
je 0x14008b15b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008b15b
cmp cx, 0x2f
je 0x14008b15b
mov r10, rdx
cmp rax, rdx
jne 0x14008b140
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xor esi, esi
mov qword [rbp - 8], rsi
mov qword [rbp], rsi
mov r8, r11
mov rdx, r10
lea rcx, [rbp - 0x18]
call fcn.1400298e0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.1400290e0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
sub r13, r14
mov r15, r13
sar r15, 2
test r15, r15
je 0x14008b1e7
movabs rax, 0x3fffffffffffffff
cmp r15, rax
ja 0x14008b65a
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.140006af0
mov rsi, qword [rbp - 0x80]
mov r8, r13
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15*4]
mov qword [rbp - 0x78], rax
xor esi, esi
mov eax, dword [rbp + 0x308]
mov dword [rbp - 0x68], eax
mov eax, dword [rbp + 0x304]
mov dword [rbp - 0x64], eax
mov r9, qword [0x1402567e0]
cmp r9, qword [0x1402567e8]
je 0x14008b27a
xorps xmm0, xmm0
movups xmmword [r9], xmm0
mov qword [r9 + 0x10], rsi
mov qword [r9 + 0x18], rsi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r9], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [r9 + 0x10], xmm1
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x70]
mov qword [rbp - 0x70], rsi
mov rcx, qword [rbp - 0x78]
mov qword [rbp - 0x78], rsi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x80], rsi
mov qword [r9 + 0x20], rax
mov qword [r9 + 0x28], rcx
mov qword [r9 + 0x30], rdx
mov eax, dword [rbp - 0x68]
mov dword [r9 + 0x38], eax
mov eax, dword [rbp - 0x64]
mov dword [r9 + 0x3c], eax
add qword [0x1402567e0], 0x40
jmp 0x14008b288
lea r8, [rsp + 0x60]
mov rdx, r9
call fcn.140093630
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14008b2da
mov rax, qword [rbp - 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b2c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3ea
call fcn.140131bf4
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14008b317
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3ea
call fcn.140131bf4
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp]
cmp rdx, 7
jbe 0x14008b36b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b365
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3f1
call fcn.140131bf4
nop
test r14, r14
je 0x14008b3a7
mov rdx, qword [rbp + 0x3a0]
sub rdx, r14
and rdx, 0xfffffffffffffffc
mov rax, r14
cmp rdx, 0x1000
jb 0x14008b39f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008b3f8
mov rcx, r14
call fcn.140131bf4
lea rcx, [rbp + 0x350]
call fcn.140025450
test eax, eax
jne 0x14008b61e
jmp 0x14008abb0
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
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
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 rcx, qword [rbp + 0x358]
mov r14, 0xffffffffffffffff
test rcx, rcx
je 0x14008b451
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008b448
mov rbx, qword [rbp + 0x358]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008b448
mov rcx, qword [rbp + 0x358]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x2f8]
jmp 0x14008b456
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14008b491
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008b491
mov rbx, qword [rbp + 0x2f8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x14008b491
mov rcx, qword [rbp + 0x2f8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov r8, qword [rbp + 0x360]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x360]
call fcn.140029d50
mov edx, 0x40
mov rcx, qword [rbp + 0x360]
call fcn.140131bf4
xor esi, esi
mov rdx, qword [rbp + 0x348]
cmp rdx, 0xf
jbe 0x14008b506
inc rdx
mov rcx, qword [rbp + 0x330]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b501
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b501
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov qword [rbp + 0x340], rsi
mov qword [rbp + 0x348], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x330], 0
mov rdx, qword [rbp + 0x328]
cmp rdx, 0xf
jbe 0x14008b563
inc rdx
mov rcx, qword [rbp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b55e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b55e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x310], 0
mov rdx, qword [rbp + 0x388]
cmp rdx, 0xf
jbe 0x14008b5c0
inc rdx
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008b5bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008b5bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140131bf4
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140131b90
lea r11, [rsp + 0x5d0]
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.140001810
nop
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x3c0]
call fcn.140002880
nop
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x3b0]
call fcn.140002880
nop
mov edx, eax
call fcn.140025220
nop
call fcn.140001810
nop
shr rdx, 0x20
lea r8, [rbp + 8]
lea rcx, str.create_directory
call fcn.140002810
nop
call fcn.140001810
nop
lea r8, [rbp + 0x68]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002810
nop
call fcn.140006ad0
int3