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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x600
mov rbp, qword [rcx + 8]
mov eax, 0xffff
mov r13d, r9d
mov rsi, qword [rbp + 0x3c0]
mov r12d, r8d
mov r15, rdx
mov rdi, rcx
mov byte [rsp + 0x630], 0
cmp dword [rsi + 0x648], eax
je 0x180034b6f
cmp qword [rsi + 0x4d0], 0
je 0x180034b6f
test r8d, r8d
je 0x180034b75
lea rcx, [rsi + 0x4c0]
mov edx, r8d
call fcn.1800308a0
mov r12d, eax
test eax, eax
jne 0x180034b75
mov eax, 6
jmp 0x180035281
cmp r8d, dword [rsi + 0x14]
jae 0x180034b65
bt r9d, 0xa
jae 0x180034b80
or r13d, 3
mov qword [rsp + 0x640], r14
mov dword [rdi + 0xfc], 0x10000
mov dword [rdi + 0x100], 0x10000
test r15, r15
je 0x180034ccb
mov eax, dword [r15 + 0x1c]
mov dword [rdi + 0xfc], eax
mov eax, dword [r15 + 0x20]
mov dword [rdi + 0x100], eax
mov rax, qword [r15]
mov edx, dword [r15 + 0x40]
mov r10, qword [rax + 0x2c0]
mov rcx, qword [rax + 0xa0]
cmp edx, 0xffffffff
je 0x180034ccb
cmp qword [r10 + 0x118], 0
je 0x180034ccb
test r13b, 8
jne 0x180034ccb
lea r8, [rsp + 0x50]
lea rax, [rdi + 0x68]
mov r9d, r13d
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, rbp
mov r8d, r12d
call qword [r10 + 0xd0]
test eax, eax
jne 0x180034ccb
movzx eax, byte [rsp + 0x51]
movsx ecx, byte [rsp + 0x52]
movsx edx, byte [rsp + 0x53]
movsx r8d, byte [rsp + 0x55]
movsx r9d, byte [rsp + 0x56]
shl eax, 6
mov dword [rdi + 0x30], eax
movzx eax, byte [rsp + 0x50]
xor r14d, r14d
shl eax, 6
mov word [rdi + 0x9a], r14w
mov word [rdi + 0x98], r14w
mov dword [rdi + 0x34], eax
mov eax, ecx
mov dword [rdi + 0x60], 0x62697473
shl eax, 6
mov dword [rdi + 0x38], eax
mov eax, edx
shl eax, 6
mov dword [rdi + 0x3c], eax
movzx eax, byte [rsp + 0x54]
shl eax, 6
mov dword [rdi + 0x40], eax
mov eax, r8d
shl eax, 6
mov dword [rdi + 0x44], eax
mov eax, r9d
shl eax, 6
mov dword [rdi + 0x48], eax
movzx eax, byte [rsp + 0x57]
shl eax, 6
mov dword [rdi + 0x4c], eax
test r13b, 0x10
je 0x180034cb8
mov dword [rdi + 0x90], r8d
mov dword [rdi + 0x94], r9d
xor eax, eax
jmp 0x180035279
mov dword [rdi + 0x90], ecx
mov dword [rdi + 0x94], edx
xor eax, eax
jmp 0x180035279
bt r13d, 0xe
jae 0x180034cdc
mov eax, 6
jmp 0x180035279
cmp dword [rsi + 0x818], 0
mov qword [rsp + 0x638], rbx
je 0x180034d9d
lea rcx, [rsi + 0x920]
mov edx, r12d
call fcn.1800306f0
movzx ecx, al
cmp ecx, dword [rsi + 0x818]
jb 0x180034d14
movzx eax, byte [rsi + 0x818]
dec al
mov r14d, dword [rsi + 0x608]
movzx ebx, al
lea r8, [rsp + 0x68]
mov rcx, qword [rsi + rbx*8 + 0x820]
mov edx, dword [rcx + 0x40]
mov eax, dword [rcx + 0x30]
mov dword [r8], eax
mov eax, dword [rcx + 0x34]
mov dword [rsp + 0x44], edx
mov dword [r8 + 4], eax
mov eax, dword [rcx + 0x38]
mov dword [r8 + 8], eax
mov eax, dword [rcx + 0x3c]
mov dword [r8 + 0xc], eax
mov rbx, qword [rsi + rbx*8 + 0x820]
mov rbx, qword [rbx + 0x44]
mov qword [rsp + 0x78], rbx
cmp r14d, edx
je 0x180034dd1
mov ecx, dword [rdi + 0xfc]
mov r8d, edx
mov edx, r14d
call fcn.180001100
mov r8d, dword [rsp + 0x44]
mov ecx, dword [rdi + 0x100]
mov edx, r14d
mov dword [rdi + 0xfc], eax
call fcn.180001100
mov byte [rsp + 0x630], 1
mov dword [rdi + 0x100], eax
jmp 0x180034dd1
mov eax, dword [rsi + 0x5f8]
lea rcx, [rsp + 0x68]
mov dword [rcx], eax
mov eax, dword [rsi + 0x5fc]
mov dword [rcx + 4], eax
mov eax, dword [rsi + 0x600]
mov dword [rcx + 8], eax
mov eax, dword [rsi + 0x604]
mov dword [rcx + 0xc], eax
mov rbx, qword [rsi + 0x60c]
mov qword [rsp + 0x78], rbx
xor r14d, r14d
mov eax, r13d
and eax, 1
mov word [rdi + 0x9a], r14w
mov word [rdi + 0x98], r14w
mov dword [rsp + 0x50], eax
jne 0x180034dfe
test r13b, 2
jne 0x180034dfe
mov cl, 1
mov byte [rsp + 0x41], cl
jmp 0x180034e04
xor cl, cl
mov byte [rsp + 0x41], cl
mov eax, r13d
mov r9, rdi
mov r8, r15
sar eax, 0x10
mov rdx, rbp
mov dword [rdi + 0x60], 0x6f75746c
and eax, 0xf
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], cl
lea rcx, [rsp + 0x90]
call fcn.180032a30
movzx eax, byte [rsp + 0x541]
mov ecx, 1
bt r13d, 8
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x58]
cmovb eax, ecx
mov edx, r12d
mov rcx, rbp
mov byte [rsp + 0x541], al
mov byte [rsp + 0xea], r14b
call fcn.180032db0
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x18003526d
lea rcx, [rsp + 0x90]
mov r8d, r12d
mov rdx, r15
call fcn.180032af0
mov dword [rsp + 0x44], eax
test eax, eax
jne 0x18003526d
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.1800330e0
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x58]
mov rcx, rbp
mov dword [rsp + 0x44], eax
call fcn.180032e20
mov eax, dword [rsp + 0x44]
test eax, eax
jne 0x18003526d
mov rax, qword [rbp + 0xd0]
cmp qword [rax + 0x48], r14
je 0x180034eec
mov qword [rdi + 0xd0], r14
mov dword [rdi + 0xd8], r14d
jmp 0x180034f1b
mov rcx, qword [rsi + 0x500]
test rcx, rcx
je 0x180034f1b
mov eax, r12d
mov ecx, dword [rcx + rax*4]
mov rax, qword [rsi + 0x508]
lea rcx, [rcx + rax - 1]
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0xd8], eax
mov qword [rdi + 0xd0], rcx
lea rcx, [rsp + 0x90]
call fcn.1800215c0
mov r8, qword [rbp + 0xd0]
mov rax, qword [r8 + 0x48]
test rax, rax
je 0x180034fb1
mov rax, qword [rax]
cmp qword [rax + 0x10], r14
je 0x180034fb1
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x5c], r14d
lea r9, [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0xd0]
mov edx, r12d
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xd4]
mov dword [rsp + 0x64], eax
mov rcx, qword [r8 + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
call qword [rax + 0x10]
mov edx, dword [rsp + 0x58]
mov esi, eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xd0], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0xc8], edx
mov dword [rsp + 0xd4], eax
test esi, esi
jne 0x18003526d
jmp 0x180034fb8
mov edx, dword [rsp + 0xc8]
bt r13d, 0xa
jae 0x180034ffc
mov eax, dword [rsp + 0x538]
mov rcx, qword [rdi + 0xf0]
mov dword [rdi + 0x38], edx
mov dword [rdi + 0x40], eax
lea rdx, [rsp + 0x68]
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov qword [rcx + 0x20], rbx
mov dword [rcx + 0x1c], eax
mov byte [rcx + 0xc], 1
jmp 0x18003526d
mov eax, dword [rsp + 0x538]
lea rsi, [rdi + 0x30]
mov dword [rsi + 0x10], eax
mov dword [rdi + 0x50], eax
mov rax, qword [rdi + 0xf0]
mov byte [rax + 0xc], r14b
cmp byte [rbp + 0x194], r14b
je 0x18003507d
cmp word [rbp + 0x1ba], r14w
jbe 0x18003507d
cmp qword [rbp + 0x1c0], r14
je 0x18003507d
mov rax, qword [rbp + 0x2c0]
lea rcx, [rsp + 0x48]
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], rcx
mov r8d, r12d
mov dl, 1
mov rcx, rbp
mov byte [rsp + 0x40], 1
mov word [rsp + 0x4c], r14w
mov word [rsp + 0x48], r14w
call qword [rax + 0x138]
movsx r11d, word [rsp + 0x4c]
movzx eax, word [rsp + 0x48]
mov dword [rsi + 0x18], r11d
mov dword [rsi + 0x1c], eax
jmp 0x1800350b8
mov eax, 0xffff
mov byte [rsp + 0x40], r14b
cmp word [rbp + 0x1f8], ax
je 0x1800350a5
movsx eax, word [rbp + 0x240]
movsx ecx, word [rbp + 0x23e]
sub ecx, eax
mov dword [rsi + 0x1c], ecx
jmp 0x1800350b8
movsx eax, word [rbp + 0x13e]
movsx ecx, word [rbp + 0x13c]
sub ecx, eax
mov dword [rsi + 0x1c], ecx
mov eax, dword [rsi + 0x1c]
mov dword [rdi + 0x60], 0x6f75746c
mov dword [rdi + 0xb8], r14d
mov dword [rdi + 0x54], eax
test r15, r15
je 0x1800350e3
cmp word [r15 + 0x1a], 0x18
jae 0x1800350e3
mov dword [rdi + 0xb8], 0x100
or dword [rdi + 0xb8], 4
cmp dword [rsp + 0x68], 0x10000
jne 0x18003510c
cmp dword [rsp + 0x74], 0x10000
jne 0x18003510c
cmp dword [rsp + 0x6c], r14d
jne 0x18003510c
cmp dword [rsp + 0x70], r14d
je 0x180035122
lea r15, [rdi + 0x98]
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.180003000
jmp 0x180035129
lea r15, [rdi + 0x98]
mov ebp, dword [rsp + 0x7c]
test ebx, ebx
jne 0x180035135
test ebp, ebp
je 0x180035142
mov r8d, ebp
mov edx, ebx
mov rcx, r15
call fcn.180002f50
mov eax, dword [rsi + 0x10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], r14d
call fcn.180002f90
mov eax, dword [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
add eax, ebx
mov dword [rsp + 0x58], r14d
mov dword [rsi + 0x10], eax
mov eax, dword [rsi + 0x1c]
mov dword [rsp + 0x5c], eax
call fcn.180002f90
mov eax, dword [rsp + 0x5c]
add eax, ebp
mov dword [rsi + 0x1c], eax
cmp dword [rsp + 0x50], r14d
je 0x18003519b
cmp byte [rsp + 0x630], r14b
je 0x180035204
mov rbx, qword [r15 + 8]
mov ebp, dword [rdi + 0xfc]
mov r12d, dword [rdi + 0x100]
cmp byte [rsp + 0x41], r14b
je 0x1800351bd
cmp qword [rsp + 0xf0], r14
jne 0x1800351e9
movsx edi, word [r15 + 2]
test edi, edi
jle 0x1800351e9
mov ecx, dword [rbx]
mov edx, ebp
call fcn.180001260
mov ecx, dword [rbx + 4]
mov edx, r12d
mov dword [rbx], eax
call fcn.180001260
dec edi
mov dword [rbx + 4], eax
add rbx, 8
test edi, edi
jg 0x1800351c6
mov ecx, dword [rsi + 0x10]
mov edx, ebp
call fcn.180001260
mov ecx, dword [rsi + 0x1c]
mov edx, r12d
mov dword [rsi + 0x10], eax
call fcn.180001260
mov dword [rsi + 0x1c], eax
lea rdx, [rsp + 0x80]
mov rcx, r15
call fcn.180002ea0
mov ecx, dword [rsp + 0x8c]
mov r8d, dword [rsp + 0x80]
mov r11d, dword [rsp + 0x88]
mov eax, ecx
mov dword [rsi + 8], r8d
sub eax, dword [rsp + 0x84]
sub r11d, r8d
mov dword [rsi + 0xc], ecx
mov dword [rsi], r11d
mov dword [rsi + 4], eax
cmp byte [rsp + 0x40], r14b
je 0x18003525c
mov eax, dword [rsi + 0x10]
cdq
sub eax, edx
sar eax, 1
sub r8d, eax
mov dword [rsi + 0x14], r8d
jmp 0x18003526d
test r13b, 0x10
je 0x18003526d
mov edx, dword [rsi + 0x1c]
mov rcx, rsi
call fcn.180001ce0
mov eax, dword [rsp + 0x44]
mov rbx, qword [rsp + 0x638]
mov r14, qword [rsp + 0x640]
mov rbp, qword [rsp + 0x648]
add rsp, 0x600
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
test rcx, rcx
jne 0x180035409
lea eax, [rcx + 0x25]
ret
test rdx, rdx
jne 0x180035412
or r9d, 3
test r9b, 1
je 0x18003541f
xor edx, edx
jmp 0x180034b00
test rdx, rdx
je 0x18003541a
mov rax, qword [rcx + 8]
cmp qword [rdx], rax
je 0x18003541a
mov eax, 0x23
ret