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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
cmp dword [rcx + 0x20], 0
mov rbx, rcx
jne 0x1401f82a6
cmp dword [rcx + 0x34], 0
je 0x1401f8a20
mov rax, qword [rbx + 0x18]
xor r10d, r10d
mov rcx, rbx
mov dword [rsp + 0x9c], r10d
mov qword [rsp + 0x28], rax
call fcn.140200710
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa8], rax
call fcn.140200550
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
je 0x1401f8904
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1401f2180
mov dword [rsp + 0x60], eax
test eax, eax
je 0x1401f8904
mov rax, qword [rbx]
mov r8d, dword [rsp + 0x60]
mov rcx, rbx
mov edi, dword [rax + 0x88]
mov dword [rsp + 0x40], edi
mov edi, dword [rax + 0x5c]
mov eax, dword [rax + 0xb0]
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0xc8]
mov rdx, rax
mov qword [rsp + 0x30], rax
call fcn.140204750
cmp dword [rbx + 0x3c], 0
jne 0x1401f884d
mov rax, qword [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea r9, [rax + 0x18]
mov rcx, rax
call fcn.1401f7d70
mov dword [rbx + 0x3c], eax
mov r12d, dword [rbx + 0x3c]
test r12d, r12d
jne 0x1401f884d
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0
je 0x1401f884d
mov rcx, qword [rsp + 0x28]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0xb0]
lea r9, [rsp + 0xa0]
call fcn.14023a580
mov rax, qword [rsp + 0xb0]
mov rcx, rax
mov qword [rsp + 0x48], rax
call sub.msvcrt.dll_strlen
cmp dword [rsp + 0x44], 0
mov dword [rsp + 0x88], eax
mov r8, rax
jne 0x1401f8433
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140204100
cmp dword [rbx + 0x3c], 0
jne 0x1401f884d
mov eax, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xa0]
add edx, eax
add edx, r8d
cmp dword [rsp + 0x40], edx
jle 0x1401f8433
movsxd rdx, eax
add rdx, qword [rsp + 0xd8]
movsxd rcx, r8d
add eax, r8d
mov rsi, qword [rsp + 0xb8]
mov rdi, rdx
mov dword [rsp + 0xe0], eax
rep movsb byte [rdi], byte [rsi]
cmp dword [rbx + 0x3c], 0
je 0x1401f8832
jmp 0x1401f835d
xor eax, eax
cmp dword [rsp + 0x44], 0
sete al
xor r9d, r9d
xor r14d, r14d
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x3c], 0
mov rdi, qword [rsp + 0xa8]
jne 0x1401f835d
mov r13d, dword [rsp + 0xa0]
cmp r12d, r13d
jge 0x1401f8832
mov r15, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
movsxd rcx, r12d
xor r8d, r8d
mov qword [rsp + 0xc0], r8
add rcx, r15
call fcn.14023a310
movzx ebp, al
mov rax, qword [rsp + 0x50]
add rax, qword [rsp + 0xc0]
add ebp, r12d
cmp dword [rsp + 0x44], 0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rax
je 0x1401f8555
cmp dword [rsp + 0x64], 1
jne 0x1401f8521
cmp ebp, r13d
jge 0x1401f8555
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x1401f8555
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
lea r12d, [rbp + 1]
call fcn.1401f6dc0
cmp r13d, r12d
jle 0x1401f845c
movsxd rax, r12d
cmp byte [r15 + rax], 0
jne 0x1401f845c
xor ecx, ecx
add ebp, 2
mov dword [rsp + 0xa0], ecx
jmp 0x1401f8555
movsxd rsi, ebp
add rsi, r15
test byte [rsi], 1
je 0x1401f8555
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
mov rdx, rdi
mov rcx, rbx
call fcn.1401f6dc0
cmp dword [rbx + 0x3c], 0
jne 0x1401f854c
cmp byte [rsi], 1
jne 0x1401f8555
lea r12d, [rbp + 1]
jmp 0x1401f845c
mov eax, dword [rsp + 0x68]
or eax, dword [rbx + 0x3c]
jne 0x1401f8583
mov r9, qword [rsp + 0xb0]
mov r8d, dword [rsp + 0x88]
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
call fcn.140204100
mov dword [rsp + 0x68], 1
movsxd rcx, dword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
mov eax, dword [rsp + 0xe0]
mov r10, rcx
add rcx, rdx
xchg al, ah
cmp byte [rsp + 0x111], 0
je 0x1401f85df
mov word [rdx], ax
mov rdx, qword [rsp + 0x38]
call fcn.14024d970
mov r8, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, qword [rsp + 0x30]
add eax, r10d
mov byte [rsp + 0x111], 0
mov dword [rsp + 0xe0], eax
call fcn.1402042b0
jmp 0x1401f85f6
mov rdx, qword [rsp + 0x38]
sub rdx, r14
call fcn.14024d970
add eax, r10d
mov dword [rsp + 0xe0], eax
mov r13d, dword [rbx + 0x3c]
test r13d, r13d
jne 0x1401f835d
cmp dword [rsp + 0x64], 1
jne 0x1401f869b
mov r9d, dword [rsp + 0xa0]
cmp r9d, ebp
jle 0x1401f8672
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x1401f8672
movsxd rdx, dword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
lea ecx, [rdx + 1]
mov byte [r8 + rdx], 0
mov rax, rdx
lea edx, [rbp + 1]
mov dword [rsp + 0xe0], ecx
cmp r9d, edx
jle 0x1401f8670
movsxd r9, edx
cmp byte [r15 + r9], 0
jne 0x1401f8670
add eax, 2
movsxd rcx, ecx
add ebp, 2
mov dword [rsp + 0xe0], eax
mov byte [r8 + rcx], 0
jmp 0x1401f8672
mov ebp, edx
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x40], eax
jg 0x1401f8693
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140204690
mov r12d, ebp
jmp 0x1401f8828
movsxd rcx, ebp
mov esi, 1
add rcx, r15
movzx edx, byte [rcx]
mov dword [rsp + 0xa4], edx
test dl, dl
jns 0x1401f86c3
lea rdx, [rsp + 0xa4]
call fcn.14023a4b0
mov esi, eax
mov ecx, dword [rsp + 0xa4]
mov r8d, 2
mov eax, ecx
cdq
idiv r8d
cmp dword [rsp + 0x44], 0
mov r12d, eax
je 0x1401f8700
and cl, 1
je 0x1401f8700
cdqe
lea rdx, [rsp + 0xd8]
lea rcx, [rbx + 0x3c]
add ebp, esi
lea r8, [rax + rax]
call fcn.1402390e0
jmp 0x1401f8704
lea r12d, [rax + rsi]
mov eax, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
movsxd rdi, ebp
mov qword [rsp + 0x78], rdi
add edx, eax
add edx, r12d
cmp dword [rsp + 0x40], edx
jge 0x1401f8737
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x70], rax
jmp 0x1401f87d4
movsxd rdx, eax
movsxd rsi, ebp
add eax, r12d
movsxd rcx, r12d
add rdx, qword [rsp + 0xd8]
add rsi, r15
mov dword [rsp + 0xe0], eax
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
jmp 0x1401f8825
mov r14d, dword [rsp + 0xe0]
mov edi, dword [rsp + 0x40]
mov r8d, r12d
movsxd rsi, r13d
mov eax, dword [rsp + 0xf0]
sub r8d, r13d
sub edi, r14d
mov dword [rsp + 0x6c], eax
sub edi, eax
mov rax, qword [rsp + 0x78]
add rsi, rax
add rsi, r15
cmp edi, r8d
jl 0x1401f87dc
movsxd rax, r14d
add r14d, r8d
movsxd rcx, r8d
add r13d, r8d
add rax, qword [rsp + 0xd8]
mov dword [rsp + 0xe0], r14d
mov rdi, rax
mov eax, dword [rsp + 0x6c]
rep movsb byte [rdi], byte [rsi]
add eax, r14d
cmp dword [rsp + 0x40], eax
jg 0x1401f87cf
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140204690
cmp r12d, r13d
jle 0x1401f8825
cmp dword [rbx + 0x3c], 0
je 0x1401f875f
jmp 0x1401f8825
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.14023a4b0
mov r8d, eax
cmp edi, eax
jle 0x1401f8794
movsxd rcx, r8d
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x8c], r8d
add rcx, rsi
call fcn.14023a4b0
mov r8d, dword [rsp + 0x8c]
mov edx, eax
mov eax, r8d
add r8d, edx
cmp edi, r8d
jge 0x1401f87f0
mov r8d, eax
jmp 0x1401f8794
add r12d, ebp
mov r14, qword [rsp + 0x38]
jmp 0x1401f845c
mov rax, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 8]
mov qword [rsi + 0x18], rax
jmp 0x1401f835d
lea rdx, [rsp + 0xc8]
lea r8, [rsp + 0x9c]
mov rcx, rbx
call fcn.1402044e0
mov esi, dword [rsp + 0x9c]
test esi, esi
jle 0x1401f8904
mov rax, qword [rsp + 0x58]
lea rbp, [rbx + 0x3c]
cmp dword [rax + 0x1c], 0
jne 0x1401f8893
lea rdx, [rsp + 0xa8]
mov rcx, rbp
call fcn.140200370
mov rdi, qword [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov rdx, rdi
call fcn.1402004c0
cmp dword [rbx + 0x3c], 0
jne 0x1401f88f7
movsxd rax, dword [rdi + 0x24]
mov ecx, dword [rsp + 0x60]
lea edx, [rax + 1]
mov dword [rdi + 0x24], edx
mov rdx, qword [rdi + 0x10]
imul rax, rax, 0x38
add rax, qword [rdi + 0x28]
mov dword [rax], ecx
mov dword [rax + 4], 1
mov dword [rax + 8], esi
test rdx, rdx
je 0x1401f88f4
movsxd rcx, dword [rbx + 0x38]
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
inc rdx
mov qword [rax + 0x30], rcx
mov qword [rdi + 0x10], rdx
inc dword [rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140200580
cmp dword [rbx + 0x3c], 0
jne 0x1401f8973
mov rax, qword [rbx]
mov r9d, dword [rax + 0x8c]
test r9d, r9d
jle 0x1401f8973
mov r10, qword [rsp + 0xa8]
test r10, r10
je 0x1401f8973
mov rcx, qword [r10 + 8]
mov r8d, dword [rsp + 0x9c]
xor edx, edx
add r8d, dword [rbx + 0x34]
movsxd r11, dword [rbx + 0x10]
movsxd r8, r8d
add r8, rcx
mov rax, r8
mov qword [r10 + 8], r8
div r11
xor edx, edx
mov r8, rax
mov rax, rcx
mov rcx, rbx
div r11
lea rdx, [rsp + 0xa8]
sub r8d, eax
imul r8d, r11d
imul r8d, dword [r10 + 0x1c]
call fcn.1401f8a80
mov rax, qword [rbx]
mov edi, dword [rax + 0x90]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x1401f89eb
xor esi, esi
cmp dword [rax + 0x1c], 0
lea rbp, [rsp + 0xc8]
jle 0x1401f89eb
cmp dword [rbx + 0x3c], 0
mov rdx, qword [rsp + 0xc8]
jne 0x1401f89e3
movsxd rax, esi
shl rax, 4
cmp edi, dword [rax + rdx + 0x24]
jg 0x1401f89e3
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
xor r9d, r9d
call fcn.1401f8c00
inc esi
mov r8, qword [rsp + 0xc8]
mov rcx, rbx
mov edx, esi
call fcn.140200580
jmp 0x1401f89a1
mov qword [rsp + 0xa8], rdx
mov rsi, qword [rsp + 0xa8]
mov rcx, rbx
mov rdx, rsi
call fcn.140200d50
mov rcx, rsi
call fcn.140200d00
cmp dword [rbx + 0x3c], 0
jne 0x1401f8a20
mov rcx, qword [rbx + 0x18]
call fcn.14023a530
xor eax, eax
xor edx, edx
mov dword [rbx + 0x20], eax
mov qword [rbx + 0x34], rdx
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret