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

Disassembly:
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov r12, qword [rcx]
xor edi, edi
mov r10, qword [rcx + 8]
mov r13, rcx
mov qword [rsp + 0x80], r12
mov r8d, edi
mov qword [rsp + 0x78], r10
mov r9, qword [r12]
mov rbx, qword [r12 + 0x10]
mov qword [rsp + 0x70], r9
cmp byte [r12 + 0x25], dil
jbe 0x1400afbfa
lea rdx, [r12 + 0xd0]
cmp byte [rdx - 6], dil
je 0x1400afbe8
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x1400afbe8
movzx ecx, al
mov eax, dword [rdx]
mov dword [r12 + rcx*4 + 0x18c], eax
inc byte [r12 + 0x1f]
movzx eax, byte [r12 + 0x25]
inc r8d
add rdx, 0x14
cmp r8d, eax
jl 0x1400afbc6
mov qword [rsp + 0x88], rbp
mov byte [r12 + 0x25], dil
movzx r15d, byte [r13 + 0x3a]
sub r15, 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
js 0x1400b01a2
imul rax, r15, 0x78
lea r12, [r10 + 0x50]
add r12, rax
lea r14, [r13 + 0x3a4]
imul rax, r15, 0x58
add r14, rax
nop dword [rax]
mov rax, qword [rbx + 0x18]
mov rbp, qword [r14 + 0x34]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400afc67
mov eax, dword [r14 + 4]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rax, qword [rbx + 0x18]
movzx edx, byte [r14 + 0x19]
cmp dl, 0xa1
je 0x1400afcea
movsxd rcx, dword [rbx + 0xb8]
movzx r10d, byte [r14 + 0x1a]
mov r9d, dword [r14 + 0x20]
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x1400afc9c
movzx edx, dl
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.140056300
jmp 0x1400afcce
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], rdi
mov byte [rax + rcx*8 + 1], 0
movsxd rax, dword [rbx + 0xb8]
test eax, eax
jle 0x1400afcea
mov rcx, qword [rbx + 0x68]
lea rdx, [rax + rax*2]
movzx eax, byte [r14 + 0x1b]
mov byte [rcx + rdx*8 - 0x15], al
test dword [rbp + 0x28], 0x800
je 0x1400afe29
mov esi, dword [r14 + 0x24]
test esi, esi
jle 0x1400afe29
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400afd26
mov eax, dword [r14 - 4]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov esi, dword [r14 + 0x24]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [r14 + 0x2c]
lea rdx, [rcx + rcx*2]
lea rdi, [rax + rdx*4]
test esi, esi
jle 0x1400afe27
mov rax, qword [rbx]
mov ecx, dword [rdi + 4]
mov edx, dword [rbx + 0xb8]
inc ecx
cmp byte [rax + 0x55], 0
je 0x1400afd5d
lea rax, [0x14017cd20]
jmp 0x1400afd73
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movzx edx, byte [rdi + 8]
cmp dl, 0xa1
je 0x1400afddd
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
cmp dword [rax + 0x3c], ecx
jg 0x1400afdab
movzx edx, dl
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.140056300
jmp 0x1400afddd
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8], dl
xor edx, edx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov ecx, dword [rdi + 4]
mov r8d, dword [rbx + 0xb8]
mov edx, r8d
lea eax, [rcx - 1]
test eax, eax
mov rax, qword [rbx]
cmovns edx, ecx
dec edx
cmp byte [rax + 0x55], 0
je 0x1400afe06
lea rax, [0x14017cd20]
jmp 0x1400afe15
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
dec esi
mov dword [rax + 8], r8d
sub rdi, 0xc
test esi, esi
jg 0x1400afd40
xor edi, edi
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400afe4c
mov eax, dword [r14 - 8]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov rax, qword [rbx + 0x18]
mov edx, dword [r14]
test edx, edx
je 0x1400aff16
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400afe7b
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140056300
jmp 0x1400afea8
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
mov ecx, dword [r14]
cmp byte [rax + 0x55], 0
je 0x1400afec3
lea rax, [0x14017cd20]
jmp 0x1400afed9
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov eax, dword [r14]
mov edx, dword [rbx + 0xb8]
add eax, 0xfffffffe
lea ecx, [rdx - 1]
cmovns ecx, eax
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1400aff00
lea rax, [0x14017cd20]
jmp 0x1400aff0f
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rbx + 0x18]
mov r8d, dword [r14 + 0x14]
test r8d, r8d
je 0x1400aff78
mov edx, dword [r14 + 0x10]
movsxd rcx, dword [rbx + 0xb8]
shr edx, 1
cmp dword [rax + 0x3c], ecx
jg 0x1400aff4a
mov r9d, r8d
mov dword [rsp + 0x20], edi
mov r8d, edx
mov rcx, rbx
mov edx, 0x44
call fcn.140056300
jmp 0x1400aff78
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x44
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov edx, dword [r14 - 0x14]
test edx, edx
je 0x1400b0183
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
mov edi, dword [rbp + 0x28]
cmp dword [rax + 0x3c], esi
jg 0x1400affb8
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x42]
call fcn.140056300
mov esi, eax
xor r8d, r8d
jmp 0x1400affe5
lea rcx, [rsi + rsi*2]
xor r8d, r8d
lea eax, [rsi + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x42
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
test dil, 0x40
jne 0x1400b0046
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x1400b0018
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x7c]
call fcn.140056300
jmp 0x1400b0046
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
bt edi, 9
jb 0x1400b0059
bt edi, 0xd
jae 0x1400b00b2
cmp qword [r14 + 0x24], 0
je 0x1400b00b2
mov rax, qword [rbx + 0x18]
xor edi, edi
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r14 - 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x1400b0086
mov r8d, edx
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x7c]
xor r9d, r9d
mov rcx, rbx
call fcn.140056300
jmp 0x1400b00b4
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], rdi
mov qword [rax + rcx*8 + 0x10], rdi
jmp 0x1400b00b4
xor edi, edi
cmp byte [r14 + 0x19], 0x48
mov edx, dword [r14 + 8]
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
jne 0x1400b0107
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x1400b00e9
mov r9d, edx
mov dword [rsp + 0x20], edi
mov edx, 0xe
mov rcx, rbx
call fcn.140056300
jmp 0x1400b0151
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], r8d
jmp 0x1400b013f
cmp dword [rax + 0x3c], ecx
jg 0x1400b0124
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.140056300
jmp 0x1400b0151
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0xd
mov dword [rax + rcx*8 + 4], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov dword [rax + rcx*8 + 0xc], edi
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov edx, dword [rbx + 0xb8]
test esi, esi
mov rax, qword [rbx]
lea ecx, [rdx - 1]
cmovns ecx, esi
cmp byte [rax + 0x55], 0
je 0x1400b0171
lea rax, [0x14017cd20]
jmp 0x1400b0180
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
sub r14, 0x58
sub r12, 0x78
sub r15, 1
jns 0x1400afc40
mov r12, qword [rsp + 0x80]
mov r9, qword [rsp + 0x70]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400b01c1
mov eax, dword [r13 + 0x30]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
cmp byte [r13 + 0x3a], 0
mov r15d, edi
jbe 0x1400b0439
mov r12, qword [rsp + 0x78]
lea r14, [r13 + 0x3d8]
nop dword [rax + rax]
movzx eax, byte [r14 - 0x1c]
mov rsi, qword [r14]
imul rax, rax, 0x78
add rax, r12
test byte [rax + 0x48], 0x10
mov rbp, qword [rax + 0x28]
je 0x1400b029d
cmp byte [r9 + 0x55], 0
jne 0x1400b029d
mov r8d, dword [r14 - 0x28]
mov ecx, r8d
mov r10d, dword [rax + 0x40]
mov r9d, dword [r14 - 0x44]
test r8d, r8d
jns 0x1400b0224
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1400b0236
lea rdx, [0x14017cd20]
jmp 0x1400b0245
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
mov eax, dword [rbx + 0xb8]
cmp r8d, eax
jge 0x1400b0412
add rdx, 4
sub eax, r8d
mov r8d, eax
nop
cmp dword [rdx], r9d
jne 0x1400b028e
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x1400b0281
mov ecx, dword [rdx + 4]
mov eax, dword [rdx + 8]
add ecx, r10d
mov dword [rdx], ecx
mov byte [rdx - 4], 0x54
mov dword [rdx + 4], eax
jmp 0x1400b028b
cmp al, 0x7b
jne 0x1400b028e
mov byte [rdx - 4], 0x4f
mov dword [rdx], edi
mov dword [rdx + 8], edi
add rdx, 0x18
sub r8, 1
jne 0x1400b0260
jmp 0x1400b0412
test byte [rbp + 0x46], 2
jne 0x1400b02f7
cmp qword [rbp + 0x18], 0
jne 0x1400b02f7
test byte [r13 + 0x38], 0x20
jne 0x1400b02f7
cmp byte [r13 + 0x3d], 0
mov edi, dword [rsi + 0x28]
jne 0x1400b02d2
test dil, 0x40
jne 0x1400b02d2
mov r8d, dword [rax + 0x50]
mov edx, 0x6f
mov rcx, rbx
call fcn.140056450
and edi, 0x4300
cmp edi, 0x200
jne 0x1400b02f7
mov r8d, dword [r14 - 0x40]
cmp r8d, dword [r13 + 0x28]
je 0x1400b02f7
mov edx, 0x6f
mov rcx, rbx
call fcn.140056450
mov eax, dword [rsi + 0x28]
test eax, 0x240
je 0x1400b0307
mov r11, qword [rsi + 0x20]
jmp 0x1400b0315
bt eax, 0xd
jae 0x1400b0412
mov r11, qword [r14 - 0x10]
test r11, r11
je 0x1400b0412
cmp byte [r13 + 0x3d], 0
je 0x1400b0333
mov rax, qword [r11 + 0x18]
test byte [rax + 0x46], 0x20
je 0x1400b0412
mov r9, qword [rsp + 0x70]
cmp byte [r9 + 0x55], 0
jne 0x1400b0417
mov rax, qword [rbx]
mov r8d, dword [rbx + 0xb8]
mov r9d, dword [r14 - 0x28]
cmp byte [rax + 0x55], 0
je 0x1400b0360
lea rdx, [0x14017cd20]
jmp 0x1400b0379
lea eax, [r8 - 1]
test r9d, r9d
cmovns eax, r9d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x1400b0412
add rdx, 4
mov r12d, 0xffffffff
sub r8d, r9d
mov edi, r8d
mov eax, dword [r14 - 0x44]
cmp dword [rdx], eax
jne 0x1400b0403
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x1400b03f5
test byte [rbp + 0x46], 0x20
movsxd r8, dword [rdx + 4]
je 0x1400b03bd
mov rcx, rbp
call fcn.140079180
mov rax, qword [rax + 8]
movsx r8d, word [rax + r8*2]
movzx r9d, word [r11 + 0x60]
xor eax, eax
test r9d, r9d
je 0x1400b03e1
mov r10, qword [r11 + 8]
nop dword [rax]
movsxd rcx, eax
cmp r8w, word [r10 + rcx*2]
je 0x1400b03e5
inc eax
cmp eax, r9d
jl 0x1400b03d0
movzx eax, r12w
movsx ecx, ax
test ecx, ecx
js 0x1400b0403
mov dword [rdx + 4], ecx
mov eax, dword [r14 - 0x40]
jmp 0x1400b0401
cmp al, 0x7b
jne 0x1400b0403
mov eax, dword [r14 - 0x40]
mov byte [rdx - 4], 0x81
mov dword [rdx], eax
add rdx, 0x18
sub rdi, 1
jne 0x1400b0392
mov r12, qword [rsp + 0x78]
mov r9, qword [rsp + 0x70]
movzx eax, byte [r13 + 0x3a]
inc r15d
add r14, 0x58
mov edi, 0
cmp r15d, eax
jl 0x1400b01e0
mov r12, qword [rsp + 0x80]
mov eax, dword [r13 + 0x34]
mov rdx, r13
mov rcx, r9
mov dword [r12 + 0xb4], eax
mov r14, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rbx
jmp fcn.1400ab220