Function at 0x14001cab0
Capabilities:
Check http status code
Delete file
Link many functions at runtime
Write file on windows

Disassembly:
push rbp
push rdi
push r13
lea rbp, [rsp - 0x2a20]
mov eax, 0x2b20
call fcn.140092620
sub rsp, rax
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rbp + 0x2970], rax
mov rax, qword [rbp + 0x2a60]
xor edi, edi
cmp qword [0x140153390], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x2b18], rbx
mov r13d, edi
mov qword [rsp + 0x2b10], rsi
mov rbx, r8
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov qword [rsp + 0x2b08], r12
lea rax, [0x1400df528]
mov qword [rbp], rax
lea r12, [rdi - 1]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x2b00], r14
mov qword [rbp - 0x58], rax
mov r14, r9
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x2af8], r15
mov qword [rbp - 0x38], rax
mov r15, rdx
mov qword [rsp + 0x70], r9
mov qword [rbp + 8], rdi
mov dword [rsp + 0x40], edi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x58], rdi
mov dword [rbp - 0x70], 0x68
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 1
mov dword [rbp - 0x50], 0x40
mov word [rbp - 0x4c], di
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x40], 1
mov dword [rbp - 0x30], 0x80
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], 1
movups xmmword [rbp - 0x18], xmm0
jne 0x14001cbef
call fcn.14001beb0
mov rcx, rax
lea rdx, str.InternetCrackUrlA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140153390], rax
test rax, rax
jne 0x14001cbef
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetCrackUrlA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x1401534c8], rdi
jne 0x14001cc40
call fcn.14001beb0
mov rcx, rax
lea rdx, str.InternetConnectA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401534c8], rax
test rax, rax
jne 0x14001cc40
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetConnectA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x140153470], rdi
jne 0x14001cc91
call fcn.14001beb0
mov rcx, rax
lea rdx, str.InternetReadFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140153470], rax
test rax, rax
jne 0x14001cc91
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetReadFile
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x1401533a8], rdi
jne 0x14001cce2
call fcn.14001beb0
mov rcx, rax
lea rdx, str.InternetCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401533a8], rax
test rax, rax
jne 0x14001cce2
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetCloseHandle
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x1401533a0], rdi
jne 0x14001cd33
call fcn.14001beb0
mov rcx, rax
lea rdx, str.HttpOpenRequestA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401533a0], rax
test rax, rax
jne 0x14001cd33
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpOpenRequestA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x1401534e8], rdi
jne 0x14001cd84
call fcn.14001beb0
mov rcx, rax
lea rdx, str.HttpSendRequestA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401534e8], rax
test rax, rax
jne 0x14001cd84
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpSendRequestA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
cmp qword [0x1401534b8], rdi
jne 0x14001cdd5
call fcn.14001beb0
mov rcx, rax
lea rdx, str.HttpQueryInfoA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401534b8], rax
test rax, rax
jne 0x14001cdd5
call fcn.140041e50
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpQueryInfoA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.140041aa0
jmp 0x14001d805
mov rax, qword [rsp + 0x60]
mov dword [0x140111620], edi
mov dword [0x14015ae98], 0x194
test rax, rax
je 0x14001ce03
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8, rax
xor edx, edx
mov ecx, r12d
call fcn.1400527d0
test rsi, rsi
jne 0x14001ce21
mov r8d, 0xd4
lea rdx, str.C:_src_r3dusb_src_net.c
lea rcx, str.url___NULL
call fcn.1400a15c4
test r14, r14
je 0x14001ce29
mov qword [r14], rdi
test r15, r15
je 0x14001ce62
mov rax, r12
inc rax
cmp byte [r15 + rax], dil
jne 0x14001ce31
test rax, rax
je 0x14001ce5d
nop
movzx ecx, byte [r15 + rax]
cmp cl, 0x2f
je 0x14001ce5a
cmp cl, 0x5c
je 0x14001ce5a
sub rax, 1
jne 0x14001ce40
mov rax, r15
jmp 0x14001ce9c
inc rax
add rax, r15
jmp 0x14001ce9c
test rsi, rsi
jne 0x14001ce6c
mov rax, rdi
jmp 0x14001ce9c
mov rax, r12
nop
inc rax
cmp byte [rsi + rax], dil
jne 0x14001ce70
test rax, rax
je 0x14001ce99
nop
movzx ecx, byte [rsi + rax]
cmp cl, 0x2f
je 0x14001ce96
cmp cl, 0x5c
je 0x14001ce96
sub rax, 1
jne 0x14001ce80
jmp 0x14001ce99
inc rax
add rax, rsi
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x60], rdi
je 0x14001ced2
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0xc0d
mov r8d, 0x1388
lea ecx, [rdx + 1]
call fcn.14001b7e0
mov rdx, rsi
lea rcx, str.Downloading__s
call fcn.140041aa0
test rsi, rsi
jne 0x14001cedc
mov rax, rdi
jmp 0x14001cee9
mov rax, r12
nop
inc rax
cmp byte [rsi + rax], dil
jne 0x14001cee0
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, eax
mov rcx, rsi
call qword [0x140153390]
test eax, eax
je 0x14001d7f1
cmp qword [rbp - 0x58], rdi
je 0x14001d7f1
cmp qword [rbp - 0x28], rdi
je 0x14001d7f1
mov edx, 1
mov byte [rbp + 0x6f], dil
mov rcx, rbx
call fcn.14001c780
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x14001cf42
call fcn.140041e50
lea rcx, str.Could_not_open_Internet_session:__s
jmp 0x14001d7fd
movzx r8d, word [rbp - 0x4c]
xor r9d, r9d
mov rdx, qword [rbp - 0x58]
mov rcx, rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
call qword [0x1401534c8]
mov qword [rbp - 0x80], rax
mov rcx, rax
test rax, rax
jne 0x14001cf9b
call fcn.140041e50
movzx r8d, word [rbp - 0x4c]
lea rcx, str.Could_not_connect_to_server__s:_d:__s
mov rdx, qword [rbp - 0x58]
mov r9, rax
call fcn.140041aa0
jmp 0x14001d805
cmp dword [rbp - 0x5c], 4
mov eax, 0x408c600
mov r8, qword [rbp - 0x28]
mov edx, 0x488c600
cmove eax, edx
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
lea rdx, [0x1400df698]
lea rax, [rbp]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [0x1401533a0]
mov qword [rsp + 0x58], rax
mov rbx, rax
test rax, rax
jne 0x14001d000
call fcn.140041e50
mov r8, rax
lea rcx, str.Could_not_open_URL__s:__s
mov rdx, rsi
call fcn.140041aa0
jmp 0x14001d805
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, 0xffffffff
lea rdx, str.Accept_Encoding:_gzip__deflate
mov rcx, rbx
call qword [0x1401534e8]
test eax, eax
jne 0x14001d032
call fcn.140041e50
lea rcx, str.Unable_to_send_request:__s
jmp 0x14001d7fd
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r8, [0x14015ae98]
mov qword [rsp + 0x20], rdi
mov edx, 0x20000013
mov rcx, rbx
call qword [0x1401534b8]
cmp dword [0x14015ae98], 0xc8
je 0x14001d0ab
mov ecx, 0xc0032efc
mov dword [0x14015338c], 0x2efc
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [0x14015ae98]
lea rax, str.File_not_found
cmp r8d, 0x194
lea rdx, str.Unable_to_access_file
lea rcx, str._s:__d
cmove rdx, rax
call fcn.140041aa0
jmp 0x14001d805
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 0x20
lea r8, [rbp + 0x10]
mov qword [rsp + 0x20], rdi
mov edx, 5
mov rcx, rbx
call qword [0x1401534b8]
test eax, eax
jne 0x14001d0e4
call fcn.140041e50
lea rcx, str.Unable_to_retrieve_file_length:__s
jmp 0x14001d7fd
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0xa]
call fcn.1400a3d04
mov r14, rax
cmp qword [rsp + 0x60], rdi
je 0x14001d4e0
cmp dword [0x1401128e0], edi
lea rbx, [0x1400e6704]
movaps xmmword [rsp + 0x2ad0], xmm7
lea rax, [0x1400d756a]
movaps xmmword [rsp + 0x2ac0], xmm8
mov rdx, rbx
movaps xmmword [rsp + 0x2ab0], xmm9
cmove rdx, rax
movaps xmmword [rsp + 0x2aa0], xmm10
xorps xmm7, xmm7
movaps xmmword [rsp + 0x2a90], xmm11
mov qword [rsp + 0x78], rdx
movaps xmmword [rsp + 0x2a80], xmm12
test r14, r14
js 0x14001d165
cvtsi2sd xmm7, r14
jmp 0x14001d17d
mov rax, r14
mov rcx, r14
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm7, rcx
addsd xmm7, xmm7
movsd xmm10, qword [0x1400f64b8]
movaps xmm8, xmm7
movsd xmm9, qword [0x1400f6440]
mov eax, edi
comisd xmm10, xmm8
ja 0x14001d1a8
inc eax
mulsd xmm8, xmm9
cmp eax, 5
jl 0x14001d195
movsd xmm11, qword [0x1400f6498]
movsd xmm12, qword [0x1400f6468]
movaps xmmword [rsp + 0x2ae0], xmm6
test eax, eax
jne 0x14001d20c
mov rax, qword [0x140111658]
lea r9, str._s_d_s__s
cvttsd2si ecx, xmm8
mov r8, r12
lea r12, [0x140155350]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], ecx
mov rcx, r12
mov qword [rsp + 0x20], rdx
mov edx, 0x20
call fcn.1400034e0
jmp 0x14001d289
movaps xmm6, xmm8
movsxd rbx, eax
movaps xmm0, xmm8
mulsd xmm6, xmm11
call fcn.1400bf1f0
mulsd xmm0, xmm11
lea rax, str._s_0.0f_s__s
mov r8, r12
lea r9, str._s_0.1f_s__s
lea r12, [0x140155350]
mov edx, 0x20
mov rcx, r12
subsd xmm6, xmm0
comisd xmm12, xmm6
cmova r9, rax
mov rax, qword [0x140111658]
mov rax, qword [rax + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
movsd qword [rsp + 0x28], xmm8
mov qword [rsp + 0x20], rax
call fcn.1400034e0
lea rbx, [0x1400e6704]
mov rdx, r12
mov byte [0x14015536f], dil
lea rcx, str.File_length:__s
call fcn.140041aa0
cmp dword [0x1401128e0], edi
mov eax, edi
movaps xmm8, xmmword [rsp + 0x2ac0]
je 0x14001d394
comisd xmm10, xmm7
ja 0x14001d2c9
inc eax
mulsd xmm7, xmm9
cmp eax, 5
jl 0x14001d2b6
test eax, eax
jne 0x14001d2fb
mov rax, qword [0x140111658]
lea r9, str._s_d_s__s
cvttsd2si ecx, xmm7
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
jmp 0x14001d359
movaps xmm6, xmm7
movsxd rbx, eax
movaps xmm0, xmm7
mulsd xmm6, xmm11
call fcn.1400bf1f0
lea rax, str._s_0.0f_s__s
mulsd xmm0, xmm11
lea r9, str._s_0.1f_s__s
subsd xmm6, xmm0
comisd xmm12, xmm6
cmova r9, rax
mov rax, qword [0x140111658]
mov rax, qword [rax + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x1400e6704]
mov qword [rsp + 0x30], rax
movsd qword [rsp + 0x28], xmm7
mov qword [rsp + 0x20], rax
mov r8, 0xffffffffffffffff
mov rcx, r12
lea edx, [r8 + 0x21]
call fcn.1400034e0
mov rcx, rsi
mov byte [0x14015536f], dil
lea rbx, str.__s___s
mov qword [rsp + 0x78], r12
call fcn.14001c5d0
mov r12, rax
mov rax, qword [rsp + 0x78]
jmp 0x14001d462
comisd xmm10, xmm7
ja 0x14001d3a7
inc eax
mulsd xmm7, xmm9
cmp eax, 5
jl 0x14001d394
test eax, eax
jne 0x14001d3db
mov rax, qword [0x140111658]
lea r9, str._s_d_s__s
cvttsd2si ecx, xmm7
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x1400d756a]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
jmp 0x14001d434
movaps xmm6, xmm7
movsxd rbx, eax
movaps xmm0, xmm7
mulsd xmm6, xmm11
call fcn.1400bf1f0
lea rax, str._s_0.0f_s__s
mulsd xmm0, xmm11
lea r9, str._s_0.1f_s__s
subsd xmm6, xmm0
comisd xmm12, xmm6
cmova r9, rax
mov rax, qword [0x140111658]
mov rax, qword [rax + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x1400d756a]
mov qword [rsp + 0x30], rax
movsd qword [rsp + 0x28], xmm7
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov rcx, r12
lea edx, [r8 + 0x21]
call fcn.1400034e0
mov rcx, rsi
mov byte [0x14015536f], dil
lea rbx, [0x1400df740]
call fcn.14001c5d0
mov qword [rsp + 0x28], r12
lea rcx, [rbp + 0x70]
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, rbx
mov edx, 0x80
call fcn.1400034e0
lea rax, [rbp + 0x70]
mov byte [rbp + 0xef], dil
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov r9d, 0xc0d
mov r8d, 0x1388
call fcn.14001b7e0
movaps xmm12, xmmword [rsp + 0x2a80]
movaps xmm11, xmmword [rsp + 0x2a90]
movaps xmm10, xmmword [rsp + 0x2aa0]
movaps xmm9, xmmword [rsp + 0x2ab0]
movaps xmm7, xmmword [rsp + 0x2ad0]
movaps xmm6, xmmword [rsp + 0x2ae0]
test r15, r15
je 0x14001d572
mov rcx, r15
call fcn.140003550
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rax
mov dword [rsp + 0x20], 2
mov rbx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001d536
mov rcx, rbx
call fcn.14009b5a0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp r12, 0xffffffffffffffff
jne 0x14001d654
call fcn.140041e50
mov rdx, qword [rsp + 0x50]
lea rcx, str.Unable_to_create_file__s:__s
mov r8, rax
call fcn.140041aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14015338c], eax
jmp 0x14001d816
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x14001d621
lea rcx, str.No_buffer_pointer_provided_for_download
call fcn.140041aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14015338c], eax
mov rcx, qword [rsp + 0x58]
call qword [0x1401533a8]
mov rax, qword [rbp - 0x80]
mov r15, qword [rsp + 0x2af8]
mov r14, qword [rsp + 0x2b00]
mov r12, qword [rsp + 0x2b08]
mov rsi, qword [rsp + 0x2b10]
mov rbx, qword [rsp + 0x2b18]
test rax, rax
je 0x14001d5dd
mov rcx, rax
call qword [0x1401533a8]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14001d5ef
mov rcx, rax
call qword [0x1401533a8]
mov ecx, dword [0x14015338c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rsp + 0x40], edi
cmovne rdi, r13
mov rax, rdi
mov rcx, qword [rbp + 0x2970]
xor rcx, rsp
call fcn.140092060
add rsp, 0x2b20
pop r13
pop rdi
pop rbp
ret
lea rcx, [r14 + 1]
mov edx, 1
call fcn.1400966e0
mov qword [rbx], rax
test rax, rax
jne 0x14001d659
lea rcx, str.Could_not_allocate_buffer_for_download
call fcn.140041aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14015338c], eax
jmp 0x14001d851
mov rbx, qword [rsp + 0x70]
test dword [0x140111620], 0x80000000
jne 0x14001d709
mov rsi, qword [rsp + 0x60]
nop
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov r8d, 0x2800
lea rdx, [rbp + 0x170]
call qword [0x140153470]
test eax, eax
je 0x14001d782
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14001d782
test rsi, rsi
je 0x14001d6c3
mov r9, r14
mov dword [rsp + 0x20], edi
mov r8, r13
mov edx, 0xca9
mov ecx, 0xfffffffe
call fcn.1400527d0
mov eax, dword [rsp + 0x44]
lea rdx, [rbp + 0x170]
test r15, r15
je 0x14001d73c
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rdi
mov r8d, eax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001d767
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x68]
cmp r9d, r8d
je 0x14001d74f
mov rdx, qword [rsp + 0x50]
lea rcx, str.Error_writing_file__s:_Only__d__d_bytes_written
call fcn.140041aa0
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14015338c], eax
cmp r12, 0xffffffffffffffff
je 0x14001d72f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x14001d598
jmp 0x14001d811
mov rcx, qword [rbx]
add rcx, r13
mov r8d, eax
call fcn.140093550
mov r9d, dword [rsp + 0x44]
mov eax, r9d
add r13, rax
test dword [0x140111620], 0x80000000
je 0x14001d670
jmp 0x14001d709
call fcn.140041e50
mov rdx, qword [rsp + 0x50]
lea rcx, str.Error_writing_file__s:__s
mov r8, rax
call fcn.140041aa0
jmp 0x14001d709
cmp r13, r14
je 0x14001d7a8
mov r8, r14
lea rcx, str.Could_not_download_complete_file___read:__lld_bytes__expected:__lld_bytes
mov rdx, r13
call fcn.140041aa0
mov dword [0x140111620], 0xc003001d
jmp 0x14001d709
mov dword [0x14015ae98], 0xc8
mov ebx, 1
mov dword [rsp + 0x40], ebx
test rsi, rsi
je 0x14001d70b
mov r9, r14
mov dword [rsp + 0x20], edi
mov r8, r14
lea ecx, [rbx - 3]
mov edx, 0xca9
call fcn.1400527d0
mov rdx, qword [rsp + 0x50]
lea rcx, str.Successfully_downloaded__s
call fcn.140041aa0
jmp 0x14001d70b
call fcn.140041e50
lea rcx, str.Unable_to_decode_URL:__s
mov rdx, rax
call fcn.140041aa0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x14015338c], eax
test r15, r15
je 0x14001d847
mov rcx, r15
call fcn.140003550
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rbx, rbx
je 0x14001d83f
mov rcx, rbx
call fcn.14009b5a0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14001d85c
mov rcx, qword [rbx]
call fcn.14009b5a0
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001d5a3
jmp 0x14001d59d