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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
dec dword [rcx + 0x44]
mov rdi, rcx
mov eax, dword [rcx + 0x44]
mov r15d, r9d
mov rbx, qword [rcx + 0x10]
xor r9d, r9d
mov rcx, qword [rsp + 0xc0]
mov rbp, rdx
mov r11d, dword [r8 + 0x1c]
mov r13, r8
mov r14, qword [r8]
mov esi, r9d
mov dword [rsp + 0x3c], eax
mov eax, dword [rcx + 4]
movzx r12d, byte [rcx]
mov dword [rsp + 0x38], eax
mov rax, qword [rdx + 0x20]
mov edx, dword [r8 + 0x14]
add rax, 8
mov dword [rsp + 0x34], r11d
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x48], rax
test edx, edx
je 0x140104d43
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [r8 + 0x10]
cmp dword [rbx + 0x94], ecx
jg 0x140104ccb
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0xc
call fcn.1400be790
mov r11d, dword [rsp + 0x34]
jmp 0x140104cf9
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xc
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, r11d
mov rcx, rbx
call fcn.1400be9b0
mov rcx, qword [rbx + 0x18]
mov edx, dword [r13 + 0x14]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140104d23
mov r8d, edx
mov rdx, rbx
call fcn.1400bf100
jmp 0x140104d33
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov r11d, dword [rsp + 0x34]
xor r9d, r9d
mov rcx, qword [rsp + 0xc0]
mov r13d, dword [r13 + 0xc]
mov dword [rsp + 0x30], r13d
cmp r12d, 9
je 0x140104de2
cmp r12b, 0xd
je 0x140104de2
cmp r12b, 0xa
je 0x140104de2
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x140104d79
inc dword [rdi + 0x38]
mov r10d, dword [rdi + 0x38]
xor cl, cl
jmp 0x140104d89
dec al
movzx ecx, al
mov byte [rdi + 0x1f], cl
mov r10d, dword [rdi + rcx*4 + 0xcc]
lea eax, [r12 - 0xc]
mov dword [rsp + 0xa0], r10d
test al, 0xfd
je 0x140104dad
mov edx, r15d
mov rcx, rdi
call fcn.1400ddd00
mov r12d, eax
xor r9d, r9d
jmp 0x140104dee
test cl, cl
jne 0x140104dc5
inc dword [rdi + 0x38]
mov r15d, r9d
mov r12d, dword [rdi + 0x38]
mov dword [rsp + 0xb8], r9d
jmp 0x140104dee
dec cl
mov dword [rsp + 0xb8], r9d
movzx eax, cl
mov r15d, r9d
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xcc]
jmp 0x140104dee
mov r12d, dword [rcx + 8]
mov dword [rsp + 0xa0], r9d
mov rcx, qword [rsp + 0xb0]
mov r14d, dword [r14]
sub r14d, dword [rcx + 8]
test byte [rcx + 0x24], 1
je 0x140104faf
mov r13d, dword [rdi + 0x34]
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
lea eax, [r13 + 1]
mov dword [rdi + 0x34], eax
cmp dword [rcx + 0x14], esi
je 0x140104e2c
mov edx, 0x11
mov rcx, rbx
call fcn.1400be860
mov esi, eax
movsxd rcx, dword [rbx + 0x90]
lea edx, [r14 + 1]
add edx, r15d
cmp dword [rbx + 0x94], ecx
jg 0x140104e5e
mov dword [rsp + 0x20], edx
mov r9d, ebp
mov edx, 0x72
mov r8d, r13d
mov rcx, rbx
call fcn.1400be790
xor r8d, r8d
jmp 0x140104e8e
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x72
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
test esi, esi
je 0x140104ec6
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
je 0x140104eaa
lea rax, [0x140229f40]
jmp 0x140104ec3
lea eax, [rdx - 1]
test esi, esi
cmovns eax, esi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x140104ef5
mov r9d, dword [rsp + 0x34]
mov edx, 0x23
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov r8d, dword [rsp + 0x30]
call fcn.1400be790
mov esi, eax
jmp 0x140104f2a
mov edx, dword [rsp + 0x30]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8], 0x23
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0xa8]
mov rcx, rbx
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rax + 0xc]
call fcn.140103a00
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140104f76
mov r8d, dword [rsp + 0x30]
mov r9d, ebp
mov edx, 0x7d
mov dword [rsp + 0x20], r13d
mov rcx, rbx
call fcn.1400be790
xor r10d, r10d
mov eax, r10d
jmp 0x140105021
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
xor r10d, r10d
mov dword [rax + rcx*8], 0x7d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r10
mov eax, r10d
jmp 0x140105021
movsxd rsi, dword [rbx + 0x90]
cmp dword [rbx + 0x94], esi
jg 0x140104fda
mov dword [rsp + 0x20], r9d
mov r8d, r13d
mov r9d, r11d
mov edx, 0x24
mov rcx, rbx
call fcn.1400be790
mov esi, eax
jmp 0x140105009
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, dword [rsp + 0x3c]
mov rcx, rbx
mov edx, dword [rbp + 0xc]
call fcn.140103a00
mov eax, 1
xor r10d, r10d
mov r9, qword [rsp + 0x48]
lea ecx, [rsi + 1]
mov dword [rsp + 0xa8], ecx
lea r8d, [rax + r14]
mov dword [rsp + 0x40], r8d
lea esi, [r8 - 1]
movsxd rdx, r15d
test r15d, r15d
jle 0x140105066
lea rcx, [r9 + 0x18]
nop dword [rax]
cmp word [rcx], 0
lea eax, [rsi + 1]
lea rcx, [rcx + 0x20]
cmovne eax, esi
mov esi, eax
sub rdx, 1
jne 0x140105050
lea eax, [r15 - 1]
movsxd r14, eax
test eax, eax
js 0x14010510c
lea ebp, [rax + r12]
mov rax, r14
shl rax, 5
lea r15, [r9 + 0x18]
add r15, rax
movzx eax, word [r15]
test ax, ax
je 0x140105097
movzx edx, ax
dec edx
jmp 0x14010509b
mov edx, esi
dec esi
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401050c6
mov r9d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x59
mov r8d, r13d
mov rcx, rbx
call fcn.1400be790
xor r10d, r10d
jmp 0x1401050f3
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
dec ebp
sub r15, 0x20
sub r14, 1
jns 0x140105087
mov r15d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x44]
mov ecx, r14d
sub ecx, 0xa
je 0x140105172
sub ecx, 1
je 0x140105376
sub ecx, 1
je 0x14010522b
cmp ecx, 2
je 0x14010522b
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
mov rsi, qword [rsp + 0xc0]
cmp r14b, 9
jne 0x1401051de
mov edx, dword [rsi + 8]
cmp eax, ecx
jg 0x1401051ae
mov r8d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x50
mov r9d, r15d
mov rcx, rbx
call fcn.1400be790
mov ebp, dword [rsp + 0xa0]
xor esi, esi
test ebp, ebp
je 0x1401054a8
cmp r14b, 0xb
jne 0x140105478
cmp r15d, 1
je 0x140105478
cmp r15d, dword [rdi + 0x28]
jle 0x140105493
mov dword [rdi + 0x28], r15d
mov dword [rdi + 0x2c], r12d
jmp 0x140105493
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x50
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140105172
mov edx, dword [rsi + 4]
cmp eax, ecx
jg 0x1401051f9
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, edx
lea edx, [r9 + 0xe]
jmp 0x14010516a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140105172
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140105257
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov edx, 0x59
mov rcx, rbx
call fcn.1400be790
xor r10d, r10d
jmp 0x140105286
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x59
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], ecx
jg 0x1401052c5
mov r9d, dword [rsp + 0xa0]
mov edx, 0x78
mov rcx, rbx
mov dword [rsp + 0x20], r10d
call fcn.1400be790
mov edx, dword [rsp + 0xa0]
xor r10d, r10d
mov r8d, dword [rsp + 0x38]
jmp 0x1401052fa
mov edx, dword [rsp + 0xa0]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14010531f
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0x79
mov rcx, rbx
call fcn.1400be790
jmp 0x14010534d
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x79
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x140105172
lea rcx, [rax + rax*2]
mov edx, 8
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x140105172
mov rsi, qword [rsp + 0xc0]
movsxd rdx, dword [rbx + 0x90]
mov ebp, dword [rsp + 0xa0]
mov rsi, qword [rsi + 0x10]
cmp dword [rbx + 0x94], edx
jg 0x1401053b3
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, r12d
mov edx, 0x5b
mov rcx, rbx
call fcn.1400be790
mov edx, eax
jmp 0x1401053e1
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5b
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r10
mov r9d, r15d
mov r8, rsi
mov rcx, rbx
call fcn.1400bfa20
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x38]
cmp dword [rbx + 0x94], edx
jg 0x14010541e
mov r9d, ebp
mov dword [rsp + 0x20], r12d
mov edx, 0x83
mov rcx, rbx
call fcn.1400be790
mov edx, eax
xor esi, esi
jmp 0x14010544e
lea rcx, [rdx + rdx*2]
xor esi, esi
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x83
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x14010517b
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r15d
jmp 0x14010517b
test r12d, r12d
je 0x140105493
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140105493
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], r12d
inc byte [rdi + 0x1f]
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401054a8
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], ebp
inc byte [rdi + 0x1f]
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x3c]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401054c7
mov r8d, edx
mov rdx, rbx
call fcn.1400bf100
jmp 0x1401054d7
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
mov rdi, qword [rsp + 0xb0]
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
test byte [rdi + 0x24], 1
je 0x140105536
cmp eax, ecx
jg 0x140105519
mov r9d, dword [rsp + 0xa8]
mov edx, 3
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1400be790
xor r8d, r8d
jmp 0x140105598
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 3
jmp 0x140105578
cmp eax, ecx
jg 0x14010555d
mov r9d, dword [rsp + 0xa8]
mov edx, 5
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.1400be790
xor r8d, r8d
jmp 0x140105598
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 5
mov edx, dword [rsp + 0x30]
xor r8d, r8d
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xa8]
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x1401055f4
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401055c7
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x41]
call fcn.1400be790
jmp 0x1401055f4
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x41
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
mov edx, dword [rsp + 0x34]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140105613
mov r8d, edx
mov rdx, rbx
call fcn.1400bf100
jmp 0x140105623
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret