Function at 0x1400525d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf80]
mov eax, 0x1080
call fcn.1400b6710
sub rsp, rax
movaps xmmword [rsp + 0x1070], xmm6
movzx r14d, r8b
mov ebx, edx
mov rsi, rcx
test edx, edx
je 0x140052a0f
lea rdi, [rcx + 0x2a0]
cmp dword [rcx + 0x2a8], edx
jb 0x140052629
mov rax, qword [rdi]
test rax, rax
jne 0x140052661
mov rcx, qword [rdi]
test rcx, rcx
je 0x14005263c
call fcn.1400b60a4
mov ebx, dword [rbp + 0xfc8]
mov ecx, ebx
mov dword [rsi + 0x2a8], ebx
call fcn.1400b609c
mov qword [rdi], rax
test rax, rax
jne 0x14005265b
mov eax, 0x80040202
jmp 0x140052a11
mov ebx, dword [rbp + 0xfc8]
mov rcx, qword [rsi + 0x70]
lea r9, [rbp + 0xfd8]
xor r13d, r13d
mov r8d, ebx
mov rdx, rax
mov dword [rbp + 0xfd8], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140053349
cmp dword [rbp + 0xfd8], ebx
jne 0x140053349
mov r10, qword [rdi]
mov qword [rsp + 0x40], r10
cmp byte [rsi + 0x2e0], r13b
je 0x14005277b
test r14b, r14b
jne 0x14005277b
mov eax, dword [rsi + 0x2c]
lea r9, [rsp + 0x40]
mov rdx, qword [rsi + 0x2b0]
lea r8, [rbp + 0xfd8]
mov rcx, qword [rsi + 0x2e8]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xfc8]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0xfd8], r13d
call fcn.14002bdd0
mov ecx, eax
mov edx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052774
nop dword [rax]
mov r8d, dword [rbp + 0xfd8]
test r8d, r8d
je 0x14005272c
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
jmp 0x140052739
cmp dword [rbp + 0xfc8], r13d
je 0x140052a0f
mov eax, dword [rsi + 0x2c]
lea r9, [rsp + 0x40]
mov rdx, qword [rsi + 0x2b0]
lea r8, [rbp + 0xfd8]
mov rcx, qword [rsi + 0x2e8]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0xfc8]
mov qword [rsp + 0x20], rax
call fcn.14002bdd0
mov edx, eax
shr eax, 0x1f
test al, al
je 0x140052700
mov eax, edx
jmp 0x140052a11
movzx ecx, word [rsi + 0x2c8]
cmp ecx, 0x50
ja 0x140052e1e
je 0x140052b8f
cmp ecx, 1
je 0x140052aac
cmp ecx, 2
je 0x140052a34
cmp ecx, 5
jbe 0x140052a0f
cmp ecx, 7
jbe 0x14005297e
cmp ecx, 0x11
jne 0x140052a0f
mov ecx, dword [rbp + 0xfc8]
test ecx, ecx
je 0x140052a0f
movss xmm6, dword [0x14012bff4]
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rsi + 0x3f4]
mov r8d, ecx
mov r11d, dword [rsi + 0x3f8]
cmp eax, ecx
mov r12d, r13d
cmovb r8d, eax
xor edx, edx
sub ecx, r8d
mov dword [rsp + 0x48], r8d
mov dword [rbp + 0xfc8], ecx
mov eax, r8d
mov ecx, dword [rsi + 0x20]
div ecx
lea eax, [rax*2 - 7]
cmp r11d, eax
cmovae r11d, eax
mov dword [rbp + 0xfd8], r11d
test ecx, ecx
je 0x14005293a
nop
lea eax, [r12*4]
mov ecx, r12d
movsx edx, word [rax + r10]
xor edi, edi
mov r8d, eax
xor ebx, ebx
xor r15d, r15d
mov dword [rsi + rcx*8 + 0x2e8], edx
movzx eax, byte [rax + r10 + 2]
mov dword [rsi + rcx*8 + 0x2ec], eax
mov rax, qword [rsi + 0x2b0]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov r9, qword [rax + rcx*8]
mulss xmm0, xmm6
movss dword [r9], xmm0
mov eax, dword [rsi + 0x20]
mov r10, qword [rsp + 0x40]
lea r14, [r8 + rax*4]
add r14, r10
cmp r11d, 1
jbe 0x140052925
lea ecx, [r11 - 1]
mov qword [rsp + 0x50], rcx
lea r10, [rsi + 0x2e8]
lea r13, [r9 + 4]
nop word [rax + rax]
mov r9d, dword [rsi + 0x2ac]
cmp ebx, r9d
jae 0x1400528dd
movzx edx, byte [rdi + r14]
mov ecx, ebx
shl edx, cl
inc edi
add r15d, edx
cmp edi, 4
jne 0x1400528da
mov eax, dword [rsi + 0x20]
shl eax, 2
add r14, rax
xor edi, edi
add ebx, 8
mov ecx, r9d
mov r8d, 1
shl r8d, cl
mov edx, r12d
dec r8d
sub ebx, r9d
and r8d, r15d
shr r15d, cl
mov rcx, r10
call fcn.14003da00
movss dword [r13], xmm0
lea r10, [rsi + 0x2e8]
add r13, 4
sub qword [rsp + 0x50], 1
jne 0x1400528b0
mov r10, qword [rsp + 0x40]
mov r11d, dword [rbp + 0xfd8]
inc r12d
cmp r12d, dword [rsi + 0x20]
jb 0x140052830
mov r8d, dword [rsp + 0x48]
xor r13d, r13d
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x2b0]
mov eax, r8d
mov r8d, r11d
add r10, rax
mov qword [rsp + 0x40], r10
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov ecx, dword [rbp + 0xfc8]
test ecx, ecx
je 0x140052a0f
mov r10, qword [rsp + 0x40]
jmp 0x1400527e0
mov edi, dword [rbp + 0xfc8]
test edi, edi
je 0x140052a0f
nop dword [rax]
cmp edi, dword [rsi + 0x2c]
mov ebx, edi
mov rdx, r10
cmovae ebx, dword [rsi + 0x2c]
sub edi, ebx
mov r8d, ebx
test r14b, r14b
je 0x1400529b5
mov rcx, qword [rsi + 0x10]
mov r9d, ebx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x1400529ef
cmp word [rsi + 0x2c8], 6
mov r9d, dword [rsi + 0x20]
mov rcx, qword [rsi + 0x2b0]
mov dword [rsp + 0x20], r13d
jne 0x1400529d6
call fcn.140046bf0
jmp 0x1400529db
call fcn.140046e50
mov rcx, qword [rsi + 0x10]
mov r8d, ebx
mov rdx, qword [rsi + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr eax, 0x1f
test al, al
jne 0x140052b88
mov r10, qword [rsp + 0x40]
mov eax, ebx
add r10, rax
mov qword [rsp + 0x40], r10
test edi, edi
jne 0x140052990
xor eax, eax
mov rbx, qword [rsp + 0x10c0]
movaps xmm6, xmmword [rsp + 0x1070]
add rsp, 0x1080
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rbp + 0xfc8]
test ecx, ecx
je 0x140052a0f
nop
mov eax, dword [rsi + 0x314]
mov ebx, ecx
mov rdx, qword [rsi + 0x2b0]
cmp eax, ecx
mov r8, r10
cmovb ebx, eax
sub ecx, ebx
mov r9d, ebx
mov dword [rbp + 0xfc8], ecx
lea rcx, [rsi + 0x2e8]
call fcn.1400461f0
mov rdx, qword [rsi + 0x2b0]
mov r8d, eax
mov ecx, ebx
add qword [rsp + 0x40], rcx
mov rcx, qword [rsi + 0x10]
mov r9, qword [rcx]
call qword [r9 + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov ecx, dword [rbp + 0xfc8]
test ecx, ecx
je 0x140052a0f
mov r10, qword [rsp + 0x40]
jmp 0x140052a40
mov ecx, dword [rsi + 0x2ac]
xor edx, edx
mov eax, dword [rbp + 0xfc8]
shl rax, 3
lea r12d, [rcx + 7]
imul ecx, dword [rsi + 0x20]
shr r12d, 3
imul r12d, dword [rsi + 0x20]
div rcx
mov rdi, rax
test eax, eax
je 0x140052a0f
nop dword [rax]
cmp edi, dword [rsi + 0x2c]
mov ebx, edi
mov r15d, r12d
cmovae ebx, dword [rsi + 0x2c]
sub edi, ebx
imul r15d, ebx
test r14b, r14b
je 0x140052b0c
mov rcx, qword [rsi + 0x10]
mov r9d, ebx
mov r8d, r15d
mov rdx, r10
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x140052b62
lea rcx, [rsi + 0x58]
mov edx, 2
call fcn.140025da0
cmp dword [rsi + 0x2ac], 8
mov r8d, dword [rsi + 0x20]
mov rdx, qword [rsp + 0x40]
setbe cl
mov byte [rsp + 0x38], r13b
xor r9d, r9d
mov byte [rsp + 0x30], cl
mov rcx, qword [rsi + 0x2b0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.1400266e0
mov rcx, qword [rsi + 0x10]
mov r8d, ebx
mov rdx, qword [rsi + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr eax, 0x1f
test al, al
jne 0x140052b88
mov r10, qword [rsp + 0x40]
mov eax, r15d
add r10, rax
mov qword [rsp + 0x40], r10
test edi, edi
jne 0x140052ae0
jmp 0x140052a0f
mov eax, ecx
jmp 0x140052a11
cmp qword [rsi + 0x2f8], r13
je 0x140052d1a
mov edx, dword [rbp + 0xfc8]
test edx, edx
je 0x140052a0f
nop word [rax + rax]
mov ecx, dword [rsi + 0x304]
mov eax, dword [rsi + 0x300]
sub eax, ecx
cmp eax, edx
cmovb edx, eax
add rcx, qword [rsi + 0x2f8]
mov edi, edx
mov r8d, edx
mov rdx, r10
call fcn.1400b9e30
mov r10, qword [rsp + 0x40]
mov edx, dword [rbp + 0xfc8]
add r10, rdi
add dword [rsi + 0x304], edi
sub edx, edi
mov r8d, dword [rsi + 0x304]
mov qword [rsp + 0x40], r10
mov dword [rbp + 0xfc8], edx
cmp r8d, dword [rsi + 0x300]
jne 0x140052d0d
mov rdx, qword [rsi + 0x2f8]
mov rcx, qword [rsi + 0x2e8]
call fcn.140045ba0
mov rcx, qword [rsi + 0x2f0]
test r14b, r14b
je 0x140052c43
lea rax, [rbp + 0xfd8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor edx, edx
jmp 0x140052c56
mov r8d, dword [rsi + 0x20]
xor r9d, r9d
mov rdx, qword [rsi + 0x2b0]
mov qword [rsp + 0x20], r13
call fcn.14003f330
mov rcx, qword [rsi + 0x2e8]
mov r15d, eax
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, dword [rsi + 0x304]
add rax, 7
cqo
and edx, 7
add rax, rdx
sar rax, 3
cmp eax, ebx
cmovbe ebx, eax
test ebx, ebx
je 0x140052cd7
test r14b, r14b
je 0x140052cb3
mov rcx, qword [rsi + 0x10]
mov r9d, r15d
mov rdx, qword [rsi + 0x2f8]
mov r8d, ebx
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov edi, dword [rsi + 0x304]
sub edi, ebx
je 0x140052cd1
mov rcx, qword [rsi + 0x2f8]
mov edx, ebx
add rdx, rcx
mov r8d, edi
call fcn.1400b9e30
mov dword [rsi + 0x304], edi
test r14b, r14b
jne 0x140052d02
test r15d, r15d
je 0x140052d02
mov rcx, qword [rsi + 0x10]
mov r8d, r15d
mov rdx, qword [rsi + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov edx, dword [rbp + 0xfc8]
mov r10, qword [rsp + 0x40]
test edx, edx
jne 0x140052bb0
jmp 0x140052a0f
mov r8d, dword [rbp + 0xfc8]
mov rdx, r10
mov rcx, qword [rsi + 0x2e8]
call fcn.140045ba0
mov rcx, qword [rsi + 0x2e8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
jne 0x140052a0f
nop word [rax + rax]
mov rcx, qword [rsi + 0x2f0]
test r14b, r14b
je 0x140052dbc
lea rax, [rbp + 0xfd8]
xor r8d, r8d
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor edx, edx
call fcn.14003f330
mov r9d, dword [rbp + 0xfd8]
mov ebx, eax
test r9d, r9d
je 0x140052dfa
mov rcx, qword [rsi + 0x2e8]
lea rdx, [rsp + 0x70]
mov r8d, dword [rsp + 0x48]
mov r10, qword [rcx]
call qword [r10 + 0x40]
test al, al
je 0x140052e14
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x70]
mov r8d, dword [rbp + 0xfd8]
mov r9d, ebx
mov rax, qword [rcx]
call qword [rax + 0x20]
jmp 0x140052ded
mov r8d, dword [rsi + 0x20]
xor r9d, r9d
mov rdx, qword [rsi + 0x2b0]
mov qword [rsp + 0x20], r13
call fcn.14003f330
test eax, eax
je 0x140052dfa
mov rcx, qword [rsi + 0x10]
mov r8d, eax
mov rdx, qword [rsi + 0x2b0]
mov r9, qword [rcx]
call qword [r9 + reloc.WSOCK32.dll_recv]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov rcx, qword [rsi + 0x2e8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x140052d50
jmp 0x140052a0f
mov eax, 0x80040200
jmp 0x140052a11
sub ecx, 0xff
je 0x14005317d
sub ecx, 0x1f01
je 0x140053006
cmp ecx, 1
jne 0x140052a0f
mov edx, dword [rsi + 0x304]
test edx, edx
je 0x140052ee8
mov ebx, dword [rbp + 0xfc8]
mov rax, qword [rsi + 0x2f0]
mov ecx, dword [rax + 4]
sub ecx, edx
cmp ecx, ebx
cmovb ebx, ecx
mov ecx, edx
add rcx, qword [rsi + 0x2f8]
mov rdx, r10
mov r8d, ebx
mov edi, ebx
call fcn.1400b9e30
mov ecx, dword [rsi + 0x304]
mov rdx, qword [rsi + 0x2f0]
add ecx, ebx
mov dword [rsi + 0x304], ecx
mov r8d, dword [rdx + 4]
cmp ecx, r8d
jb 0x140052a0f
mov rcx, qword [rsi + 0x10]
mov r9d, dword [rdx + 8]
mov rdx, qword [rsi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov r10, qword [rsp + 0x40]
mov eax, dword [rbp + 0xfc8]
add r10, rdi
sub eax, ebx
mov dword [rsi + 0x304], r13d
mov dword [rbp + 0xfc8], eax
mov qword [rsp + 0x40], r10
je 0x140052a0f
jmp 0x140052eee
mov eax, dword [rbp + 0xfc8]
cmp eax, 0x80
jb 0x140052fba
nop dword [rax]
mov rcx, qword [rsi + 0x2e8]
mov r8d, eax
mov rdx, r10
call fcn.140045ba0
mov rcx, qword [rsi + 0x2f0]
call fcn.14002da80
cmp eax, 1
je 0x140052a0f
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov r8, qword [rsi + 0x2f0]
mov ebx, dword [rbp + 0xfc8]
mov edx, dword [r8]
mov ecx, dword [r8 + 4]
add ecx, edx
cmp ecx, ebx
ja 0x140052fdd
mov rcx, qword [rsi + 0x10]
mov eax, edx
mov rdx, qword [rsp + 0x40]
add rdx, rax
mov qword [rsp + 0x40], rdx
sub ebx, dword [r8]
mov dword [rbp + 0xfc8], ebx
mov r9d, dword [r8 + 8]
mov rax, qword [rcx]
mov r8d, dword [r8 + 4]
call qword [rax + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov rcx, qword [rsi + 0x2f0]
mov r10, qword [rsp + 0x40]
mov eax, dword [rcx + 4]
add r10, rax
mov eax, dword [rbp + 0xfc8]
mov qword [rsp + 0x40], r10
sub eax, dword [rcx + 4]
mov dword [rbp + 0xfc8], eax
cmp eax, 0x80
jae 0x140052f00
mov rcx, qword [rsi + 0x2f8]
mov rdx, r10
mov r8d, eax
call fcn.1400b9e30
mov eax, dword [rbp + 0xfc8]
mov dword [rsi + 0x304], eax
jmp 0x140052a0f
cmp edx, ebx
ja 0x140052a0f
mov rcx, qword [rsi + 0x2f8]
sub ebx, edx
add rdx, qword [rsp + 0x40]
mov r8d, ebx
call fcn.1400b9e30
mov dword [rsi + 0x304], ebx
jmp 0x140052a0f
mov edx, dword [rsi + 0x304]
test edx, edx
je 0x1400530af
mov ebx, dword [rbp + 0xfc8]
mov rax, qword [rsi + 0x2f0]
mov ecx, dword [rax + 4]
sub ecx, edx
cmp ecx, ebx
cmovb ebx, ecx
mov ecx, edx
add rcx, qword [rsi + 0x2f8]
mov rdx, r10
mov r8d, ebx
mov edi, ebx
call fcn.1400b9e30
mov ecx, dword [rsi + 0x304]
mov rdx, qword [rsi + 0x2f0]
add ecx, ebx
mov dword [rsi + 0x304], ecx
mov r8d, dword [rdx + 4]
cmp ecx, r8d
jb 0x140052a0f
mov rcx, qword [rsi + 0x10]
mov r9d, dword [rdx + 8]
mov rdx, qword [rsi + 0x2f8]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov r10, qword [rsp + 0x40]
mov eax, dword [rbp + 0xfc8]
add r10, rdi
sub eax, ebx
mov dword [rsi + 0x304], r13d
mov dword [rbp + 0xfc8], eax
mov qword [rsp + 0x40], r10
je 0x140052a0f
jmp 0x1400530b5
mov eax, dword [rbp + 0xfc8]
cmp eax, 0x40
jb 0x140052fba
nop
mov rcx, qword [rsi + 0x2e8]
mov r8d, eax
mov rdx, r10
call fcn.140045ba0
mov rcx, qword [rsi + 0x2f0]
call fcn.14002b850
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
cmp eax, 1
je 0x140052a0f
mov r8, qword [rsi + 0x2f0]
mov ebx, dword [rbp + 0xfc8]
mov edx, dword [r8]
mov ecx, dword [r8 + 4]
add ecx, edx
cmp ecx, ebx
ja 0x140052fdd
mov rcx, qword [rsi + 0x10]
mov eax, edx
mov rdx, qword [rsp + 0x40]
add rdx, rax
mov qword [rsp + 0x40], rdx
sub ebx, dword [r8]
mov dword [rbp + 0xfc8], ebx
mov r9d, dword [r8 + 8]
mov rax, qword [rcx]
mov r8d, dword [r8 + 4]
call qword [rax + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov rcx, qword [rsi + 0x2f0]
mov r10, qword [rsp + 0x40]
mov eax, dword [rcx + 4]
add r10, rax
mov eax, dword [rbp + 0xfc8]
mov qword [rsp + 0x40], r10
sub eax, dword [rcx + 4]
mov dword [rbp + 0xfc8], eax
cmp eax, 0x40
jae 0x1400530c0
jmp 0x140052fba
test r14b, r14b
je 0x140053281
cmp byte [r10], 0xff
jne 0x14005323b
movzx eax, byte [r10 + 1]
and al, 0xf6
cmp al, 0xf0
jne 0x14005323b
cmp qword [rsi + 0x2f0], r13
jne 0x14005321e
mov ecx, reloc.WSOCK32.dll_recv
call fcn.1400b609c
mov rdx, qword [rsp + 0x40]
lea r8, [rsi + 0x2fc]
mov rcx, rax
mov qword [rsi + 0x2f0], rax
call fcn.14003edc0
movzx ecx, byte [rsi + 0x2fc]
mov rdx, qword [rsi + 0x2f0]
movsxd rdi, eax
mov byte [rsp + 0x58], cl
mov r8, rdi
lea rcx, [rsp + 0x59]
mov dword [rsi + 0x2f8], edi
call fcn.1400b9e30
mov rcx, qword [rsi + 0x10]
lea r8d, [rdi + 1]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov r10, qword [rcx]
call qword [r10 + 0x20]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140052a11
mov r10, qword [rsp + 0x40]
mov r8d, dword [rbp + 0xfc8]
add r10, 7
add r8d, 0xfffffff9
mov qword [rsp + 0x40], r10
mov dword [rbp + 0xfc8], r8d
jmp 0x140053242
mov r8d, dword [rbp + 0xfc8]
mov ecx, 3
dec ecx
cmp r8d, 1
jbe 0x140053266
lea edx, [r8 - 1]
cmp byte [rdx + r10], r13b
jne 0x140053266
mov dword [rbp + 0xfc8], edx
mov r8d, edx
test ecx, ecx
jne 0x140053247
mov rcx, qword [rsi + 0x10]
mov r9d, 0x400
mov rdx, r10
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r8d, eax
jmp 0x140053333
mov ecx, dword [rbp + 0xfc8]
cmp ecx, 4
jb 0x14005332c
mov eax, dword [rsi + 0x2c]
lea r8, [rbp + 0xfd8]
mov rdx, qword [rsi + 0x2b0]
mov r9, r10
mov dword [rbp + 0xfd8], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsi + 0x2e8]
call fcn.14003e5d0
mov r8d, eax
shr eax, 0x1f
test al, al
jne 0x140053333
mov edx, dword [rbp + 0xfd8]
test edx, edx
je 0x1400532fc
mov rcx, qword [rsi + 0x10]
mov r8d, edx
mov rdx, qword [rsi + 0x2b0]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r8d, eax
shr eax, 0x1f
test al, al
jne 0x140053333
mov edx, dword [rsp + 0x48]
jmp 0x140053304
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x140053333
mov r10, qword [rsp + 0x40]
mov ecx, dword [rbp + 0xfc8]
sub ecx, edx
mov eax, edx
add r10, rax
mov dword [rbp + 0xfc8], ecx
mov qword [rsp + 0x40], r10
cmp ecx, 4
jae 0x140053290
jmp 0x140053333
mov r8d, dword [rbp + 0xfc8]
mov eax, r8d
shr eax, 0x1f
test al, al
je 0x140052a0f
mov eax, r8d
jmp 0x140052a11
mov eax, 0x80040205
jmp 0x140052a11