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

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x90]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 8], r8
mov byte [rbp - 0x10], r9b
cmp qword [rbp - 0x18], 1
je 0x100122495
jmp 0x1001224a8
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x20]
mov rcx, rax
call qword [rdx + 0x68]
mov qword [rbp - 0x20], rax
nop
cmp qword [rbp - 0x20], 0
je 0x1001224b1
jmp 0x1001224b8
jmp 0x1001227ab
nop
mov qword [rbp - 0x60], 0xffffffffffffffff
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 8]
mov qword [rdx + 0x10], rax
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax + 0x10]
lea rcx, [0x1005bfe98]
call fcn.10000e150
test al, al
jne 0x1001224e7
jmp 0x10012250d
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov qword [rdx + 0x18], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0x18]
call fcn.10012f970
mov rdx, qword [rbp - 0x20]
mov dword [rdx + 0x20], eax
jmp 0x100122518
mov rax, qword [rbp - 0x20]
mov dword [rax + 0x20], 0
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0x10]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
call qword [rax + 0x610]
mov rdx, qword [rbp - 0x20]
mov byte [rdx + 0x24], al
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0xd0]
lea rdx, [rbp - 0x30]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0xd0]
mov rax, qword [rax]
call qword [rax + 0xf8]
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x30]
mov dword [rdx + 0x34], eax
mov rax, qword [rbp - 0x20]
mov edx, dword [rbp - 0x2c]
mov dword [rax + 0x30], edx
mov rax, qword [rbp - 0x20]
mov edx, dword [rbp - 0x28]
mov dword [rax + 0x38], edx
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x24]
mov dword [rdx + 0x3c], eax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rax + 0xac]
mov qword [rcx + 0xd0], rdx
mov rax, qword [rax + 0xb4]
mov qword [rcx + 0xd8], rax
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x20]
mov eax, dword [rax + 0xd0]
cmp eax, dword [rdx + 0xd8]
je 0x1001225cb
jmp 0x100122610
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x20]
mov eax, dword [rax + 0xd4]
cmp eax, dword [rdx + 0xdc]
je 0x1001225e3
jmp 0x100122610
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x70]
call fcn.100139000
mov rdx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x70]
mov qword [rdx + 0xd0], rax
mov rax, qword [rbp - 0x68]
mov qword [rdx + 0xd8], rax
nop
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rdx, qword [rbp - 0x20]
mov rax, qword [rax + 0xc0]
mov qword [rdx + 0xe0], rax
mov rax, qword [rbp - 0x20]
cmp qword [rax + 0x18], 0
jne 0x10012263a
jmp 0x1001226c9
cmp byte [rbp - 0x10], 0
jne 0x100122645
jmp 0x1001226c9
mov dword [rbp - 0x70], 0
mov dword [rbp - 0x6c], 0
mov dword [rbp - 0x68], 0x1fffffff
mov dword [rbp - 0x64], 0x1fffffff
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x44], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x3c], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 0x18]
lea rdx, [rbp - 0x44]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
call qword [rax + 0x6b8]
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x44]
mov dword [rdx + 0x44], eax
mov rax, qword [rbp - 0x20]
mov edx, dword [rbp - 0x40]
mov dword [rax + 0x40], edx
mov rcx, qword [rbp - 0x20]
mov edx, dword [rbp - 0x3c]
mov eax, 0x1fffffff
sub eax, edx
mov dword [rcx + 0x48], eax
mov rcx, qword [rbp - 0x20]
mov edx, dword [rbp - 0x38]
mov eax, 0x1fffffff
sub eax, edx
mov dword [rcx + 0x4c], eax
jmp 0x100122754
mov dword [rbp - 0x34], 0xffffffff
mov eax, dword [rbp - 0x34]
lea eax, [eax + 1]
mov dword [rbp - 0x34], eax
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x34]
mov dword [rdx + rax*4 + 0x40], 0
cmp dword [rbp - 0x34], 3
jae 0x1001226f1
jmp 0x1001226d0
mov rax, qword [rbp - 0x20]
cmp dword [rax + 0xe0], 0
je 0x100122700
jmp 0x100122754
mov rax, qword [rbp - 0x20]
cmp dword [rax + 0xe4], 0
je 0x10012270f
jmp 0x100122754
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rcx, qword [rax + 0x390]
lea rdx, [rbp - 0x54]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x390]
mov rax, qword [rax]
call qword [rax + 0x2c0]
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x4c]
mov dword [rdx + 0xe0], eax
mov rax, qword [rbp - 0x20]
mov edx, dword [rbp - 0x48]
mov dword [rax + 0xe4], edx
mov qword [rbp - 0x60], 1
cmp qword [rbp - 0x20], 0
jne 0x100122765
jmp 0x100122780
cmp qword [rbp - 0x18], 0
jne 0x10012276e
jmp 0x100122780
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
call qword [rax + 0x88]
nop
jmp 0x1001227ab
mov rax, qword [rbp - 0x20]
nop
lea rsp, [rbp]
pop rbp
ret