Function at 0x1400082c4
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.1400149c0
sub rsp, rax
mov rax, qword [0x1400370c8]
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 - 0x50], rdx
mov r13, r9
lea ebx, [rax + 0x38]
mov qword [rbp - 0x58], rcx
mov r8d, ebx
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rbp - 0x68], eax
lea rcx, [rbp + 0x28]
mov dword [rsp + 0x78], 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 - 0x48], rax
mov qword [rbp - 0x60], rax
mov dword [rsp + 0x70], eax
mov dword [rbp - 0x20], 0x100
call fcn.140015700
lea eax, [rsi + 2]
mov dword [rbp + 0x28], ebx
mov dword [rbp + 0x2c], eax
call fcn.140005ba8
mov rcx, qword [0x140037aa0]
lea r8, [rsp + 0x68]
lea rdx, str.system:write
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x140008fbb
mov ebx, 0x2608
lea rcx, [rbp + 0xd0]
mov r8d, ebx
xor edx, edx
call fcn.140015700
mov rsi, qword [rbp - 0x50]
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 0x1400083ef
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x1400083fa
mov ebx, 0x80004004
mov rdi, r15
mov r14, rdi
jmp 0x1400088ad
mov rax, qword [rdi]
mov rcx, rdi
mov rdx, qword [rbp - 0x58]
call qword [rax + 0x10]
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x24], eax
lea rcx, [rbp + 0x26e0]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, qword [rbp - 0x58]
lea rax, [rbp + 0x26e0]
lea rdx, [rbp + 0x28]
mov qword [rbp + 0x30], rax
call qword [sym.imp.USERENV.dll_LoadUserProfileA]
mov rdx, qword [rbp - 0x58]
mov ecx, r15d
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x78], ecx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x14000846f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400083ef
mov ecx, 1
lea eax, [rdi - 2]
mov dword [rbp - 0x68], ecx
cmp eax, ecx
jbe 0x140008b9a
cmp edi, 4
jne 0x140008b90
lea r8d, [rcx + 0x5f]
mov dword [rsp + 0x74], 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 0x14000851c
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 0x1400083ef
jmp 0x140008521
mov esi, 0x80070000
lea r9, [rsp + 0x74]
mov edx, edi
lea r8, [rbp + 0x2c00]
lea rcx, [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x140008555
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400083ef
and dword [rsp + 0x20], r15d
lea rcx, [0x140029fc8]
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 0x140008594
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fb3
xor r14d, r14d
mov edi, r14d
lea r15d, [r14 + 3]
and dword [rbp - 0x78], 0
and dword [rsp + 0x7c], 0
mov dword [rbp - 0x28], 4
test rdi, rdi
je 0x1400085bc
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400085cc
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 0x14000860d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088a3
and dword [rsp + 0x30], 0
lea r8, [rbp + 0x29f0]
and qword [rsp + 0x28], 0
lea rdx, [0x14002a368]
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 0x140008661
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088a3
xor esi, esi
and dword [rbp - 0x40], 0
lea rcx, [rbp - 0x18]
xor edx, edx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
lea r8d, [rdx + 0x20]
call fcn.140015700
and dword [rbp + 0x20], 0
mov ecx, 1
xor edi, edi
mov dword [rbp + 8], ecx
mov dword [rbp + 0x24], ecx
xorps xmm0, xmm0
mov dword [rbp + 0xc], r15d
mov eax, esi
movdqu xmmword [rbp + 0x10], xmm0
test esi, esi
je 0x14000872c
sub eax, ecx
je 0x1400086bb
cmp eax, ecx
jne 0x140008791
mov dword [rbp - 0x40], ecx
mov edi, ecx
jmp 0x140008778
lea rcx, [rbp - 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140008791
cmp qword [rbp - 8], rdi
je 0x140008791
mov edx, 0x208
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 0x208
xor ecx, ecx
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, qword [rbp - 0x38]
mov qword [rbp - 0x30], rax
test rcx, rcx
je 0x140008791
test rax, rax
je 0x140008791
mov r8, qword [rbp - 8]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rbp - 0x40], r15d
call fcn.140018a60
mov edi, 1
jmp 0x140008778
lea rcx, [rbp - 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140008791
cmp dword [rbp - 0x18], edi
je 0x140008791
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x140008750
or dword [rbp + 8], 2
mov qword [rbp + 0x10], rax
mov rcx, qword [rsp + 0x40]
lea r9, [rbp - 0x40]
mov eax, 1
lea r8, [rbp + 8]
lea rdx, [rbp + 0x2c00]
mov dword [rbp + 0x24], eax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov edi, eax
test eax, eax
je 0x140008791
mov rcx, qword [rsp + 0x40]
lea r8, [rbp - 0x40]
mov r9d, 0x18
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400087a5
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x10], 0
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400087b9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 8], 0
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400087cd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp], 0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400087e1
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x38], 0
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x1400087f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x30], 0
test edi, edi
mov rdi, qword [rsp + 0x58]
je 0x14000882a
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 0x140008968
inc esi
cmp esi, r15d
jb 0x140008663
mov sil, byte [rsp + 0x60]
test sil, sil
jne 0x140008843
test ebx, ebx
js 0x1400088a3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140008856
test ebx, ebx
js 0x1400088a3
lea rax, [rsp + 0x7c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x78]
lea rax, [rbp - 0x28]
mov edx, 0x20000013
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140008979
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 0x14000897e
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x1400088d9
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rdi, rdi
je 0x1400088e7
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor edi, edi
test r15, r15
je 0x1400088f7
mov rcx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x140008905
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp rsi, 0xffffffffffffffff
je 0x140008914
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x68], edi
je 0x140008fc6
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x140008fc6
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.140013a8c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 1
mov sil, al
mov byte [rsp + 0x60], al
jmp 0x14000883a
mov esi, 0x80070000
mov eax, dword [rbp - 0x78]
cmp eax, 0x194
ja 0x140008a7d
je 0x140008ad3
cmp eax, 0xc8
je 0x140008a78
cmp eax, 0x12c
jbe 0x140008ac9
cmp eax, 0x12f
ja 0x140008ab3
and dword [rsp + 0x7c], 0
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x2c00]
xor r8d, r8d
mov dword [rsp + 0x74], 0x824
lea rax, [rsp + 0x74]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x33]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140008a07
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088a3
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 0x140008a39
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088a3
lea r9, [rsp + 0x74]
mov edx, 0x80000000
lea r8, [rbp + 0x2c00]
lea rcx, [rbp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x140008a70
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, esi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400088a3
mov r14d, 1
jmp 0x140008aa5
xor r14d, r14d
jmp 0x140008aa5
cmp eax, 0x198
je 0x140008aa0
cmp eax, 0x1f4
je 0x140008ad3
cmp eax, 0x1f5
jbe 0x140008ac9
cmp eax, 0x1f7
jbe 0x140008ad3
cmp eax, 0x1f8
jne 0x140008ac9
mov ebx, 0x80070102
test ebx, ebx
jne 0x140008add
test r14d, r14d
je 0x140008ae3
jmp 0x14000859e
add eax, 0xfffffe6f
test eax, 0xfffffffd
jne 0x140008ac9
mov ebx, 0x80070005
jmp 0x1400088a3
mov ebx, 0x8000ffff
jmp 0x1400088a3
mov ebx, 0x80070002
jmp 0x1400088a3
js 0x1400088a3
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.1400130ec
mov ebx, eax
test eax, eax
js 0x1400088a3
test r13, r13
je 0x140008b71
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008b29
jne 0x140008b12
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008b29
mov rcx, qword [rbp - 0x50]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
xor r15d, r15d
jmp 0x140008b75
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008b65
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r12]
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
inc edi
add r12, 8
cmp edi, esi
jb 0x140008b35
xor ebx, ebx
mov rdi, qword [rsp + 0x58]
jmp 0x1400088a3
mov r15, qword [rbp - 0x70]
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140013198
mov ebx, eax
test eax, eax
js 0x1400088a3
jmp 0x140008cb7
mov ebx, 0x8007000f
jmp 0x1400083ef
mov eax, 0x8000080
mov r15d, 3
cmp edi, 2
jne 0x140008bb3
cmp dword [0x140037ab0], 0
je 0x140008bc1
cmp edi, r15d
jne 0x140008bc6
cmp dword [0x140037ab8], 0
jne 0x140008bc6
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 0x140008c17
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fa6
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140011bf0
mov ebx, eax
test eax, eax
js 0x140008fa6
test r13, r13
je 0x140008c66
mov eax, dword [rbp - 0x7c]
cmp eax, dword [r13 + 4]
jb 0x140008d71
jne 0x140008c4e
mov eax, dword [r13]
cmp dword [rbp - 0x80], eax
jbe 0x140008d71
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 - 0x48]
mov rcx, rdi
call fcn.140010714
mov ebx, eax
test eax, eax
js 0x140008fa6
test r14, r14
jle 0x140008cb3
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x140008cb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008fa6
mov r15, qword [rbp - 0x70]
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
lea r13d, [rdi + 1]
test esi, esi
je 0x140008cf3
mov r14, r12
mov rcx, qword [r14]
lea r9, [rbp - 0x80]
mov rdx, qword [rbp - 0x48]
mov r8, r15
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x140008b67
add edi, r13d
add r14, 8
cmp edi, esi
jb 0x140008cca
cmp qword [rbp - 0x48], 0
jne 0x140008dc0
xor edi, edi
test esi, esi
je 0x140008b65
or r14, 0xffffffffffffffff
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, r13d
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, 2
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
add edi, r13d
add r12, 8
cmp edi, esi
jb 0x140008d0c
jmp 0x140008b65
mov esi, dword [rbp + 0x3cd0]
xor edi, edi
test esi, esi
je 0x140008db1
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r12]
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008fa6
inc edi
add r12, 8
cmp edi, esi
jb 0x140008d7d
xor ebx, ebx
mov edi, ebx
mov r15d, ebx
mov r14d, ebx
jmp 0x1400088ad
movsxd r14, dword [rbp - 0x24]
mov ecx, r14d
sub ecx, 2
je 0x140008ded
sub ecx, 1
je 0x140008de5
cmp ecx, 1
je 0x140008ddd
mov edi, 0x10000
jmp 0x140008e04
mov edi, dword [0x140037ac4]
jmp 0x140008df3
mov edi, dword [0x140037abc]
jmp 0x140008df3
mov edi, dword [0x140037ab4]
mov ecx, dword [0x140037aa8]
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 - 0x60], rax
test rax, rax
jne 0x140008e3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008b67
test ebx, ebx
jne 0x140008b65
mov r13, r14
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140008f5d
mov rdx, qword [rbp - 0x60]
lea rax, [r13 - 2]
lea r9, [rsp + 0x70]
mov r8d, edi
cmp rax, 1
jbe 0x140008e7d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x140008e8e
and qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140008eae
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008b67
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140008f02
xor r15d, r15d
test esi, esi
je 0x140008f50
mov r14, r12
mov rdx, qword [r14]
or r9, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x60]
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], rax
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
inc r15d
add r14, 8
cmp r15d, esi
jae 0x140008f50
mov eax, dword [rsp + 0x70]
jmp 0x140008ec4
xor r14d, r14d
test esi, esi
je 0x140008f49
mov r15, r12
and dword [rsp + 0x28], 0
or r9, 0xffffffffffffffff
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
mov eax, 1
add r15, 8
add r14d, eax
cmp r14d, esi
jb 0x140008f0c
jmp 0x140008f4e
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x140008e48
jmp 0x140008b65
xor edi, edi
test esi, esi
je 0x140008b65
or r14, 0xffffffffffffffff
and dword [rsp + 0x28], 0
mov r9, r14
mov rdx, qword [r12]
mov r8d, 4
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x20], 0
call fcn.14000fae8
mov ebx, eax
test eax, eax
js 0x140008b67
inc edi
add r12, 8
cmp edi, esi
jb 0x140008f6b
jmp 0x140008b65
mov rdi, qword [rsp + 0x58]
mov r15, rdi
jmp 0x1400083f2
mov rdi, r15
jmp 0x1400088ad
mov rdi, r15
mov r14, r15
jmp 0x1400088b2
cmp dword [rsp + 0x78], edi
je 0x140008fda
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140008fea
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp + 0x3c50]
xor rcx, rsp
call fcn.1400148c0
mov rbx, qword [rsp + 0x3db8]
add rsp, 0x3d60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret