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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebx, dword [r9]
xor r13d, r13d
mov rbp, r9
lea eax, [rbx*4 + 4]
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r14d, [r13 + 1]
cmp eax, 4
jb 0x1000b512e
mov eax, r13d
cmp ebx, 0x3fffffff
jbe 0x1000b5131
mov eax, r14d
cmp r8, r13
je 0x1000b5169
cmp eax, r13d
jne 0x1000b5169
mov rax, qword [r8]
mov ebx, dword [r9]
mov rcx, r8
call qword [rax + 0x20]
mov r11d, eax
lea rax, [rbx*4 + 4]
cmp rax, r11
ja 0x1000b5169
mov rax, qword [rsi]
mov ebx, dword [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov eax, dword [rax + rbx*4]
mov dword [rdi + 0x40], eax
inc ebx
mov dword [rbp], ebx
lea eax, [rbx*4 + 4]
cmp eax, 4
jb 0x1000b5185
mov eax, r13d
cmp ebx, 0x3fffffff
jbe 0x1000b5188
mov eax, r14d
cmp rsi, r13
je 0x1000b51c4
cmp eax, r13d
jne 0x1000b51c4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov r11d, eax
mov eax, dword [rbp]
lea rax, [rax*4 + 4]
cmp rax, r11
ja 0x1000b51c4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r11, rax
mov eax, dword [rbp]
mov eax, dword [r11 + rax*4]
mov dword [rdi + 0x44], eax
add dword [rbp], r14d
mov ecx, dword [rbp]
lea eax, [rcx*4 + 4]
cmp eax, 4
jb 0x1000b51e2
mov eax, r13d
cmp ecx, 0x3fffffff
jbe 0x1000b51e5
mov eax, r14d
cmp rsi, r13
je 0x1000b5221
cmp eax, r13d
jne 0x1000b5221
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov r11d, eax
mov eax, dword [rbp]
lea rax, [rax*4 + 4]
cmp rax, r11
ja 0x1000b5221
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov r11, rax
mov eax, dword [rbp]
mov eax, dword [r11 + rax*4]
mov dword [rdi + 0x50], eax
add dword [rbp], r14d
cmp rsi, r13
je 0x1000b5aac
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
cmp eax, dword [rbp]
jb 0x1000b5aac
mov rdx, qword [r12 + 0x40]
mov r9d, dword [r12 + 0x38]
mov ecx, dword [rdi + 0x40]
add r9, rdx
lea rax, [rcx + rdx + 4]
mov r12d, 0x80004005
cmp r9, rax
sbb ebx, ebx
and ebx, r12d
mov dword [rsp + 0x90], ebx
jl 0x1000b52a8
mov eax, dword [rcx + rdx]
xor r10d, r10d
cmp eax, r10d
je 0x1000b52ab
lea r8d, [rax + rcx + 4]
mov eax, r8d
add rax, rdx
cmp r9, rax
sbb ebx, ebx
and ebx, r12d
mov dword [rsp + 0x90], ebx
jl 0x1000b52ab
lea eax, [r8 - 1]
cmp byte [rax + rdx], r10b
cmovne ebx, r12d
mov dword [rsp + 0x90], ebx
jmp 0x1000b52ab
xor r10d, r10d
cmp ebx, r10d
jl 0x1000b5ab1
mov r13, r10
mov r14d, r10d
cmp dword [rdi + 0x44], r10d
jbe 0x1000b53a8
lea rdx, [0x100002840]
mov ecx, 0x78
call fcn.10007b104
xor ecx, ecx
mov r11, rax
cmp rax, rcx
je 0x1000b5324
or dword [rax + 0x18], 0xffffffff
mov qword [rax + 0x38], rcx
mov qword [rax + 0x30], rcx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov byte [rax + 0x21], cl
mov byte [rax + 0x20], 3
mov qword [rax + 0x60], rcx
mov qword [rax + 0x50], rcx
mov dword [rax + 0x44], ecx
mov word [rax + 0x72], cx
mov qword [rax + 0x68], rcx
add rax, 0x40
mov qword [rsp + 0x90], r11
mov dword [rax], 1
mov qword [r11 + 0x10], rax
jmp 0x1000b532f
mov r11, rcx
mov qword [rsp + 0x90], rcx
cmp r11, rcx
je 0x1000b587d
lea rcx, [rsp + 0x90]
call fcn.1000baaf8
mov r15, qword [rsp + 0x90]
xor r10d, r10d
cmp eax, r10d
jl 0x1000b544e
mov rcx, qword [rsp + 0x80]
mov r9, rbp
mov r8, rsi
mov rdx, r15
call fcn.1000b4ef8
xor r10d, r10d
cmp eax, r10d
mov ebx, eax
mov dword [rsp + 0x90], eax
jl 0x1000b5a95
cmp r13, r10
jne 0x1000b538f
mov qword [rdi + 0x48], r15
jmp 0x1000b5393
mov qword [r13 + 0x60], r15
inc r14d
mov r13, r15
mov qword [rsp + 0x28], r10
cmp r14d, dword [rdi + 0x44]
jb 0x1000b52c4
or rcx, 0xffffffffffffffff
mov r14d, 0x68
cmp dword [rdi + 0x50], r10d
jbe 0x1000b5468
mov r13d, dword [rdi + 0x50]
mov rax, r14
mul r13
lea rdx, [0x100002840]
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.10007b104
xor r10d, r10d
cmp rax, r10
je 0x1000b5458
lea r8d, [r13 - 1]
lea rcx, [rax + 8]
mov dword [rax], r13d
cmp r8d, r10d
mov rdx, rcx
jl 0x1000b545b
lea rax, [rcx + 0x50]
lea ebp, [r14 - 0x67]
or dword [rax - 0x20], 0xffffffff
mov qword [rax], r10
mov qword [rax - 8], r10
mov qword [rax - 0x38], r10
mov qword [rax - 0x30], r10
mov byte [rax - 0x17], r10b
lea r9, [0x10019f6c4]
mov qword [rax - 0x28], r9
mov qword [rax - 0x48], r10
mov qword [rax - 0x40], r10
mov byte [rax - 0x18], bpl
mov qword [rax + 0x10], r10
mov dword [rdx], r10d
add rdx, r14
add rax, r14
sub r8d, ebp
jns 0x1000b5404
mov rbp, qword [rsp + 0x98]
jmp 0x1000b545b
mov ebx, 0x8007000e
jmp 0x1000b5a95
mov rcx, r10
mov qword [rdi + 0x58], rcx
cmp rcx, r10
je 0x1000b587d
mov r9d, dword [rdi + 0x50]
mov r8d, r10d
mov r11d, 1
cmp r9d, r10d
jbe 0x1000b549e
mov rdx, qword [rdi + 0x58]
mov eax, r8d
imul rax, rax, 0x68
lea rcx, [rax + rdx + 0x18]
not rcx
cmp rcx, r10
jge 0x1000b5842
add r8d, r11d
cmp r8d, r9d
jb 0x1000b547e
mov r14, qword [rsp + 0x80]
movzx r13d, r10w
cmp r9d, r10d
jbe 0x1000b552c
movzx ecx, word [r14 + 0x90]
cmp dword [r14 + 0x94], ecx
jbe 0x1000b5887
mov rax, qword [rdi + 0x58]
movzx edx, r13w
mov r9, rbp
mov r8, rsi
imul rdx, rdx, 0x68
mov word [rdx + rax + 4], cx
add word [r14 + 0x90], r11w
mov rcx, qword [rdi + 0x58]
movzx eax, word [rdi + 0x24]
mov word [rdx + rcx + 0x3c], ax
mov rax, qword [rdi + 0x58]
mov rcx, r14
mov word [rdx + rax + 0x40], r13w
add rdx, qword [rdi + 0x58]
call fcn.1000b5ae8
xor r10d, r10d
cmp eax, r10d
mov ebx, eax
mov dword [rsp + 0x90], eax
jl 0x1000b5ab1
lea r11d, [r10 + 1]
add r13w, r11w
movzx eax, r13w
cmp eax, dword [rdi + 0x50]
jb 0x1000b54af
mov r9d, r10d
movzx r8d, r10w
lea rsi, [0x100019000]
mov ebp, 1
cmp dword [rdi + 0x50], r10d
jbe 0x1000b55b2
mov r11, qword [r14 + 0x88]
movzx eax, r8w
imul rax, rax, 0x68
add rax, qword [rdi + 0x58]
movzx ecx, word [rax + 4]
imul rcx, rcx, 0x78
cmp r10w, word [r11 + rcx + 0x4a]
jae 0x1000b55a5
mov rdx, qword [r11 + rcx + 8]
movzx r10d, word [r11 + rcx + 0x4a]
add rdx, 0x7c
movzx eax, word [rdx - 2]
lea rcx, [rax + rax*4]
mov eax, dword [rsi + rcx*8 + 0x1c]
and eax, 0xff000000
cmp eax, 0x8000000
jne 0x1000b5599
movzx eax, word [rdx]
cmp r9d, eax
cmovb r9d, eax
add rdx, 0xa8
sub r10, rbp
jne 0x1000b5577
add r8w, bp
movzx eax, r8w
cmp eax, dword [rdi + 0x50]
jb 0x1000b554c
lea esi, [r9 + 1]
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rsi
lea rdx, [0x100002840]
cmovo rax, rcx
mov rcx, rax
call fcn.10007b104
xor r13d, r13d
mov r12, rax
mov qword [rsp + 0x30], rax
cmp rax, r13
je 0x1000b587d
lea r8, [rsi + rsi]
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov word [rdi + 0x64], r13w
movzx r10d, r13w
cmp dword [rdi + 0x50], r13d
jbe 0x1000b56be
lea rbx, [0x100019000]
mov rax, qword [r14 + 0x88]
movzx r9d, r10w
mov esi, r13d
imul r9, r9, 0x68
add r9, qword [rdi + 0x58]
movzx edx, word [r9 + 4]
imul rdx, rdx, 0x78
cmp r13w, word [rax + rdx + 0x4a]
jae 0x1000b56a6
mov r8, r13
mov rax, qword [r14 + 0x88]
mov r11, qword [rax + rdx + 8]
movzx eax, word [r8 + r11 + 0x7a]
lea rcx, [rax + rax*4]
mov eax, dword [rbx + rcx*8 + 0x1c]
and eax, 0xff000000
cmp eax, 0x8000000
jne 0x1000b5684
movzx eax, word [r8 + r11 + 0x7c]
cmp r13w, word [r12 + rax*2]
jne 0x1000b5684
add word [rdi + 0x64], bp
movzx eax, word [r8 + r11 + 0x7c]
movzx ecx, word [rdi + 0x64]
mov word [r12 + rax*2], cx
movzx edx, word [r9 + 4]
mov rax, qword [r14 + 0x88]
add esi, ebp
add r8, 0xa8
imul rdx, rdx, 0x78
movzx ecx, word [rax + rdx + 0x4a]
cmp esi, ecx
jb 0x1000b563e
add r10w, bp
movzx ecx, r10w
cmp ecx, dword [rdi + 0x50]
jb 0x1000b5614
mov ebx, dword [rsp + 0x90]
cmp r13w, word [rdi + 0x64]
jae 0x1000b5724
movzx ecx, word [rdi + 0x64]
mov eax, 0x68
mov rsi, 0xffffffffffffffff
mul rcx
lea rdx, [0x100002840]
cmovo rax, rsi
mov rcx, rax
call fcn.10007b104
movzx ecx, word [rdi + 0x64]
mov qword [rdi + 0x68], rax
lea eax, [rsi + 5]
mul rcx
lea rdx, [0x100002840]
cmovo rax, rsi
mov rcx, rax
call fcn.10007b104
mov qword [rsp + 0x20], rax
cmp qword [rdi + 0x68], r13
je 0x1000b587d
cmp rax, r13
je 0x1000b587d
xor eax, eax
movzx esi, r13w
mov word [rsp + 0x98], r13w
mov qword [rdi + 0xf8], rax
mov qword [rdi + 0x100], rax
cmp dword [rdi + 0x50], r13d
jbe 0x1000b5ab1
mov r15, qword [rsp + 0x20]
lea ebx, [rax + 1]
mov rax, qword [rdi + 0x58]
movzx r8d, word [rdi + 0x64]
movzx ecx, si
imul rcx, rcx, 0x68
movzx ebp, word [rcx + rax + 4]
shl r8, 2
xor edx, edx
mov rcx, r15
imul rbp, rbp, 0x78
add rbp, qword [r14 + 0x88]
call sub.msvcrt.dll_memset
movzx r10d, word [rbp + 0x4a]
mov r11d, r13d
cmp r13w, r10w
je 0x1000b5a6f
movzx r8d, r10w
mov r14d, 1
lea rsi, [0x100019000]
imul r8, r8, 0xa8
mov rdx, qword [rbp + 8]
mov eax, 0xffff
sub r8, 0xa8
add r10w, ax
movzx eax, word [r8 + rdx + 0x7a]
lea rcx, [rax + rax*4]
mov r9d, dword [rsi + rcx*8 + 0x1c]
mov eax, r9d
shr eax, 0x18
sub eax, 3
je 0x1000b580b
sub eax, 4
je 0x1000b5a07
sub eax, r14d
je 0x1000b59b7
sub eax, r14d
je 0x1000b580b
sub eax, 3
je 0x1000b5923
sub eax, r14d
je 0x1000b588f
sub eax, 2
jne 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
mov ecx, 0x100
cmp ax, cx
jae 0x1000b5a23
movzx edx, word [r8 + rdx + 0x7e]
movzx eax, ax
add edx, eax
movzx eax, word [rdi + 0x106]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0x106], dx
jmp 0x1000b5a50
cmp rdx, r10
je 0x1000b5879
lea rbp, [rdx - 8]
movsxd rsi, dword [rbp]
mov rbx, rsi
imul rbx, rbx, 0x68
add rbx, rdx
sub esi, r11d
js 0x1000b586e
sub rbx, r14
mov rcx, rbx
call fcn.1000bb498
sub esi, 1
jns 0x1000b585e
mov rcx, rbp
call sub.msvcrt.dll_free
xor r10d, r10d
mov qword [rdi + 0x58], r10
mov ebx, 0x8007000e
jmp 0x1000b5ab1
mov ebx, r12d
jmp 0x1000b5ab1
cmp r9d, 0xd000000
je 0x1000b58fc
cmp r9d, 0xd010000
je 0x1000b58d5
cmp r9d, 0xd020000
jne 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0x104]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0x104], dx
jmp 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0x102]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0x102], dx
jmp 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0x100]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0x100], dx
jmp 0x1000b5a50
cmp r9d, 0xc000000
je 0x1000b5990
cmp r9d, 0xc010000
je 0x1000b5969
cmp r9d, 0xc020000
jne 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0xfc]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0xfc], dx
jmp 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0xfa]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0xfa], dx
jmp 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r8 + rdx + 0x7e]
lea edx, [rcx + rax]
movzx eax, word [rdi + 0xf8]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0xf8], dx
jmp 0x1000b5a50
movzx eax, word [r8 + rdx + 0x7c]
movzx ecx, word [r12 + rax*2]
sub cx, r14w
cmp dword [r8 + rdx + 0x80], 0x800000d
mov word [r8 + rdx + 0x74], cx
jne 0x1000b59e1
or dword [r8 + rdx + 0x40], r14d
jmp 0x1000b5a50
movzx eax, cx
mov ecx, r13d
cmp dword [r15 + rax*4], r13d
movzx eax, word [r8 + rdx + 0x74]
sete cl
xor ecx, dword [r8 + rdx + 0x40]
and ecx, r14d
xor dword [r8 + rdx + 0x40], ecx
mov dword [r15 + rax*4], r14d
jmp 0x1000b5a50
and dword [r8 + rdx + 0x40], 0xfffffffe
cmp r11d, r13d
mov eax, r13d
sete al
mov r11d, r14d
and eax, r14d
or dword [r8 + rdx + 0x40], eax
jmp 0x1000b5a50
mov ecx, 0x101
cmp cx, ax
ja 0x1000b5a50
movzx ecx, word [r8 + rdx + 0x7e]
movzx eax, ax
lea edx, [rcx + rax - 0x101]
movzx eax, word [rdi + 0xfe]
cmp eax, edx
cmovg edx, eax
mov word [rdi + 0xfe], dx
cmp r10w, r13w
jne 0x1000b57ab
mov si, word [rsp + 0x98]
mov r14, qword [rsp + 0x80]
mov ebx, 1
add si, bx
movzx eax, si
mov word [rsp + 0x98], si
cmp eax, dword [rdi + 0x50]
jb 0x1000b5753
mov ebx, dword [rsp + 0x90]
mov r15, qword [rsp + 0x28]
xor r10d, r10d
cmp r15, r10
je 0x1000b5ab1
mov rcx, r15
call fcn.1000bb6c8
mov rcx, r15
call sub.msvcrt.dll_free
jmp 0x1000b5ab1
mov ebx, 0x80004005
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret