Function at 0x1400082ac
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.1400149a0
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.140015700
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 0x140008fa5
mov ebx, 0x2608
lea rcx, [rbp + 0xd0]
mov r8d, ebx
xor edx, edx
call fcn.140015700
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 0x1400083d7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x1400083e2
mov ebx, 0x80004004
mov rdi, r15
mov r14, rdi
jmp 0x140008897
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 0x140008457
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400083d7
mov ecx, 1
lea eax, [rdi - 2]
mov dword [rbp - 0x74], ecx
cmp eax, ecx
jbe 0x140008b84
cmp edi, 4
jne 0x140008b7a
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.140015700
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 0x140008504
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 0x1400083d7
jmp 0x140008509
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 0x14000853d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400083d7
and dword [rsp + 0x20], r15d
lea rcx, [0x140029fa8]
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 0x14000857c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f9d
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 0x1400085a4
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400085b4
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 0x1400085f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000888d
and dword [rsp + 0x30], 0
lea r8, [rbp + 0x29f0]
and qword [rsp + 0x28], 0
lea rdx, [0x14002a348]
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 0x140008649
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000888d
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.140015700
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 0x140008716
sub eax, ecx
je 0x1400086a5
cmp eax, ecx
jne 0x14000877b
mov dword [rbp - 0x48], ecx
mov edi, ecx
jmp 0x140008762
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x14000877b
cmp qword [rbp - 0x10], rdi
je 0x14000877b
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 0x14000877b
test rax, rax
je 0x14000877b
mov r8, qword [rbp - 0x10]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rbp - 0x48], r15d
call fcn.140018a30
mov edi, 1
jmp 0x140008762
lea rcx, [rbp - 0x20]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x14000877b
cmp dword [rbp - 0x20], edi
je 0x14000877b
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x14000873a
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 0x14000877b
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 0x14000878f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x18], 0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400087a3
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x10], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400087b7
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 8], 0
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400087cb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x40], 0
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x1400087e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x38], 0
test edi, edi
mov rdi, qword [rsp + 0x58]
je 0x140008814
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 0x140008952
inc esi
cmp esi, r15d
jb 0x14000864b
mov sil, byte [rsp + 0x60]
test sil, sil
jne 0x14000882d
test ebx, ebx
js 0x14000888d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140008840
test ebx, ebx
js 0x14000888d
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 0x140008963
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 0x140008968
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 0x1400088c3
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rdi, rdi
je 0x1400088d1
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
test r15, r15
je 0x1400088e1
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x1400088ef
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x1400088fe
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x74], edi
je 0x140008fb0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140008fb0
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.140013a70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
mov sil, al
mov byte [rsp + 0x60], al
jmp 0x140008824
mov esi, 0x80070000
mov eax, dword [rbp - 0x78]
cmp eax, 0x194
ja 0x140008a67
je 0x140008abd
cmp eax, 0xc8
je 0x140008a62
cmp eax, 0x12c
jbe 0x140008ab3
cmp eax, 0x12f
ja 0x140008a9d
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 0x1400089f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000888d
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 0x140008a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000888d
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 0x140008a5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000888d
mov r14d, 1
jmp 0x140008a8f
xor r14d, r14d
jmp 0x140008a8f
cmp eax, 0x198
je 0x140008a8a
cmp eax, 0x1f4
je 0x140008abd
cmp eax, 0x1f5
jbe 0x140008ab3
cmp eax, 0x1f7
jbe 0x140008abd
cmp eax, 0x1f8
jne 0x140008ab3
mov ebx, 0x80070102
test ebx, ebx
jne 0x140008ac7
test r14d, r14d
je 0x140008acd
jmp 0x140008586
add eax, 0xfffffe6f
test eax, 0xfffffffd
jne 0x140008ab3
mov ebx, 0x80070005
jmp 0x14000888d
mov ebx, 0x8000ffff
jmp 0x14000888d
mov ebx, 0x80070002
jmp 0x14000888d
js 0x14000888d
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140013054
mov ebx, eax
test eax, eax
js 0x14000888d
test r13, r13
je 0x140008b5b
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008b13
jne 0x140008afc
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008b13
mov rcx, qword [rbp - 0x58]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
xor r15d, r15d
jmp 0x140008b5f
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008b4f
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
inc edi
add r12, 8
cmp edi, esi
jb 0x140008b1f
xor ebx, ebx
mov rdi, qword [rsp + 0x58]
jmp 0x14000888d
mov r15, qword [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call fcn.140013100
mov ebx, eax
test eax, eax
js 0x14000888d
jmp 0x140008ca1
mov ebx, 0x8007000f
jmp 0x1400083d7
mov eax, 0x8000080
mov r15d, 3
cmp edi, 2
jne 0x140008b9d
cmp dword [0x140038ab8], 0
je 0x140008bab
cmp edi, r15d
jne 0x140008bb0
cmp dword [0x140038ac0], 0
jne 0x140008bb0
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 0x140008c01
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f90
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140011bd0
mov ebx, eax
test eax, eax
js 0x140008f90
test r13, r13
je 0x140008c50
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008d5b
jne 0x140008c38
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008d5b
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.1400106f4
mov ebx, eax
test eax, eax
js 0x140008f90
test r14, r14
jle 0x140008c9d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140008c9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f90
mov r15, qword [rbp - 0x70]
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
lea r13d, [rdi + 1]
test esi, esi
je 0x140008cdd
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 0x140008b51
add edi, r13d
add r14, 8
cmp edi, esi
jb 0x140008cb4
cmp qword [rbp - 0x60], 0
jne 0x140008daa
xor edi, edi
test esi, esi
je 0x140008b4f
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
add edi, r13d
add r12, 8
cmp edi, esi
jb 0x140008cf6
jmp 0x140008b4f
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008d9b
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008f90
inc edi
add r12, 8
cmp edi, esi
jb 0x140008d67
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov r14d, ebx
jmp 0x140008897
movsxd r14, dword [rbp - 0x28]
mov ecx, r14d
sub ecx, 2
je 0x140008dd7
sub ecx, 1
je 0x140008dcf
cmp ecx, 1
je 0x140008dc7
mov edi, 0x10000
jmp 0x140008dee
mov edi, dword [0x140038acc]
jmp 0x140008ddd
mov edi, dword [0x140038ac4]
jmp 0x140008ddd
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 0x140008e27
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008b51
test ebx, ebx
jne 0x140008b4f
mov r13, r14
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140008f47
mov rdx, qword [rbp - 0x68]
lea rax, [r13 - 2]
lea r9, [rsp + 0x68]
mov r8d, edi
cmp rax, 1
jbe 0x140008e67
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x140008e78
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140008e98
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008b51
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140008eec
xor r15d, r15d
test esi, esi
je 0x140008f3a
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
inc r15d
add r14, 8
cmp r15d, esi
jae 0x140008f3a
mov eax, dword [rsp + 0x68]
jmp 0x140008eae
xor r14d, r14d
test esi, esi
je 0x140008f33
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
mov eax, 1
add r15, 8
add r14d, eax
cmp r14d, esi
jb 0x140008ef6
jmp 0x140008f38
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x140008e32
jmp 0x140008b4f
xor edi, edi
test esi, esi
je 0x140008b4f
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.14000fac8
mov ebx, eax
test eax, eax
js 0x140008b51
inc edi
add r12, 8
cmp edi, esi
jb 0x140008f55
jmp 0x140008b4f
mov rdi, qword [rsp + 0x58]
mov r15, rdi
jmp 0x1400083da
mov rdi, r15
jmp 0x140008897
mov rdi, r15
mov r14, r15
jmp 0x14000889c
cmp dword [rsp + 0x7c], edi
je 0x140008fc4
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 0x140008fd4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x3c50]
xor rcx, rsp
call fcn.1400148a0
mov rbx, qword [rsp + 0x3db8]
add rsp, 0x3d60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret