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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [rcx + 0x20]
mov rsi, rcx
mov qword [rsp + 0x58], r12
mov r12d, edx
mov rdi, qword [rax + 0x18]
test rdi, rdi
je 0x14002d295
mov rbx, qword [0x14028e8f0]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, rdi
call rbx
mov rcx, qword [rsi + 0x28]
cmp byte [rcx + 0x11], 0
je 0x14002d2ad
inc dword [rcx + 0x14]
cmp byte [rcx + 0x12], 0
jne 0x14002d2ad
call fcn.14001f320
mov rax, qword [rsi]
test rax, rax
je 0x14002d2d3
mov rdi, qword [rax + 0x18]
test rdi, rdi
je 0x14002d2d3
mov rbx, qword [0x14028e8f0]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, rdi
call rbx
mov edi, dword [rsi + 0x30]
mov qword [rsp + 0x88], rbp
test edi, edi
je 0x14002d2ee
lea eax, [rdi - 5]
cmp eax, 1
ja 0x14002da3e
cmp qword [rsi], 0
mov r9, qword [rsi + 0x28]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x98], 0
mov rbx, qword [rdx]
mov r13, qword [rcx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r13
je 0x14002d33b
cmp byte [rdx + 0x24], 2
jne 0x14002d33b
mov edi, 5
jmp 0x14002d371
xor edi, edi
test r9, r9
je 0x14002d34b
movzx eax, byte [r9 + 0x10]
test eax, eax
jne 0x14002d371
cmp byte [r9 + 0x11], dil
jne 0x14002d357
cmp byte [r9 + 0x10], dil
jne 0x14002d366
xor r8d, r8d
xor edx, edx
mov rcx, r9
call fcn.140022810
mov edi, eax
mov dword [rsp + 0x98], 1
cmp dword [rsi + 0x14], 0
mov ebp, 7
jne 0x14002d3a6
test edi, edi
jne 0x14002d41e
mov rax, qword [rsi + 0x28]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x34]
mov rcx, qword [rsi + 8]
call fcn.140022140
cmp eax, ebp
jne 0x14002d3aa
mov edi, ebp
jmp 0x14002d41e
test edi, edi
jne 0x14002d41e
cmp dword [rsi + 0x14], 0
jne 0x14002d41e
mov r9, qword [rsi + 8]
lea r8, [rsi + 0x10]
cmp byte [r9 + 0x11], 0
jne 0x14002d404
cmp byte [r9 + 0x10], 2
jb 0x14002d404
mov r10, qword [r9 + 8]
test r8, r8
je 0x14002d3df
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov eax, dword [rcx + 0x28]
bswap eax
mov dword [r8], eax
mov rax, qword [r9]
mov rcx, qword [r10]
mov edx, dword [rax + 0x2f0]
cmp edx, dword [rcx + 0x80]
jle 0x14002d400
cmp byte [rcx + 0xa], 0
je 0x14002d400
call fcn.14001ab80
jmp 0x14002d411
xor edi, edi
jmp 0x14002d413
mov edx, 2
mov rcx, r9
call fcn.140022810
mov edi, eax
test edi, edi
jne 0x14002d41e
mov dword [rsi + 0x14], 1
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rax, qword [rsi + 8]
mov edx, dword [rcx + 0x34]
mov rax, qword [rax + 8]
mov dword [rsp + 0x80], edx
mov r8d, dword [rax + 0x34]
mov rax, qword [rax]
mov dword [rsp + 0x90], r8d
movzx eax, byte [rax + 9]
mov dword [rsp + 0x20], eax
test edi, edi
jne 0x14002d46f
cmp eax, 5
je 0x14002d464
cmp byte [r13 + 0x10], dil
jne 0x14002d464
cmp byte [r13 + 0x14], dil
je 0x14002d46f
cmp edx, r8d
mov eax, 8
cmovne edi, eax
mov r15d, dword [rcx + 0x40]
xor r14d, r14d
test r12d, r12d
js 0x14002d484
cmp r14d, r12d
jge 0x14002d52b
mov ebp, dword [rsi + 0x18]
cmp ebp, r15d
ja 0x14002d52b
test edi, edi
jne 0x14002d570
mov rax, qword [rsi + 0x28]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x14028d13c]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x14002d520
mov rbx, qword [rbx + 0x110]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, qword [rsp + 0x30]
lea r9d, [rdi + 2]
lea r8, [rsp + 0x38]
mov edx, ebp
call rbx
mov edi, eax
test eax, eax
jne 0x14002d51b
mov rax, qword [rsp + 0x38]
xor r9d, r9d
mov edx, ebp
mov rcx, rsi
mov r8, qword [rax + 8]
call fcn.14002d0d0
mov rcx, qword [rsp + 0x38]
mov edi, eax
test rcx, rcx
je 0x14002d51b
test byte [rcx + 0x34], 0x20
je 0x14002d516
call fcn.140018300
inc dword [rsi + 0x18]
mov rbx, qword [rsp + 0x30]
inc r14d
jmp 0x14002d476
call fcn.140013aa0
mov rbx, qword [rsp + 0x30]
inc dword [rsi + 0x18]
inc r14d
jmp 0x14002d476
test edi, edi
jne 0x14002d570
mov eax, r15d
mov dword [rsi + 0x38], r15d
sub eax, dword [rsi + 0x18]
inc eax
mov dword [rsi + 0x34], eax
cmp dword [rsi + 0x18], r15d
ja 0x14002d579
cmp dword [rsi + 0x3c], edi
jne 0x14002d9a6
mov rax, qword [rsi + 0x28]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x70]
mov qword [rsi + 0x40], rax
mov qword [rdx + 0x70], rsi
mov dword [rsi + 0x3c], 1
jmp 0x14002d9a6
cmp edi, 0x65
jne 0x14002d9a6
test r15d, r15d
jne 0x14002d5d2
mov rbx, qword [rsi + 8]
cmp byte [rbx + 0x11], r15b
je 0x14002d599
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], r15b
jne 0x14002d599
mov rcx, rbx
call fcn.14001f320
mov rax, qword [rbx + 8]
mov dword [rax + 0x40], 0
mov rcx, qword [rbx + 8]
call fcn.140022730
cmp byte [rbx + 0x11], 0
mov edi, eax
je 0x14002d5c3
sub dword [rbx + 0x14], 1
jne 0x14002d5c3
mov rcx, rbx
call fcn.14001f2c0
mov r15d, 1
test edi, edi
je 0x14002d5d2
cmp edi, 0x65
jne 0x14002d627
mov rbx, qword [rsi + 8]
mov ebp, dword [rsi + 0x10]
inc ebp
cmp byte [rbx + 0x11], 0
mov rdi, qword [rbx + 8]
je 0x14002d5f6
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14002d5f6
mov rcx, rbx
call fcn.14001f320
mov rcx, qword [rdi + 0x18]
mov r14, qword [rcx + 0x50]
mov rcx, qword [rcx + 0x70]
call fcn.14001a4a0
mov edi, eax
test eax, eax
jne 0x14002d613
bswap ebp
mov dword [r14 + 0x28], ebp
cmp byte [rbx + 0x11], 0
je 0x14002d627
sub dword [rbx + 0x14], 1
jne 0x14002d627
mov rcx, rbx
call fcn.14001f2c0
test edi, edi
jne 0x14002d9a6
mov rcx, qword [rsi]
test rcx, rcx
je 0x14002d63c
call fcn.14005e210
cmp dword [rsp + 0x20], 5
jne 0x14002d65b
mov rcx, qword [rsi + 8]
mov edx, 2
call fcn.14002cc90
mov edi, eax
test eax, eax
jne 0x14002d9a6
movsxd r14, dword [rsp + 0x80]
mov ebx, dword [rsp + 0x90]
cmp r14d, ebx
jge 0x14002d6a5
mov eax, ebx
cdq
idiv r14d
mov ecx, eax
dec eax
add eax, r15d
cdq
idiv ecx
mov rcx, qword [rsi + 8]
xor edx, edx
mov r9d, eax
mov eax, dword [0x14028d13c]
mov r8, qword [rcx + 8]
lea ebp, [r9 - 1]
div dword [r8 + 0x34]
inc eax
cmp r9d, eax
cmovne ebp, r9d
jmp 0x14002d6b1
mov eax, r14d
cdq
idiv ebx
mov ebp, eax
imul ebp, r15d
cmp r14d, ebx
jge 0x14002d90b
mov r9, qword [rsp + 0x28]
mov r12, r14
movsxd r13, r15d
imul r13, r14
mov r15, qword [r9 + 0x48]
mov r14d, dword [r9 + 0x20]
cmp ebp, r14d
ja 0x14002d74b
mov rax, qword [rsi + 8]
xor edx, edx
mov rcx, qword [rax + 8]
mov eax, dword [0x14028d13c]
div dword [rcx + 0x34]
inc eax
cmp ebp, eax
je 0x14002d743
mov rbx, qword [r9 + 0x110]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0x38]
xor r9d, r9d
mov edx, ebp
call rbx
mov edi, eax
test eax, eax
jne 0x14002d73e
mov rcx, qword [rsp + 0x38]
call fcn.14001a4a0
mov rcx, qword [rsp + 0x38]
mov edi, eax
test rcx, rcx
je 0x14002d73e
test byte [rcx + 0x34], 0x20
je 0x14002d739
call fcn.140018300
jmp 0x14002d73e
call fcn.140013aa0
mov r9, qword [rsp + 0x28]
inc ebp
test edi, edi
je 0x14002d6d1
jmp 0x14002d75f
test edi, edi
jne 0x14002d75f
xor edx, edx
lea r8d, [rdi + 1]
mov rcx, r9
call fcn.14001a740
mov edi, eax
mov eax, dword [rsp + 0x90]
mov r14, r13
add eax, dword [0x14028d13c]
movsxd rcx, eax
mov eax, dword [rsp + 0x80]
cmp rcx, r13
cmovl r14, rcx
add eax, dword [0x14028d13c]
movsxd rbp, eax
test edi, edi
jne 0x14002d9a6
cmp rbp, r14
jge 0x14002d841
mov rdi, qword [rsp + 0x30]
mov rax, rbp
cqo
mov qword [rsp + 0x90], 0
idiv r12
mov rdi, qword [rdi + 0x110]
mov rcx, rdi
mov rbx, rax
call qword [fcn.140005fb0]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x90]
xor r9d, r9d
lea edx, [rbx + 1]
call rdi
mov edi, eax
test eax, eax
jne 0x14002d812
mov rax, qword [rsp + 0x90]
mov rbx, qword [rax + 8]
mov rax, qword [r15]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140005fb0]
mov r8d, dword [rsp + 0x80]
mov r9, rbp
mov rdx, rbx
mov rcx, r15
call rdi
mov edi, eax
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14002d831
test byte [rcx + 0x34], 0x20
je 0x14002d82c
call fcn.140018300
jmp 0x14002d831
call fcn.140013aa0
add rbp, r12
test edi, edi
je 0x14002d791
jmp 0x14002d9a6
test edi, edi
jne 0x14002d9a6
mov rax, qword [r15]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call qword [fcn.140005fb0]
lea rdx, [rsp + 0x80]
mov rcx, r15
call rbx
mov edi, eax
test eax, eax
jne 0x14002d890
cmp qword [rsp + 0x80], r13
jle 0x14002d890
mov rax, qword [r15]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rdx, r13
mov rcx, r15
call rbx
mov edi, eax
test edi, edi
jne 0x14002d9a6
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rcx + 0x48]
mov rbx, qword [rdi]
test rbx, rbx
jne 0x14002d8ae
lea eax, [rbx + 0xc]
jmp 0x14002d8cc
mov rbx, qword [rbx + 0x50]
mov rcx, rbx
call qword [fcn.140005fb0]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x15]
call rbx
mov rcx, qword [rsp + 0x28]
xor edi, edi
cmp eax, 0xc
cmovne edi, eax
test edi, edi
jne 0x14002d9a6
cmp byte [rcx + 0xb], dil
jne 0x14002d91e
movzx edi, byte [rcx + 0xe]
mov r14, qword [rcx + 0x48]
test edi, edi
je 0x14002d907
mov rax, qword [r14]
mov rbx, qword [rax + 0x28]
mov rcx, rbx
call qword [fcn.140005fb0]
mov edx, edi
mov rcx, r14
call rbx
jmp 0x14002d91c
xor edi, edi
jmp 0x14002d91e
xor r8d, r8d
mov dword [r13 + 0x20], ebp
xor edx, edx
mov rcx, r13
call fcn.14001a740
mov edi, eax
test edi, edi
jne 0x14002d9a6
mov rbx, qword [rsi + 8]
cmp byte [rbx + 0x10], dil
je 0x14002d9a1
cmp byte [rbx + 0x11], dil
je 0x14002d947
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], dil
jne 0x14002d947
mov rcx, rbx
call fcn.14001f320
cmp byte [rbx + 0x10], 2
jne 0x14002d985
mov r14, qword [rbx + 8]
mov rcx, qword [r14]
call fcn.14001a9c0
mov edi, eax
test eax, eax
je 0x14002d975
cmp byte [rbx + 0x11], 0
je 0x14002d9a6
sub dword [rbx + 0x14], 1
jne 0x14002d9a6
mov rcx, rbx
call fcn.14001f2c0
jmp 0x14002d9a6
dec dword [rbx + 0x1c]
mov rcx, r14
mov byte [r14 + 0x24], 1
call fcn.14001f6d0
mov rcx, rbx
call fcn.140023930
cmp byte [rbx + 0x11], 0
je 0x14002d9a1
sub dword [rbx + 0x14], 1
jne 0x14002d9a1
mov rcx, rbx
call fcn.14001f2c0
mov edi, 0x65
cmp dword [rsp + 0x98], 0
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x50]
je 0x14002da28
mov rcx, qword [rsi + 0x28]
xor edx, edx
call fcn.140023880
mov rbx, qword [rsi + 0x28]
cmp byte [rbx + 0x10], 0
je 0x14002da28
cmp byte [rbx + 0x11], 0
je 0x14002d9e6
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14002d9e6
mov rcx, rbx
call fcn.14001f320
cmp byte [rbx + 0x10], 2
jne 0x14002da0c
mov r14, qword [rbx + 8]
mov rcx, qword [r14]
call fcn.14001a9c0
test eax, eax
jne 0x14002da14
dec dword [rbx + 0x1c]
mov rcx, r14
mov byte [r14 + 0x24], 1
call fcn.14001f6d0
mov rcx, rbx
call fcn.140023930
cmp byte [rbx + 0x11], 0
je 0x14002da28
sub dword [rbx + 0x14], 1
jne 0x14002da28
mov rcx, rbx
call fcn.14001f2c0
mov r14, qword [rsp + 0x48]
cmp edi, 0xc0a
mov eax, 7
cmove edi, eax
mov dword [rsi + 0x30], edi
mov rax, qword [rsi]
mov r12, qword [rsp + 0x58]
test rax, rax
je 0x14002da69
mov rbp, qword [rax + 0x18]
test rbp, rbp
je 0x14002da69
mov rbx, qword [0x14028e900]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, rbp
call rbx
mov rcx, qword [rsi + 0x28]
mov rbp, qword [rsp + 0x88]
cmp byte [rcx + 0x11], 0
je 0x14002da86
sub dword [rcx + 0x14], 1
jne 0x14002da86
call fcn.14001f2c0
mov rcx, qword [rsi + 0x20]
mov rsi, qword [rcx + 0x18]
test rsi, rsi
je 0x14002daa8
mov rbx, qword [0x14028e900]
mov rcx, rbx
call qword [fcn.140005fb0]
mov rcx, rsi
call rbx
mov eax, edi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret