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

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
push r12
push r14
sub rsp, 0x30
mov r12d, dword [rsp + 0x78]
mov rbx, rcx
mov rcx, qword [rsp + 0x80]
mov r14d, r9d
test rcx, rcx
je 0x32103cd
mov rax, qword [0x0325d030]
movzx r10d, byte [rax]
cmp byte [rcx], r10b
jne 0x32103cd
cmp dword [rsp + 0x88], 0x58
jne 0x32103cd
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
test rbx, rbx
je 0x32103c6
mov r9, qword [rbx + 0x30]
lea rcx, [0x03214d20]
xor esi, esi
mov qword [rbx + 0x20], rsi
test r9, r9
jne 0x320fffa
mov qword [rbx + 0x30], rcx
mov r9, rcx
mov qword [rbx + 0x40], rsi
cmp qword [rbx + 0x38], rsi
jne 0x321000b
lea rax, [0x03214d30]
mov qword [rbx + 0x38], rax
mov r13d, dword [rsp + 0x70]
cmp edx, 0xffffffff
mov ebp, r14d
mov r15d, 6
cmovne r15d, edx
neg ebp
test r14d, r14d
lea eax, [r13 - 1]
cmovns ebp, r14d
shr r14d, 0x1f
cmp eax, 8
ja 0x32103c6
cmp r8d, 8
jne 0x32103c6
lea eax, [rbp - 9]
cmp eax, 6
ja 0x32103c6
cmp r15d, 9
ja 0x32103c6
cmp r12d, 2
ja 0x32103c6
mov qword [rsp + 0x68], rdi
cmp r9, rcx
jne 0x321007e
mov edx, 0x1718
lea ecx, [r8 - 7]
call fcn.0322fc60
jmp 0x3210090
mov rcx, qword [rbx + 0x40]
mov edx, 1
mov r8d, 0x1718
call r9
mov rdi, rax
test rax, rax
je 0x32103bf
mov qword [rbx + 0x28], rax
mov ecx, ebp
mov dword [rax + 0x3c], ebp
mov r9d, 1
mov qword [rax], rbx
lea rbp, [0x03214d20]
mov dword [rax + 0x2c], r14d
shl r9d, cl
lea ecx, [r13 + 7]
mov dword [rax + 0x38], r9d
mov dword [rdi + 0x70], ecx
lea eax, [r9 - 1]
mov dword [rdi + 0x40], eax
mov eax, 1
shl eax, cl
add ecx, 2
mov dword [rdi + 0x6c], eax
dec eax
mov dword [rdi + 0x74], eax
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov dword [rdi + 0x78], edx
mov rax, qword [rbx + 0x30]
cmp rax, rbp
jne 0x3210104
mov ecx, r9d
mov edx, 2
call fcn.0322fc60
jmp 0x3210113
mov rcx, qword [rbx + 0x40]
mov r8d, 2
mov edx, r9d
call rax
mov edx, dword [rdi + 0x38]
mov qword [rdi + 0x48], rax
mov rax, qword [rbx + 0x30]
cmp rax, rbp
jne 0x3210131
mov ecx, edx
mov edx, 2
call fcn.0322fc60
jmp 0x321013d
mov rcx, qword [rbx + 0x40]
mov r8d, 2
call rax
mov edx, dword [rdi + 0x6c]
mov qword [rdi + 0x58], rax
mov rax, qword [rbx + 0x30]
cmp rax, rbp
jne 0x321015b
mov ecx, edx
mov edx, 2
call fcn.0322fc60
jmp 0x3210167
mov rcx, qword [rbx + 0x40]
mov r8d, 2
call rax
lea ecx, [r13 + 6]
mov qword [rdi + 0x60], rax
mov edx, 1
shl edx, cl
mov dword [rdi + 0x16e8], edx
mov rax, qword [rbx + 0x30]
cmp rax, rbp
jne 0x3210193
mov ecx, edx
mov edx, 4
call fcn.0322fc60
jmp 0x321019f
mov rcx, qword [rbx + 0x40]
mov r8d, 4
call rax
mov rdx, rax
mov ecx, dword [rdi + 0x16e8]
mov qword [rdi + 0x10], rax
lea eax, [rcx*4]
mov dword [rdi + 0x18], eax
cmp qword [rdi + 0x48], rsi
je 0x32103ac
cmp qword [rdi + 0x58], rsi
je 0x32103ac
cmp qword [rdi + 0x60], rsi
je 0x32103ac
test rdx, rdx
je 0x32103ac
mov eax, ecx
mov dword [rdi + 0xa4], r15d
shr rax, 1
mov dword [rdi + 0xa8], r12d
lea rax, [rdx + rax*2]
mov qword [rdi + 0x16f0], rax
lea rax, [rdx + rcx*2]
add rcx, rax
mov eax, dword [rsp + 0x60]
mov qword [rdi + 0x16e0], rcx
mov byte [rdi + 0x31], al
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x3210382
cmp qword [rbx + 0x30], rsi
je 0x3210382
cmp qword [rbx + 0x38], rsi
je 0x3210382
mov dword [rbx + 0x1c], esi
mov dword [rbx + 0xc], esi
mov qword [rbx + 0x20], rsi
mov dword [rbx + 0x48], 2
mov rax, qword [rdi + 0x10]
mov ecx, dword [rdi + 0x2c]
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x28], esi
test ecx, ecx
jns 0x3210259
mov dword [rdi + 0x2c], esi
mov ecx, esi
test ecx, ecx
mov eax, 0x2a
mov edx, 0x71
cmovne eax, edx
mov dword [rdi + 8], eax
mov dword [rbx + 0x4c], 1
mov dword [rdi + 0x34], esi
call fcn.032145c0
lea rax, [rdi + 0xb4]
mov dword [rdi + 0x1700], esi
mov qword [rdi + 0xb38], rax
mov rcx, rdi
lea rax, [0x0325d050]
mov word [rdi + 0x170c], si
mov qword [rdi + 0xb48], rax
lea rax, [rdi + 0x9a8]
mov qword [rdi + 0xb50], rax
lea rax, [0x0325d070]
mov qword [rdi + 0xb60], rax
lea rax, [rdi + 0xa9c]
mov qword [rdi + 0xb68], rax
lea rax, [0x0325d090]
mov qword [rdi + 0xb78], rax
mov dword [rdi + 0x1710], esi
mov dword [rdi + 0x1708], 8
call fcn.032134c0
mov ecx, dword [rdi + 0x38]
xor edx, edx
mov rax, qword [rdi + 0x60]
add ecx, ecx
mov dword [rdi + 0x50], ecx
mov ecx, dword [rdi + 0x6c]
dec ecx
mov word [rax + rcx*2], si
mov r8d, dword [rdi + 0x6c]
mov rcx, qword [rdi + 0x60]
dec r8d
add r8, r8
call fcn.0322a310
movsxd rcx, dword [rdi + 0xa4]
lea rdx, [0x0325cf90]
add rcx, rcx
movzx eax, word [rdx + rcx*8 + 2]
mov dword [rdi + 0xa0], eax
movzx eax, word [rdx + rcx*8]
mov dword [rdi + 0xac], eax
movzx eax, word [rdx + rcx*8 + 4]
mov dword [rdi + 0xb0], eax
movzx eax, word [rdx + rcx*8 + 6]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0x88], rsi
mov dword [rdi + 0x7c], esi
mov dword [rdi + 0x94], esi
mov dword [rdi + 0x98], 2
mov dword [rdi + 0x80], 2
mov dword [rdi + 0x68], esi
jmp 0x3210387
mov esi, 0xfffffffe
mov eax, esi
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop r12
pop rbx
ret
mov rax, qword [str.insufficient_memory]
mov rcx, rbx
mov qword [rbx + 0x20], rax
call fcn.0320feb0
mov eax, 0xfffffffc
jmp 0x3210389
mov eax, 0xfffffffe
jmp 0x321038e
mov eax, 0xfffffffa
add rsp, 0x30
pop r14
pop r12
pop rbx
ret