Function at 0x1400aa870
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x368]
sub rsp, 0x468
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r12, r9
mov qword [rbp - 0x20], r9
mov rbx, r8
mov qword [rbp - 0x38], rbx
mov r14, rdx
mov qword [rbp - 0x30], rdx
mov r15, rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], r9
xor edi, edi
mov dword [rbp - 0x80], edi
mov esi, edi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rdi
mov rcx, r9
cmp qword [r9 + 0x18], 8
jb 0x1400aa8e9
mov rcx, qword [r9]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
cmp eax, 0xffffffff
jne 0x1400aaa92
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], di
mov dword [rbp - 0x80], 1
mov rdx, qword [r12 + 0x10]
add rdx, 0x15
lea rcx, [rbp + 0x50]
call fcn.140014540
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.The_source_directory
lea rcx, [rbp + 0x50]
call fcn.140012db0
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400aa948
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140012db0
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._is_not_found
lea rcx, [rbp + 0x50]
call fcn.140012db0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov dword [rbp - 0x80], 3
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, qword [rbp - 0x78]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x1400aa9dd
lea ecx, [rbx + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rbp + 0x90], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x1400aa9d6
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14002d030
nop
lea rcx, [rbp - 0x78]
call fcn.1400049f0
nop
lea rcx, [rbp + 0x50]
call fcn.1400049f0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1400aaa70
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400aaa27
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400aaa12
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400aaa5a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aaa5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400ace14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
xor eax, eax
mov qword [rbp + 0x48], rax
mov rcx, r14
call fcn.1400049f0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400049f0
nop
mov rcx, r12
call fcn.1400049f0
xor al, al
jmp 0x1400ab8ac
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
jne 0x1400aab20
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
lea rdx, str.Error_allocating_memory
call fcn.14002d1d0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1400aaa70
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400aaae5
nop
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400aaad0
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400aaa5a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aaa5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400aab2d
mov rcx, qword [r14]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
cmp eax, 0xffffffff
jne 0x1400aab4f
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400aab47
mov rdx, qword [r14]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea r8, [0x140147454]
mov rdx, r14
lea rcx, [rbp - 8]
call fcn.140013560
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400aab70
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140012db0
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rbp - 8]
call fcn.1400049f0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.zlibwapi.dll_Ordinal_110]
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae r8, qword [rbp + 0x70]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rdx + 1]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov ecx, eax
call fcn.1400ace58
mov r14, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae r8, qword [rbp + 0x70]
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
xor edx, edx
lea ecx, [rax + 1]
lea r9d, [rax - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x1400aace7
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
lea rdx, str.WideCharToMultiByte_Error
call fcn.14002d1d0
nop
lea rcx, [rbp + 0x70]
call fcn.1400049f0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1400aacde
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400aac95
nop
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400aac80
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400aacc8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aacc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400ace14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
xor eax, eax
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp - 0x30]
jmp 0x1400aaa73
mov rdi, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x38]
cmp rbx, rdi
je 0x1400aad09
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400aacf4
mov rbx, qword [rbp + 0x38]
mov qword [rbp + 0x40], rbx
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400aad1c
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wchdir]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], ax
xor r8d, r8d
lea rdx, [0x14013e918]
lea rcx, [rbp - 0x58]
call fcn.140004a60
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.1400abca0
lea r9, [rbp + 0xc0]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.zlibwapi.dll_Ordinal_88]
mov rbx, rax
mov qword [rbp - 0x28], rax
mov rcx, r14
call fcn.1400ace14
test rbx, rbx
jne 0x1400aae1c
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov dword [rbp - 0x80], reloc.WS2_32.dll_inet_ntoa
mov rdx, qword [rbp + 0x80]
add rdx, 0xe
lea rcx, [rbp + 0x50]
call fcn.140014540
lea r8d, [rbx + 0xe]
lea rdx, [0x140147520]
lea rcx, [rbp + 0x50]
call fcn.140012db0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.140012db0
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rbx, qword [rbp + 0x50]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d030
nop
lea rcx, [rbp + 0x50]
call fcn.1400049f0
lea esi, [r15 - 1]
jmp 0x1400aaeab
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r15w
mov dword [rbp - 0x80], reloc.WS2_32.dll_sendto
mov rdx, qword [rbp + 0x80]
add rdx, 9
lea rcx, [rbp + 0x50]
call fcn.140014540
lea r8d, [r15 + 9]
lea rdx, str.creating
lea rcx, [rbp + 0x50]
call fcn.140012db0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.140012db0
lea rbx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rbx, qword [rbp + 0x50]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rbx
call fcn.14002d030
nop
lea rcx, [rbp + 0x50]
call fcn.1400049f0
mov rbx, qword [rbp + 0x38]
mov qword [rbp - 0x18], rbx
mov r14d, 4
cmp rbx, qword [rbp + 0x40]
je 0x1400ab56b
mov r12d, r14d
test esi, esi
jne 0x1400ab567
mov qword [rbp + 0x18], r15
mov rdx, rbx
lea rcx, [rbp + 0x50]
call fcn.1400123b0
nop
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xb0], 0
mov dword [rbp + 0xb8], r15d
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rcx, qword [rbp + 0x50]
lea rdx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400aaf6e
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x114]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0xb2]
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r8, qword [rbp + 0x50]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor edx, edx
lea ecx, [rdx + 1]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov ecx, eax
call fcn.1400ace58
mov r15, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae r8, qword [rbp + 0x50]
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
xor edx, edx
lea ecx, [rdi + 1]
lea r9d, [rdi - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1400ab6c8
mov dword [rsp + 0x78], edi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x60], 8
mov dword [rsp + 0x58], 0xfffffff1
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [rbp + 0x98]
mov rdx, r15
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.zlibwapi.dll_Ordinal_89]
mov esi, eax
mov rcx, r15
call fcn.1400ace14
test esi, esi
je 0x1400ab12f
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], di
or r14d, 0x20
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x60]
add rdx, 0x11
lea rcx, [rbp - 0x58]
call fcn.140014540
lea r8d, [rdi + 0x11]
lea rdx, str.error_in_opening
lea rcx, [rbp - 0x58]
call fcn.140012db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140012db0
lea r8d, [rdi + 0xb]
lea rdx, str._in_zipfile
lea rcx, [rbp - 0x58]
call fcn.140012db0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov r14d, r12d
or r14d, 0x60
mov dword [rbp - 0x80], r14d
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, qword [rbp - 0x78]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rdi
call fcn.14002d030
nop
lea rcx, [rbp - 0x78]
call fcn.1400049f0
and r14d, 0xffffffdf
lea rcx, [rbp - 0x58]
jmp 0x1400ab540
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
lea r8, [0x1401475a4]
lea rcx, [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov r9, qword [rbp + 0x18]
test r9, r9
jne 0x1400ab235
lea esi, [r9 - 1]
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
bts r14d, 7
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x60]
add rdx, 0x11
lea rcx, [rbp - 0x78]
call fcn.140014540
lea r8d, [rsi + 0x12]
lea rdx, str.error_in_opening
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea r8d, [rsi + 0xd]
lea rdx, str._for_reading
lea rcx, [rbp - 0x78]
call fcn.140012db0
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov r14d, r12d
or r14d, 0x180
mov dword [rbp - 0x80], r14d
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdi, qword [rbp - 0x58]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rdi
call fcn.14002d030
nop
lea rcx, [rbp - 0x58]
call fcn.1400049f0
btr r14d, 7
jmp 0x1400ab53c
mov rbx, qword [rbp - 0x28]
nop dword [rax]
mov r12d, r14d
mov r15d, edi
mov edx, 1
mov r8d, 0x4000
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rsi, rax
cmp eax, 0x4000
jge 0x1400ab30d
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x1400ab30d
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], di
bts r14d, 9
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x60]
add rdx, 0x11
lea rcx, [rbp - 0x78]
call fcn.140014540
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.error_in_reading
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, qword [rbp - 0x78]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rdi
call fcn.14002d030
mov r14d, r12d
btr r14d, 9
lea rcx, [rbp - 0x78]
call fcn.1400049f0
mov r15d, 0xffffffff
mov edi, r14d
test esi, esi
jle 0x1400ab415
mov r8d, esi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.zlibwapi.dll_Ordinal_82]
mov r15d, eax
test eax, eax
jns 0x1400ab415
xor r12d, r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
bts r14d, 0xa
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x60]
add rdx, 0x11
lea rcx, [rbp - 0x78]
call fcn.140014540
lea r8d, [r12 + 0x11]
lea rdx, str.error_in_writing
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea r8d, [r12 + 0xf]
lea rdx, str._in_the_zipfile
lea rcx, [rbp - 0x78]
call fcn.140012db0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r14d, edi
or r14d, 0xc00
mov dword [rbp - 0x80], r14d
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdi, qword [rbp - 0x58]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rdi
call fcn.14002d030
nop
lea rcx, [rbp - 0x58]
call fcn.1400049f0
btr r14d, 0xa
lea rcx, [rbp - 0x78]
call fcn.1400049f0
jmp 0x1400ab418
xor r12d, r12d
mov edi, r14d
test r15d, r15d
jne 0x1400ab42f
test esi, esi
jle 0x1400ab42f
mov r9, qword [rbp + 0x18]
xor edi, edi
jmp 0x1400ab240
mov rcx, qword [rbp + 0x18]
test rcx, rcx
mov rbx, qword [rbp - 0x18]
je 0x1400ab442
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r15d, r15d
jns 0x1400ab451
mov esi, 0xffffffff
jmp 0x1400ab546
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.zlibwapi.dll_Ordinal_83]
mov esi, eax
test eax, eax
je 0x1400ab546
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r12w
bts r14d, 0xc
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x60]
add rdx, 0x11
lea rcx, [rbp - 0x78]
call fcn.140014540
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, [0x1401475b8]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140012db0
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str._in_the_zipfile
lea rcx, [rbp - 0x78]
call fcn.140012db0
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r14d, edi
or r14d, 0x3000
mov dword [rbp - 0x80], r14d
lea rdi, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdi, qword [rbp - 0x58]
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
mov rdx, rdi
call fcn.14002d030
nop
lea rcx, [rbp - 0x58]
call fcn.1400049f0
btr r14d, 0xc
lea rcx, [rbp - 0x78]
call fcn.1400049f0
nop
lea rcx, [rbp + 0x50]
call fcn.1400049f0
add rbx, 0x20
mov qword [rbp - 0x18], rbx
cmp rbx, qword [rbp + 0x40]
mov r15d, 0
jne 0x1400aaec3
mov r12, qword [rbp - 0x20]
xor edx, edx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.zlibwapi.dll_Ordinal_84]
mov ebx, eax
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [0x1401475b4]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__chdir]
test ebx, ebx
je 0x1400ab7a5
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], si
bts r14d, 0xe
mov dword [rbp - 0x80], r14d
mov rdx, qword [rbp + 0x80]
add rdx, 0x11
lea rcx, [rbp - 0x78]
call fcn.140014540
lea r8d, [rsi + 0x11]
lea rdx, [0x1401475b8]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x80]
lea rcx, [rbp - 0x78]
call fcn.140012db0
lea rdi, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdi, qword [rbp - 0x78]
mov rbx, qword [0x1401a4e50]
test rbx, rbx
jne 0x1400ab63f
lea ecx, [rsi + 4]
call fcn.1400ace1c
mov rbx, rax
mov qword [rbp + 0x90], rax
call fcn.14002cc80
mov dword [rbx], eax
test eax, eax
je 0x1400ab638
call fcn.14002cd70
nop
mov qword [0x1401a4e50], rbx
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.14002d030
nop
lea rcx, [rbp - 0x78]
call fcn.1400049f0
nop
lea rcx, [rbp + 0x70]
call fcn.1400049f0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1400ab79c
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400ab68d
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ab678
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400ab788
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ab788
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14002cc30
mov rcx, rax
mov r8b, 1
lea rdx, str.WideCharToMultiByte_Error
call fcn.14002d1d0
nop
lea rcx, [rbp + 0x50]
call fcn.1400049f0
nop
lea rcx, [rbp + 0x70]
call fcn.1400049f0
nop
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x1400ab764
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400ab71b
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ab706
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400ab74e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ab74e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400ace14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
xor eax, eax
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp - 0x30]
call fcn.1400049f0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400049f0
nop
mov rcx, qword [rbp - 0x20]
call fcn.1400049f0
xor al, al
jmp 0x1400ab8ac
mov rcx, rbx
call fcn.1400ace14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], rsi
mov rcx, qword [rbp - 0x30]
jmp 0x1400aaa73
lea rcx, [rbp + 0x70]
call fcn.1400049f0
nop
mov rbx, qword [rbp + 0x38]
cmp esi, 0xffffffff
jne 0x1400ab820
test rbx, rbx
je 0x1400aacde
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400ab7e5
nop word [rax + rax]
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ab7d0
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400aacc8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aacc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rbx, rbx
je 0x1400ab88e
mov rdi, qword [rbp + 0x40]
cmp rbx, rdi
je 0x1400ab845
nop
mov rcx, rbx
call fcn.1400049f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ab830
mov rbx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x48]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400ab878
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ab878
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400ace14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
xor eax, eax
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp - 0x30]
call fcn.1400049f0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1400049f0
nop
mov rcx, r12
call fcn.1400049f0
mov al, 1
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1400acdf0
add rsp, 0x468
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret