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

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r13, qword [rcx]
xor edi, edi
mov r9, qword [rcx + 8]
mov r12, rcx
mov qword [rsp + 0x98], r13
mov r8d, edi
mov qword [rsp + 0x88], r9
mov rax, qword [r13]
mov rbx, qword [r13 + 0x10]
mov qword [rsp + 0x90], rax
cmp byte [r13 + 0x25], dil
jbe 0x1401430e1
lea rdx, [r13 + 0xd0]
nop
cmp byte [rdx - 6], dil
je 0x1401430d0
movzx eax, byte [r13 + 0x1f]
cmp al, 8
jae 0x1401430d0
movzx ecx, al
mov eax, dword [rdx]
mov dword [r13 + rcx*4 + 0x18c], eax
inc byte [r13 + 0x1f]
movzx eax, byte [r13 + 0x25]
inc r8d
add rdx, 0x14
cmp r8d, eax
jl 0x1401430b0
mov byte [r13 + 0x25], dil
movzx eax, byte [r12 + 0x3a]
sub eax, 1
mov qword [rsp + 0x40], rbp
movsxd r15, eax
mov qword [rsp + 0x38], rsi
js 0x140143697
mov r14, qword [rsp + 0x80]
lea r12, [r9 + 0x50]
imul rax, r15, 0x78
add r14, 0x3a4
add r12, rax
imul rax, r15, 0x58
add r14, rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x18]
mov rbp, qword [r14 + 0x34]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140143153
mov eax, dword [r14 + 4]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
movzx eax, byte [r14 + 0x19]
cmp al, 0xa0
je 0x1401431e1
movsxd rcx, dword [rbx + 0xb8]
movzx r10d, byte [r14 + 0x1a]
mov r9d, dword [r14 + 0x20]
mov r8d, dword [r14 + 0x1c]
movzx edx, al
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x14014318f
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1400eec90
jmp 0x1401431c1
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
mov eax, dword [rbx + 0xb8]
test eax, eax
jle 0x1401431e1
dec eax
movsxd rcx, eax
movzx eax, byte [r14 + 0x1b]
lea rdx, [rcx + rcx*2]
mov rcx, qword [rbx + 0x68]
mov byte [rcx + rdx*8 + 3], al
test dword [rbp + 0x28], 0x800
je 0x140143320
cmp dword [r14 + 0x24], 0
jle 0x140143320
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140143218
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 0x14014331e
nop word [rax + rax]
mov ecx, dword [rdi + 4]
add ecx, 1
mov edx, dword [rbx + 0xb8]
jns 0x140143251
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140143263
lea rax, [0x1402865b8]
jmp 0x140143272
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movzx eax, byte [rdi + 8]
cmp al, 0xa0
je 0x1401432db
movsxd rcx, dword [rbx + 0xb8]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
movzx edx, al
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x1401432a9
mov rcx, rbx
mov dword [rsp + 0x20], 0
call fcn.1400eec90
jmp 0x1401432db
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]
sub ecx, 1
mov edx, dword [rbx + 0xb8]
jns 0x1401432ec
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1401432fe
lea rax, [0x1402865b8]
jmp 0x14014330d
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
dec esi
mov dword [rax + 8], edx
sub rdi, 0xc
test esi, esi
jg 0x140143240
xor edi, edi
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14014333f
mov eax, dword [r14 - 8]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
mov edx, dword [r14]
test edx, edx
je 0x140143408
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140143372
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.1400eec90
jmp 0x14014339f
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 ecx, dword [r14]
mov edx, dword [rbx + 0xb8]
test ecx, ecx
jns 0x1401433af
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1401433c1
lea rax, [0x1402865b8]
jmp 0x1401433d0
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov ecx, dword [r14]
sub ecx, 2
mov edx, dword [rbx + 0xb8]
jns 0x1401433e4
lea ecx, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x1401433f6
lea rax, [0x1402865b8]
jmp 0x140143405
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov edx, dword [r14 + 0x14]
test edx, edx
je 0x14014346b
mov rax, qword [rbx + 0x18]
mov r8d, dword [r14 + 0x10]
movsxd rcx, dword [rbx + 0xb8]
shr r8d, 1
cmp dword [rax + 0x3c], ecx
jg 0x14014343d
mov r9d, edx
mov dword [rsp + 0x20], edi
mov edx, 0x44
mov rcx, rbx
call fcn.1400eec90
jmp 0x14014346b
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], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], edi
mov qword [rax + rcx*8 + 0x10], rdi
mov edx, dword [r14 - 0x14]
test edx, edx
je 0x140143675
mov rax, qword [rbx + 0x18]
movsxd rsi, dword [rbx + 0xb8]
mov edi, dword [rbp + 0x28]
cmp dword [rax + 0x3c], esi
jg 0x1401434ab
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x42]
call fcn.1400eec90
mov esi, eax
xor r8d, r8d
jmp 0x1401434d8
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 0x140143539
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x14014350b
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x7b]
call fcn.1400eec90
jmp 0x140143539
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7b
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 0x14014354c
bt edi, 0xd
jae 0x1401435a5
cmp qword [r14 + 0x24], 0
je 0x1401435a5
mov rax, qword [rbx + 0x18]
xor edi, edi
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [r14 - 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140143579
mov r8d, edx
mov dword [rsp + 0x20], edi
lea edx, [rdi + 0x7b]
xor r9d, r9d
mov rcx, rbx
call fcn.1400eec90
jmp 0x1401435a7
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x7b
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 0x1401435a7
xor edi, edi
cmp byte [r14 + 0x19], 0x48
mov edx, dword [r14 + 8]
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
jne 0x1401435fa
mov r8d, dword [r14 + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x1401435dc
mov r9d, edx
mov dword [rsp + 0x20], edi
mov edx, 0xe
mov rcx, rbx
call fcn.1400eec90
jmp 0x140143644
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 0x140143632
cmp dword [rax + 0x3c], ecx
jg 0x140143617
xor r8d, r8d
mov dword [rsp + 0x20], edi
mov r9d, edx
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.1400eec90
jmp 0x140143644
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
jns 0x140143651
lea esi, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140143663
lea rax, [0x1402865b8]
jmp 0x140143672
movsxd rax, esi
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 0x140143130
mov r12, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1401436b7
mov eax, dword [r12 + 0x30]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0xb8]
mov dword [rdx + rcx*4], eax
cmp byte [r12 + 0x3a], 0
mov r14d, edi
jbe 0x1401438d8
mov r13, qword [rsp + 0x90]
lea r11, [r12 + 0x3d8]
or r15d, 0xffffffff
nop word [rax + rax]
movzx eax, byte [r11 - 0x1c]
mov rdx, qword [r11]
imul rcx, rax, 0x78
test byte [rcx + r9 + 0x48], 0x10
mov rbp, qword [rcx + r9 + 0x28]
je 0x1401437a5
cmp byte [r13 + 0x55], 0
jne 0x1401437a5
mov r8d, dword [r11 - 0x28]
mov r10d, dword [rcx + r9 + 0x40]
mov ecx, r8d
mov r9d, dword [r11 - 0x44]
test r8d, r8d
jns 0x140143725
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140143737
lea rdx, [0x1402865b8]
jmp 0x140143746
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 0x140143798
add rdx, 4
sub eax, r8d
mov r8d, eax
nop dword [rax + rax]
cmp dword [rdx], r9d
jne 0x14014378e
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x140143781
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 0x14014378b
cmp al, 0x7a
jne 0x14014378e
mov byte [rdx - 4], 0x4f
mov dword [rdx], edi
mov dword [rdx + 8], edi
add rdx, 0x18
sub r8, 1
jne 0x140143760
mov r9, qword [rsp + 0x88]
jmp 0x1401438ba
mov eax, dword [rdx + 0x28]
test eax, 0x240
je 0x1401437b5
mov rdi, qword [rdx + 0x20]
jmp 0x1401437c3
bt eax, 0xd
jae 0x1401438ba
mov rdi, qword [r11 - 0x10]
test rdi, rdi
je 0x1401438b8
cmp byte [r12 + 0x3d], 0
je 0x1401437e2
mov rax, qword [rdi + 0x18]
test byte [rax + 0x48], 0x20
je 0x1401438b8
cmp byte [r13 + 0x55], 0
jne 0x1401438b8
mov r9d, dword [r11 - 0x28]
mov ecx, r9d
mov r8d, dword [rbx + 0xb8]
test r9d, r9d
jns 0x140143804
lea ecx, [r8 - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
je 0x140143816
lea rdx, [0x1402865b8]
jmp 0x140143825
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
cmp r9d, r8d
jge 0x1401438b0
add rdx, 4
sub r8d, r9d
mov esi, r8d
mov eax, dword [r11 - 0x44]
cmp dword [rdx], eax
jne 0x1401438a6
movzx eax, byte [rdx - 4]
cmp al, 0x60
jne 0x140143898
test byte [rbp + 0x48], 0x20
movsxd r8, dword [rdx + 4]
je 0x140143863
mov rcx, rbp
call fcn.140124e30
mov rax, qword [rax + 8]
movsx r8d, word [rax + r8*2]
movzx r9d, word [rdi + 0x60]
xor eax, eax
test r9d, r9d
jle 0x140143884
mov r10, qword [rdi + 8]
movsxd rcx, eax
cmp r8w, word [r10 + rcx*2]
je 0x140143888
inc eax
cmp eax, r9d
jl 0x140143873
movzx eax, r15w
movsx ecx, ax
test ecx, ecx
js 0x1401438a6
mov dword [rdx + 4], ecx
mov eax, dword [r11 - 0x40]
jmp 0x1401438a4
cmp al, 0x7a
jne 0x1401438a6
mov eax, dword [r11 - 0x40]
mov byte [rdx - 4], 0x80
mov dword [rdx], eax
add rdx, 0x18
sub rsi, 1
jne 0x140143838
mov r9, qword [rsp + 0x88]
xor edi, edi
movzx eax, byte [r12 + 0x3a]
inc r14d
add r11, 0x58
cmp r14d, eax
jl 0x1401436e0
mov r13, qword [rsp + 0x98]
mov eax, dword [r12 + 0x34]
mov rdx, r12
mov rcx, qword [rsp + 0x90]
mov dword [r13 + 0xb4], eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
jmp fcn.14014eee0