Function at 0x140008330
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.140014cd0
sub rsp, rax
mov rax, qword [0x1400380d8]
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.140015a40
lea eax, [rsi + 2]
mov dword [rbp + 0x20], ebx
mov dword [rbp + 0x24], eax
call fcn.140005ba0
mov rcx, qword [0x140038ab8]
lea r8, [rsp + 0x70]
lea rdx, str.system:write
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x140009029
mov ebx, 0x2608
lea rcx, [rbp + 0xd0]
mov r8d, ebx
xor edx, edx
call fcn.140015a40
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 0x14000845b
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x140008466
mov ebx, 0x80004004
mov rdi, r15
mov r14, rdi
jmp 0x14000891b
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 0x1400084db
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000845b
mov ecx, 1
lea eax, [rdi - 2]
mov dword [rbp - 0x74], ecx
cmp eax, ecx
jbe 0x140008c08
cmp edi, 4
jne 0x140008bfe
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.140015a40
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 0x140008588
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 0x14000845b
jmp 0x14000858d
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 0x1400085c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000845b
and dword [rsp + 0x20], r15d
lea rcx, [0x140029fe8]
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 0x140008600
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140009021
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 0x140008628
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140008638
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 0x140008679
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008911
and dword [rsp + 0x30], 0
lea r8, [rbp + 0x29f0]
and qword [rsp + 0x28], 0
lea rdx, [0x14002a388]
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 0x1400086cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008911
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.140015a40
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 0x14000879a
sub eax, ecx
je 0x140008729
cmp eax, ecx
jne 0x1400087ff
mov dword [rbp - 0x48], ecx
mov edi, ecx
jmp 0x1400087e6
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400087ff
cmp qword [rbp - 0x10], rdi
je 0x1400087ff
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 0x1400087ff
test rax, rax
je 0x1400087ff
mov r8, qword [rbp - 0x10]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rbp - 0x48], r15d
call fcn.140018d70
mov edi, 1
jmp 0x1400087e6
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x1400087ff
cmp dword [rbp - 0x20], edi
je 0x1400087ff
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x1400087be
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 0x1400087ff
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 0x140008813
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x18], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140008827
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x10], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000883b
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 8], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14000884f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x40], 0
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x140008866
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x38], 0
test edi, edi
mov rdi, qword [rsp + 0x58]
je 0x140008898
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 0x1400089d6
inc esi
cmp esi, r15d
jb 0x1400086cf
mov sil, byte [rsp + 0x60]
test sil, sil
jne 0x1400088b1
test ebx, ebx
js 0x140008911
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x1400088c4
test ebx, ebx
js 0x140008911
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 0x1400089e7
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 0x1400089ec
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 0x140008947
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rdi, rdi
je 0x140008955
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
test r15, r15
je 0x140008965
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x140008973
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x140008982
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x74], edi
je 0x140009034
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140009034
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.140013dac
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
mov sil, al
mov byte [rsp + 0x60], al
jmp 0x1400088a8
mov esi, 0x80070000
mov eax, dword [rbp - 0x78]
cmp eax, 0x194
ja 0x140008aeb
je 0x140008b41
cmp eax, 0xc8
je 0x140008ae6
cmp eax, 0x12c
jbe 0x140008b37
cmp eax, 0x12f
ja 0x140008b21
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 0x140008a75
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008911
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 0x140008aa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008911
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 0x140008ade
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008911
mov r14d, 1
jmp 0x140008b13
xor r14d, r14d
jmp 0x140008b13
cmp eax, 0x198
je 0x140008b0e
cmp eax, 0x1f4
je 0x140008b41
cmp eax, 0x1f5
jbe 0x140008b37
cmp eax, 0x1f7
jbe 0x140008b41
cmp eax, 0x1f8
jne 0x140008b37
mov ebx, 0x80070102
test ebx, ebx
jne 0x140008b4b
test r14d, r14d
je 0x140008b51
jmp 0x14000860a
add eax, 0xfffffe6f
test eax, 0xfffffffd
jne 0x140008b37
mov ebx, 0x80070005
jmp 0x140008911
mov ebx, 0x8000ffff
jmp 0x140008911
mov ebx, 0x80070002
jmp 0x140008911
js 0x140008911
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14001340c
mov ebx, eax
test eax, eax
js 0x140008911
test r13, r13
je 0x140008bdf
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008b97
jne 0x140008b80
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008b97
mov rcx, qword [rbp - 0x58]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
xor r15d, r15d
jmp 0x140008be3
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008bd3
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
inc edi
add r12, 8
cmp edi, esi
jb 0x140008ba3
xor ebx, ebx
mov rdi, qword [rsp + 0x58]
jmp 0x140008911
mov r15, qword [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.1400134b8
mov ebx, eax
test eax, eax
js 0x140008911
jmp 0x140008d25
mov ebx, 0x8007000f
jmp 0x14000845b
mov eax, 0x8000080
mov r15d, 3
cmp edi, 2
jne 0x140008c21
cmp dword [0x140038ac8], 0
je 0x140008c2f
cmp edi, r15d
jne 0x140008c34
cmp dword [0x140038ad0], 0
jne 0x140008c34
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 0x140008c85
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140009014
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140011f10
mov ebx, eax
test eax, eax
js 0x140009014
test r13, r13
je 0x140008cd4
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008ddf
jne 0x140008cbc
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008ddf
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.14001076c
mov ebx, eax
test eax, eax
js 0x140009014
test r14, r14
jle 0x140008d21
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140008d21
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140009014
mov r15, qword [rbp - 0x70]
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
lea r13d, [rdi + 1]
test esi, esi
je 0x140008d61
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 0x140008bd5
add edi, r13d
add r14, 8
cmp edi, esi
jb 0x140008d38
cmp qword [rbp - 0x60], 0
jne 0x140008e2e
xor edi, edi
test esi, esi
je 0x140008bd3
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
add edi, r13d
add r12, 8
cmp edi, esi
jb 0x140008d7a
jmp 0x140008bd3
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008e1f
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140009014
inc edi
add r12, 8
cmp edi, esi
jb 0x140008deb
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov r14d, ebx
jmp 0x14000891b
movsxd r14, dword [rbp - 0x28]
mov ecx, r14d
sub ecx, 2
je 0x140008e5b
sub ecx, 1
je 0x140008e53
cmp ecx, 1
je 0x140008e4b
mov edi, 0x10000
jmp 0x140008e72
mov edi, dword [0x140038adc]
jmp 0x140008e61
mov edi, dword [0x140038ad4]
jmp 0x140008e61
mov edi, dword [0x140038acc]
mov ecx, dword [0x140038ac0]
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 0x140008eab
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008bd5
test ebx, ebx
jne 0x140008bd3
mov r13, r14
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140008fcb
mov rdx, qword [rbp - 0x68]
lea rax, [r13 - 2]
lea r9, [rsp + 0x68]
mov r8d, edi
cmp rax, 1
jbe 0x140008eeb
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x140008efc
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140008f1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008bd5
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140008f70
xor r15d, r15d
test esi, esi
je 0x140008fbe
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
inc r15d
add r14, 8
cmp r15d, esi
jae 0x140008fbe
mov eax, dword [rsp + 0x68]
jmp 0x140008f32
xor r14d, r14d
test esi, esi
je 0x140008fb7
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
mov eax, 1
add r15, 8
add r14d, eax
cmp r14d, esi
jb 0x140008f7a
jmp 0x140008fbc
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x140008eb6
jmp 0x140008bd3
xor edi, edi
test esi, esi
je 0x140008bd3
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.14000fb40
mov ebx, eax
test eax, eax
js 0x140008bd5
inc edi
add r12, 8
cmp edi, esi
jb 0x140008fd9
jmp 0x140008bd3
mov rdi, qword [rsp + 0x58]
mov r15, rdi
jmp 0x14000845e
mov rdi, r15
jmp 0x14000891b
mov rdi, r15
mov r14, r15
jmp 0x140008920
cmp dword [rsp + 0x7c], edi
je 0x140009048
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 0x140009058
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x3c50]
xor rcx, rsp
call fcn.140014bd0
mov rbx, qword [rsp + 0x3db8]
add rsp, 0x3d60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret