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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r12
push r13
sub rsp, 0x58
mov r10, qword [rcx + 8]
mov r12, rcx
mov qword [rax + 0x20], rbx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
mov rax, qword [rcx]
mov rcx, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x78], r10
mov r14, qword [rax + 0x10]
mov r13, qword [rax]
call fcn.14006b290
movzx r15d, byte [r12 + 0x39]
xor r9d, r9d
sub r15, 1
js 0x1400b5dea
mov rdi, qword [rsp + 0x70]
lea rax, [r15 + r15*4]
imul r12, r15, 0x78
shl rax, 4
add rdi, 0x354
add r12, 0x50
add r12, r10
add rdi, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdi + 4]
mov rbp, qword [rdi + 0x2c]
not eax
mov r8, qword [r14 + 0x30]
test eax, eax
js 0x1400b5b17
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b5b17
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
movzx ecx, byte [rdi + 0x11]
cmp cl, 0x9a
je 0x1400b5b60
movzx eax, byte [rdi + 0x12]
mov edx, ecx
mov r9d, dword [rdi + 0x18]
mov rcx, r14
mov r8d, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
call fcn.140050c60
mov rdx, qword [r14 + 8]
xor r9d, r9d
test rdx, rdx
je 0x1400b5b60
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
movzx eax, byte [rdi + 0x13]
mov byte [rdx + rcx*8 - 0x15], al
test dword [rbp + 0x28], 0x800
je 0x1400b5c8a
cmp dword [rdi + 0x1c], 0
jle 0x1400b5c8a
mov eax, dword [rdi - 4]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400b5b9a
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b5b9a
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
dec eax
mov dword [r8 + 0x64], eax
mov esi, dword [rdi + 0x1c]
lea eax, [rsi - 1]
movsxd rcx, eax
mov rax, qword [rdi + 0x24]
lea rdx, [rcx + rcx*2]
lea rbx, [rax + rdx*4]
test esi, esi
jle 0x1400b5c34
nop dword [rax]
mov eax, dword [rbx + 4]
mov edx, dword [r14 + 0x3c]
inc eax
cmp edx, eax
jbe 0x1400b5bd9
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rsp + 0x20], r9d
mov dword [rax + 0x64], ecx
mov rcx, r14
movzx edx, byte [rbx + 8]
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx]
call fcn.140050c60
mov eax, dword [rbx + 4]
mov edx, dword [r14 + 0x3c]
dec eax
cmp edx, eax
jbe 0x1400b5c17
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
dec esi
mov rax, qword [r14 + 0x30]
dec ecx
sub rbx, 0xc
mov r9d, 0
mov dword [rax + 0x64], ecx
test esi, esi
jg 0x1400b5bc0
mov rcx, qword [rdi + 0x24]
test rcx, rcx
je 0x1400b5c8a
test r13, r13
je 0x1400b5c85
cmp qword [r13 + 0x320], 0
je 0x1400b5c59
mov rdx, rcx
mov rcx, r13
call fcn.14002dcd0
jmp 0x1400b5c8a
cmp rcx, qword [r13 + 0x168]
jb 0x1400b5c85
cmp rcx, qword [r13 + 0x170]
jae 0x1400b5c85
mov rax, qword [r13 + 0x160]
mov qword [rcx], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], rcx
jmp 0x1400b5c8a
call fcn.14002dc30
mov eax, dword [rdi - 8]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400b5cad
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b5cad
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
xor esi, esi
dec eax
mov dword [r8 + 0x64], eax
mov r9d, dword [rdi]
test r9d, r9d
je 0x1400b5d1e
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov edx, 0x10
mov rcx, r14
call fcn.140050c60
mov eax, dword [rdi]
mov edx, dword [r14 + 0x3c]
cmp edx, eax
jbe 0x1400b5ceb
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [r14 + 0x30]
mov ecx, dword [r14 + 0x3c]
dec ecx
mov dword [rax + 0x64], ecx
mov eax, dword [rdi]
mov edx, dword [r14 + 0x3c]
sub eax, 2
cmp edx, eax
jbe 0x1400b5d11
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov r8d, dword [rdi - 0x14]
test r8d, r8d
je 0x1400b5dc8
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0x89
mov rcx, r14
call fcn.140050c60
test byte [rbp + 0x28], 0x40
mov ebx, eax
jne 0x1400b5d5f
mov r8d, dword [r12]
xor r9d, r9d
mov edx, 0x68
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.140050c60
test dword [rbp + 0x28], 0x200
je 0x1400b5d80
mov r8d, dword [rdi - 0xc]
xor r9d, r9d
mov edx, 0x68
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.140050c60
cmp byte [rdi + 0x11], 0x12
jne 0x1400b5d8c
mov r8d, dword [rdi + 0x14]
jmp 0x1400b5d8f
mov r8d, esi
mov r9d, dword [rdi + 8]
mov edx, esi
sete dl
mov dword [rsp + 0x20], esi
add edx, 0x10
mov rcx, r14
call fcn.140050c60
mov edx, dword [r14 + 0x3c]
cmp edx, ebx
jbe 0x1400b5dbb
mov rax, qword [r14 + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [r14 + 0x3c]
mov rax, qword [r14 + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
sub rdi, 0x50
sub r12, 0x78
sub r15, 1
mov r9d, 0
jns 0x1400b5af0
mov r12, qword [rsp + 0x70]
mov r10, qword [rsp + 0x78]
mov eax, dword [r12 + 0x44]
mov r8, qword [r14 + 0x30]
not eax
test eax, eax
js 0x1400b5e0f
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x1400b5e0f
movsxd rcx, eax
mov eax, dword [r14 + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [r14 + 0x3c]
mov r15d, r9d
dec eax
mov dword [r8 + 0x64], eax
cmp byte [r12 + 0x39], 0
jbe 0x1400b6084
lea rsi, [r12 + 0x380]
movzx eax, byte [rsi - 0x1c]
mov rdi, qword [rsi]
imul rcx, rax, 0x78
add r10, rcx
test byte [r10 + 0x48], 4
mov rbp, qword [r10 + 0x28]
je 0x1400b5ee2
cmp byte [r13 + 0x50], 0
jne 0x1400b5ee2
mov rax, qword [r14]
mov edx, dword [r14 + 0x3c]
mov r8d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400b5e72
lea rcx, [0x1400eb3d0]
jmp 0x1400b5e8a
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rcx, [rax + rcx*8]
cmp r8d, edx
jge 0x1400b6069
add rcx, 4
sub edx, r8d
nop word [rax + rax]
mov eax, dword [rsi - 0x3c]
cmp dword [rcx], eax
jne 0x1400b5ed3
movzx eax, byte [rcx - 4]
cmp al, 0x2f
jne 0x1400b5ec4
mov byte [rcx - 4], 0x21
mov eax, dword [r10 + 0x40]
add eax, dword [rcx + 4]
mov dword [rcx], eax
mov eax, dword [rcx + 8]
mov dword [rcx + 4], eax
jmp 0x1400b5ecf
cmp al, 0x67
jne 0x1400b5ed3
mov byte [rcx - 4], 0x1c
mov dword [rcx], r9d
mov dword [rcx + 8], r9d
add rcx, 0x18
sub rdx, 1
jne 0x1400b5ea0
jmp 0x1400b6069
test byte [rbp + 0x48], 2
jne 0x1400b5f51
cmp qword [rbp + 0x18], 0
jne 0x1400b5f51
test byte [r12 + 0x32], 0x10
jne 0x1400b5f51
cmp byte [r12 + 0x36], 0
mov ebx, dword [rdi + 0x28]
jne 0x1400b5f23
test bl, 0x40
jne 0x1400b5f23
mov r8d, dword [r10 + 0x50]
mov edx, 0x3d
mov dword [rsp + 0x20], r9d
mov rcx, r14
xor r9d, r9d
call fcn.140050c60
xor r9d, r9d
and ebx, 0x4300
cmp ebx, 0x200
jne 0x1400b5f51
mov r8d, dword [rsi - 0x38]
cmp r8d, dword [r12 + 0x50]
je 0x1400b5f51
mov dword [rsp + 0x20], r9d
mov edx, 0x3d
xor r9d, r9d
mov rcx, r14
call fcn.140050c60
mov eax, dword [rdi + 0x28]
test eax, 0x240
je 0x1400b5f61
mov rbx, qword [rdi + 0x20]
jmp 0x1400b5f6f
bt eax, 0xd
jae 0x1400b6066
mov rbx, qword [rsi - 0x10]
test rbx, rbx
je 0x1400b6066
cmp byte [r13 + 0x50], 0
jne 0x1400b6066
mov rax, qword [r14]
mov edx, dword [r14 + 0x3c]
mov r8d, dword [rsi - 0x20]
cmp byte [rax + 0x50], 0
je 0x1400b5f9d
lea rax, [0x1400eb3d0]
jmp 0x1400b5fb5
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
lea rax, [rax + rcx*8]
cmp r8d, edx
jge 0x1400b6066
sub edx, r8d
lea r9, [rax + 4]
mov r11d, edx
mov r12d, 0xffffffff
nop
mov eax, dword [rsi - 0x3c]
cmp dword [r9], eax
jne 0x1400b6053
movzx eax, byte [r9 - 4]
cmp al, 0x2f
jne 0x1400b6044
test byte [rbp + 0x48], 0x20
movsxd r10, dword [r9 + 4]
je 0x1400b6011
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1400b6008
mov ecx, dword [rax + 0x64]
and cl, 3
cmp cl, 2
je 0x1400b6008
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400b5ff4
mov rcx, qword [rax + 8]
movsx r10d, word [rcx + r10*2]
movzx edx, word [rbx + 0x60]
xor ecx, ecx
test edx, edx
je 0x1400b6030
mov r8, qword [rbx + 8]
nop
movsxd rax, ecx
cmp r10w, word [r8 + rax*2]
je 0x1400b6034
inc ecx
cmp ecx, edx
jl 0x1400b6020
movzx ecx, r12w
movsx eax, cx
test eax, eax
js 0x1400b6053
mov dword [r9 + 4], eax
mov eax, dword [rsi - 0x38]
jmp 0x1400b6050
cmp al, 0x67
jne 0x1400b6053
mov eax, dword [rsi - 0x38]
mov byte [r9 - 4], 0x70
mov dword [r9], eax
add r9, 0x18
sub r11, 1
jne 0x1400b5fd0
mov r12, qword [rsp + 0x70]
xor r9d, r9d
movzx eax, byte [r12 + 0x39]
inc r15d
mov r10, qword [rsp + 0x78]
add rsi, 0x50
cmp r15d, eax
jl 0x1400b5e30
mov rcx, qword [rsp + 0x80]
mov eax, dword [r12 + 0x48]
mov dword [rcx + 0x1d8], eax
lea rcx, [r12 + 0x158]
call fcn.1400ab4c0
mov rcx, qword [r12 + 0x20]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
test rcx, rcx
je 0x1400b60ee
nop
mov rax, qword [rcx + 0x38]
mov rdx, rcx
mov rcx, r13
mov qword [r12 + 0x20], rax
call fcn.1400b16d0
mov rcx, qword [r12 + 0x20]
test rcx, rcx
jne 0x1400b60d0
test r13, r13
je 0x1400b6144
cmp qword [r13 + 0x320], 0
je 0x1400b6110
mov rdx, r12
mov rcx, r13
add rsp, 0x58
pop r13
pop r12
jmp fcn.14002dcd0
cmp r12, qword [r13 + 0x168]
jb 0x1400b6144
cmp r12, qword [r13 + 0x170]
jae 0x1400b6144
mov rax, qword [r13 + 0x160]
mov qword [r12], rax
dec dword [r13 + 0x14c]
mov qword [r13 + 0x160], r12
add rsp, 0x58
pop r13
pop r12
ret
mov rcx, r12
add rsp, 0x58
pop r13
pop r12
jmp fcn.14002dc30