Function at 0x140031370
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, 0xd8
mov rbx, rcx
test edx, edx
jne 0x140032ba5
mov qword [rbx + 0x10], 0
xor eax, eax
xor ecx, ecx
lea r15, [0x1401652c0]
lea r14, [0x140165240]
nop dword [rax + rax]
test ecx, ecx
jle 0x140031d08
mov esi, eax
sub ecx, 1
shr eax, 1
mov dword [rbx + 0x14], eax
and esi, 1
mov dword [rbx + 0x10], ecx
cmp ecx, 1
jle 0x140031cc8
mov r8d, eax
lea edx, [rcx - 2]
shr r8d, 2
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], r8d
and eax, 3
je 0x140031b95
cmp eax, 3
je 0x140031768
cmp eax, 1
je 0x140031d5e
mov rcx, rbx
call sym.stbi__compute_huffman_codes_stbi__zbuf_
test eax, eax
je 0x140031768
mov edx, dword [rbx + 0x10]
mov r9, qword [rbx + 0x18]
lea rdi, [0x1401651c0]
cmp edx, 0xf
jg 0x1400314d0
nop dword [rax]
mov r10, qword [rbx + 8]
cmp qword [rbx], r10
jae 0x140031752
mov eax, dword [rbx + 0x14]
jmp 0x140031469
mov rcx, qword [rbx]
cmp rcx, r10
jae 0x14003145b
lea r8, [rcx + 1]
mov qword [rbx], r8
movzx r8d, byte [rcx]
mov ecx, edx
shl r8d, cl
or eax, r8d
add edx, 8
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
cmp edx, 0x18
jg 0x140031479
mov r11d, eax
mov ecx, edx
shr r11d, cl
test r11d, r11d
je 0x140031440
mov qword [rbx], r10
mov ecx, eax
and ecx, 0x1ff
movzx ecx, word [rbx + rcx*2 + 0x34]
mov r8d, ecx
test ecx, ecx
je 0x1400316a8
sar ecx, 9
mov ebp, r8d
shr eax, cl
sub edx, ecx
and ebp, 0x1ff
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], edx
test r8w, 0x100
jne 0x14003154a
cmp r9, qword [rbx + 0x28]
jae 0x140031850
mov byte [r9], bpl
add r9, 1
mov edx, dword [rbx + 0x10]
cmp edx, 0xf
jle 0x140031428
mov eax, dword [rbx + 0x14]
jmp 0x140031479
mov ecx, 6
mov r10d, 0xa
nop dword [rax + rax]
sar r8d, cl
movsxd rcx, r10d
movzx r11d, word [rbx + rcx*2 + 0x434]
movzx ecx, word [rbx + rcx*2 + 0x498]
sub r8d, r11d
add r8d, ecx
cmp r8d, 0x11f
jg 0x140031752
movsxd r8, r8d
movzx ecx, byte [rbx + r8 + 0x4b8]
cmp ecx, r10d
jne 0x140031752
mov ecx, r10d
sub edx, r10d
shr eax, cl
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], eax
movzx ebp, word [rbx + r8*2 + 0x5d8]
cmp ebp, 0xff
jle 0x1400314b3
cmp ebp, 0x100
je 0x140032a2c
cmp ebp, 0x11d
jg 0x140031752
sub ebp, 0x101
mov eax, dword [rbx + 0x10]
movsxd rbp, ebp
mov r8d, dword [r14 + rbp*4]
mov r12d, dword [r15 + rbp*4]
test r8d, r8d
jne 0x140031878
cmp eax, 0xf
jg 0x140031770
mov r10, qword [rbx + 8]
cmp qword [rbx], r10
jae 0x14003182a
mov edx, dword [rbx + 0x14]
jmp 0x1400315c9
mov rcx, qword [rbx]
cmp rcx, r10
jae 0x1400315bb
lea r8, [rcx + 1]
mov qword [rbx], r8
movzx r8d, byte [rcx]
mov ecx, eax
shl r8d, cl
or edx, r8d
add eax, 8
mov dword [rbx + 0x14], edx
mov dword [rbx + 0x10], eax
cmp eax, 0x18
jg 0x1400315d9
mov r11d, edx
mov ecx, eax
shr r11d, cl
test r11d, r11d
je 0x1400315a0
mov qword [rbx], r10
mov ecx, edx
and ecx, 0x1ff
movzx ecx, word [rbx + rcx*2 + 0x818]
mov r8d, ecx
test ecx, ecx
je 0x140031780
sar ecx, 9
shr edx, cl
sub eax, ecx
mov ecx, r8d
mov dword [rbx + 0x14], edx
and ecx, 0x1ff
mov dword [rbx + 0x10], eax
cmp ecx, 0x1d
jg 0x14003182a
lea r8, [0x140165140]
mov ebp, dword [rdi + rcx*4]
mov r8d, dword [r8 + rcx*4]
test r8d, r8d
jne 0x1400318d8
mov rax, r9
movsxd r13, ebp
sub rax, qword [rbx + 0x20]
cmp rax, r13
jl 0x14003182a
movsxd rax, r12d
add rax, r9
cmp qword [rbx + 0x28], rax
jb 0x140031910
mov rdx, r9
sub rdx, r13
cmp ebp, 1
je 0x1400318b0
test r12d, r12d
je 0x1400314c4
mov ecx, eax
lea r8d, [rax + rax]
sar ecx, 1
and r8d, 0xaaaa
and ecx, 0x5555
or ecx, r8d
mov r8d, ecx
shl ecx, 2
sar r8d, 2
and ecx, 0xcccc
and r8d, 0x3333
or r8d, ecx
mov ecx, r8d
shl r8d, 4
sar ecx, 4
and r8d, 0xf0f0
and ecx, 0xf0f
or ecx, r8d
mov r8d, ecx
shl ecx, 8
sar r8d, 8
movzx ecx, cx
or r8d, ecx
cmp dword [rbx + 0x47c], r8d
jg 0x1400314d8
cmp r8d, dword [rbx + 0x480]
jl 0x140031930
cmp r8d, dword [rbx + 0x484]
jl 0x1400319e8
cmp r8d, dword [rbx + 0x488]
jl 0x1400319f3
cmp r8d, dword [rbx + 0x48c]
jl 0x1400319fe
cmp r8d, dword [rbx + 0x490]
jl 0x140031b7a
lea rcx, [0x140158020]
lea rsi, str.Corrupt_PNG
call sym.__emutls_get_address
mov qword [rax], rsi
xor eax, eax
jmp 0x140031cb4
mov edx, dword [rbx + 0x14]
jmp 0x1400315d9
mov ecx, edx
lea r8d, [rdx + rdx]
sar ecx, 1
and r8d, 0xaaaa
and ecx, 0x5555
or ecx, r8d
mov r8d, ecx
shl ecx, 2
sar r8d, 2
and ecx, 0xcccc
and r8d, 0x3333
or r8d, ecx
mov ecx, r8d
shl r8d, 4
sar ecx, 4
and r8d, 0xf0f0
and ecx, 0xf0f
or ecx, r8d
mov r8d, ecx
shl ecx, 8
sar r8d, 8
movzx ecx, cx
or r8d, ecx
cmp dword [rbx + 0xc60], r8d
jg 0x140031b0b
cmp r8d, dword [rbx + 0xc64]
jl 0x140031b85
cmp r8d, dword [rbx + 0xc68]
jl 0x140031d48
cmp r8d, dword [rbx + 0xc6c]
jl 0x140031d53
cmp r8d, dword [rbx + 0xc70]
jl 0x140032957
cmp r8d, dword [rbx + 0xc74]
jl 0x140032962
lea rcx, [0x140158020]
lea rdi, str.Corrupt_PNG
call sym.__emutls_get_address
mov qword [rax], rdi
xor eax, eax
jmp 0x140031cb4
mov r8d, 1
mov rdx, r9
mov rcx, rbx
call sym.stbi__zexpand_stbi__zbuf__char__int_
test eax, eax
je 0x140031768
mov r9, qword [rbx + 0x18]
jmp 0x1400314bd
mov edx, dword [rbx + 0x14]
cmp r8d, eax
jg 0x140031948
mov ecx, r8d
mov r10d, edx
sub eax, r8d
shr r10d, cl
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], r10d
mov r10d, 1
shl r10d, cl
sub r10d, 1
and r10d, edx
add r12d, r10d
jmp 0x14003157f
test r12d, r12d
je 0x1400314c4
cmp r8d, eax
jg 0x140031998
sub eax, r8d
mov ecx, r8d
mov r10d, edx
mov dword [rbx + 0x10], eax
mov eax, 1
shr r10d, cl
shl eax, cl
mov dword [rbx + 0x14], r10d
sub eax, 1
and eax, edx
add ebp, eax
jmp 0x14003162a
mov r8d, r12d
mov rdx, r9
mov rcx, rbx
call sym.stbi__zexpand_stbi__zbuf__char__int_
test eax, eax
je 0x140031768
mov r9, qword [rbx + 0x18]
jmp 0x14003164d
mov r10d, 0xb
mov ecx, 0x10
sub ecx, r10d
jmp 0x1400314e8
mov r11, qword [rbx + 8]
jmp 0x14003197d
mov rcx, qword [rbx]
cmp rcx, r11
jae 0x14003196b
lea r10, [rcx + 1]
mov qword [rbx], r10
movzx r10d, byte [rcx]
mov ecx, eax
shl r10d, cl
or edx, r10d
add eax, 8
mov dword [rbx + 0x14], edx
mov dword [rbx + 0x10], eax
cmp eax, 0x18
jg 0x140031884
mov r10d, edx
mov ecx, eax
shr r10d, cl
test r10d, r10d
je 0x140031950
mov qword [rbx], r11
jmp 0x140031884
mov r10, qword [rbx + 8]
jmp 0x1400319cd
mov rcx, qword [rbx]
cmp rcx, r10
jae 0x1400319bb
lea r11, [rcx + 1]
mov qword [rbx], r11
movzx r11d, byte [rcx]
mov ecx, eax
shl r11d, cl
or edx, r11d
add eax, 8
mov dword [rbx + 0x14], edx
mov dword [rbx + 0x10], eax
cmp eax, 0x18
jg 0x1400318e1
mov r11d, edx
mov ecx, eax
shr r11d, cl
test r11d, r11d
je 0x1400319a0
mov qword [rbx], r10
jmp 0x1400318e1
mov r10d, 0xc
jmp 0x140031936
mov r10d, 0xd
jmp 0x140031936
mov r10d, 0xe
jmp 0x140031936
mov ecx, 6
mov r10d, 0xa
nop word cs:[rax + rax]
sar r8d, cl
movsxd rcx, r10d
movzx r11d, word [rbx + rcx*2 + 0xc18]
movzx ecx, word [rbx + rcx*2 + 0xc7c]
sub r8d, r11d
add ecx, r8d
cmp ecx, 0x11f
jg 0x14003182a
movsxd r8, ecx
movzx ecx, byte [rbx + r8 + 0xc9c]
cmp r10d, ecx
jne 0x14003182a
mov ecx, r10d
sub eax, r10d
shr edx, cl
mov dword [rbx + 0x10], eax
mov dword [rbx + 0x14], edx
movzx ecx, word [rbx + r8*2 + 0xdbc]
jmp 0x14003160a
mov r10d, 0xf
jmp 0x140031936
mov r10d, 0xb
mov ecx, 0x10
sub ecx, r10d
jmp 0x140031b20
mov r9d, edx
and r9d, 7
jne 0x140032a43
test edx, edx
jle 0x140032aeb
mov eax, r8d
lea ecx, [rdx - 8]
mov byte [rsp + 0x80], r8b
shr eax, 8
test ecx, ecx
jle 0x14003297c
mov byte [rsp + 0x81], al
mov eax, r8d
shr eax, 0x10
cmp edx, 0x10
jle 0x14003297c
mov byte [rsp + 0x82], al
mov eax, r8d
shr eax, 0x18
cmp edx, 0x18
jle 0x14003297c
sub edx, 1
mov byte [rsp + 0x83], al
shr edx, 3
mov dword [rbx + 0x14], 0
mov eax, edx
neg eax
lea eax, [rcx + rax*8]
mov dword [rbx + 0x10], eax
test eax, eax
jne 0x14003182a
cmp edx, 3
jne 0x140032b25
movzx eax, byte [rsp + 0x80]
movzx edx, byte [rsp + 0x82]
movzx r8d, byte [rsp + 0x81]
shl r8d, 8
add r8d, eax
movzx eax, byte [rsp + 0x83]
shl eax, 8
add eax, edx
mov edx, r8d
xor edx, 0xffff
cmp eax, edx
jne 0x140031752
mov rdx, qword [rbx]
movsxd rdi, r8d
lea rax, [rdx + rdi]
cmp qword [rbx + 8], rax
jb 0x140031752
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + rdi]
cmp qword [rbx + 0x28], rax
jae 0x140031c98
mov rdx, rcx
mov rcx, rbx
call sym.stbi__zexpand_stbi__zbuf__char__int_
test eax, eax
je 0x140031768
mov rdx, qword [rbx]
mov rcx, qword [rbx + 0x18]
mov r8, rdi
call sym.memcpy
add qword [rbx], rdi
add qword [rbx + 0x18], rdi
test esi, esi
je 0x140032a38
mov eax, 1
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rbx + 8]
jmp 0x140031cf8
mov rdx, qword [rbx]
cmp rdx, r8
jae 0x140031ce6
lea r9, [rdx + 1]
mov qword [rbx], r9
movzx edx, byte [rdx]
shl edx, cl
or eax, edx
add ecx, 8
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], ecx
cmp ecx, 0x18
jg 0x1400313d1
mov edx, eax
shr edx, cl
test edx, edx
je 0x140031cd0
mov qword [rbx], r8
jmp 0x1400313d1
mov r8, qword [rbx + 8]
jmp 0x140031d38
mov rdx, qword [rbx]
cmp rdx, r8
jae 0x140031d26
lea r9, [rdx + 1]
mov qword [rbx], r9
movzx edx, byte [rdx]
shl edx, cl
or eax, edx
add ecx, 8
mov dword [rbx + 0x14], eax
mov dword [rbx + 0x10], ecx
cmp ecx, 0x18
jg 0x14003296d
mov edx, eax
shr edx, cl
test edx, edx
je 0x140031d10
mov qword [rbx], r8
jmp 0x1400313b8
mov r10d, 0xc
jmp 0x140031b8b
mov r10d, 0xd
jmp 0x140031b8b
lea rdi, [rbx + 0x3c]
mov eax, ebx
pxor xmm0, xmm0
mov dword [rsp + 0xc0], 0
and rdi, 0xfffffffffffffff8
movaps xmmword [rsp + 0xa0], xmm0
sub eax, edi
movaps xmmword [rsp + 0x80], xmm0
lea ecx, [rax + 0x434]
xor eax, eax
movaps xmmword [rsp + 0x90], xmm0
shr ecx, 3
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rbx + 0x34], 0
mov qword [rbx + 0x42c], 0
rep stosq qword [rdi], rax
lea rax, [0x140165001]
mov dword [rsp + 0xa0], 1
lea r8, [rax + 0x11f]
nop dword [rax + rax]
movzx ecx, byte [rax]
add rax, 1
add dword [rsp + rcx*4 + 0x80], 1
cmp r8, rax
jne 0x140031dd8
mov r8d, dword [rsp + 0x84]
mov dword [rsp + 0x80], 0
cmp r8d, 2
jg 0x140031752
mov ecx, dword [rsp + 0x88]
cmp ecx, 4
jg 0x140031752
mov edi, dword [rsp + 0x8c]
cmp edi, 8
jg 0x140031752
mov r11d, dword [rsp + 0x90]
cmp r11d, 0x10
jg 0x140031752
mov r10d, dword [rsp + 0x94]
cmp r10d, 0x20
jg 0x140031752
mov r9d, dword [rsp + 0x98]
cmp r9d, 0x40
jg 0x140031752
mov ebp, dword [rsp + 0x9c]
cmp ebp, 0x80
jg 0x140031752
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
cmp eax, 0x100
jg 0x140031752
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x28], eax
cmp eax, 0x200
jg 0x140031752
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x2c], eax
cmp eax, 0x400
jg 0x140031752
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x30], eax
cmp eax, 0x800
jg 0x140031752
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x34], eax
cmp eax, 0x1000
jg 0x140031752
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x38], eax
cmp eax, 0x2000
jg 0x140031752
mov r13d, dword [rsp + 0xb8]
cmp r13d, 0x4000
jg 0x140031752
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x3c], eax
cmp eax, 0x8000
jg 0x140031752
xor eax, eax
mov dword [rsp + 0x44], 0
mov word [rbx + 0x436], ax
xor eax, eax
mov word [rbx + 0x49a], ax
mov eax, r8d
shl eax, 0xf
mov word [rbx + 0x49c], r8w
mov dword [rbx + 0x458], eax
lea eax, [r8 + r8]
mov dword [rsp + 0x48], eax
mov word [rbx + 0x438], ax
add eax, ecx
test ecx, ecx
je 0x140031f6d
cmp eax, 4
jg 0x140031752
mov r12d, eax
add ecx, r8d
add eax, eax
shl r12d, 0xe
mov dword [rsp + 0x4c], eax
mov word [rbx + 0x43a], ax
add eax, edi
mov dword [rbx + 0x45c], r12d
mov word [rbx + 0x49e], cx
test edi, edi
je 0x140031fa1
cmp eax, 8
jg 0x140031752
mov r8d, eax
add ecx, edi
add eax, eax
shl r8d, 0xd
mov dword [rsp + 0x50], eax
mov word [rbx + 0x43c], ax
add eax, r11d
mov dword [rbx + 0x460], r8d
mov word [rbx + 0x4a0], cx
test r11d, r11d
je 0x140031fd6
cmp eax, 0x10
jg 0x140031752
mov r8d, eax
add ecx, r11d
add eax, eax
shl r8d, 0xc
mov dword [rsp + 0x54], eax
mov word [rbx + 0x43e], ax
add eax, r10d
mov dword [rbx + 0x464], r8d
mov word [rbx + 0x4a2], cx
test r10d, r10d
je 0x14003200c
cmp eax, 0x20
jg 0x140031752
mov r8d, eax
add ecx, r10d
add eax, eax
shl r8d, 0xb
mov dword [rsp + 0x58], eax
mov word [rbx + 0x440], ax
add eax, r9d
mov dword [rbx + 0x468], r8d
mov word [rbx + 0x4a4], cx
test r9d, r9d
je 0x140032042
cmp eax, 0x40
jg 0x140031752
mov r8d, eax
add ecx, r9d
add eax, eax
shl r8d, 0xa
mov dword [rsp + 0x5c], eax
mov word [rbx + 0x442], ax
add eax, ebp
mov dword [rbx + 0x46c], r8d
mov word [rbx + 0x4a6], cx
test ebp, ebp
je 0x140032078
cmp eax, 0x80
jg 0x140031752
mov r8d, eax
mov edi, dword [rsp + 0x24]
add eax, eax
add ecx, ebp
shl r8d, 9
mov dword [rsp + 0x60], eax
mov word [rbx + 0x444], ax
add eax, edi
mov dword [rbx + 0x470], r8d
mov word [rbx + 0x4a8], cx
test edi, edi
je 0x1400320b1
cmp eax, 0x100
jg 0x140031752
mov edi, dword [rsp + 0x24]
mov r8d, eax
add eax, eax
shl r8d, 8
mov dword [rsp + 0x64], eax
add ecx, edi
mov edi, dword [rsp + 0x28]
mov word [rbx + 0x446], ax
mov dword [rbx + 0x474], r8d
mov word [rbx + 0x4aa], cx
add eax, edi
test edi, edi
je 0x1400320ee
cmp eax, 0x200
jg 0x140031752
mov edi, dword [rsp + 0x28]
mov r8d, eax
add eax, eax
shl r8d, 7
mov dword [rsp + 0x68], eax
add ecx, edi
mov edi, dword [rsp + 0x2c]
mov word [rbx + 0x448], ax
mov dword [rbx + 0x478], r8d
mov word [rbx + 0x4ac], cx
add eax, edi
test edi, edi
je 0x14003212b
cmp eax, 0x400
jg 0x140031752
mov edi, dword [rsp + 0x2c]
mov r8d, eax
add eax, eax
shl r8d, 6
mov dword [rsp + 0x6c], eax
add ecx, edi
mov edi, dword [rsp + 0x30]
mov word [rbx + 0x44a], ax
mov dword [rbx + 0x47c], r8d
mov word [rbx + 0x4ae], cx
add eax, edi
test edi, edi
je 0x140032168
cmp eax, 0x800
jg 0x140031752
mov edi, dword [rsp + 0x30]
mov r8d, eax
add eax, eax
mov dword [rsp + 0x70], eax
shl r8d, 5
add ecx, edi
mov edi, dword [rsp + 0x34]
mov word [rbx + 0x44c], ax
mov dword [rbx + 0x480], r8d
add eax, edi
mov word [rbx + 0x4b0], cx
cmp eax, 0x1000
jle 0x1400321a5
test edi, edi
jne 0x140031752
mov edi, dword [rsp + 0x34]
mov r8d, eax
add eax, eax
shl r8d, 4
mov dword [rsp + 0x74], eax
add ecx, edi
mov edi, dword [rsp + 0x38]
mov word [rbx + 0x44e], ax
mov dword [rbx + 0x484], r8d
mov word [rbx + 0x4b2], cx
add eax, edi
test edi, edi
je 0x1400321e2
cmp eax, 0x2000
jg 0x140031752
mov edi, dword [rsp + 0x38]
lea r8d, [rax*8]
add eax, eax
mov dword [rsp + 0x78], eax
add ecx, edi
mov word [rbx + 0x450], ax
add eax, r13d
mov dword [rbx + 0x488], r8d
mov word [rbx + 0x4b4], cx
test r13d, r13d
je 0x14003221e
cmp eax, 0x4000
jg 0x140031752
mov edi, dword [rsp + 0x3c]
lea r8d, [rax*4]
add eax, eax
add ecx, r13d
mov dword [rsp + 0x7c], eax
mov word [rbx + 0x452], ax
add eax, edi
mov dword [rbx + 0x48c], r8d
mov word [rbx + 0x4b6], cx
cmp eax, 0x8000
jle 0x140032259
test edi, edi
jne 0x140031752
add eax, eax
xor r8d, r8d
mov dword [rbx + 0x494], 0x10000
lea r13, str._b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_b_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_b_b_b_b_b_b_b_b
mov dword [rbx + 0x490], eax
jmp 0x140032291
add r9d, 1
mov dword [rsp + r10*4 + 0x40], r9d
add r8, 1
cmp r8, 0x120
je 0x14003236c
movzx ebp, byte [r13 + r8]
mov ecx, ebp
test ebp, ebp
je 0x140032280
movsxd r10, ebp
movzx r11d, word [rbx + r10*2 + 0x434]
mov r9d, dword [rsp + r10*4 + 0x40]
mov eax, r9d
sub eax, r11d
movzx r11d, word [rbx + r10*2 + 0x498]
add eax, r11d
cdqe
mov byte [rbx + rax + 0x4b8], bpl
mov word [rbx + rax*2 + 0x5d8], r8w
cmp ebp, 9
jg 0x140032277
mov r11d, r9d
lea eax, [r9 + r9]
mov edi, ebp
sar r11d, 1
and eax, 0xaaaa
shl edi, 9
and r11d, 0x5555
or edi, r8d
or r11d, eax
mov eax, r11d
shl r11d, 2
sar eax, 2
and r11d, 0xcccc
and eax, 0x3333
or eax, r11d
mov r11d, eax
shl eax, 4
sar r11d, 4
and eax, 0xf0f0
and r11d, 0xf0f
or r11d, eax
mov eax, r11d
shl r11d, 8
movzx r12d, r11w
mov r11d, 1
sar eax, 8
shl r11d, cl
mov ecx, 0x10
or eax, r12d
sub ecx, ebp
movsxd r11, r11d
sar eax, cl
cdqe
nop dword [rax + rax]
mov word [rbx + rax*2 + 0x34], di
add rax, r11
cmp eax, 0x1ff
jle 0x140032358
jmp 0x140032277
pxor xmm0, xmm0
lea r8, [rbx + 0x818]
xor eax, eax
mov ecx, pe_nt_image_headers64
mov rdi, r8
movaps xmmword [rsp + 0x90], xmm0
rep stosq qword [rdi], rax
lea rax, [0x140164fe1]
mov dword [rsp + 0xc0], 0
mov dword [rsp + 0x94], 1
lea r8, [rax + 0x1f]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
nop dword [rax]
movzx ecx, byte [rax]
add rax, 1
add dword [rsp + rcx*4 + 0x80], 1
cmp r8, rax
jne 0x1400323c8
mov r9d, dword [rsp + 0x84]
mov dword [rsp + 0x80], 0
cmp r9d, 2
jg 0x140031752
mov ecx, dword [rsp + 0x88]
cmp ecx, 4
jg 0x140031752
mov edi, dword [rsp + 0x8c]
cmp edi, 8
jg 0x140031752
mov r10d, dword [rsp + 0x90]
cmp r10d, 0x10
jg 0x140031752
mov r11d, dword [rsp + 0x94]
cmp r11d, 0x20
jg 0x140031752
mov ebp, dword [rsp + 0x98]
cmp ebp, 0x40
jg 0x140031752
mov r8d, dword [rsp + 0x9c]
cmp r8d, 0x80
jg 0x140031752
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x24], eax
cmp eax, 0x100
jg 0x140031752
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x28], eax
cmp eax, 0x200
jg 0x140031752
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x2c], eax
cmp eax, 0x400
jg 0x140031752
mov eax, dword [rsp + 0xac]
mov dword [rsp + 0x30], eax
cmp eax, 0x800
jg 0x140031752
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x34], eax
cmp eax, 0x1000
jg 0x140031752
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x38], eax
cmp eax, 0x2000
jg 0x140031752
mov r13d, dword [rsp + 0xb8]
cmp r13d, 0x4000
jg 0x140031752
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x3c], eax
cmp eax, 0x8000
jg 0x140031752
xor eax, eax
xor r12d, r12d
mov dword [rsp + 0x44], 0
mov word [rbx + 0xc1a], ax
mov eax, r9d
shl eax, 0xf
mov word [rbx + 0xc7e], r12w
mov dword [rbx + 0xc3c], eax
lea eax, [r9 + r9]
mov dword [rsp + 0x48], eax
mov word [rbx + 0xc1c], ax
add eax, ecx
mov word [rbx + 0xc80], r9w
cmp eax, 4
jle 0x14003255f
test ecx, ecx
jne 0x140031752
mov r12d, eax
add eax, eax
add ecx, r9d
mov dword [rsp + 0x4c], eax
shl r12d, 0xe
mov word [rbx + 0xc1e], ax
add eax, edi
mov dword [rbx + 0xc40], r12d
mov word [rbx + 0xc82], cx
cmp eax, 8
jle 0x140032593
test edi, edi
jne 0x140031752
mov r9d, eax
add ecx, edi
add eax, eax
shl r9d, 0xd
mov dword [rsp + 0x50], eax
mov word [rbx + 0xc20], ax
add eax, r10d
mov dword [rbx + 0xc44], r9d
mov word [rbx + 0xc84], cx
test r10d, r10d
je 0x1400325c8
cmp eax, 0x10
jg 0x140031752
mov r9d, eax
add eax, eax
add ecx, r10d
mov dword [rsp + 0x54], eax
shl r9d, 0xc
mov word [rbx + 0xc22], ax
add eax, r11d
mov dword [rbx + 0xc48], r9d
mov word [rbx + 0xc86], cx
cmp eax, 0x20
jle 0x1400325fe
test r11d, r11d
jne 0x140031752
mov r9d, eax
add eax, eax
add ecx, r11d
mov dword [rsp + 0x58], eax
shl r9d, 0xb
mov word [rbx + 0xc24], ax
add eax, ebp
mov dword [rbx + 0xc4c], r9d
mov word [rbx + 0xc88], cx
cmp eax, 0x40
jle 0x140032632
test ebp, ebp
jne 0x140031752
mov r9d, eax
add eax, eax
shl r9d, 0xa
mov dword [rsp + 0x5c], eax
mov dword [rbx + 0xc50], r9d
lea r9d, [rcx + rbp]
mov word [rbx + 0xc26], ax
add eax, r8d
mov word [rbx + 0xc8a], r9w
cmp eax, 0x80
jle 0x14003266c
test r8d, r8d
jne 0x140031752
mov edi, dword [rsp + 0x24]
mov ecx, eax
add eax, eax
add r8d, r9d
mov dword [rsp + 0x60], eax
shl ecx, 9
mov word [rbx + 0xc28], ax
add eax, edi
mov dword [rbx + 0xc54], ecx
mov word [rbx + 0xc8c], r8w
cmp eax, 0x100
jle 0x1400326a4
test edi, edi
jne 0x140031752
mov edi, dword [rsp + 0x24]
mov ecx, eax
add eax, eax
shl ecx, 8
mov dword [rsp + 0x64], eax
add r8d, edi
mov edi, dword [rsp + 0x28]
mov word [rbx + 0xc2a], ax
mov dword [rbx + 0xc58], ecx
mov word [rbx + 0xc8e], r8w
add eax, edi
test edi, edi
je 0x1400326e0
cmp eax, 0x200
jg 0x140031752
mov ecx, eax
mov edi, dword [rsp + 0x2c]
add eax, eax
shl ecx, 7
mov dword [rsp + 0x68], eax
mov dword [rbx + 0xc5c], ecx
mov ecx, dword [rsp + 0x28]
mov word [rbx + 0xc2c], ax
add eax, edi
add ecx, r8d
mov word [rbx + 0xc90], cx
test edi, edi
je 0x14003271b
cmp eax, 0x400
jg 0x140031752
mov edi, dword [rsp + 0x2c]
mov r8d, eax
add eax, eax
shl r8d, 6
mov dword [rsp + 0x6c], eax
add ecx, edi
mov edi, dword [rsp + 0x30]
mov word [rbx + 0xc2e], ax
mov dword [rbx + 0xc60], r8d
mov word [rbx + 0xc92], cx
add eax, edi
test edi, edi
je 0x140032758
cmp eax, 0x800
jg 0x140031752
mov edi, dword [rsp + 0x30]
mov r8d, eax
add eax, eax
shl r8d, 5
mov dword [rsp + 0x70], eax
add ecx, edi
mov edi, dword [rsp + 0x34]
mov word [rbx + 0xc30], ax
mov dword [rbx + 0xc64], r8d
mov word [rbx + 0xc94], cx
add eax, edi
test edi, edi
je 0x140032795
cmp eax, 0x1000
jg 0x140031752
mov edi, dword [rsp + 0x34]
mov r8d, eax
add eax, eax
shl r8d, 4
mov dword [rsp + 0x74], eax
add ecx, edi
mov edi, dword [rsp + 0x38]
mov word [rbx + 0xc32], ax
mov dword [rbx + 0xc68], r8d
mov word [rbx + 0xc96], cx
add eax, edi
test edi, edi
je 0x1400327d2
cmp eax, 0x2000
jg 0x140031752
mov edi, dword [rsp + 0x38]
lea r8d, [rax*8]
add eax, eax
mov dword [rsp + 0x78], eax
add ecx, edi
mov word [rbx + 0xc34], ax
add eax, r13d
mov dword [rbx + 0xc6c], r8d
mov word [rbx + 0xc98], cx
test r13d, r13d
je 0x14003280e
cmp eax, 0x4000
jg 0x140031752
mov edi, dword [rsp + 0x3c]
lea r8d, [rax*4]
add eax, eax
add ecx, r13d
mov dword [rsp + 0x7c], eax
mov word [rbx + 0xc36], ax
add eax, edi
mov dword [rbx + 0xc70], r8d
mov word [rbx + 0xc9a], cx
cmp eax, 0x8000
jle 0x140032849
test edi, edi
jne 0x140031752
add eax, eax
xor r8d, r8d
mov dword [rbx + 0xc78], 0x10000
lea r13, [0x140164fe0]
mov dword [rbx + 0xc74], eax
jmp 0x14003287e
add r9d, 1
mov dword [rsp + r10*4 + 0x40], r9d
add r8, 1
cmp r8, 0x20
je 0x140031410
movzx ebp, byte [r13 + r8]
mov ecx, ebp
test ebp, ebp
je 0x140032870
movsxd r10, ebp
movzx r11d, word [rbx + r10*2 + 0xc18]
mov r9d, dword [rsp + r10*4 + 0x40]
mov eax, r9d
sub eax, r11d
movzx r11d, word [rbx + r10*2 + 0xc7c]
add eax, r11d
cdqe
mov byte [rbx + rax + 0xc9c], bpl
mov word [rbx + rax*2 + 0xdbc], r8w
cmp ebp, 9
jg 0x140032867
mov r11d, r9d
lea eax, [r9 + r9]
mov edi, ebp
sar r11d, 1
and eax, 0xaaaa
shl edi, 9
and r11d, 0x5555
or edi, r8d
or r11d, eax
mov eax, r11d
shl r11d, 2
sar eax, 2
and r11d, 0xcccc
and eax, 0x3333
or eax, r11d
mov r11d, eax
shl eax, 4
sar r11d, 4
and eax, 0xf0f0
and r11d, 0xf0f
or r11d, eax
mov eax, r11d
shl r11d, 8
movzx r12d, r11w
mov r11d, 1
sar eax, 8
shl r11d, cl
mov ecx, 0x10
or eax, r12d
sub ecx, ebp
movsxd r11, r11d
sar eax, cl
cdqe
mov word [rbx + rax*2 + 0x818], di
add rax, r11
cmp eax, 0x1ff
jle 0x140032940
jmp 0x140032867
mov r10d, 0xe
jmp 0x140031b8b
mov r10d, 0xf
jmp 0x140031b8b
mov esi, eax
sub ecx, 1
shr eax, 1
and esi, 1
jmp 0x1400313d1
sub edx, 1
mov dword [rbx + 0x14], eax
shr edx, 3
mov r8d, edx
neg r8d
lea ecx, [rcx + r8*8]
mov dword [rbx + 0x10], ecx
test ecx, ecx
jne 0x14003182a
add edx, 1
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400329cd
movsxd rcx, edx
lea eax, [rdx + 1]
mov byte [rsp + rcx + 0x80], 0
cmp edx, 3
jne 0x140032a0b
jmp 0x140031c1e
mov edx, 5
lea r9, [rax + 1]
movsxd r10, edx
lea ecx, [rdx + 1]
mov qword [rbx], r9
movzx r11d, byte [rax]
mov byte [rsp + r10 + 0x80], r11b
cmp edx, 3
je 0x140031c1e
cmp r9, r8
jb 0x140032a67
movsxd rcx, ecx
lea eax, [rdx + 2]
mov byte [rsp + rcx + 0x80], 0
cmp edx, 2
je 0x140031c1e
mov edx, 3
sub edx, eax
cdqe
lea r8, [rdx + 1]
lea rcx, [rsp + rax + 0x80]
xor edx, edx
call sym.memset
jmp 0x140031c1e
mov qword [rbx + 0x18], r9
test esi, esi
jne 0x140031caf
mov ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0x14]
jmp 0x1400313b0
cmp edx, r9d
jl 0x140032b50
mov ecx, r9d
shr r8d, cl
sub edx, r9d
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x10], edx
jne 0x140031baa
jmp 0x14003299d
lea r10, [rax + 2]
movsxd rcx, ecx
lea r9d, [rdx + 2]
mov qword [rbx], r10
movzx r11d, byte [rax + 1]
mov byte [rsp + rcx + 0x80], r11b
cmp edx, 2
je 0x140031c1e
cmp r10, r8
jb 0x140032ab0
movsxd r9, r9d
mov eax, 3
mov byte [rsp + r9 + 0x80], 0
cmp edx, 1
jne 0x140032a0b
jmp 0x140031c1e
lea rcx, [rax + 3]
movsxd r9, r9d
mov qword [rbx], rcx
movzx r10d, byte [rax + 2]
mov byte [rsp + r9 + 0x80], r10b
test edx, edx
jne 0x140031c1e
cmp rcx, r8
jae 0x140032adf
lea rdx, [rax + 4]
mov qword [rbx], rdx
movzx edx, byte [rax + 3]
mov byte [rsp + 0x83], dl
jmp 0x140031c1e
jne 0x14003182a
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400329cd
mov byte [rsp + 0x80], 0
mov eax, 1
jmp 0x140032a0b
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x1400329c8
mov byte [rsp + 0x85], 0
mov eax, 6
jmp 0x140032a0b
mov r10, qword [rbx + 8]
mov ecx, edx
jmp 0x140032b82
mov rax, qword [rbx]
cmp rax, r10
jae 0x140032b6f
lea rdx, [rax + 1]
mov qword [rbx], rdx
movzx eax, byte [rax]
shl eax, cl
or r8d, eax
add ecx, 8
mov dword [rbx + 0x14], r8d
mov dword [rbx + 0x10], ecx
cmp ecx, 0x18
jg 0x140032c18
mov eax, r8d
shr eax, cl
test eax, eax
je 0x140032b58
mov qword [rbx], r10
mov edx, ecx
mov ecx, r9d
sub edx, r9d
shr r8d, cl
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x14], r8d
jmp 0x140031ba2
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
cmp rdx, r8
jae 0x140031752
lea r9, [rdx + 1]
mov qword [rcx], r9
movzx eax, byte [rdx]
mov ecx, eax
cmp r9, r8
jae 0x140031752
lea r9, [rdx + 2]
mov qword [rbx], r9
movzx r10d, byte [rdx + 1]
mov edx, r10d
cmp r9, r8
jae 0x140031752
shl eax, 8
add eax, r10d
imul eax, eax, 0xbdef7bdf
cmp eax, 0x8421084
ja 0x140031752
and edx, 0x20
jne 0x140031752
and ecx, 0xf
cmp cl, 8
jne 0x140031752
jmp 0x14003138e
mov edx, ecx
jmp 0x140032b90