Function at 0x1400085a0
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
mov rbp, rsp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x3d60
call fcn.140010958
sub rsp, rax
mov rax, qword [0x140027098]
xor rax, rsp
mov qword [rbp - 0x38], rax
mov r13, qword [rbp + 0x30]
mov rdi, qword [rbp + 0x40]
xor eax, eax
lea ebx, [rax + 0x38]
mov qword [rsp + 0x3cd0], rcx
mov r14, r8
mov qword [rsp + 0x3cc8], r8
mov qword [rsp + 0x3cd8], rdx
lea rcx, [rsp + 0x90]
or r12, 0xffffffffffffffff
mov r8d, ebx
xor edx, edx
mov r15, r9
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x3cc0], eax
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov esi, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x3ce0], rax
mov qword [rsp + 0x3ce8], rax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x3d08], 0x100
call fcn.140010880
lea eax, [rsi + 1]
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x90], ebx
call fcn.140005fd0
mov rcx, qword [0x140028398]
lea r8, [rsp + 0x68]
lea rdx, str.system:write
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1400086f1
mov ebx, 0x2608
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, ebx
call fcn.140010880
mov rsi, qword [rsp + 0x3cd8]
lea r9, [rsp + 0x140]
mov rax, qword [rsi]
mov r8, rdi
xor edx, edx
mov rcx, rsi
mov dword [rsp + 0x140], ebx
mov dword [rsp + 0x144], 0x4000000
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x1400086ec
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test eax, eax
je 0x1400087b9
mov ebx, 0x80004004
mov rsi, qword [rsp + 0x50]
mov r14, rsi
mov rdi, rsi
mov rcx, qword [rsp + 0x3cd8]
mov rax, qword [rcx]
call qword [rax + 0xc8]
mov rax, qword [rsp + 0x3ce8]
test rax, rax
je 0x140008726
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test rsi, rsi
je 0x140008734
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor esi, esi
test rdi, rdi
je 0x140008744
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
test r14, r14
je 0x140008752
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp r12, 0xffffffffffffffff
je 0x140008761
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x3cc0], esi
je 0x1400093ec
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x1400093ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0xc0000015
mov qword [rsp + 0x28], rsi
movzx ebx, ax
mov qword [rsp + 0x20], rsi
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
xor r9d, r9d
xor r8d, r8d
mov ecx, ebx
call fcn.1400191bc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rdi]
mov rdx, qword [rsp + 0x3cd0]
mov rcx, rdi
call qword [rax + 0x10]
lea rdx, [rsp + 0x3d08]
lea rcx, [rsp + 0x2750]
mov edi, eax
mov dword [rsp + 0x3d0c], eax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov rcx, qword [rsp + 0x3cd0]
lea r11, [rsp + 0x2750]
lea rdx, [rsp + 0x90]
mov qword [rsp + 0x98], r11
call qword [sym.imp.USERENV.dll_LoadUserProfileA]
mov ecx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x3cd0]
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 0x140008851
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400086ec
mov ecx, 1
mov dword [rsp + 0x3cc0], ecx
cmp edi, 2
je 0x140008f70
cmp edi, 3
je 0x140008f70
cmp edi, 4
jne 0x140008f66
lea r8d, [rcx + 0x5f]
lea rcx, [rsp + 0xd8]
xor dil, dil
xor edx, edx
mov dword [rsp + 0x74], 0x824
mov byte [rsp + 0x60], dil
call fcn.140010880
lea rax, [rsp + 0x2850]
mov r12d, 0x80000000
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x2a60]
lea r9, [rsp + 0xd0]
lea rcx, [rsp + 0x1700]
mov r8d, r12d
xor edx, edx
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xd0], 0x68
mov dword [rsp + 0xf0], 0x104
mov dword [rsp + 0x120], 0x104
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140008929
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x80070000
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14000892e
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
jmp 0x1400086f1
mov edi, 0x80070000
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x2c70]
lea rcx, [rsp + 0xd0]
mov edx, r12d
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x140008964
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000891a
and dword [rsp + 0x20], 0
lea rcx, [0x140020f98]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400089a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400093d3
xor r14d, r14d
mov esi, r14d
and dword [rsp + 0x88], 0
and dword [rsp + 0x7c], 0
mov dword [rbp - 0x80], 4
test rsi, rsi
je 0x1400089cb
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400089de
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2850]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140008a20
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400093e2
and dword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x2a60]
lea rdx, [0x140021350]
xor r9d, r9d
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x140008a75
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400093e2
xor esi, esi
and dword [rsp + 0x3cf0], 0
xor eax, eax
lea rcx, [rbp - 0x78]
lea r8d, [rax + 0x20]
xor edx, edx
mov qword [rsp + 0x3cf8], rax
mov qword [rsp + 0x3d00], rax
call fcn.140010880
and qword [rbp - 0x50], 0
and qword [rbp - 0x48], 0
and dword [rbp - 0x40], 0
mov edx, 1
xor edi, edi
mov dword [rbp - 0x58], edx
mov dword [rbp - 0x3c], edx
mov dword [rbp - 0x54], 3
mov ecx, esi
test esi, esi
je 0x140008b6a
dec ecx
je 0x140008ae6
dec ecx
jne 0x140008bd8
mov dword [rsp + 0x3cf0], edx
mov edi, edx
jmp 0x140008bbb
lea rcx, [rbp - 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140008bd8
cmp qword [rbp - 0x68], rdi
je 0x140008bd8
mov edx, 0x208
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 0x208
xor ecx, ecx
mov qword [rsp + 0x3cf8], rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, qword [rsp + 0x3cf8]
mov qword [rsp + 0x3d00], rax
test rcx, rcx
je 0x140008bd8
test rax, rax
je 0x140008bd8
mov r8, qword [rbp - 0x68]
or r9, 0xffffffffffffffff
mov edx, 0x104
mov dword [rsp + 0x3cf0], 3
call fcn.140010790
mov edi, 1
jmp 0x140008bbb
lea rcx, [rbp - 0x78]
call qword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x140008bd8
cmp dword [rbp - 0x78], edi
je 0x140008bd8
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x140008b8e
or dword [rbp - 0x58], 2
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x40]
mov eax, 1
lea r9, [rsp + 0x3cf0]
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x2c70]
mov dword [rbp - 0x3c], eax
call qword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
mov edi, eax
test eax, eax
je 0x140008bd8
mov rcx, qword [rsp + 0x40]
mov r9d, 0x18
lea r8, [rsp + 0x3cf0]
lea edx, [r9 + 0xe]
call qword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140008bec
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x70], 0
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140008c00
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x68], 0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140008c14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp - 0x60], 0
mov rcx, qword [rsp + 0x3cf8]
test rcx, rcx
je 0x140008c30
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rsp + 0x3cf8], 0
mov rax, qword [rsp + 0x3d00]
test rax, rax
je 0x140008c4f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rsp + 0x3d00], 0
test edi, edi
je 0x140008c7e
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x50]
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x140008d06
inc esi
cmp esi, 3
jl 0x140008a77
mov dil, byte [rsp + 0x60]
test dil, dil
jne 0x140008c9b
test ebx, ebx
js 0x140008f25
mov rsi, qword [rsp + 0x50]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x140008cb7
test ebx, ebx
js 0x140008f2a
lea rax, [rsp + 0x7c]
lea r9, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov edx, 0x20000013
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140008d17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x80070000
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f2a
jmp 0x140008d1c
mov eax, 1
mov dil, al
mov byte [rsp + 0x60], al
jmp 0x140008c8e
mov edi, 0x80070000
mov eax, dword [rsp + 0x88]
cmp eax, 0x194
ja 0x140008e28
je 0x140008e80
cmp eax, 0xc8
je 0x140008e23
cmp eax, 0x12c
jbe 0x140008e76
cmp eax, 0x12f
ja 0x140008e5e
and dword [rsp + 0x7c], 0
lea rax, [rsp + 0x7c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x74]
lea r9, [rsp + 0x2c70]
lea edx, [r8 + 0x33]
mov rcx, rsi
mov dword [rsp + 0x74], 0x824
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140008daa
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f2a
lea r9, [rsp + 0xd0]
lea rcx, [rsp + 0x2c70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x140008de1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f2a
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x2c70]
lea rcx, [rsp + 0xd0]
mov edx, r12d
call qword [sym.imp.WINHTTP.dll_WinHttpCreateUrl]
test eax, eax
jne 0x140008e1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f2a
mov r14d, 1
jmp 0x140008e50
xor r14d, r14d
jmp 0x140008e50
cmp eax, 0x198
je 0x140008e4b
cmp eax, 0x1f4
je 0x140008e80
cmp eax, 0x1f5
jbe 0x140008e76
cmp eax, 0x1f7
jbe 0x140008e80
cmp eax, 0x1f8
jne 0x140008e76
mov ebx, 0x80070102
test ebx, ebx
jne 0x140008e8a
test r14d, r14d
je 0x140008e90
jmp 0x1400089a9
cmp eax, 0x191
je 0x140008e6c
cmp eax, 0x193
jne 0x140008e76
mov ebx, 0x80070005
jmp 0x140008f2a
mov ebx, 0x8000ffff
jmp 0x140008f2a
mov ebx, 0x80070002
jmp 0x140008f2a
js 0x140008f2a
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140019c74
mov ebx, eax
test eax, eax
js 0x140008f2a
test r15, r15
je 0x140008f3e
mov eax, dword [rsp + 0x84]
cmp eax, dword [r15 + 4]
jb 0x140008ee9
jne 0x140008ece
mov eax, dword [r15]
cmp dword [rsp + 0x80], eax
jbe 0x140008ee9
mov rcx, qword [rsp + 0x3cd8]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0xa0]
xor r15d, r15d
jmp 0x140008f46
mov esi, dword [rbp + 0x38]
xor edi, edi
test esi, esi
je 0x140008f23
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or r9, 0xffffffffffffffff
lea r8d, [r9 + 4]
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x140008f25
inc edi
add r13, 8
cmp edi, esi
jb 0x140008ef2
xor ebx, ebx
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
jmp 0x1400086f7
mov r15, qword [rsp + 0x3cc8]
lea rdx, [rsp + 0x3ce0]
mov rcx, rsi
call fcn.140019c00
mov r12, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
js 0x140008f2f
jmp 0x1400090a2
mov ebx, 0x8007000f
jmp 0x1400086ec
mov eax, 0x8000080
cmp edi, 2
jne 0x140008f83
cmp dword [0x1400283a8], 0
je 0x140008f91
cmp edi, 3
jne 0x140008f96
cmp dword [0x1400283b0], 0
jne 0x140008f96
mov eax, 0x28000080
and qword [rsp + 0x30], 0
mov r8d, ecx
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x1700]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140008feb
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400086ec
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.14001695c
mov ebx, eax
test eax, eax
js 0x1400086ec
test r15, r15
je 0x140009049
mov eax, dword [rsp + 0x84]
cmp eax, dword [r15 + 4]
jb 0x1400090e9
jne 0x14000902d
mov eax, dword [r15]
cmp dword [rsp + 0x80], eax
jbe 0x1400090e9
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0xa0]
xor r14d, r14d
mov qword [rsp + 0x3cc8], r14
lea rdx, [rsp + 0x3ce0]
mov rcx, r12
call fcn.140016134
mov ebx, eax
test eax, eax
js 0x1400086ec
test r14, r14
jle 0x14000909a
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x14000909a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400086ec
mov r15, qword [rsp + 0x3cc8]
mov esi, dword [rbp + 0x38]
xor edi, edi
test esi, esi
je 0x140009135
mov r14, r13
mov rcx, qword [r14]
mov rdx, qword [rsp + 0x3ce0]
lea r9, [rsp + 0x80]
mov rax, qword [rcx]
mov r8, r15
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x1400093c9
mov eax, 1
add r14, 8
add edi, eax
cmp edi, esi
jb 0x1400090b2
jmp 0x14000913a
mov esi, dword [rbp + 0x38]
xor edi, edi
test esi, esi
je 0x140009127
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or r9, 0xffffffffffffffff
lea r8d, [r9 + 4]
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x1400086ec
inc edi
add r13, 8
cmp edi, esi
jb 0x1400090f2
xor ebx, ebx
mov esi, ebx
mov edi, ebx
mov r14d, ebx
jmp 0x1400086f7
mov eax, 1
cmp qword [rsp + 0x3ce0], 0
jne 0x1400091bc
xor edi, edi
test esi, esi
je 0x140008f23
or r14, 0xffffffffffffffff
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9, r14
mov r8d, eax
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x1400093c9
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9, r14
mov r8d, 2
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x1400093c9
mov eax, 1
add r13, 8
add edi, eax
cmp edi, esi
jb 0x140009153
jmp 0x140008f23
movsxd r14, dword [rsp + 0x3d0c]
mov ecx, r14d
sub ecx, 2
je 0x1400091eb
dec ecx
je 0x1400091e3
dec ecx
je 0x1400091db
mov edi, 0x10000
jmp 0x140009202
mov edi, dword [0x1400283bc]
jmp 0x1400091f1
mov edi, dword [0x1400283b4]
jmp 0x1400091f1
mov edi, dword [0x1400283ac]
mov ecx, dword [0x1400283a0]
dec edi
lea eax, [rcx - 1]
add edi, ecx
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 r15, rax
mov qword [rsp + 0x3ce8], rax
test rax, rax
jne 0x140009242
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400093c9
mov r12, r14
test ebx, ebx
jne 0x140008f23
jmp 0x140009257
mov r15, qword [rsp + 0x3ce8]
mov rcx, qword [rsp + 0x3cd8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140009380
cmp r12, 2
je 0x140009291
cmp r12, 3
je 0x140009291
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x1400092ad
mov rcx, qword [rsp + 0x58]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, edi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400092cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140008f25
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140009325
xor r15d, r15d
test esi, esi
je 0x140009373
mov r14, r13
mov rdx, qword [r14]
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x3ce8]
or r9, 0xffffffffffffffff
lea r8d, [r9 + 2]
mov qword [rsp + 0x20], rax
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x140008f25
inc r15d
add r14, 8
cmp r15d, esi
jae 0x140009373
mov eax, dword [rsp + 0x70]
jmp 0x1400092e3
xor r14d, r14d
test esi, esi
je 0x14000936c
mov r15, r13
mov rdx, qword [r15]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
or r9, 0xffffffffffffffff
lea r8d, [r9 + 3]
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x140008f25
mov eax, 1
add r15, 8
add r14d, eax
cmp r14d, esi
jb 0x14000932f
jmp 0x140009371
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x14000924f
jmp 0x140008f23
xor edi, edi
test esi, esi
je 0x140008f23
or r14, 0xffffffffffffffff
mov rdx, qword [r13]
mov rcx, qword [rsp + 0x68]
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov r9, r14
mov r8d, 4
call fcn.14000ef80
mov ebx, eax
test eax, eax
js 0x140008f25
inc edi
add r13, 8
cmp edi, esi
jb 0x14000938e
jmp 0x140008f23
mov rsi, qword [rsp + 0x50]
jmp 0x140008f2f
mov rsi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
jmp 0x1400086f4
mov r12, qword [rsp + 0x58]
jmp 0x140008f34
cmp dword [rsp + 0x78], esi
je 0x140009408
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x3cd0]
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140009418
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebx
mov rcx, qword [rbp - 0x38]
xor rcx, rsp
call fcn.140010528
mov rbx, qword [rsp + 0x3db8]
add rsp, 0x3d60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret