Function at 0x1400082fc
Capabilities:
Check http status code
Get session user name
Impersonate user
Initialize winhttp library
Prepare http request
Read file on windows
Read http header
Receive http response
Terminate process

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c60]
mov eax, 0x3d60
call fcn.1400149f0
sub rsp, rax
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rbp + 0x3c50], rax
mov r12, qword [rbp + 0x3cc8]
xor eax, eax
mov rdi, qword [rbp + 0x3cd8]
mov r14, r8
mov qword [rbp - 0x70], r8
or rsi, 0xffffffffffffffff
mov qword [rbp - 0x58], rdx
mov r13, r9
lea ebx, [rax + 0x38]
mov qword [rbp - 0x50], rcx
mov r8d, ebx
mov qword [rsp + 0x70], rax
xor edx, edx
mov dword [rbp - 0x74], eax
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x7c], eax
mov qword [rsp + 0x48], rsi
mov r15d, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x68], eax
mov dword [rbp - 0x30], 0x100
call fcn.140015780
lea eax, [rsi + 2]
mov dword [rbp + 0x20], ebx
mov dword [rbp + 0x24], eax
call fcn.140005b90
mov rcx, qword [0x140038aa8]
lea r8, [rsp + 0x70]
lea rdx, str.system:write
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x140008ff5
mov ebx, 0x2608
lea rcx, [rbp + 0xd0]
mov r8d, ebx
xor edx, edx
call fcn.140015780
mov rsi, qword [rbp - 0x58]
lea r9, [rbp + 0xd0]
mov r8, rdi
mov dword [rbp + 0xd0], ebx
xor edx, edx
mov dword [rbp + 0xd4], 0x4000000
mov rcx, rsi
mov rax, qword [rsi]
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x140008427
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x140008432
mov ebx, 0x80004004
mov rdi, r15
mov r14, rdi
jmp 0x1400088e7
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp - 0x50]
call qword [rax + 0x10]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], eax
lea rcx, [rbp + 0x26e0]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, qword [rbp - 0x50]
lea rax, [rbp + 0x26e0]
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x28], rax
call qword [sym.imp.USERENV.dll_LoadUserProfileA]
mov rdx, qword [rbp - 0x50]
mov ecx, r15d
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x7c], ecx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x1400084a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008427
mov ecx, 1
lea eax, [rdi - 2]
mov dword [rbp - 0x74], ecx
cmp eax, ecx
jbe 0x140008bd4
cmp edi, 4
jne 0x140008bca
lea r8d, [rcx + 0x5f]
mov dword [rsp + 0x64], 0x824
xor sil, sil
lea rcx, [rbp + 0x68]
xor edx, edx
mov byte [rsp + 0x60], sil
call fcn.140015780
lea rax, [rbp + 0x27e0]
mov dword [rbp + 0x60], 0x68
mov qword [rbp + 0x78], rax
lea r9, [rbp + 0x60]
lea rax, [rbp + 0x29f0]
mov dword [rbp + 0x80], 0x104
mov edi, 0x80000000
mov qword [rbp + 0xa8], rax
mov r8d, edi
mov dword [rbp + 0xb0], 0x104
xor edx, edx
lea rcx, [rbp + 0x1690]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140008554
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov esi, 0x80070000
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008427
jmp 0x140008559
mov esi, 0x80070000
lea r9, [rsp + 0x64]
mov edx, edi
lea r8, [rbp + 0x2c00]
lea rcx, [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x14000858d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008427
and dword [rsp + 0x20], r15d
lea rcx, [0x140029ff8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
jne 0x1400085cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fed
xor r14d, r14d
mov edi, r14d
lea r15d, [r14 + 3]
and dword [rbp - 0x78], 0
and dword [rsp + 0x78], 0
mov dword [rbp - 0x2c], 4
test rdi, rdi
je 0x1400085f4
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140008604
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp + 0x27e0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x50], rax
mov rsi, rax
test rax, rax
jne 0x140008645
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088dd
and dword [rsp + 0x30], 0
lea r8, [rbp + 0x29f0]
and qword [rsp + 0x28], 0
lea rdx, [0x14002a398]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
jne 0x140008699
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088dd
xor esi, esi
and dword [rbp - 0x48], 0
lea rcx, [rbp - 0x20]
xor eax, eax
xor edx, edx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea r8d, [rax + 0x20]
call fcn.140015780
and dword [rbp + 0x18], 0
mov ecx, 1
xor edi, edi
mov dword [rbp], ecx
mov dword [rbp + 0x1c], ecx
xorps xmm0, xmm0
mov dword [rbp + 4], r15d
mov eax, esi
movdqu xmmword [rbp + 8], xmm0
test esi, esi
je 0x140008766
sub eax, ecx
je 0x1400086f5
cmp eax, ecx
jne 0x1400087cb
mov dword [rbp - 0x48], ecx
mov edi, ecx
jmp 0x1400087b2
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400087cb
cmp qword [rbp - 0x10], rdi
je 0x1400087cb
mov edx, 0x208
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 0x208
xor ecx, ecx
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x38], rax
test rcx, rcx
je 0x1400087cb
test rax, rax
je 0x1400087cb
mov r8, qword [rbp - 0x10]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rbp - 0x48], r15d
call fcn.140018aa0
mov edi, 1
jmp 0x1400087b2
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400087cb
cmp dword [rbp - 0x20], edi
je 0x1400087cb
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x14000878a
or dword [rbp], 2
mov qword [rbp + 8], rax
mov rcx, qword [rsp + 0x40]
lea r9, [rbp - 0x48]
mov eax, 1
lea r8, [rbp]
lea rdx, [rbp + 0x2c00]
mov dword [rbp + 0x1c], eax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov edi, eax
test eax, eax
je 0x1400087cb
mov rcx, qword [rsp + 0x40]
lea r8, [rbp - 0x48]
mov r9d, 0x18
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400087df
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x18], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400087f3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x10], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140008807
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 8], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000881b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x40], 0
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x140008832
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x38], 0
test edi, edi
mov rdi, qword [rsp + 0x58]
je 0x140008864
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x1400089a2
inc esi
cmp esi, r15d
jb 0x14000869b
mov sil, byte [rsp + 0x60]
test sil, sil
jne 0x14000887d
test ebx, ebx
js 0x1400088dd
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140008890
test ebx, ebx
js 0x1400088dd
lea rax, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x78]
lea rax, [rbp - 0x2c]
mov edx, 0x20000013
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1400089b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
mov esi, 0x80070000
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400089b8
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x140008913
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rdi, rdi
je 0x140008921
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
test r15, r15
je 0x140008931
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x14000893f
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x14000894e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x74], edi
je 0x140009000
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140009000
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x28], rdi
mov edx, 0xc0000015
movzx ebx, ax
or ebx, 0x80070000
mov qword [rsp + 0x20], rdi
test eax, eax
cmovle ebx, eax
xor r9d, r9d
mov ecx, ebx
xor r8d, r8d
call fcn.140013ac0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
mov sil, al
mov byte [rsp + 0x60], al
jmp 0x140008874
mov esi, 0x80070000
mov eax, dword [rbp - 0x78]
cmp eax, 0x194
ja 0x140008ab7
je 0x140008b0d
cmp eax, 0xc8
je 0x140008ab2
cmp eax, 0x12c
jbe 0x140008b03
cmp eax, 0x12f
ja 0x140008aed
and dword [rsp + 0x78], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x2c00]
xor r8d, r8d
mov dword [rsp + 0x64], 0x824
lea rax, [rsp + 0x64]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x33]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140008a41
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088dd
lea r9, [rbp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x2c00]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140008a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088dd
lea r9, [rsp + 0x64]
mov edx, 0x80000000
lea r8, [rbp + 0x2c00]
lea rcx, [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x140008aaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088dd
mov r14d, 1
jmp 0x140008adf
xor r14d, r14d
jmp 0x140008adf
cmp eax, 0x198
je 0x140008ada
cmp eax, 0x1f4
je 0x140008b0d
cmp eax, 0x1f5
jbe 0x140008b03
cmp eax, 0x1f7
jbe 0x140008b0d
cmp eax, 0x1f8
jne 0x140008b03
mov ebx, 0x80070102
test ebx, ebx
jne 0x140008b17
test r14d, r14d
je 0x140008b1d
jmp 0x1400085d6
add eax, 0xfffffe6f
test eax, 0xfffffffd
jne 0x140008b03
mov ebx, 0x80070005
jmp 0x1400088dd
mov ebx, 0x8000ffff
jmp 0x1400088dd
mov ebx, 0x80070002
jmp 0x1400088dd
js 0x1400088dd
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140013114
mov ebx, eax
test eax, eax
js 0x1400088dd
test r13, r13
je 0x140008bab
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008b63
jne 0x140008b4c
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008b63
mov rcx, qword [rbp - 0x58]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
xor r15d, r15d
jmp 0x140008baf
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008b9f
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r12]
mov r8d, r15d
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
inc edi
add r12, 8
cmp edi, esi
jb 0x140008b6f
xor ebx, ebx
mov rdi, qword [rsp + 0x58]
jmp 0x1400088dd
mov r15, qword [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400131c0
mov ebx, eax
test eax, eax
js 0x1400088dd
jmp 0x140008cf1
mov ebx, 0x8007000f
jmp 0x140008427
mov eax, 0x8000080
mov r15d, 3
cmp edi, 2
jne 0x140008bed
cmp dword [0x140038ab8], 0
je 0x140008bfb
cmp edi, r15d
jne 0x140008c00
cmp dword [0x140038ac0], 0
jne 0x140008c00
mov eax, 0x28000080
and qword [rsp + 0x30], 0
mov r8d, ecx
mov dword [rsp + 0x28], eax
lea rcx, [rbp + 0x1690]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140008c51
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fe0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140011c20
mov ebx, eax
test eax, eax
js 0x140008fe0
test r13, r13
je 0x140008ca0
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008dab
jne 0x140008c88
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008dab
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0xa0]
xor r14d, r14d
mov qword [rbp - 0x70], r14
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.140010744
mov ebx, eax
test eax, eax
js 0x140008fe0
test r14, r14
jle 0x140008ced
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140008ced
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fe0
mov r15, qword [rbp - 0x70]
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
lea r13d, [rdi + 1]
test esi, esi
je 0x140008d2d
mov r14, r12
mov rcx, qword [r14]
lea r9, [rbp - 0x80]
mov rdx, qword [rbp - 0x60]
mov r8, r15
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140008ba1
add edi, r13d
add r14, 8
cmp edi, esi
jb 0x140008d04
cmp qword [rbp - 0x60], 0
jne 0x140008dfa
xor edi, edi
test esi, esi
je 0x140008b9f
or r14, 0xffffffffffffffff
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, r13d
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, 2
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
add edi, r13d
add r12, 8
cmp edi, esi
jb 0x140008d46
jmp 0x140008b9f
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008deb
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r12]
mov r8d, r15d
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008fe0
inc edi
add r12, 8
cmp edi, esi
jb 0x140008db7
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov r14d, ebx
jmp 0x1400088e7
movsxd r14, dword [rbp - 0x28]
mov ecx, r14d
sub ecx, 2
je 0x140008e27
sub ecx, 1
je 0x140008e1f
cmp ecx, 1
je 0x140008e17
mov edi, 0x10000
jmp 0x140008e3e
mov edi, dword [0x140038acc]
jmp 0x140008e2d
mov edi, dword [0x140038ac4]
jmp 0x140008e2d
mov edi, dword [0x140038abc]
mov ecx, dword [0x140038ab0]
dec edi
add edi, ecx
lea eax, [rcx - 1]
not eax
and edi, eax
xor ecx, ecx
mov edx, edi
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x140008e77
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008ba1
test ebx, ebx
jne 0x140008b9f
mov r13, r14
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140008f97
mov rdx, qword [rbp - 0x68]
lea rax, [r13 - 2]
lea r9, [rsp + 0x68]
mov r8d, edi
cmp rax, 1
jbe 0x140008eb7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x140008ec8
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140008ee8
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008ba1
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140008f3c
xor r15d, r15d
test esi, esi
je 0x140008f8a
mov r14, r12
mov rdx, qword [r14]
or r9, 0xffffffffffffffff
mov rcx, qword [rsp + 0x70]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x68]
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], rax
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
inc r15d
add r14, 8
cmp r15d, esi
jae 0x140008f8a
mov eax, dword [rsp + 0x68]
jmp 0x140008efe
xor r14d, r14d
test esi, esi
je 0x140008f83
mov r15, r12
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
mov eax, 1
add r15, 8
add r14d, eax
cmp r14d, esi
jb 0x140008f46
jmp 0x140008f88
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x140008e82
jmp 0x140008b9f
xor edi, edi
test esi, esi
je 0x140008b9f
or r14, 0xffffffffffffffff
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, 4
mov rcx, qword [rsp + 0x70]
and qword [rsp + 0x20], 0
call fcn.14000fb18
mov ebx, eax
test eax, eax
js 0x140008ba1
inc edi
add r12, 8
cmp edi, esi
jb 0x140008fa5
jmp 0x140008b9f
mov rdi, qword [rsp + 0x58]
mov r15, rdi
jmp 0x14000842a
mov rdi, r15
jmp 0x1400088e7
mov rdi, r15
mov r14, r15
jmp 0x1400088ec
cmp dword [rsp + 0x7c], edi
je 0x140009014
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140009024
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x3c50]
xor rcx, rsp
call fcn.1400148f0
mov rbx, qword [rsp + 0x3db8]
add rsp, 0x3d60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret