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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x788
movaps xmmword [rsp + 0x770], xmm6
xor edi, edi
mov eax, dword [rsp + 0x7f0]
lea r14d, [rax*4]
mov rbp, rdx
mov edx, eax
lea rax, [rsp + 0x370]
mov r13, rcx
shl edx, 6
mov rcx, rax
mov dword [rsp + 0x30], r14d
mov rbx, r8
mov qword [rsp + 0x60], rax
mov rsi, r9
call fcn.140217820
test eax, eax
jle 0x1402cbb9a
lea rax, [rsp + 0x770]
mov edi, esi
and rax, 0xffffffffffffffe0
lea r12, [rax - 0x5e0]
mov eax, dword [rsp + 0x7f0]
lea ecx, [rax + 1]
shr edi, cl
mov eax, edi
add esi, edi
mov dword [rsp + 0x34], edi
shl eax, cl
sub esi, eax
mov dword [rsp + 0x38], esi
cmp edi, esi
jb 0x1402cbbb9
mov edi, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
lea rcx, [rbp + 0x15]
movq xmm0, rbx
mov r8, qword [rsp + 0x370]
movq xmm6, rcx
mov qword [rsp + 0x70], rbx
lea eax, [rdi + 0x24]
mov r9, qword [rsp + 0x378]
punpcklqdq xmm0, xmm6
and eax, 0xfffffff0
mov qword [rbp + 5], r8
add eax, 0x15
cmp edi, edx
mov qword [rbp + 0xd], r9
cmovbe edx, edi
mov qword [rsp + 0x248], r8
mov qword [rsp + 0x250], r9
lea esi, [rdx - 0x33]
movaps xmmword [rsp + 0x230], xmm0
mov dword [rsp + 0x68], esi
mov esi, dword [rsp + 0x30]
cmp esi, 1
jle 0x1402cc7df
movdqa xmm6, xmmword [rsp + 0x380]
mov edx, edi
add rcx, rax
add rbx, rdx
mov qword [rsp + 0x260], rcx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x258], rbx
movups xmmword [rcx - 0x10], xmm6
mov rcx, qword [rsp + 0x80]
movdqa xmm6, xmmword [rsp + 0x380]
add rcx, rdx
movaps xmmword [rsp + 0x270], xmm6
movdqa xmm6, xmmword [rsp + 0x390]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x280], rcx
mov rcx, qword [rsp + 0x260]
add rcx, rax
mov qword [rsp + 0x288], rcx
movups xmmword [rcx - 0x10], xmm6
mov rcx, qword [rsp + 0x90]
movdqa xmm6, xmmword [rsp + 0x390]
add rcx, rdx
movups xmmword [rsp + 0x298], xmm6
movdqa xmm6, xmmword [rsp + 0x3a0]
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x2a8], rcx
mov rcx, qword [rsp + 0x288]
add rcx, rax
mov qword [rsp + 0x2b0], rcx
movups xmmword [rcx - 0x10], xmm6
movdqa xmm6, xmmword [rsp + 0x3a0]
movaps xmmword [rsp + 0x2c0], xmm6
cmp esi, 4
je 0x1402cb892
mov rcx, qword [rsp + 0xa0]
movdqa xmm2, xmmword [rsp + 0x3b0]
add rcx, rdx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x2d0], rcx
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov qword [rsp + 0x2d8], rcx
movups xmmword [rcx - 0x10], xmm2
mov rcx, qword [rsp + 0xb0]
movdqa xmm3, xmmword [rsp + 0x3b0]
movdqa xmm6, xmmword [rsp + 0x3c0]
add rcx, rdx
movups xmmword [rsp + 0x2e8], xmm3
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x2f8], rcx
mov rcx, qword [rsp + 0x2d8]
add rcx, rax
mov qword [rsp + 0x300], rcx
movups xmmword [rcx - 0x10], xmm6
mov rcx, qword [rsp + 0xc0]
movdqa xmm2, xmmword [rsp + 0x3c0]
movdqa xmm3, xmmword [rsp + 0x3d0]
add rcx, rdx
movaps xmmword [rsp + 0x310], xmm2
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0x320], rcx
mov rcx, qword [rsp + 0x300]
add rcx, rax
mov qword [rsp + 0x328], rcx
movups xmmword [rcx - 0x10], xmm3
add rdx, qword [rsp + 0xd0]
movdqa xmm4, xmmword [rsp + 0x3d0]
add rax, qword [rsp + 0x328]
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0x348], rdx
mov qword [rsp + 0x350], rax
movups xmmword [rsp + 0x338], xmm4
movdqa xmm5, xmmword [rsp + 0x3e0]
movups xmmword [rax - 0x10], xmm5
movdqa xmm6, xmmword [rsp + 0x3e0]
movaps xmmword [rsp + 0x360], xmm6
mov r10, qword [r13 + 0x1d0]
mov qword [rsp + 0x370], r10
bswap r10
mov eax, dword [rsp + 0x30]
mov esi, dword [r13 + 0x1c0]
mov qword [rsp + 0x7d0], r13
mov ebx, dword [r13 + 0x1b8]
movzx r11d, byte [r13 + 0x1da]
mov qword [rsp + 0x7d8], rbp
sub eax, 1
mov edx, dword [r13 + 0x1c4]
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x60]
shl r11d, 0x10
mov ebp, ebx
movzx eax, byte [r13 + 0x1d8]
mov r14d, dword [r13 + 0x1b4]
mov edi, dword [r13 + 0x1bc]
mov byte [rsp + 0x50], al
movzx eax, byte [r13 + 0x1d9]
mov r13d, edx
mov byte [rsp + 0x54], al
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov r8, rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov r9, rax
xor eax, eax
nop dword [rax + rax]
cmp dword [rsp + 0x3c], eax
mov ebx, dword [rsp + 0x38]
lea rdx, [r10 + rax]
mov dword [r12 + rax*4], r14d
cmovne ebx, dword [rsp + 0x34]
mov esi, dword [rsp + 0x58]
mov dword [r12 + rax*4 + 0x20], ebp
add r8, 0x10
bswap rdx
mov dword [rsp + 0x2c], ebx
mov ebx, dword [rsp + 0x54]
add r9, 0x10
mov qword [rcx], rdx
xor edx, edx
mov dl, byte [rsp + 0x50]
mov dword [r12 + rax*4 + 0x60], esi
mov dh, bl
mov ebx, dword [rsp + 0x2c]
mov dword [r12 + rax*4 + 0x40], edi
movzx edx, dx
mov dword [r12 + rax*4 + 0x80], r13d
add rax, 1
movzx esi, bh
or edx, r11d
sub ebx, 0x33
mov r15d, esi
movzx esi, byte [rsp + 0x2c]
shr ebx, 6
shl r15d, 0x18
or edx, r15d
mov byte [rcx + 0xc], sil
mov dword [rcx + 8], edx
mov rdx, qword [r8 - 0x10]
movdqu xmm2, xmmword [rdx]
add rdx, 0x33
movups xmmword [rcx + 0xd], xmm2
movdqu xmm3, xmmword [rdx - 0x23]
movups xmmword [rcx + 0x1d], xmm3
movdqu xmm4, xmmword [rdx - 0x13]
movups xmmword [rcx + 0x2d], xmm4
movzx esi, word [rdx - 3]
mov word [rcx + 0x3d], si
movzx esi, byte [rdx - 1]
mov qword [r9 - 0x10], rcx
sub rcx, 0xffffffffffffff80
mov byte [rcx - 0x41], sil
mov qword [r8 - 0x10], rdx
mov dword [r8 - 8], ebx
mov dword [r9 - 8], 1
cmp dword [rsp + 0x30], eax
ja 0x1402cb938
mov r8d, dword [rsp + 0x7f0]
mov rdx, qword [rsp + 0x40]
mov rcx, r12
mov r13, qword [rsp + 0x7d0]
mov rbp, qword [rsp + 0x7d8]
call fcn.140225800
cmp dword [rsp + 0x68], 0x83f
ja 0x1402cbbe3
lea rax, [rsp + 0x230]
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x68], rax
mov r8d, dword [rsp + 0x7f0]
mov rdx, qword [rsp + 0x48]
mov rcx, r12
call fcn.140225800
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosq qword [rdi], rax
mov eax, dword [rsp + 0x7f0]
test eax, eax
je 0x1402cc867
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x7d8], rbp
xor ebx, ebx
xor esi, esi
mov rcx, qword [rsp + 0x60]
lea rdi, [rsp + 0x78]
sub eax, 1
mov dword [rsp + 0x3c], eax
mov eax, 0xffffffcd
sub eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x58], rax
jmp 0x1402cbaed
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x58]
mov dword [rax + rbx], 1
mov rax, qword [rsp + 0x40]
add esi, 1
mov qword [rax + rbx], rcx
sub rcx, 0xffffffffffffff80
add rbx, 0x10
cmp dword [rsp + 0x30], esi
je 0x1402cc120
mov edx, dword [rdi + rbx]
mov r14d, dword [rsp + 0x54]
cmp esi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x34]
cmove r15d, dword [rsp + 0x38]
shl edx, 6
mov rax, qword [rsp + 0x48]
sub r14d, edx
lea ebp, [r14 + r15]
add rdx, qword [rax + rbx]
mov r8, rbp
call sub.msvcrt.dll_memcpy
mov rcx, rax
mov eax, esi
shl rax, 7
add rax, 0x770
add rax, rsp
mov byte [rbp + rax - 0x400], pe_nt_image_headers64
lea eax, [r15*8 + 0x268]
bswap eax
cmp ebp, 0x37
jbe 0x1402cbac0
mov dword [rcx + 0x7c], eax
mov rax, qword [rsp + 0x58]
mov dword [rax + rbx], 2
jmp 0x1402cbacf
mov rdi, r12
mov r12, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x7f0]
mov rcx, qword [rsp + 0x68]
mov rdx, r13
call fcn.14008ec40
mov rcx, qword [rsp + 0x60]
mov edx, 0x400
call fcn.140018bb0
mov edx, 0xa0
mov rcx, r12
call fcn.140018bb0
nop
movaps xmm6, xmmword [rsp + 0x770]
mov rax, rdi
add rsp, 0x788
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rsi + 0x16]
lea edx, [r14 - 1]
and eax, 0x3f
cmp eax, edx
jae 0x1402cb618
mov eax, esi
add edi, 1
sub eax, r14d
mov dword [rsp + 0x34], edi
add eax, 1
mov dword [rsp + 0x38], eax
jmp 0x1402cb618
mov rax, qword [rsp + 0x70]
mov edi, dword [rsp + 0x30]
mov dword [rsp + 0xf8], 0x20
mov dword [rsp + 0x240], pe_nt_image_headers64
mov qword [rsp + 0xf0], rax
cmp edi, 1
jbe 0x1402cbd2b
mov rax, qword [rsp + 0x80]
mov dword [rsp + 0x108], 0x20
mov dword [rsp + 0x268], pe_nt_image_headers64
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x90]
mov dword [rsp + 0x118], 0x20
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x290], pe_nt_image_headers64
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x128], 0x20
mov dword [rsp + 0x2b8], pe_nt_image_headers64
cmp edi, 4
je 0x1402cbd2b
mov rax, qword [rsp + 0xb0]
mov dword [rsp + 0x138], 0x20
mov dword [rsp + 0x2e0], pe_nt_image_headers64
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0xc0]
mov dword [rsp + 0x148], 0x20
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0xd0]
mov dword [rsp + 0x308], pe_nt_image_headers64
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x158], 0x20
mov dword [rsp + 0x330], pe_nt_image_headers64
cmp edi, 8
jne 0x1402cbd2b
mov rax, qword [rsp + 0xe0]
mov dword [rsp + 0x168], 0x20
mov dword [rsp + 0x358], pe_nt_image_headers64
mov qword [rsp + 0x160], rax
lea rdi, [rsp + 0x230]
mov ebx, dword [rsp + 0x68]
xor esi, esi
mov qword [rsp + 0x7d8], rbp
mov r15d, dword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x68], rdi
movdqa xmm6, xmmword [0x1403baaf0]
mov ebp, dword [rsp + 0x7f0]
shr ebx, 6
nop word [rax + rax]
mov r8d, ebp
mov rdx, r14
mov rcx, r12
call fcn.140225800
mov r8d, ebp
mov rdx, r13
mov rcx, rdi
call fcn.14008ec40
test ebp, ebp
je 0x1402cc0f5
movdqa xmm0, xmmword [rsp + 0x230]
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0xf8], 0x20
sub dword [rsp + 0x78], 0x20
add rax, 0x800
movhlps xmm5, xmm0
movdqa xmm1, xmm0
movdqu xmm0, xmmword [rsp + 0x258]
mov qword [rsp + 0x70], rax
paddq xmm1, xmm6
mov qword [rsp + 0xf0], rax
movq rax, xmm5
movhlps xmm2, xmm0
movdqu xmm5, xmmword [rax + 0x7f0]
mov rax, qword [rsp + 0x80]
movaps xmmword [rsp + 0x230], xmm1
movdqa xmm1, xmm0
movdqa xmm0, xmmword [rsp + 0x280]
paddq xmm1, xmm6
sub dword [rsp + 0x88], 0x20
add rax, 0x800
movups xmmword [rsp + 0x248], xmm5
mov qword [rsp + 0x80], rax
movhlps xmm4, xmm0
mov qword [rsp + 0x100], rax
movq rax, xmm2
movdqu xmm3, xmmword [rax + 0x7f0]
mov rax, qword [rsp + 0x90]
movups xmmword [rsp + 0x258], xmm1
movdqa xmm1, xmm0
paddq xmm1, xmm6
sub dword [rsp + 0x98], 0x20
add rax, 0x800
movaps xmmword [rsp + 0x270], xmm3
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x110], rax
movq rax, xmm4
movdqu xmm5, xmmword [rax + 0x7f0]
movaps xmmword [rsp + 0x280], xmm1
mov dword [rsp + 0x240], pe_nt_image_headers64
mov dword [rsp + 0x108], 0x20
mov dword [rsp + 0x268], pe_nt_image_headers64
mov dword [rsp + 0x118], 0x20
mov dword [rsp + 0x290], pe_nt_image_headers64
movups xmmword [rsp + 0x298], xmm5
mov rax, qword [rsp + 0xa0]
movdqu xmm0, xmmword [rsp + 0x2a8]
sub dword [rsp + 0xa8], 0x20
add rax, 0x800
movhlps xmm2, xmm0
movdqa xmm1, xmm0
mov dword [rsp + 0x128], 0x20
mov qword [rsp + 0xa0], rax
paddq xmm1, xmm6
mov qword [rsp + 0x120], rax
movq rax, xmm2
movdqu xmm3, xmmword [rax + 0x7f0]
movups xmmword [rsp + 0x2a8], xmm1
mov dword [rsp + 0x2b8], pe_nt_image_headers64
movaps xmmword [rsp + 0x2c0], xmm3
cmp r15d, 4
je 0x1402cc0f5
mov rax, qword [rsp + 0xb0]
sub dword [rsp + 0xb8], 0x20
movdqa xmm0, xmmword [rsp + 0x2d0]
sub dword [rsp + 0xc8], 0x20
add rax, 0x800
sub dword [rsp + 0xd8], 0x20
movhlps xmm4, xmm0
mov qword [rsp + 0xb0], rax
movdqa xmm1, xmm0
movdqu xmm0, xmmword [rsp + 0x2f8]
mov qword [rsp + 0x130], rax
movq rax, xmm4
paddq xmm1, xmm6
movdqu xmm5, xmmword [rax + 0x7f0]
movhlps xmm4, xmm0
mov rax, qword [rsp + 0xc0]
movaps xmmword [rsp + 0x2d0], xmm1
mov dword [rsp + 0x138], 0x20
movdqa xmm1, xmm0
movdqa xmm0, xmmword [rsp + 0x320]
add rax, 0x800
paddq xmm1, xmm6
movups xmmword [rsp + 0x2e8], xmm5
mov qword [rsp + 0xc0], rax
movhlps xmm2, xmm0
mov qword [rsp + 0x140], rax
movq rax, xmm4
movdqu xmm5, xmmword [rax + 0x7f0]
mov rax, qword [rsp + 0xd0]
movups xmmword [rsp + 0x2f8], xmm1
movdqa xmm1, xmm0
mov dword [rsp + 0x2e0], pe_nt_image_headers64
paddq xmm1, xmm6
add rax, 0x800
movaps xmmword [rsp + 0x310], xmm5
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x150], rax
movq rax, xmm2
movdqu xmm3, xmmword [rax + 0x7f0]
movaps xmmword [rsp + 0x320], xmm1
mov dword [rsp + 0x148], 0x20
mov dword [rsp + 0x308], pe_nt_image_headers64
mov dword [rsp + 0x158], 0x20
mov dword [rsp + 0x330], pe_nt_image_headers64
movups xmmword [rsp + 0x338], xmm3
mov rax, qword [rsp + 0xe0]
movdqu xmm0, xmmword [rsp + 0x348]
sub dword [rsp + 0xe8], 0x20
add rax, 0x800
movhlps xmm4, xmm0
movdqa xmm1, xmm0
mov dword [rsp + 0x168], 0x20
mov qword [rsp + 0xe0], rax
paddq xmm1, xmm6
mov qword [rsp + 0x160], rax
movq rax, xmm4
movdqu xmm5, xmmword [rax + 0x7f0]
movups xmmword [rsp + 0x348], xmm1
mov dword [rsp + 0x358], pe_nt_image_headers64
movaps xmmword [rsp + 0x360], xmm5
sub ebx, 0x20
add esi, 0x800
cmp ebx, 0x20
ja 0x1402cbd68
mov dword [rsp + 0x50], esi
mov rbp, qword [rsp + 0x7d8]
jmp 0x1402cba4f
mov r8d, dword [rsp + 0x7f0]
mov rdx, rax
mov rcx, r12
mov rbp, qword [rsp + 0x7d8]
call fcn.140225800
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, pe_nt_image_headers64
mov r9d, dword [r13 + 0x154]
mov r8d, dword [r13 + 0x158]
rep stosq qword [rdi], rax
mov edx, dword [r13 + 0x160]
mov eax, dword [r12]
mov byte [rsp + 0x384], pe_nt_image_headers64
mov r11d, dword [r13 + 0x164]
mov ecx, dword [r13 + 0x15c]
mov dword [r12], r9d
mov r10d, dword [r12 + 4]
mov dword [r12 + 4], r9d
bswap eax
bswap r10d
mov dword [rsp + 0x370], eax
mov eax, dword [r12 + 0x20]
mov dword [rsp + 0x3f0], r10d
mov r10d, dword [r12 + 0x24]
bswap eax
bswap r10d
mov dword [rsp + 0x374], eax
mov eax, dword [r12 + 0x40]
mov dword [rsp + 0x3f4], r10d
mov r10d, dword [r12 + 0x44]
bswap eax
bswap r10d
mov dword [rsp + 0x378], eax
mov eax, dword [r12 + 0x60]
mov dword [rsp + 0x3f8], r10d
bswap eax
mov dword [r12 + 0x20], r8d
mov dword [rsp + 0x37c], eax
mov eax, dword [r12 + 0x80]
mov dword [r12 + 0x40], ecx
bswap eax
mov dword [r12 + 0x60], edx
mov dword [rsp + 0x380], eax
mov eax, 0x2a0
mov dword [r12 + 0x80], r11d
bswap eax
mov dword [r12 + 0x24], r8d
mov dword [rsp + 0x3ac], eax
mov dword [r12 + 0x44], ecx
mov r10d, dword [r12 + 0x64]
mov byte [rsp + 0x404], 0x80
bswap r10d
mov dword [r12 + 0x64], edx
mov dword [rsp + 0x3fc], r10d
mov r10d, dword [r12 + 0x84]
mov dword [rsp + 0x42c], eax
bswap r10d
mov dword [r12 + 0x84], r11d
mov dword [rsp + 0x400], r10d
mov r10d, dword [r12 + 8]
mov byte [rsp + 0x484], 0x80
bswap r10d
mov dword [r12 + 8], r9d
mov dword [rsp + 0x470], r10d
mov r10d, dword [r12 + 0x28]
mov dword [rsp + 0x4ac], eax
bswap r10d
mov dword [r12 + 0x28], r8d
mov dword [rsp + 0x474], r10d
mov r10d, dword [r12 + 0x48]
mov dword [r12 + 0x48], ecx
bswap r10d
mov dword [rsp + 0x478], r10d
mov r10d, dword [r12 + 0x68]
mov dword [r12 + 0x68], edx
bswap r10d
mov dword [rsp + 0x47c], r10d
mov r10d, dword [r12 + 0x88]
mov dword [r12 + 0x88], r11d
bswap r10d
mov dword [rsp + 0x480], r10d
mov r10d, dword [r12 + 0xc]
mov dword [r12 + 0xc], r9d
bswap r10d
mov dword [rsp + 0x4f0], r10d
mov r10d, dword [r12 + 0x2c]
mov dword [r12 + 0x2c], r8d
bswap r10d
mov dword [rsp + 0x4f4], r10d
mov r10d, dword [r12 + 0x4c]
bswap r10d
mov dword [rsp + 0x4f8], r10d
mov r10d, dword [r12 + 0x6c]
bswap r10d
mov dword [rsp + 0x4fc], r10d
mov r10d, dword [r12 + 0x8c]
bswap r10d
cmp dword [rsp + 0x30], 4
mov dword [r12 + 0x4c], ecx
mov dword [r12 + 0x6c], edx
mov dword [rsp + 0x500], r10d
mov dword [r12 + 0x8c], r11d
mov byte [rsp + 0x504], 0x80
mov dword [rsp + 0x52c], eax
je 0x1402cc55f
mov r10d, dword [r12 + 0x10]
mov byte [rsp + 0x584], 0x80
mov dword [r12 + 0x10], r9d
bswap r10d
mov dword [rsp + 0x5ac], eax
mov dword [rsp + 0x570], r10d
mov r10d, dword [r12 + 0x30]
mov dword [r12 + 0x30], r8d
bswap r10d
mov dword [rsp + 0x574], r10d
mov r10d, dword [r12 + 0x50]
mov dword [r12 + 0x50], ecx
bswap r10d
mov dword [rsp + 0x578], r10d
mov r10d, dword [r12 + 0x70]
mov dword [r12 + 0x70], edx
bswap r10d
mov dword [rsp + 0x57c], r10d
mov r10d, dword [r12 + 0x90]
mov dword [r12 + 0x90], r11d
bswap r10d
mov dword [rsp + 0x580], r10d
mov r10d, dword [r12 + 0x14]
mov dword [r12 + 0x14], r9d
bswap r10d
mov dword [rsp + 0x5f0], r10d
mov r10d, dword [r12 + 0x34]
mov dword [r12 + 0x34], r8d
bswap r10d
mov dword [rsp + 0x5f4], r10d
mov r10d, dword [r12 + 0x54]
mov dword [r12 + 0x54], ecx
bswap r10d
mov dword [rsp + 0x5f8], r10d
mov r10d, dword [r12 + 0x74]
mov dword [r12 + 0x74], edx
bswap r10d
mov dword [rsp + 0x5fc], r10d
mov r10d, dword [r12 + 0x94]
mov dword [r12 + 0x94], r11d
bswap r10d
mov dword [rsp + 0x600], r10d
mov byte [rsp + 0x604], 0x80
mov r10d, dword [r12 + 0x18]
mov dword [rsp + 0x62c], eax
mov dword [r12 + 0x18], r9d
bswap r10d
mov byte [rsp + 0x684], 0x80
mov dword [rsp + 0x670], r10d
mov r10d, dword [r12 + 0x38]
mov dword [rsp + 0x6ac], eax
mov dword [r12 + 0x38], r8d
bswap r10d
mov dword [rsp + 0x674], r10d
mov r10d, dword [r12 + 0x58]
mov dword [r12 + 0x58], ecx
bswap r10d
mov dword [rsp + 0x678], r10d
mov r10d, dword [r12 + 0x78]
mov dword [r12 + 0x78], edx
bswap r10d
mov dword [rsp + 0x67c], r10d
mov r10d, dword [r12 + 0x98]
mov dword [r12 + 0x98], r11d
bswap r10d
mov dword [rsp + 0x680], r10d
mov r10d, dword [r12 + 0x1c]
mov dword [r12 + 0x1c], r9d
mov r9d, dword [r12 + 0x3c]
bswap r10d
mov dword [r12 + 0x3c], r8d
mov r8d, dword [r12 + 0x5c]
mov dword [rsp + 0x6f0], r10d
mov dword [r12 + 0x5c], ecx
mov ecx, dword [r12 + 0x7c]
bswap r9d
mov dword [r12 + 0x7c], edx
mov edx, dword [r12 + 0x9c]
mov dword [rsp + 0x6f4], r9d
bswap r8d
bswap ecx
mov dword [rsp + 0x6f8], r8d
mov dword [rsp + 0x6fc], ecx
bswap edx
mov dword [rsp + 0x700], edx
mov dword [r12 + 0x9c], r11d
mov byte [rsp + 0x704], 0x80
mov dword [rsp + 0x72c], eax
mov dword [rsp + 0xf8], 1
cmp dword [rsp + 0x30], 4
mov dword [rsp + 0x108], 1
mov dword [rsp + 0x118], 1
mov dword [rsp + 0x128], 1
je 0x1402cc5be
mov dword [rsp + 0x138], 1
mov dword [rsp + 0x148], 1
mov dword [rsp + 0x158], 1
mov dword [rsp + 0x168], 1
mov rax, qword [rsp + 0x60]
cmp dword [rsp + 0x30], 4
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x470]
mov qword [rsp + 0x110], rax
lea rax, [rsp + 0x4f0]
mov qword [rsp + 0x120], rax
je 0x1402cc642
lea rax, [rsp + 0x570]
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x5f0]
mov qword [rsp + 0x140], rax
lea rax, [rsp + 0x670]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x6f0]
mov qword [rsp + 0x160], rax
mov r8d, dword [rsp + 0x7f0]
mov rcx, r12
mov rbx, r12
xor edi, edi
mov rdx, qword [rsp + 0x40]
call fcn.140225800
mov eax, 1
sub eax, dword [rsp + 0x50]
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x40], eax
xor eax, eax
mov rsi, qword [rsp + 0x68]
mov r12, rax
jmp 0x1402cc6f8
test r11b, 4
jne 0x1402cc7c6
test r11d, r11d
je 0x1402cc69c
and ecx, 2
mov byte [rax + 0x14], r9b
jne 0x1402cc7d4
mov eax, dword [rsp + 0x40]
add edx, r8d
add r11, r14
add edi, 1
add rsi, 0x28
add rbx, 4
add eax, edx
shr eax, 4
mov dword [rsi - 0x18], eax
movzx eax, byte [r13 + 0x1d8]
mov byte [rbp], al
movzx eax, byte [r13 + 0x1d9]
mov byte [rbp + 1], al
movzx eax, byte [r13 + 0x1da]
mov byte [rbp + 2], al
lea eax, [rdx + 0x11]
rol ax, 8
mov word [rbp + 3], ax
lea eax, [rdx + 0x16]
add r12, rax
cmp dword [rsp + 0x30], edi
je 0x1402cbb60
mov rbp, r11
cmp edi, dword [rsp + 0x3c]
mov r15d, dword [rsp + 0x34]
cmove r15d, dword [rsp + 0x38]
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi]
mov r8d, r15d
sub r8d, dword [rsp + 0x50]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi + 8]
lea r8d, [r15 + 0x14]
mov edx, dword [rbx]
bswap edx
movabs r10, 0x101010101010101
mov qword [rsi], rax
lea eax, [r15 + 0x15]
add rax, rbp
mov dword [rax], edx
mov edx, dword [rbx + 0x20]
lea r14, [rax + 0x14]
bswap edx
mov dword [rax + 4], edx
mov edx, dword [rbx + 0x40]
bswap edx
mov dword [rax + 8], edx
mov edx, dword [rbx + 0x60]
bswap edx
mov dword [rax + 0xc], edx
mov edx, dword [rbx + 0x80]
bswap edx
mov dword [rax + 0x10], edx
mov edx, r8d
not edx
and edx, 0xf
lea r11d, [rdx + 1]
movzx r9d, dl
imul r9, r10
mov rcx, r11
cmp r11d, 8
jb 0x1402cc680
mov qword [rax + 0x14], r9
add rax, 0x1c
mov r10, r14
and rax, 0xfffffffffffffff8
mov qword [r14 + r11 - 8], r9
sub r10, rax
add ecx, r10d
and ecx, 0xfffffff8
cmp ecx, 8
jb 0x1402cc69c
and ecx, 0xfffffff8
xor r10d, r10d
mov r15d, r10d
add r10d, 8
mov qword [rax + r15], r9
cmp r10d, ecx
jb 0x1402cc7b1
jmp 0x1402cc69c
mov dword [rax + 0x14], r9d
mov dword [r14 + r11 - 4], r9d
jmp 0x1402cc69c
mov word [r14 + r11 - 2], r9w
jmp 0x1402cc69c
mov r10, qword [r13 + 0x1d0]
mov edx, dword [rsp + 0x30]
mov qword [rsp + 0x370], r10
bswap r10
test edx, edx
jne 0x1402cb8a4
lea rax, [rsp + 0xf0]
mov r8d, dword [rsp + 0x7f0]
mov rcx, r12
mov rdx, rax
mov qword [rsp + 0x40], rax
call fcn.140225800
cmp dword [rsp + 0x68], 0x83f
jbe 0x1402cc836
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
jmp 0x1402cbd2b
mov r8d, dword [rsp + 0x7f0]
mov rcx, r12
lea rdx, [rsp + 0x70]
call fcn.140225800
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, pe_nt_image_headers64
rep stosq qword [rdi], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x7f0]
mov rcx, r12
mov rdx, rbx
call fcn.140225800
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov rdx, rbx
mov ecx, pe_nt_image_headers64
mov r8d, dword [rsp + 0x7f0]
rep stosq qword [rdi], rax
mov rcx, r12
xor edi, edi
call fcn.140225800
jmp 0x1402cbb68