Function at 0x140003120
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push r12
push r13
lea rbp, [rsp - 0x4a8]
sub rsp, 0x5a8
mov rax, qword [0x14010d268]
xor rax, rsp
mov qword [rbp + 0x480], rax
cmp dword [rcx + 0x14], 0
mov r13d, r9d
mov r12, r8
mov rbx, rcx
je 0x140003160
mov eax, 0x40000
jmp 0x140003fa6
cmp byte [rcx + 0x30], 0
je 0x140003170
mov eax, 0x50000
jmp 0x140003fa6
mov qword [rsp + 0x5e8], rsi
lea rcx, [rbp + 0x370]
mov qword [rsp + 0x5a0], rdi
mov r8, rdx
mov qword [rsp + 0x598], r14
mov edx, 0x104
mov qword [rsp + 0x590], r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movzx ecx, byte [rbp + 0x370]
test cl, cl
je 0x140003f81
lea rax, [rbp + 0x370]
nop dword [rax + rax]
cmp cl, 0x5c
jne 0x1400031c8
mov byte [rax], 0x2f
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
jne 0x1400031c0
mov r14d, dword [rbp + 0x4f0]
mov edx, 8
mov rsi, 0xffffffffffffffff
cmp r14d, 4
jne 0x140003228
lea rax, [rbp + 0x370]
mov rcx, rsi
nop word [rax + rax]
cmp byte [rax + rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140003200
lea rax, [rbp + 0x370]
cmp byte [rcx + rax - 1], 0x2f
je 0x140003228
xor eax, eax
mov byte [rsp + 0x40], 1
mov r15d, eax
jmp 0x140003339
mov byte [rsp + 0x40], 0
mov r15d, edx
cmp r14d, 4
je 0x140003330
lea rcx, [rbp + 0x370]
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x140003244
lea rdi, [rbp + 0x370]
add rdi, rax
lea rax, [rbp + 0x370]
cmp rdi, rax
jbe 0x140003277
cmp byte [rdi], 0x2e
je 0x140003277
dec rdi
lea rax, [rbp + 0x370]
cmp rdi, rax
ja 0x140003263
lea rax, [rbp + 0x370]
cmp rdi, rax
jne 0x14000328c
cmp byte [rdi], 0x2e
jne 0x140003337
lea rdx, [0x1400c704c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..zip
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..zoo
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..arc
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..lzh
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..arj
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, [0x1400c7078]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140003330
lea rdx, str..tgz
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x140003337
xor eax, eax
mov r15d, eax
jmp 0x140003339
xor eax, eax
cmp r14d, 2
jne 0x1400035e5
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x88], rax
mov byte [rbx + 0x80], 0
mov qword [rbx + 0x6c], 0
mov dword [rbx + 0x68], eax
mov dword [rbx + 0x98], eax
test r12, r12
je 0x1400036ba
mov qword [rsp + 0x30], rax
lea r8d, [r14 - 1]
mov dword [rsp + 0x28], eax
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, rsi
jne 0x1400033a9
mov edi, 0x200
mov eax, edi
jmp 0x140003f86
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call fcn.140007260
mov edi, eax
test eax, eax
je 0x1400033cb
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400035fb
mov byte [rbx + 0x80], 1
xor r12d, r12d
lea r8, [0x1400c6708]
mov qword [rbp + 0x320], r12
mov edx, 0x104
lea rcx, [rbp - 0x18]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rbp + 0x370]
mov edx, 0x104
lea rcx, [rbp + 0x108]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rax, [rbp + 0x108]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003412
cmp byte [rsp + 0x40], 0
mov qword [rbp - 0x48], rsi
je 0x140003443
lea r8, [0x1400c7084]
mov edx, 0x104
lea rcx, [rbp + 0x108]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
inc qword [rbp - 0x48]
lea r8, [0x1400c6708]
mov edx, 0x104
lea rcx, [rbp + 0x20c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov eax, dword [rbx + 0x60]
mov dword [rbp - 0x58], eax
mov eax, 8
mov word [rbp - 0x5c], ax
mov eax, dword [rbx + 0x68]
mov qword [rbp + 0x100], r12
mov qword [rbp - 0x30], r12
mov dword [rbp + 0x310], 1
mov dword [rbp + 0x318], r12d
mov dword [rbp - 0x26], 0x80000
mov dword [rbp - 0x60], 0x140b17
mov dword [rbp - 0x54], r12d
mov word [rbp - 0x5a], r15w
test r15d, r15d
jne 0x1400034ad
mov dword [rbp - 0x50], eax
test eax, eax
jns 0x1400034b1
mov dword [rbp - 0x50], r12d
mov rdx, qword [rbx + 0x50]
mov r8, rbx
mov rcx, qword [rbx + 0x48]
mov dword [rbp - 0x4c], eax
mov eax, dword [rbx + 0x40]
mov dword [rbp - 0x20], eax
mov eax, dword [rbx + 0x10]
add eax, dword [rbx + 0x18]
mov dword [rbp - 0x1c], eax
lea rax, [rbp + 0x340]
mov qword [rbp + 0xf0], rax
lea rax, [rbp + 0x358]
mov qword [rbp + 0xf8], rax
movzx eax, byte [rbx + 0x50]
mov byte [rbp + 0x345], al
mov rax, rdx
sar rax, 8
mov byte [rbp + 0x346], al
mov rax, rdx
sar rax, 0x10
mov byte [rbp + 0x347], al
movzx eax, byte [rbx + 0x48]
mov byte [rbp + 0x349], al
mov rax, rcx
sar rax, 8
mov byte [rbp + 0x34a], al
mov rax, rcx
sar rax, 0x10
mov byte [rbp + 0x34b], al
movzx eax, byte [rbx + 0x58]
sar rcx, 0x18
mov byte [rbp + 0x34d], al
mov byte [rbp + 0x34c], cl
mov rcx, qword [rbx + 0x58]
mov rax, rcx
sar rdx, 0x18
sar rax, 8
mov byte [rbp + 0x34e], al
mov rax, rcx
sar rcx, 0x18
mov dword [rbp + 0x340], 0xd5455
mov byte [rbp + 0x344], 7
movsd xmm0, qword [rbp + 0x340]
mov byte [rbp + 0x350], cl
lea rcx, [rbp - 0x60]
mov byte [rbp + 0x348], dl
sar rax, 0x10
mov byte [rbp + 0x360], dl
lea rdx, [0x140008710]
movsd qword [rbp + 0x358], xmm0
mov word [rbp - 0x28], r12w
mov qword [rbp - 0x40], reloc.WS2_32.dll_recvfrom
mov qword [rbp - 0x38], 9
mov byte [rbp + 0x34f], al
mov byte [rbp + 0x35a], 5
call fcn.140007c00
test eax, eax
je 0x140003760
mov rcx, rbx
call fcn.140006ae0
mov eax, 0x400
jmp 0x140003f86
cmp r14d, 1
jne 0x14000360a
mov r8d, r13d
mov rdx, r12
mov rcx, rbx
call fcn.140007260
mov edi, eax
test edi, edi
je 0x1400033d2
mov eax, edi
jmp 0x140003f86
cmp r14d, 3
jne 0x1400036c6
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x88], r12
mov byte [rbx + 0x80], 0
mov qword [rbx + 0x6c], 0
mov qword [rbx + 0x94], 0
mov dword [rbx + 0x90], r13d
test r12, r12
je 0x1400036ba
test r13d, r13d
je 0x1400036ba
lea rcx, [rbp + 0x330]
mov dword [rbx + 0x40], 0x80000000
mov dword [rbx + 0x68], r13d
mov byte [rbx + 0x64], 1
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov rcx, qword [rsp + 0x50]
call fcn.140005f30
movzx ecx, word [rsp + 0x4c]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
movzx eax, word [rsp + 0x48]
shl ecx, 0x10
or ecx, eax
mov dword [rbx + 0x60], ecx
jmp 0x1400033d2
mov edi, 0x10000
mov eax, edi
jmp 0x140003f86
cmp r14d, 4
jne 0x140003f81
xor r12d, r12d
mov dword [rbx + 0x40], 0x41c00010
lea rcx, [rbp + 0x330]
mov qword [rbx + 0x78], r12
mov qword [rbx + 0x88], r12
mov byte [rbx + 0x80], r12b
mov qword [rbx + 0x6c], r12
mov dword [rbx + 0x98], r12d
mov dword [rbx + 0x68], r12d
mov byte [rbx + 0x64], r12b
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov rcx, qword [rsp + 0x50]
call fcn.140005f30
movzx ecx, word [rsp + 0x4c]
mov qword [rbx + 0x48], rax
mov qword [rbx + 0x50], rax
mov qword [rbx + 0x58], rax
movzx eax, word [rsp + 0x48]
shl ecx, 0x10
or ecx, eax
mov dword [rbx + 0x60], ecx
jmp 0x1400033d5
mov ecx, dword [rbp - 0x48]
add ecx, 0x1e
add ecx, dword [rbp - 0x40]
add dword [rbx + 0x18], ecx
cmp dword [rbx + 0x14], 0
je 0x140003782
mov rcx, rbx
call fcn.140006ae0
mov eax, dword [rbx + 0x14]
jmp 0x140003f86
mov edi, r12d
cmp r14d, 4
je 0x140003814
cmp r15d, 8
jne 0x1400037a5
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140006b40
mov edi, eax
jmp 0x14000381b
test r15d, r15d
jne 0x14000381b
mov r8d, 0x4000
lea rdx, [rbx + 0x9c]
mov rcx, rbx
mov r14d, r12d
call fcn.140007f10
mov edi, eax
test eax, eax
je 0x140003801
cmp edi, 0xffffffff
je 0x140003801
mov r8d, edi
lea rdx, [rbx + 0x9c]
mov rcx, rbx
call fcn.140008720
cmp eax, edi
jne 0x14000380d
mov r8d, 0x4000
lea rdx, [rbx + 0x9c]
mov rcx, rbx
add r14d, edi
call fcn.140007f10
mov edi, eax
test eax, eax
jne 0x1400037c8
mov dword [rbx + 0x98], r14d
mov edi, r12d
jmp 0x14000381b
mov edi, 0x60000
jmp 0x14000381b
mov dword [rbx + 0x98], r12d
mov rcx, rbx
call fcn.140006ae0
mov ecx, dword [rbx + 0x98]
add dword [rbx + 0x18], ecx
mov eax, dword [rbx + 0x14]
test eax, eax
jne 0x140003f86
test edi, edi
jne 0x1400035db
cmp dword [rbp - 0x50], ecx
mov eax, dword [rbx + 0x70]
sete dl
mov dword [rbp - 0x54], eax
mov eax, dword [rbx + 0x68]
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x4c], eax
cmp byte [rbx + 0x1c], dil
je 0x1400038c1
movzx eax, word [rbp - 0x5c]
mov word [rbp - 0x5a], r15w
test al, 1
jne 0x140003873
mov ecx, 0xfff7
and ax, cx
mov word [rbp - 0x5c], ax
mov edx, dword [rbp - 0x1c]
mov rcx, rbx
sub edx, dword [rbx + 0x10]
mov word [rbp - 0x24], ax
call fcn.1400073b0
test al, al
je 0x1400038b7
mov r8, rbx
lea rdx, [0x140008710]
lea rcx, [rbp - 0x60]
call fcn.140007c00
test eax, eax
jne 0x1400035db
mov edx, dword [rbx + 0x18]
mov rcx, rbx
call fcn.1400073b0
test al, al
jne 0x140003e9c
mov eax, 0x2000000
jmp 0x140003f86
cmp word [rbp - 0x5a], r15w
jne 0x140003f7a
test r15d, r15d
jne 0x1400038d9
test dl, dl
je 0x140003f7a
mov rcx, qword [rbx + 0x20]
mov byte [rsp + 0x41], 0x50
test rcx, rcx
je 0x140003904
mov edx, dword [rbx + 0x28]
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x1400038fb
mov dword [rbx + 0x14], 0x30000
jmp 0x140003930
mov byte [rdx + rcx], 0x50
inc dword [rbx + 0x28]
jmp 0x140003930
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003929
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003930
mov dword [rbx + 0x14], 0x1000000
mov rcx, qword [rbx + 0x20]
mov byte [rsp + 0x41], 0x4b
test rcx, rcx
je 0x14000395b
mov edx, dword [rbx + 0x28]
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003952
mov dword [rbx + 0x14], 0x30000
jmp 0x140003987
mov byte [rdx + rcx], 0x4b
inc dword [rbx + 0x28]
jmp 0x140003987
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003980
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x41]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003987
mov dword [rbx + 0x14], 0x1000000
mov rcx, qword [rbx + 0x20]
mov byte [rsp + 0x42], 7
test rcx, rcx
je 0x1400039b2
mov edx, dword [rbx + 0x28]
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x1400039a9
mov dword [rbx + 0x14], 0x30000
jmp 0x1400039de
mov byte [rdx + rcx], 7
inc dword [rbx + 0x28]
jmp 0x1400039de
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400039d7
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x42]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400039de
mov dword [rbx + 0x14], 0x1000000
mov rcx, qword [rbx + 0x20]
mov byte [rsp + 0x42], 8
test rcx, rcx
je 0x140003a09
mov edx, dword [rbx + 0x28]
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003a00
mov dword [rbx + 0x14], 0x30000
jmp 0x140003a35
mov byte [rdx + rcx], 8
inc dword [rbx + 0x28]
jmp 0x140003a35
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003a2e
lea r9, [rsp + 0x64]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x42]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003a35
mov dword [rbx + 0x14], 0x1000000
mov rdx, qword [rbx + 0x20]
movzx ecx, byte [rbp - 0x54]
mov byte [rsp + 0x43], cl
test rdx, rdx
je 0x140003a65
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003a5c
mov dword [rbx + 0x14], 0x30000
jmp 0x140003a91
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003a91
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003a8a
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x43]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003a91
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x54]
mov rdx, qword [rbx + 0x20]
shr ecx, 8
mov byte [rsp + 0x43], cl
test rdx, rdx
je 0x140003ac3
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003aba
mov dword [rbx + 0x14], 0x30000
jmp 0x140003aef
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003aef
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003ae8
lea r9, [rsp + 0x6c]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x43]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003aef
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x54]
mov rdx, qword [rbx + 0x20]
shr ecx, 0x10
mov byte [rsp + 0x44], cl
test rdx, rdx
je 0x140003b21
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003b18
mov dword [rbx + 0x14], 0x30000
jmp 0x140003b4d
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003b4d
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003b46
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003b4d
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x54]
mov rdx, qword [rbx + 0x20]
shr ecx, 0x18
mov byte [rsp + 0x44], cl
test rdx, rdx
je 0x140003b7f
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003b76
mov dword [rbx + 0x14], 0x30000
jmp 0x140003bab
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003bab
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003ba4
lea r9, [rsp + 0x74]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003bab
mov dword [rbx + 0x14], 0x1000000
mov rdx, qword [rbx + 0x20]
movzx ecx, byte [rbp - 0x50]
mov byte [rsp + 0x45], cl
test rdx, rdx
je 0x140003bdb
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003bd2
mov dword [rbx + 0x14], 0x30000
jmp 0x140003c07
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003c07
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003c00
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x45]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003c07
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x50]
mov rdx, qword [rbx + 0x20]
shr ecx, 8
mov byte [rsp + 0x45], cl
test rdx, rdx
je 0x140003c39
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003c30
mov dword [rbx + 0x14], 0x30000
jmp 0x140003c65
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003c65
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003c5e
lea r9, [rsp + 0x7c]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x45]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003c65
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x50]
mov rdx, qword [rbx + 0x20]
shr ecx, 0x10
mov byte [rsp + 0x48], cl
test rdx, rdx
je 0x140003c97
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003c8e
mov dword [rbx + 0x14], 0x30000
jmp 0x140003cc2
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003cc2
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003cbb
lea r9, [rbp - 0x80]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003cc2
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x50]
mov rdx, qword [rbx + 0x20]
shr ecx, 0x18
mov byte [rsp + 0x48], cl
test rdx, rdx
je 0x140003cf4
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003ceb
mov dword [rbx + 0x14], 0x30000
jmp 0x140003d1f
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003d1f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003d18
lea r9, [rbp - 0x7c]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003d1f
mov dword [rbx + 0x14], 0x1000000
mov rdx, qword [rbx + 0x20]
movzx ecx, byte [rbp - 0x4c]
mov byte [rsp + 0x4c], cl
test rdx, rdx
je 0x140003d4f
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003d46
mov dword [rbx + 0x14], 0x30000
jmp 0x140003d7a
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003d7a
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003d73
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003d7a
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x4c]
mov rdx, qword [rbx + 0x20]
shr ecx, 8
mov byte [rsp + 0x4c], cl
test rdx, rdx
je 0x140003dac
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003da3
mov dword [rbx + 0x14], 0x30000
jmp 0x140003dd7
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003dd7
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003dd0
lea r9, [rbp - 0x74]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003dd7
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x4c]
mov rdx, qword [rbx + 0x20]
shr ecx, 0x10
mov byte [rsp + 0x40], cl
test rdx, rdx
je 0x140003e09
mov r8d, dword [rbx + 0x28]
lea eax, [r8 + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003e00
mov dword [rbx + 0x14], 0x30000
jmp 0x140003e34
mov byte [r8 + rdx], cl
inc dword [rbx + 0x28]
jmp 0x140003e34
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003e2d
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003e34
mov dword [rbx + 0x14], 0x1000000
mov ecx, dword [rbp - 0x4c]
mov r8, qword [rbx + 0x20]
shr ecx, 0x18
mov byte [rsp + 0x40], cl
test r8, r8
je 0x140003e64
mov edx, dword [rbx + 0x28]
lea eax, [rdx + 1]
cmp eax, dword [rbx + 0x2c]
jb 0x140003e5b
mov dword [rbx + 0x14], 0x30000
jmp 0x140003e90
mov byte [rdx + r8], cl
inc dword [rbx + 0x28]
jmp 0x140003e90
mov rcx, qword [rbx]
test rcx, rcx
je 0x140003e89
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], r12
mov r8d, 1
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140003e90
mov dword [rbx + 0x14], 0x1000000
movzx eax, word [rbp - 0x24]
add dword [rbx + 0x18], 0x10
mov word [rbp - 0x5c], ax
mov eax, dword [rbx + 0x14]
test eax, eax
jne 0x140003f86
mov rcx, qword [rbp - 0x38]
call fcn.14005f8e4
mov r8, qword [rbp - 0x38]
mov rcx, rax
mov rdx, qword [rbp + 0xf8]
mov rdi, rax
call fcn.1400bd846
mov ecx, 0x388
mov qword [rbp + 0xf8], rdi
call fcn.14005f8a8
mov r8, rax
mov rcx, rax
lea rax, [rbp - 0x60]
mov edx, 7
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140003ee6
mov rax, qword [rax]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
jne 0x140003f50
mov qword [rbx + 0x38], r8
xor eax, eax
jmp 0x140003f86
mov rax, qword [rcx + 0x380]
test rax, rax
je 0x140003f6f
nop dword [rax]
mov rcx, rax
mov rax, qword [rax + 0x380]
test rax, rax
jne 0x140003f60
mov qword [rcx + 0x380], r8
xor eax, eax
jmp 0x140003f86
mov eax, 0x4000000
jmp 0x140003f86
mov eax, 0x10000
mov r14, qword [rsp + 0x598]
mov rdi, qword [rsp + 0x5a0]
mov rsi, qword [rsp + 0x5e8]
mov r15, qword [rsp + 0x590]
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14005f850
add rsp, 0x5a8
pop r13
pop r12
pop rbx
pop rbp
ret