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

Disassembly:
mov rax, rsp
sub rsp, 0x98
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
lea rbx, [rcx + 0x248]
xor r12d, r12d
mov qword [rcx + 0x3d5b0], r12
mov qword [rcx + 0x3d5a8], r12
mov rbp, rcx
mov rcx, rbx
call fcn.100d4490
lea rcx, [rbp + 0x40]
call fcn.100d7270
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x44], 0xffffffff
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], 0xffffffff
mov dword [rsp + 0x4c], r12d
mov r11d, 5
mov qword [rbp + 0x240], rbx
mov dword [rsp + 0x20], r11d
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rdx + 0x18], rax
mov rax, qword [rcx + 0x20]
mov qword [rdx + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rdx + 0x28], rax
mov eax, dword [rcx + 0x30]
lea rcx, [rsp + 0x58]
mov dword [rdx + 0x30], eax
call fcn.100db710
mov r8d, dword [rsp + 0x64]
cmp r8d, 8
lea edi, [r12 + 2]
jg 0x100df8f1
mov ecx, dword [rsp + 0x68]
cmp ecx, 4
jg 0x100df8f1
mov edx, dword [rsp + 0x6c]
cmp edx, 4
jg 0x100df8f1
mov eax, dword [rsp + 0x5c]
cmp eax, 0x80000000
ja 0x100df8f1
cmp eax, 0x40000000
ja 0x100df8f1
mov dword [rbp + 0x3d5e8], eax
mov eax, dword [rsp + 0x74]
cmp eax, r11d
jb 0x100df86e
mov r9d, 0x111
mov r11d, eax
cmp eax, r9d
cmova r11d, r9d
cmp dword [rsp + 0x70], r12d
mov eax, r12d
mov dword [rbp + 0x33e68], ecx
sete al
mov dword [rbp + 0x33200], r11d
mov dword [rbp + 0x33e64], r8d
mov dword [rbp + 0x3d578], eax
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x33e6c], edx
test eax, eax
mov dword [rbp + 0x2b8], eax
mov ecx, 4
je 0x100df8bd
mov eax, dword [rsp + 0x7c]
cmp eax, edi
jge 0x100df8b8
mov ecx, edi
jmp 0x100df8bd
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x88], 1
mov dword [rbp + 0x2a8], ecx
mov dword [rbp + 0x284], eax
mov eax, dword [rsp + 0x84]
mov dword [rbp + 0x3d5c8], eax
mov eax, r12d
setg al
mov dword [rbp + 0x3d5e0], eax
mov qword [rsp + 0xb0], rsi
mov byte [rbp + 0x3076c], r12b
mov byte [rbp + 0x3076d], 1
mov rsi, rdi
nop
nop
mov ecx, edi
mov edx, 1
sar ecx, 1
dec ecx
shl edx, cl
test edx, edx
je 0x100df93a
mov ebx, edx
mov r8d, edx
lea rcx, [rsi + rbp + 0x3076c]
movzx edx, dil
call sub.msvcrt.dll_memset
add rsi, rbx
inc edi
cmp edi, 0x1a
jl 0x100df910
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
mov r8d, 8
mov r9, r8
nop
nop
nop
nop
mov eax, r8d
mov edx, r12d
mov ecx, 4
nop
nop
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x100df99b
nop
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x100df990
dec rcx
jne 0x100df980
mov rax, r9
mov ecx, 0xa1
add r8d, 0x10
shr rax, 4
sub ecx, edx
add r9, 0x10
cmp r8d, 0x800
mov dword [rbp + rax*4 + 0x3276c], ecx
jb 0x100df970
mov qword [rbp + 0x33e78], r12
mov qword [rbp + 0x3d5f0], r12
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xa8]
add rsp, 0x98
ret