Function at 0x14000126c
Capabilities:
Check http status code
Create directory
Delete file
Get common file path
Get file size
Print debug messages
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x5120
call fcn.140024cb0
sub rsp, rax
mov rax, qword [0x140034010]
xor rax, rsp
mov qword [rsp + 0x5110], rax
mov qword [rsp + 0xc8], r8
mov r15, rdx
mov rbx, rcx
mov qword [rsp + 0xc0], rcx
xor edi, edi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x68], rdi
mov r13d, edi
mov qword [rsp + 0x98], rdi
or r12, 0xffffffffffffffff
mov qword [rsp + 0x58], r12
mov esi, edi
mov dword [rsp + 0x7c], edi
xor ecx, ecx
mov dword [rsp + 0x150], ecx
mov byte [rsp + 0x154], cl
movsx r9d, byte [r8]
lea r8, str.__c:_
lea edx, [rdi + 5]
lea rcx, [rsp + 0x150]
call fcn.140001114
lea rax, [rsp + 0x178]
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x150]
call fcn.140012ad0
lea r14d, [rax + 1]
lea r8, [rsp + 0x178]
mov edx, r14d
lea rcx, [rsp + 0x170]
call fcn.14000246c
mov dword [rsp + 0x28], r14d
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rsp + 0x150]
xor edx, edx
lea ecx, [rdi + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
sete dil
test eax, eax
jne 0x1400013e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400013e6
xor eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rsp + 0x150]
xor edx, edx
lea ecx, [rax + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea r8, [rsp + 0x178]
mov edx, eax
lea rcx, [rsp + 0x170]
call fcn.14000246c
mov dword [rsp + 0x28], edi
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, r14d
lea r8, [rsp + 0x150]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r14d, r14d
mov edi, r14d
test eax, eax
sete dil
jmp 0x1400013e9
xor r14d, r14d
test edi, edi
jne 0x14000222b
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x178]
cmp rax, rcx
je 0x140001416
mov rcx, rax
call fcn.140012b78
mov rcx, rbx
call fcn.140002248
test eax, eax
jne 0x14000144a
mov eax, 0x80004001
mov rcx, qword [rsp + 0x5110]
xor rcx, rsp
call fcn.14000ab20
add rsp, 0x5120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
cmp dword [rbx], r14d
je 0x14000146e
lea r8, str.SaaSbeeTestMode00123578
lea rdx, str.srid
mov rcx, r15
mov rax, qword [rbx + 0x68]
mov rdi, qword [0x140026590]
call rdi
nop
lea rdx, str.file:__
mov rcx, r15
call fcn.14000bf60
test rax, rax
je 0x140001495
mov esi, 1
mov dword [rsp + 0x54], esi
mov rdi, qword [rsp + 0x68]
jmp 0x140002172
cmp dword [rsp + 0x5180], r14d
je 0x1400014ba
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov r8, qword [rbx + 0x18]
mov rdx, qword [rbx + 8]
mov rax, qword [rax]
mov rdi, qword [0x140026590]
call rdi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Zoom.Launcher.Win
mov rax, qword [rbx + 0x80]
mov rdi, qword [0x140026590]
call rdi
mov r14, rax
mov qword [rsp + 0x88], rax
xor r12d, r12d
xor edx, edx
test rax, rax
jne 0x14000154d
lea esi, [rax + 1]
mov dword [rsp + 0x54], esi
mov r12d, 0x100
mov r8d, r12d
lea rcx, [rsp + 0x970]
call fcn.14000bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.InternetOpen_API_failed__error_code:__d
mov edx, r12d
lea rcx, [rsp + 0x970]
call fcn.1400010c0
lea rcx, [rsp + 0x970]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
jmp 0x14000217a
mov edi, 0x68
mov r8d, edi
lea rcx, [rsp + 0xe0]
call fcn.14000bdd0
mov dword [rsp + 0xe0], edi
lea rax, [rsp + 0x2910]
mov qword [rsp + 0xf8], rax
mov ecx, 0x800
mov dword [rsp + 0x100], ecx
mov word [rsp + 0x104], r12w
lea rax, [rsp + 0x3110]
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x130], ecx
lea rax, [rsp + 0x3910]
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x140], ecx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, eax
lea r9, [rsp + 0xe0]
xor r8d, r8d
mov rcx, r15
mov rax, qword [rbx + 0x48]
mov rdi, qword [0x140026590]
call rdi
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 3
lea rax, [0x14002ec85]
mov qword [rsp + 0x20], rax
mov r9, rax
movzx r8d, word [rsp + 0x104]
mov rdx, qword [rsp + 0xf8]
mov rcx, r14
mov rax, qword [rbx + 0x40]
mov rdi, qword [0x140026590]
call rdi
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14000168b
lea esi, [rax + 1]
mov dword [rsp + 0x54], esi
mov r12d, 0x100
mov r8d, r12d
xor edx, edx
lea rcx, [rsp + 0x970]
call fcn.14000bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.InternetConnect_API_failed__error_code:__d
mov edx, r12d
lea rcx, [rsp + 0x970]
call fcn.1400010c0
lea rcx, [rsp + 0x970]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r12, qword [rsp + 0x58]
jmp 0x14000217a
lea rcx, [rsp + 0x4110]
cmp dword [rsp + 0x130], r15d
mov rdx, qword [rsp + 0x128]
jne 0x1400016ac
lea rdx, [0x14002ed54]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [rsp + 0x140], r15d
je 0x1400016d2
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x4110]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x80], r15d
mov dword [rsp + 0x84], 0x3c
mov r12d, 0x100
mov r14, qword [rsp + 0x58]
mov dword [rsp + 0x50], r15d
mov edx, 0x1bb
mov ecx, 0x84401000
mov eax, 0x84c01000
cmp word [rsp + 0x104], dx
cmove ecx, eax
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
lea rax, [0x14002ec85]
mov qword [rsp + 0x20], rax
lea r9, str.HTTP_1.1
lea r8, [rsp + 0x4110]
lea rdx, [0x14002ed64]
mov rcx, rdi
mov rax, qword [rbx + 0x58]
mov rdi, qword [0x140026590]
call rdi
mov r13, rax
mov qword [rsp + 0x98], rax
xor edi, edi
test rax, rax
jne 0x1400017b9
lea esi, [rax + 1]
mov dword [rsp + 0x54], esi
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x970]
call fcn.14000bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.HttpOpenRequest_API_failed__error_code:__d
mov r9d, eax
mov rdx, r12
lea rcx, [rsp + 0x970]
call fcn.1400010c0
lea rcx, [rsp + 0x970]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdi, qword [rsp + 0x68]
jmp 0x14000216d
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400017d2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [rsp + 0x58], 0xffffffffffffffff
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x14000187b
xor r15d, r15d
cmp dword [rsp + 0x5180], r15d
je 0x14000184e
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rax + 8]
mov rdi, qword [0x140026590]
call rdi
cmp eax, 4
jne 0x14000184e
mov dword [rsp + 0x50], 1
mov rdi, qword [rsp + 0x68]
jmp 0x1400016f5
mov esi, 1
mov dword [rsp + 0x54], esi
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x970]
call fcn.14000bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CreateFile_API_failed__error_code:__d
jmp 0x14000178e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor eax, eax
mov dword [rsp + 0xd0], eax
lea r14d, [rax + 1]
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov rax, qword [rbx + 0x78]
mov rdi, qword [0x140026590]
call rdi
xor edi, edi
test eax, eax
jne 0x1400019aa
test r14d, r14d
je 0x1400019af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, eax
sub ecx, 0x2ee2
je 0x140001938
sub ecx, 5
je 0x140001938
sub ecx, 7
je 0x1400018f5
sub ecx, 0xf
je 0x140001938
sub ecx, 8
je 0x1400018f5
sub ecx, 1
je 0x1400018f5
sub ecx, 1
xor eax, eax
mov r14d, eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x5180], eax
je 0x1400019a5
mov qword [rsp + 0x20], rax
lea r9d, [rax + 7]
mov r8d, edi
mov rdx, r13
xor ecx, ecx
mov rax, qword [rbx + 0x60]
mov rdi, qword [0x140026590]
call rdi
test eax, eax
jne 0x1400019a3
lea r14d, [rax + 1]
mov dword [rsp + 0x60], r14d
jmp 0x1400019a3
xor eax, eax
mov r14d, eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x5180], eax
je 0x1400019a5
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
mov rdx, qword [0x140026590]
call rdx
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rdx, qword [0x140026590]
cmp edi, 0x2ee2
jne 0x14000197a
mov rax, qword [rax + 0x10]
jmp 0x14000197e
mov rax, qword [rax + 0x18]
call rdx
mov dword [rsp + 0x50], eax
mov r15d, eax
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
mov rdx, qword [0x140026590]
call rdx
mov r14d, r15d
mov dword [rsp + 0x60], r15d
xor eax, eax
jmp 0x140001898
test r14d, r14d
jne 0x1400019dc
mov esi, 1
mov dword [rsp + 0x54], esi
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x970]
call fcn.14000bdd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.HttpSendRequest_API_failed__error_code:__d
jmp 0x14000178e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], edi
mov dword [rsp + 0x90], 4
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x74]
mov edx, 0x20000013
mov rcx, r13
mov rax, qword [rbx + 0x38]
mov rdi, qword [0x140026590]
call rdi
test eax, eax
jne 0x140001a22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, 1
mov dword [rsp + 0x60], r14d
mov edi, dword [rsp + 0x74]
cmp edi, 0x197
je 0x140001a45
cmp edi, 0x191
jne 0x140001ae0
test r14d, r14d
je 0x140001ae0
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
and qword [rsp + 0x20], 0
mov r9d, 7
mov r8d, 0x2eee
mov rdx, r13
mov rax, qword [rbx + 0x60]
mov rdi, qword [0x140026590]
call rdi
cmp eax, 0x4c7
jne 0x140001a8b
xor ecx, ecx
mov r14d, ecx
mov dword [rsp + 0x60], ecx
jmp 0x140001adb
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
mov rax, qword [rbx + 0x78]
mov rdi, qword [0x140026590]
call rdi
mov dword [rsp + 0x90], 4
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x74]
mov edx, 0x20000013
mov rcx, r13
mov rax, qword [rbx + 0x38]
mov rdi, qword [0x140026590]
call rdi
jmp 0x140001a2d
mov r8, r12
xor edx, edx
lea rcx, [rsp + 0x570]
call fcn.14000bdd0
mov r9d, edi
lea r8, str.HttpQueryInfo_status:__d
mov rdx, r12
lea rcx, [rsp + 0x570]
call fcn.1400010c0
lea rcx, [rsp + 0x570]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r9d, dword [rsp + 0x74]
cmp r9d, 0xc8
je 0x140001f32
cmp r9d, 0xce
je 0x140001f32
cmp r9d, 0x193
jne 0x140001dc0
xor r15d, r15d
mov dword [rsp + 0x70], r15d
mov dword [rsp + 0xa8], 4
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x20000005
mov rcx, r13
mov rax, qword [rbx + 0x38]
mov rdi, qword [0x140026590]
call rdi
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140001d89
lea ecx, [rax + 5]
call fcn.14000ad98
mov rsi, rax
mov ecx, dword [rsp + 0x70]
mov byte [rcx + rax], r15b
mov dword [rsp + 0x94], r15d
lea r9, [rsp + 0x94]
mov r8d, dword [rsp + 0x70]
mov rdx, rax
mov rcx, r13
mov rax, qword [rbx + 0x50]
mov rdi, qword [0x140026590]
call rdi
mov eax, dword [rsp + 0x94]
cmp eax, dword [rsp + 0x70]
jne 0x140001d81
lea rdi, [rsp + 0x158]
xor eax, eax
lea ecx, [rax + 0x10]
rep stosb byte [rdi], al
lea rcx, [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [r15 + 0x2f]
mov rcx, qword [rbx + 0x10]
call fcn.14000c15c
mov rdi, rax
test rax, rax
jne 0x140001c19
lea edx, [rax + 0x5c]
mov rcx, qword [rbx + 0x10]
call fcn.14000c15c
mov rdi, rax
mov r14d, 0x400
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x570]
call fcn.14000bdd0
lea rax, [rdi + 1]
lea r10, str.NULL
test rdi, rdi
cmovne r10, rax
movzx r8d, word [rsp + 0x164]
movzx edi, word [rsp + 0x162]
movzx edx, word [rsp + 0x160]
movzx ecx, word [rsp + 0x15e]
movzx eax, word [rsp + 0x15a]
movzx r9d, word [rsp + 0x158]
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea r8, str.launcher_downloader_403___d__d__d___d__d__d___s.log
lea edx, [r14 - 0x18]
lea rcx, [rsp + 0x570]
call fcn.1400010c0
mov r8d, r14d
xor edx, edx
lea rcx, [rsp + 0x170]
call fcn.14000bdd0
xor r9d, r9d
lea r8d, [r9 + 0x1a]
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x140001d81
lea r8, [0x14002ee4c]
mov edx, r14d
lea rcx, [rsp + 0x170]
call fcn.140012b8c
lea r8, [0x14002ee50]
mov edx, r14d
lea rcx, [rsp + 0x170]
call fcn.140012b8c
xor edx, edx
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r8, [0x14002ee4c]
mov edx, r14d
lea rcx, [rsp + 0x170]
call fcn.140012b8c
lea r8, [rsp + 0x570]
mov edx, r14d
lea rcx, [rsp + 0x170]
call fcn.140012b8c
lea rdx, [0x14002ee58]
lea rcx, [rsp + 0x170]
call fcn.14000f9bc
mov rdi, rax
test rax, rax
je 0x140001d81
mov r8d, dword [rsp + 0x94]
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.140012a3c
mov rcx, rdi
call fcn.14000faec
mov rcx, rsi
call fcn.14000ab40
cmp dword [rsp + 0x5180], r15d
je 0x140001db2
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [0x14002ee60]
mov rax, qword [rax + 0x28]
mov rdi, qword [0x140026590]
call rdi
mov dword [rsp + 0x50], eax
mov esi, 1
mov dword [rsp + 0x54], esi
jmp 0x1400017af
lea eax, [r9 - 0x190]
cmp eax, 0xc7
ja 0x140001ed5
cmp r9d, 0x1f4
jne 0x140001e15
cmp dword [rsp + 0x5180], 0
je 0x140001e07
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [0x14002ee68]
mov rax, qword [rax + 0x30]
mov rdi, qword [0x140026590]
call rdi
mov r15d, eax
mov dword [rsp + 0x50], eax
mov esi, 1
mov dword [rsp + 0x54], esi
jmp 0x140001f1a
cmp r9d, 0x1f7
jne 0x140001ed5
cmp dword [rsp + 0x80], 5
jge 0x140001e82
mov edi, dword [rsp + 0x84]
xor r15d, r15d
mov dword [rsp + 0xb0], edi
test edi, edi
js 0x140001e69
cmp dword [rsp + 0x5180], r15d
je 0x140001e5a
lea rdx, str.Retry
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jmp 0x140001e36
inc dword [rsp + 0x80]
add dword [rsp + 0x84], 0x1e
mov r14, qword [rsp + 0x58]
jmp 0x14000183c
xor edi, edi
cmp dword [rsp + 0x5180], edi
je 0x140001f1c
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [0x14002ee78]
mov rax, qword [rax + 0x38]
mov rdi, qword [0x140026590]
call rdi
mov r15d, eax
mov dword [rsp + 0x50], eax
xor edi, edi
test eax, eax
je 0x140001f1c
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x84], 0x3c
mov r14, qword [rsp + 0x58]
jmp 0x140002159
xor edi, edi
cmp dword [rsp + 0x5180], edi
je 0x140001f1c
lea r8, [0x14002ee80]
lea edx, [rdi + 0xa]
lea rcx, [rsp + 0x158]
call fcn.140001068
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x158]
mov rax, qword [rax + 0x30]
mov rdi, qword [0x140026590]
call rdi
mov r15d, eax
mov dword [rsp + 0x50], eax
xor edi, edi
test r15d, r15d
jne 0x140002127
lea esi, [r15 + 1]
mov dword [rsp + 0x54], esi
jmp 0x140002127
xor eax, eax
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0xb4], 4
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb4]
lea r8, [rsp + 0x7c]
mov edx, 0x20000005
mov rcx, r13
mov rax, qword [rbx + 0x38]
mov rdi, qword [0x140026590]
call rdi
mov eax, dword [rsp + 0x7c]
mov ecx, 0xe4e1c0
xor edi, edi
test eax, eax
cmove eax, ecx
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x78], edi
mov r13d, edi
mov dword [rsp + 0xbc], edi
mov r14d, edi
mov dword [rsp + 0xa0], edi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x58]
cmp dword [rsp + 0x74], 0xce
jne 0x140001fb6
lea r9d, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x140001fca
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [rsp + 0x78], edi
lea r9, [rsp + 0x78]
mov r8d, 0x1fa0
lea rdx, [rsp + 0x970]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rbx + 0x50]
mov rdi, qword [0x140026590]
call rdi
xor edi, edi
test eax, eax
je 0x1400020f6
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x140002086
mov dword [rsp + 0xb8], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xb8]
mov r8d, edx
lea rdx, [rsp + 0x970]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140002086
cmp dword [rsp + 0x5180], edi
je 0x1400020c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x20]
mov rdi, qword [rcx]
mov rdx, qword [rsp + 0xa8]
cmp eax, 0x70
jne 0x140002063
mov rax, qword [rdi + 0x20]
jmp 0x140002067
mov rax, qword [rdi + 8]
mov rdi, qword [0x140026590]
call rdi
mov dword [rsp + 0x50], eax
mov r15d, eax
xor edi, edi
test eax, eax
jne 0x1400020c3
lea esi, [rax + 1]
mov dword [rsp + 0x54], esi
jmp 0x140002104
mov edx, dword [rsp + 0x78]
add r13d, edx
mov dword [rsp + 0xbc], r13d
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
mov rdi, qword [0x140026590]
call rdi
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
mov rdx, qword [0x140026590]
call rdx
xor edi, edi
test eax, eax
jne 0x1400020ce
cmp dword [rsp + 0x78], edi
je 0x140002104
jmp 0x140001fca
mov rcx, qword [rbx + 0x20]
mov rax, qword [rcx]
mov r8d, r13d
mov edx, dword [rsp + 0x7c]
mov rax, qword [rax + 0x68]
mov rdi, qword [0x140026590]
call rdi
mov dword [rsp + 0xa0], 1
jmp 0x140002109
mov r14d, 1
mov dword [rsp + 0xa0], r14d
test r14d, r14d
je 0x14000211f
mov esi, 1
mov dword [rsp + 0x54], esi
mov r13, qword [rsp + 0x98]
jmp 0x1400017af
mov r13, qword [rsp + 0x98]
mov rcx, r13
mov rax, qword [rbx + 0x88]
mov rdx, qword [0x140026590]
call rdx
mov r13, rdi
mov qword [rsp + 0x98], rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or r14, 0xffffffffffffffff
mov qword [rsp + 0x58], r14
test r15d, r15d
mov rdi, qword [rsp + 0x68]
mov r15d, 0
jne 0x1400016f5
mov r12, qword [rsp + 0x58]
mov r14, qword [rsp + 0x88]
test r13, r13
je 0x140002192
mov rcx, r13
mov rax, qword [rbx + 0x88]
mov rdx, qword [0x140026590]
call rdx
test rdi, rdi
je 0x1400021aa
mov rcx, rdi
mov rax, qword [rbx + 0x88]
mov rdx, qword [0x140026590]
call rdx
test r14, r14
je 0x1400021c2
mov rcx, r14
mov rax, qword [rbx + 0x88]
mov rdx, qword [0x140026590]
call rdx
cmp r12, 0xffffffffffffffff
je 0x1400021d1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x1400021f8
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400021f1
mov rax, qword [rcx]
lea edx, [rsi + 1]
mov rax, qword [rax + 0x70]
mov rdi, qword [0x140026590]
call rdi
xor eax, eax
jmp 0x140001427
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140002221
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x70]
mov rdi, qword [0x140026590]
call rdi
mov eax, 0x80004005
jmp 0x140001427
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x170]
call fcn.140002458
call fcn.1400011a0
nop
int3