Function at 0x140049db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x4f0
mov rax, qword [0x1400d3010]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov qword [rsp + 0xb0], rdx
xor esi, esi
lea rdx, [rsp + 0x90]
mov qword [rsp + 0xc0], r9
mov r12d, esi
mov qword [rsp + 0xb8], r8
mov rbx, rcx
mov dword [rsp + 0xac], 0xff
call fcn.140049910
test rax, rax
je 0x14004ac13
mov eax, dword [rbx + 4]
mov edi, dword [rsp + 0x98]
mov r9d, dword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x94]
mov dword [rsp + 0x78], eax
cdq
mov r8d, eax
mov dword [rsp + 0x48], r9d
mov eax, dword [rsp + 0x9c]
xor r8d, edx
mov dword [rsp + 0x34], eax
sub r8d, edx
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x2c], eax
mov dword [rbx + 4], r8d
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x20], ebp
cmp edi, 0xc
jne 0x140049ea2
cmp ebp, 0x18
jge 0x140049eb5
lea ecx, [r13 - 0x26]
mov eax, 0x55555556
imul ecx
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
jmp 0x140049eb5
cmp ebp, 0x10
jge 0x140049eb5
mov r12d, r13d
sub r12d, edi
sub r12d, 0xe
sar r12d, 2
mov ecx, dword [rbx]
mov eax, esi
test r9d, r9d
setne al
imul ecx, r8d
add eax, 3
mov dword [rbx + 8], eax
shl ecx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x88], rax
mov r15, rax
test rax, rax
je 0x14004ac13
mov qword [rsp + 0x4e8], r14
cmp ebp, 0x10
jge 0x14004a3e1
test r12d, r12d
je 0x14004ac06
cmp r12d, 0x100
jg 0x14004ac06
test r12d, r12d
jle 0x14004a133
mov rax, qword [rbx + 0xb8]
xor r14d, r14d
movsxd r15, r12d
mov rcx, qword [rbx + 0xc0]
cmp rax, rcx
jb 0x140049f82
cmp dword [rbx + 0x30], esi
je 0x140049fa8
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x140049f6b
lea rax, [rbx + 0x39]
mov dword [rbx + 0x30], esi
mov qword [rbx + 0xc0], rax
mov byte [rdi], sil
mov rcx, qword [rbx + 0xc0]
jmp 0x140049f7b
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
mov rax, qword [rbx + 0xb8]
movzx edx, byte [rax]
lea rbp, [r14*4]
inc rax
mov byte [rsp + rbp + 0xd2], dl
mov qword [rbx + 0xb8], rax
mov r8, rbp
cmp rax, rcx
jae 0x140049fbb
jmp 0x14004a00e
lea rbp, [r14*4]
mov byte [rsp + rbp + 0xd2], sil
mov r8, rbp
cmp dword [rbx + 0x30], esi
je 0x14004a036
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x140049ff7
lea rax, [rbx + 0x39]
mov dword [rbx + 0x30], esi
mov qword [rbx + 0xc0], rax
mov byte [rdi], sil
mov rcx, qword [rbx + 0xc0]
jmp 0x14004a007
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
mov rax, qword [rbx + 0xb8]
movzx edx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
mov byte [rsp + rbp + 0xd1], dl
cmp rax, rcx
jae 0x14004a03e
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x14004a09b
mov byte [rsp + r8 + 0xd1], sil
cmp dword [rbx + 0x30], esi
je 0x14004a099
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a073
lea rax, [rbx + 0x39]
mov dword [rbx + 0x30], esi
mov qword [rbx + 0xc0], rax
mov byte [rdi], sil
jmp 0x14004a083
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
mov rax, qword [rbx + 0xb8]
movzx ecx, byte [rax]
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x14004a09b
xor cl, cl
mov edi, dword [rsp + 0x24]
mov byte [rsp + rbp + 0xd0], cl
cmp edi, 0xc
je 0x14004a117
cmp rax, qword [rbx + 0xc0]
jae 0x14004a0c0
inc rax
mov qword [rbx + 0xb8], rax
jmp 0x14004a117
cmp dword [rbx + 0x30], esi
je 0x14004a117
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a0f5
lea rax, [rbx + 0x39]
mov dword [rbx + 0x30], esi
mov qword [rbx + 0xc0], rax
mov byte [rdi], sil
jmp 0x14004a105
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
inc qword [rbx + 0xb8]
mov rax, qword [rbx + 0xb8]
mov edi, dword [rsp + 0x24]
inc r14
mov byte [rsp + rbp + 0xd3], 0xff
cmp r14, r15
jl 0x140049f23
mov r15, qword [rsp + 0x88]
xor eax, eax
lea r14, [rbx + 0xb8]
cmp edi, 0xc
setne al
add eax, 3
imul eax, r12d
sub r13d, eax
sub r13d, edi
sub r13d, 0xe
jns 0x14004a161
mov rax, qword [rbx + 0xc0]
mov qword [r14], rax
jmp 0x14004a194
cmp qword [rbx + 0x10], rsi
je 0x14004a18e
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [r14]
cmp ecx, r13d
jge 0x14004a18e
mov rax, qword [rbx + 0xc0]
sub r13d, ecx
mov rcx, qword [rbx + 0x28]
mov edx, r13d
mov qword [r14], rax
call qword [rbx + 0x18]
jmp 0x14004a194
movsxd rax, r13d
add qword [r14], rax
mov r11d, dword [rsp + 0x20]
cmp r11d, 4
jne 0x14004a1aa
mov r12d, dword [rbx]
inc r12d
shr r12d, 1
jmp 0x14004a1b7
cmp r11d, 8
jne 0x14004ac06
mov r12d, dword [rbx]
mov eax, dword [rbx + 4]
neg r12d
and r12d, 3
xor r13d, r13d
mov edx, eax
test eax, eax
jle 0x14004ab0c
nop
xor ebp, ebp
cmp dword [rbx], ebp
jle 0x14004a393
nop word [rax + rax]
mov r8, qword [r14]
cmp r8, qword [rbx + 0xc0]
jae 0x14004a1f8
movzx ecx, byte [r8]
inc r8
mov qword [r14], r8
jmp 0x14004a257
cmp dword [rbx + 0x30], 0
je 0x14004a255
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a231
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [r14]
mov byte [rax], 0
jmp 0x14004a241
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
mov rax, qword [r14]
mov r11d, dword [rsp + 0x20]
movzx ecx, byte [rax]
lea r8, [rax + 1]
mov qword [r14], r8
jmp 0x14004a257
xor cl, cl
xor r10d, r10d
movzx eax, cl
cmp r11d, 4
jne 0x14004a26d
mov r10d, eax
and r10d, 0xf
shr eax, 4
mov r9d, dword [rbx]
lea rdx, [rax*4]
movzx eax, byte [rsp + rdx + 0xd0]
movsxd rcx, esi
inc esi
mov byte [rcx + r15], al
movzx eax, byte [rsp + rdx + 0xd1]
movsxd rcx, esi
inc esi
mov byte [rcx + r15], al
movzx eax, byte [rsp + rdx + 0xd2]
movsxd rcx, esi
inc esi
mov byte [rcx + r15], al
movsxd rax, esi
inc esi
mov byte [rax + r15], 0xff
lea eax, [rbp + 1]
cmp eax, r9d
je 0x14004a393
cmp r11d, 8
jne 0x14004a342
cmp r8, qword [rbx + 0xc0]
jae 0x14004a2dd
movzx ecx, byte [r8]
lea rax, [r8 + 1]
mov qword [r14], rax
jmp 0x14004a33e
cmp dword [rbx + 0x30], 0
je 0x14004a33c
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a316
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [r14]
mov byte [rax], 0
jmp 0x14004a326
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov qword [rbx + 0xc0], rcx
mov rax, qword [r14]
mov r11d, dword [rsp + 0x20]
movzx ecx, byte [rax]
inc rax
mov qword [r14], rax
mov r9d, dword [rbx]
jmp 0x14004a33e
xor cl, cl
movzx r10d, cl
movsxd rcx, esi
lea rdx, [r10*4]
movzx eax, byte [rsp + rdx + 0xd0]
inc esi
add ebp, 2
mov byte [rcx + r15], al
movzx eax, byte [rsp + rdx + 0xd1]
movsxd rcx, esi
inc esi
mov byte [rcx + r15], al
movzx eax, byte [rsp + rdx + 0xd2]
movsxd rcx, esi
inc esi
mov byte [rcx + r15], al
movsxd rax, esi
inc esi
mov byte [rax + r15], 0xff
cmp ebp, r9d
jl 0x14004a1e0
cmp qword [rbx + 0x10], 0
je 0x14004a3c0
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [r14]
cmp ecx, r12d
jge 0x14004a3c0
mov rax, qword [rbx + 0xc0]
mov edx, r12d
sub edx, ecx
mov qword [r14], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + 0x18]
jmp 0x14004a3c6
mov eax, r12d
add qword [r14], rax
mov eax, dword [rbx + 4]
inc r13d
mov r11d, dword [rsp + 0x20]
mov edx, eax
cmp r13d, eax
jl 0x14004a1d0
jmp 0x14004ab0c
sub r13d, edi
mov dword [rsp + 0x40], esi
sub r13d, 0xe
mov dword [rsp + 0x4c], esi
mov r11d, esi
mov dword [rsp + 0x3c], esi
mov r14d, esi
mov dword [rsp + 0x24], esi
mov r10d, esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], esi
mov r12d, esi
mov dword [rsp + 0x28], esi
jns 0x14004a425
mov rax, qword [rbx + 0xc0]
lea rsi, [rbx + 0xb8]
mov qword [rsi], rax
jmp 0x14004a46c
cmp qword [rbx + 0x10], rsi
lea rsi, [rbx + 0xb8]
je 0x14004a466
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rsi]
mov qword [rsp + 0x80], rsi
cmp ecx, r13d
jge 0x14004a466
mov rax, qword [rbx + 0xc0]
sub r13d, ecx
mov rcx, qword [rbx + 0x28]
mov edx, r13d
mov qword [rsi], rax
call qword [rbx + 0x18]
mov r11d, r12d
mov r10d, r12d
jmp 0x14004a474
movsxd rax, r13d
add qword [rsi], rax
mov qword [rsp + 0x80], rsi
cmp ebp, 0x18
jne 0x14004a481
mov eax, dword [rbx]
lea r8d, [rax + rax*2]
jmp 0x14004a491
cmp ebp, 0x10
jne 0x14004a48e
mov r8d, dword [rbx]
add r8d, r8d
jmp 0x14004a491
xor r8d, r8d
neg r8d
and r8d, 3
mov dword [rsp + 0x58], r8d
cmp ebp, 0x18
jne 0x14004a4b0
lea ecx, [rbp - 0x17]
mov r13d, r12d
mov edi, r12d
jmp 0x14004a683
mov edi, dword [rsp + 0x38]
cmp ebp, 0x20
mov ebp, dword [rsp + 0x44]
jne 0x14004a4f5
cmp ebp, 0xff
jne 0x14004a4f5
cmp edi, 0xff00
jne 0x14004a4f5
cmp dword [rsp + 0x34], 0xff0000
jne 0x14004a4f5
mov r9d, dword [rsp + 0x48]
cmp r9d, 0xff000000
jne 0x14004a51a
mov ecx, 2
mov r13d, r12d
mov edi, r12d
jmp 0x14004a683
mov r10d, dword [rsp + 0x34]
test r10d, r10d
je 0x14004ac06
test edi, edi
je 0x14004ac06
test ebp, ebp
je 0x14004ac06
mov r9d, dword [rsp + 0x48]
jmp 0x14004a51f
mov r10d, dword [rsp + 0x34]
mov ecx, r10d
call fcn.1400498a0
mov edx, r10d
mov ecx, r10d
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r11d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x40], r11d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, edi
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r13d, al
call fcn.1400498a0
mov edx, edi
mov ecx, edi
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r14d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x4c], r14d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
mov ecx, ebp
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx eax, al
mov dword [rsp + 0x50], eax
call fcn.1400498a0
mov edx, ebp
mov ecx, ebp
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea edi, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x3c], edi
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx ecx, al
mov dword [rsp + 0x54], ecx
mov ecx, r9d
call fcn.1400498a0
mov ecx, r9d
mov edx, r9d
shr edx, 1
and ecx, 0x55555555
and edx, 0x55555555
add edx, ecx
lea r10d, [rax - 7]
mov ecx, edx
mov dword [rsp + 0x24], r10d
and edx, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, edx
mov edx, ecx
shr edx, 4
add edx, ecx
and edx, 0xf0f0f0f
mov eax, edx
shr eax, 8
add edx, eax
mov eax, edx
shr eax, 0x10
add eax, edx
movzx r12d, al
xor ecx, ecx
mov eax, dword [rbx + 4]
mov edx, eax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x30], 0
test eax, eax
jle 0x14004ab0c
mov eax, r11d
neg eax
mov dword [rsp + 0x68], eax
mov eax, r14d
neg eax
mov dword [rsp + 0x6c], eax
mov eax, edi
mov edi, dword [rsp + 0x28]
neg eax
mov dword [rsp + 0x70], eax
mov eax, r10d
neg eax
mov dword [rsp + 0x74], eax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx]
xor ebp, ebp
movsxd rdx, edi
test rcx, rcx
je 0x14004a919
test eax, eax
jle 0x14004aab5
mov rcx, qword [rbx + 0xb8]
lea r14, [rdx + r15]
mov r15, qword [rsp + 0x60]
nop dword [rax + rax]
mov rdx, qword [rbx + 0xc0]
cmp rcx, rdx
jae 0x14004a715
movzx r8d, byte [rcx]
inc rcx
jmp 0x14004a770
cmp dword [rbx + 0x30], 0
je 0x14004a785
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a755
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [rsi]
mov byte [rax], 0
mov rdx, qword [rbx + 0xc0]
jmp 0x14004a765
cdqe
lea rdx, [rbx + 0x38]
add rdx, rax
mov qword [rbx + 0xc0], rdx
mov rax, qword [rsi]
movzx r8d, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
mov byte [r14 + 2], r8b
cmp rcx, rdx
jae 0x14004a78a
movzx r8d, byte [rcx]
inc rcx
jmp 0x14004a7e5
mov byte [r14 + 2], 0
cmp dword [rbx + 0x30], 0
je 0x14004a7fc
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a7ca
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [rsi]
mov byte [rax], 0
mov rdx, qword [rbx + 0xc0]
jmp 0x14004a7da
cdqe
lea rdx, [rbx + 0x38]
add rdx, rax
mov qword [rbx + 0xc0], rdx
mov rax, qword [rsi]
movzx r8d, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
mov byte [r14 + 1], r8b
cmp rcx, rdx
jae 0x14004a801
movzx edx, byte [rcx]
inc rcx
mov qword [rsi], rcx
jmp 0x14004a868
mov byte [r14 + 1], 0
cmp dword [rbx + 0x30], 0
je 0x14004a866
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a847
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [rsi]
mov byte [rax], 0
mov rax, qword [rsi]
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
jmp 0x14004a868
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov rax, qword [rsi]
mov qword [rbx + 0xc0], rcx
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
jmp 0x14004a868
xor dl, dl
mov byte [r14], dl
cmp r15, 2
jne 0x14004a8ee
cmp rcx, qword [rbx + 0xc0]
jae 0x14004a885
movzx edx, byte [rcx]
inc rcx
mov qword [rsi], rcx
jmp 0x14004a8f0
cmp dword [rbx + 0x30], 0
je 0x14004a8ea
mov r8d, dword [rbx + 0x34]
lea rdi, [rbx + 0x38]
mov rcx, qword [rbx + 0x28]
mov rdx, rdi
call qword [rbx + reloc.WS2_32.dll_recv]
mov qword [rbx + 0xb8], rdi
test eax, eax
jne 0x14004a8cb
mov dword [rbx + 0x30], eax
lea rax, [rbx + 0x39]
mov qword [rbx + 0xc0], rax
mov rax, qword [rsi]
mov byte [rax], 0
mov rax, qword [rsi]
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
jmp 0x14004a8f0
cdqe
lea rcx, [rbx + 0x38]
add rcx, rax
mov rax, qword [rsi]
mov qword [rbx + 0xc0], rcx
movzx edx, byte [rax]
lea rcx, [rax + 1]
mov qword [rsi], rcx
jmp 0x14004a8f0
xor dl, dl
jmp 0x14004a8f0
mov dl, 0xff
mov edi, dword [rsp + 0x28]
inc ebp
add edi, 4
movzx eax, dl
or dword [rsp + 0x2c], eax
mov byte [r14 + 3], dl
add r14, 4
mov dword [rsp + 0x28], edi
cmp ebp, dword [rbx]
jl 0x14004a700
jmp 0x14004aaad
test eax, eax
jle 0x14004aab5
mov esi, dword [rsp + 0x4c]
lea r14, [rdx + r15]
mov r15d, dword [rsp + 0x20]
nop
mov rcx, rbx
call fcn.140042310
cmp r15d, 0x10
jne 0x14004a942
mov edx, eax
jmp 0x14004a957
mov rcx, rbx
mov edi, eax
call fcn.140042310
mov edx, eax
shl edx, 0x10
add edx, edi
mov edi, dword [rsp + 0x28]
mov r11d, dword [rsp + 0x40]
mov r8d, edx
and r8d, dword [rsp + 0x34]
mov ecx, r11d
mov eax, r8d
sar eax, cl
mov ecx, dword [rsp + 0x68]
shl r8d, cl
mov ecx, r13d
test r11d, r11d
cmovns r8d, eax
mov r9d, r8d
cmp r13d, 8
jae 0x14004a9a0
nop word [rax + rax]
mov eax, r8d
sar eax, cl
add ecx, r13d
add r9d, eax
cmp ecx, 8
jl 0x14004a990
mov r10d, dword [rsp + 0x50]
mov ecx, esi
mov r8d, edx
mov byte [r14], r9b
and r8d, dword [rsp + 0x38]
mov eax, r8d
sar eax, cl
mov ecx, dword [rsp + 0x6c]
shl r8d, cl
mov ecx, r10d
test esi, esi
cmovns r8d, eax
mov r9d, r8d
cmp r10d, 8
jae 0x14004a9e0
mov eax, r8d
sar eax, cl
add ecx, r10d
add r9d, eax
cmp ecx, 8
jl 0x14004a9d0
mov r10d, dword [rsp + 0x54]
mov r8d, edx
and r8d, dword [rsp + 0x44]
mov eax, r8d
mov byte [r14 + 1], r9b
mov r9d, dword [rsp + 0x3c]
mov ecx, r9d
sar eax, cl
mov ecx, dword [rsp + 0x70]
shl r8d, cl
mov ecx, r10d
test r9d, r9d
cmovns r8d, eax
mov r9d, r8d
cmp r10d, 8
jae 0x14004aa30
nop dword [rax + rax]
mov eax, r8d
sar eax, cl
add ecx, r10d
add r9d, eax
cmp ecx, 8
jl 0x14004aa20
mov byte [r14 + 2], r9b
mov r9d, dword [rsp + 0x48]
test r9d, r9d
je 0x14004aa81
mov r10d, dword [rsp + 0x24]
and edx, r9d
mov eax, edx
mov ecx, r10d
sar eax, cl
mov ecx, dword [rsp + 0x74]
shl edx, cl
mov ecx, r12d
test r10d, r10d
cmovns edx, eax
mov r8d, edx
cmp r12d, 8
jae 0x14004aa87
nop word [rax + rax]
mov eax, edx
sar eax, cl
add ecx, r12d
add r8d, eax
cmp ecx, 8
jl 0x14004aa70
jmp 0x14004aa87
mov r8d, 0xff
or dword [rsp + 0x2c], r8d
add edi, 4
mov byte [r14 + 3], r8b
inc ebp
add r14, 4
mov dword [rsp + 0x28], edi
cmp ebp, dword [rbx]
jl 0x14004a930
mov rsi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x88]
cmp qword [rbx + 0x10], 0
mov r8d, dword [rsp + 0x58]
je 0x14004aae6
mov ecx, dword [rbx + 0xc0]
sub ecx, dword [rsi]
cmp ecx, r8d
jge 0x14004aae6
mov rax, qword [rbx + 0xc0]
mov edx, r8d
sub edx, ecx
mov qword [rsi], rax
mov rcx, qword [rbx + 0x28]
call qword [rbx + 0x18]
jmp 0x14004aaec
mov eax, r8d
add qword [rsi], rax
mov r8d, dword [rsp + 0x30]
mov eax, dword [rbx + 4]
inc r8d
mov rcx, qword [rsp + 0x60]
mov edx, eax
mov dword [rsp + 0x30], r8d
cmp r8d, eax
jl 0x14004a6d0
cmp dword [rsp + 0x2c], 0
jne 0x14004ab32
imul eax, dword [rbx]
lea eax, [rax*4 - 1]
movsxd rcx, eax
test eax, eax
js 0x14004ab32
mov byte [rcx + r15], 0xff
sub rcx, 4
jns 0x14004ab24
mov edx, dword [rbx + 4]
cmp dword [rsp + 0x78], 0
jle 0x14004abae
xor r10d, r10d
test edx, 0xfffffffe
jle 0x14004abae
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rbx]
sub edx, r10d
dec edx
mov r9d, ecx
imul edx, ecx
xor r8d, r8d
imul r9d, r10d
lea eax, [rcx*4]
shl edx, 2
mov r11d, edx
add rdx, r15
shl r9d, 2
test eax, eax
jle 0x14004ab9f
sub r9, r11
nop
movzx eax, byte [rdx]
inc r8d
movzx ecx, byte [rdx + r9]
mov byte [rdx + r9], al
mov byte [rdx], cl
lea rdx, [rdx + 1]
mov eax, dword [rbx]
shl eax, 2
cmp r8d, eax
jl 0x14004ab80
mov edx, dword [rbx + 4]
inc r10d
mov eax, edx
sar eax, 1
cmp r10d, eax
jl 0x14004ab50
mov eax, dword [rbx]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rbx + 4]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14004abd9
mov eax, dword [rbx + 8]
mov dword [rcx], eax
mov rax, r15
mov r14, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.140054e70
add rsp, 0x4f0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
jmp 0x14004abdc
xor eax, eax
jmp 0x14004abe4