Function at 0x1400226f0
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.1400b2940
sub rsp, rax
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rbp + 0x2970], rax
mov rax, qword [rbp + 0x2a60]
xor edi, edi
cmp qword [0x1401e0e50], 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, [0x14015e648]
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 0x14002282f
call fcn.140021490
mov rcx, rax
lea rdx, str.InternetCrackUrlA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0e50], rax
test rax, rax
jne 0x14002282f
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetCrackUrlA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0f98], rdi
jne 0x140022880
call fcn.140021490
mov rcx, rax
lea rdx, str.InternetConnectA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0f98], rax
test rax, rax
jne 0x140022880
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetConnectA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0f38], rdi
jne 0x1400228d1
call fcn.140021490
mov rcx, rax
lea rdx, str.InternetReadFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0f38], rax
test rax, rax
jne 0x1400228d1
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetReadFile
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0e68], rdi
jne 0x140022922
call fcn.140021490
mov rcx, rax
lea rdx, str.InternetCloseHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0e68], rax
test rax, rax
jne 0x140022922
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.InternetCloseHandle
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0e60], rdi
jne 0x140022973
call fcn.140021490
mov rcx, rax
lea rdx, str.HttpOpenRequestA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0e60], rax
test rax, rax
jne 0x140022973
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpOpenRequestA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0fc0], rdi
jne 0x1400229c4
call fcn.140021490
mov rcx, rax
lea rdx, str.HttpSendRequestA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0fc0], rax
test rax, rax
jne 0x1400229c4
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpSendRequestA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
cmp qword [0x1401e0f88], rdi
jne 0x140022a15
call fcn.140021490
mov rcx, rax
lea rdx, str.HttpQueryInfoA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401e0f88], rax
test rax, rax
jne 0x140022a15
call fcn.140050120
mov r9, rax
lea r8, str.WinInet
lea rdx, str.HttpQueryInfoA
lea rcx, str.Unable_to_locate__s___in__s.dll:__s
call fcn.14004f910
jmp 0x140023445
mov rax, qword [rsp + 0x60]
mov dword [0x14019f0a0], edi
mov dword [0x1401e8a74], 0x194
test rax, rax
je 0x140022a43
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8, rax
xor edx, edx
mov ecx, r12d
call fcn.140066e30
test rsi, rsi
jne 0x140022a61
mov r8d, 0xd4
lea rdx, str.D:_a_rufus_rufus_src_net.c
lea rcx, str.url___NULL
call fcn.1400fc264
test r14, r14
je 0x140022a69
mov qword [r14], rdi
test r15, r15
je 0x140022aa2
mov rax, r12
inc rax
cmp byte [r15 + rax], dil
jne 0x140022a71
test rax, rax
je 0x140022a9d
nop
movzx ecx, byte [r15 + rax]
cmp cl, 0x2f
je 0x140022a9a
cmp cl, 0x5c
je 0x140022a9a
sub rax, 1
jne 0x140022a80
mov rax, r15
jmp 0x140022adc
inc rax
add rax, r15
jmp 0x140022adc
test rsi, rsi
jne 0x140022aac
mov rax, rdi
jmp 0x140022adc
mov rax, r12
nop
inc rax
cmp byte [rsi + rax], dil
jne 0x140022ab0
test rax, rax
je 0x140022ad9
nop
movzx ecx, byte [rsi + rax]
cmp cl, 0x2f
je 0x140022ad6
cmp cl, 0x5c
je 0x140022ad6
sub rax, 1
jne 0x140022ac0
jmp 0x140022ad9
inc rax
add rax, rsi
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x60], rdi
je 0x140022b12
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0xc0d
mov r8d, 0x1388
lea ecx, [rdx + 1]
call fcn.140020c90
mov rdx, rsi
lea rcx, str.Downloading__s
call fcn.14004f910
test rsi, rsi
jne 0x140022b1c
mov rdx, rdi
jmp 0x140022b29
mov rdx, r12
nop
inc rdx
cmp byte [rsi + rdx], dil
jne 0x140022b20
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, rsi
call qword [0x1401e0e50]
test eax, eax
je 0x140023431
cmp qword [rbp - 0x58], rdi
je 0x140023431
cmp qword [rbp - 0x28], rdi
je 0x140023431
mov edx, 1
mov byte [rbp + 0x6f], dil
mov rcx, rbx
call fcn.1400223c0
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x140022b80
call fcn.140050120
lea rcx, str.Could_not_open_Internet_session:__s
jmp 0x14002343d
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 [0x1401e0f98]
mov qword [rbp - 0x80], rax
mov rcx, rax
test rax, rax
jne 0x140022bd9
call fcn.140050120
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.14004f910
jmp 0x140023445
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, [0x14015e7c0]
lea rax, [rbp]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [0x1401e0e60]
mov qword [rsp + 0x58], rax
mov rbx, rax
test rax, rax
jne 0x140022c3e
call fcn.140050120
mov r8, rax
lea rcx, str.Could_not_open_URL__s:__s
mov rdx, rsi
call fcn.14004f910
jmp 0x140023445
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov r8d, 0xffffffff
lea rdx, str.Accept_Encoding:_gzip__deflate
mov rcx, rbx
call qword [0x1401e0fc0]
test eax, eax
jne 0x140022c70
call fcn.140050120
lea rcx, str.Unable_to_send_request:__s
jmp 0x14002343d
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r8, [0x1401e8a74]
mov qword [rsp + 0x20], rdi
mov edx, 0x20000013
mov rcx, rbx
call qword [0x1401e0f88]
cmp dword [0x1401e8a74], 0xc8
je 0x140022ce9
mov ecx, 0xc0032efc
mov dword [0x1401e0f40], 0x2efc
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, dword [0x1401e8a74]
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.14004f910
jmp 0x140023445
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 [0x1401e0f88]
test eax, eax
jne 0x140022d22
call fcn.140050120
lea rcx, str.Unable_to_retrieve_file_length:__s
jmp 0x14002343d
xor edx, edx
lea rcx, [rbp + 0x10]
lea r8d, [rdx + 0xa]
call fcn.1401027a4
mov r14, rax
cmp qword [rsp + 0x60], rdi
je 0x14002311e
cmp dword [0x14019f510], edi
lea rbx, [0x140166080]
movaps xmmword [rsp + 0x2ad0], xmm7
lea rax, [0x14015644e]
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 0x140022da3
cvtsi2sd xmm7, r14
jmp 0x140022dbb
mov rax, r14
mov rcx, r14
shr rcx, 1
and eax, 1
or rcx, rax
cvtsi2sd xmm7, rcx
addsd xmm7, xmm7
movsd xmm10, qword [0x140176f70]
movaps xmm8, xmm7
movsd xmm9, qword [0x140176ef8]
mov eax, edi
comisd xmm10, xmm8
ja 0x140022de6
inc eax
mulsd xmm8, xmm9
cmp eax, 5
jl 0x140022dd3
movsd xmm11, qword [0x140176f50]
movsd xmm12, qword [0x140176f20]
movaps xmmword [rsp + 0x2ae0], xmm6
test eax, eax
jne 0x140022e4a
mov rax, qword [0x14019f4e0]
lea r9, str._s_d_s__s
cvttsd2si ecx, xmm8
mov r8, r12
lea r12, [0x1401e2e80]
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.140004960
jmp 0x140022ec7
movaps xmm6, xmm8
movsxd rbx, eax
movaps xmm0, xmm8
mulsd xmm6, xmm11
call fcn.140135fe0
mulsd xmm0, xmm11
lea rax, str._s_0.0f_s__s
mov r8, r12
lea r9, str._s_0.1f_s__s
lea r12, [0x1401e2e80]
mov edx, 0x20
mov rcx, r12
subsd xmm6, xmm0
comisd xmm12, xmm6
cmova r9, rax
mov rax, qword [0x14019f4e0]
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.140004960
lea rbx, [0x140166080]
mov rdx, r12
mov byte [0x1401e2e9f], dil
lea rcx, str.File_length:__s
call fcn.14004f910
cmp dword [0x14019f510], edi
mov eax, edi
movaps xmm8, xmmword [rsp + 0x2ac0]
je 0x140022fd2
comisd xmm10, xmm7
ja 0x140022f07
inc eax
mulsd xmm7, xmm9
cmp eax, 5
jl 0x140022ef4
test eax, eax
jne 0x140022f39
mov rax, qword [0x14019f4e0]
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 0x140022f97
movaps xmm6, xmm7
movsxd rbx, eax
movaps xmm0, xmm7
mulsd xmm6, xmm11
call fcn.140135fe0
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 [0x14019f4e0]
mov rax, qword [rax + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x140166080]
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.140004960
mov rcx, rsi
mov byte [0x1401e2e9f], dil
lea rbx, str.__s___s
mov qword [rsp + 0x78], r12
call fcn.140022210
mov r12, rax
mov rax, qword [rsp + 0x78]
jmp 0x1400230a0
comisd xmm10, xmm7
ja 0x140022fe5
inc eax
mulsd xmm7, xmm9
cmp eax, 5
jl 0x140022fd2
test eax, eax
jne 0x140023019
mov rax, qword [0x14019f4e0]
lea r9, str._s_d_s__s
cvttsd2si ecx, xmm7
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x14015644e]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
jmp 0x140023072
movaps xmm6, xmm7
movsxd rbx, eax
movaps xmm0, xmm7
mulsd xmm6, xmm11
call fcn.140135fe0
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 [0x14019f4e0]
mov rax, qword [rax + rbx*8 + 0xa0]
mov qword [rsp + 0x38], rax
lea rax, [0x14015644e]
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.140004960
mov rcx, rsi
mov byte [0x1401e2e9f], dil
lea rbx, [0x14015e868]
call fcn.140022210
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.140004960
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.140020c90
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 0x1400231b0
mov rcx, r15
call fcn.1400215a0
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 0x140023174
mov rcx, rbx
call fcn.1400e9080
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp r12, 0xffffffffffffffff
jne 0x140023292
call fcn.140050120
mov rdx, qword [rsp + 0x50]
lea rcx, str.Unable_to_create_file__s:__s
mov r8, rax
call fcn.14004f910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1401e0f40], eax
jmp 0x140023456
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x14002325f
lea rcx, str.No_buffer_pointer_provided_for_download
call fcn.14004f910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1401e0f40], eax
mov rcx, qword [rsp + 0x58]
call qword [0x1401e0e68]
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 0x14002321b
mov rcx, rax
call qword [0x1401e0e68]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14002322d
mov rcx, rax
call qword [0x1401e0e68]
mov ecx, dword [0x1401e0f40]
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.1400b1f80
add rsp, 0x2b20
pop r13
pop rdi
pop rbp
ret
lea rcx, [r14 + 1]
mov edx, 1
call fcn.1400c537c
mov qword [rbx], rax
test rax, rax
jne 0x140023297
lea rcx, str.Could_not_allocate_buffer_for_download
call fcn.14004f910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1401e0f40], eax
jmp 0x140023491
mov rbx, qword [rsp + 0x70]
test dword [0x14019f0a0], 0x80000000
jne 0x140023349
mov rsi, qword [rsp + 0x60]
nop dword [rax]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x44]
mov r8d, 0x2800
lea rdx, [rbp + 0x170]
call qword [0x1401e0f38]
test eax, eax
je 0x1400233c2
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x1400233c2
test rsi, rsi
je 0x140023303
mov r9, r14
mov dword [rsp + 0x20], edi
mov r8, r13
mov edx, 0xca9
mov ecx, 0xfffffffe
call fcn.140066e30
mov eax, dword [rsp + 0x44]
lea rdx, [rbp + 0x170]
test r15, r15
je 0x14002337c
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 0x1400233a7
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x68]
cmp r9d, r8d
je 0x14002338f
mov rdx, qword [rsp + 0x50]
lea rcx, str.Error_writing_file__s:_Only__d__d_bytes_written
call fcn.14004f910
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1401e0f40], eax
cmp r12, 0xffffffffffffffff
je 0x14002336f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1400231d6
jmp 0x140023451
mov rcx, qword [rbx]
add rcx, r13
mov r8d, eax
call fcn.1401362c0
mov r9d, dword [rsp + 0x44]
mov eax, r9d
add r13, rax
test dword [0x14019f0a0], 0x80000000
je 0x1400232b0
jmp 0x140023349
call fcn.140050120
mov rdx, qword [rsp + 0x50]
lea rcx, str.Error_writing_file__s:__s
mov r8, rax
call fcn.14004f910
jmp 0x140023349
cmp r13, r14
je 0x1400233e8
mov r8, r14
lea rcx, str.Could_not_download_complete_file___read:__lld_bytes__expected:__lld_bytes
mov rdx, r13
call fcn.14004f910
mov dword [0x14019f0a0], 0xc003001d
jmp 0x140023349
mov dword [0x1401e8a74], 0xc8
mov ebx, 1
mov dword [rsp + 0x40], ebx
test rsi, rsi
je 0x14002334b
mov r9, r14
mov dword [rsp + 0x20], edi
mov r8, r14
lea ecx, [rbx - 3]
mov edx, 0xca9
call fcn.140066e30
mov rdx, qword [rsp + 0x50]
lea rcx, str.Successfully_downloaded__s
call fcn.14004f910
jmp 0x14002334b
call fcn.140050120
lea rcx, str.Unable_to_decode_URL:__s
mov rdx, rax
call fcn.14004f910
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x1401e0f40], eax
test r15, r15
je 0x140023487
mov rcx, r15
call fcn.1400215a0
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 0x14002347f
mov rcx, rbx
call fcn.1400e9080
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14002349c
mov rcx, qword [rbx]
call fcn.1400e9080
mov qword [rbx], rdi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400231e1
jmp 0x1400231db