Function at 0x14024e8a0
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
mov eax, dword [rcx + 0x40]
test eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
je 0x14024e8c9
mov dword [rcx + 0x3c], eax
jmp 0x14024f093
cmp dword [rcx + 0x20], 0
jne 0x14024e8d9
cmp dword [rcx + 0x34], 0
je 0x14024f093
mov rax, qword [rbx + 0x18]
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x98], r9d
mov qword [rsp + 0x30], rax
call fcn.140256e00
mov rcx, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xa8], rax
call fcn.140256c40
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
je 0x14024ef5f
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.1402484f0
test eax, eax
mov dword [rsp + 0x64], eax
je 0x14024ef5f
mov rax, qword [rbx]
mov rcx, rbx
mov r8d, dword [rsp + 0x64]
mov edi, dword [rax + 0x90]
mov dword [rsp + 0x44], edi
mov edi, dword [rax + 0x60]
mov eax, dword [rax + 0xb8]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0xc8]
mov rdx, rax
mov qword [rsp + 0x38], rax
call fcn.14025aeb0
cmp dword [rbx + 0x3c], 0
jne 0x14024eea0
mov rax, qword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea r9, [rax + 0x18]
mov rcx, rax
call fcn.14024e330
mov dword [rbx + 0x3c], eax
mov r12d, dword [rbx + 0x3c]
test r12d, r12d
jne 0x14024eea0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0
je 0x14024eea0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x9c]
call fcn.140293040
cmp dword [rsp + 0x60], 0
jne 0x14024ea5f
mov r9, qword [rsp + 0xb0]
mov rcx, rbx
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x38]
call fcn.14025a860
cmp dword [rbx + 0x3c], 0
jne 0x14024eea0
mov eax, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xa0]
add edx, eax
add edx, r8d
cmp dword [rsp + 0x44], edx
jle 0x14024ea5f
movsxd rdx, eax
add rdx, qword [rsp + 0xd8]
movsxd rcx, r8d
add eax, r8d
mov rsi, qword [rsp + 0xb8]
mov dword [rsp + 0xe0], eax
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
cmp dword [rbx + 0x3c], 0
je 0x14024ee85
jmp 0x14024e990
xor eax, eax
cmp dword [rsp + 0x60], 0
sete al
xor r8d, r8d
xor r14d, r14d
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x80], rax
cmp dword [rbx + 0x3c], 0
mov rdi, qword [rsp + 0xa8]
jne 0x14024e990
mov r13d, dword [rsp + 0xa0]
cmp r12d, r13d
jge 0x14024ee85
mov r15, qword [rsp + 0xb8]
movsxd rcx, r12d
mov rdx, qword [rsp + 0x80]
add rcx, r15
call fcn.140292dd0
movzx ebp, al
mov rax, qword [rsp + 0x50]
add ebp, r12d
add rax, qword [rsp + 0xc0]
cmp dword [rsp + 0x60], 0
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
je 0x14024eb9e
cmp dword [rsp + 0x68], 1
jne 0x14024eb5a
cmp ebp, r13d
jge 0x14024eb9e
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x14024eb9e
mov rax, qword [rsp + 0x50]
lea r12d, [rbp + 1]
mov rdx, rdi
mov rcx, rbx
mov r9d, dword [rsp + 0x9c]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.14024d3e0
cmp r13d, r12d
jle 0x14024ea88
movsxd rax, r12d
cmp byte [r15 + rax], 0
jne 0x14024ea88
xor ecx, ecx
add ebp, 2
mov dword [rsp + 0xa0], ecx
jmp 0x14024eb9e
movsxd rsi, ebp
add rsi, r15
test byte [rsi], 1
je 0x14024eb9e
mov rax, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
mov r9d, dword [rsp + 0x9c]
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.14024d3e0
cmp dword [rbx + 0x3c], 0
jne 0x14024eb95
cmp byte [rsi], 1
jne 0x14024eb9e
lea r12d, [rbp + 1]
jmp 0x14024ea88
mov eax, dword [rsp + 0x6c]
or eax, dword [rbx + 0x3c]
jne 0x14024ebcc
mov r9, qword [rsp + 0xb0]
mov rcx, rbx
mov r8d, dword [rsp + 0x9c]
mov rdx, qword [rsp + 0x38]
call fcn.14025a860
mov dword [rsp + 0x6c], 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 0x14024ec28
mov word [rdx], ax
mov rdx, qword [rsp + 0x48]
call fcn.1402a6780
mov r8, qword [rsp + 0x48]
mov rcx, rbx
mov byte [rsp + 0x111], 0
mov rdx, qword [rsp + 0x38]
add eax, r10d
mov dword [rsp + 0xe0], eax
call fcn.14025aa10
jmp 0x14024ec3f
mov rdx, qword [rsp + 0x48]
sub rdx, r14
call fcn.1402a6780
add eax, r10d
mov dword [rsp + 0xe0], eax
mov r13d, dword [rbx + 0x3c]
test r13d, r13d
jne 0x14024e990
cmp dword [rsp + 0x68], 1
jne 0x14024ece4
mov r9d, dword [rsp + 0xa0]
cmp r9d, ebp
jle 0x14024ecbb
movsxd rax, ebp
cmp byte [r15 + rax], 0
jne 0x14024ecbb
movsxd rdx, dword [rsp + 0xe0]
mov r8, qword [rsp + 0xd8]
lea ecx, [rdx + 1]
mov rax, rdx
mov byte [r8 + rdx], 0
lea edx, [rbp + 1]
cmp r9d, edx
mov dword [rsp + 0xe0], ecx
jle 0x14024ecb9
movsxd r9, edx
cmp byte [r15 + r9], 0
jne 0x14024ecb9
add eax, 2
movsxd rcx, ecx
add ebp, 2
mov dword [rsp + 0xe0], eax
mov byte [r8 + rcx], 0
jmp 0x14024ecbb
mov ebp, edx
mov eax, dword [rsp + 0xf0]
add eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x44], eax
jg 0x14024ecdc
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14025adf0
mov r12d, ebp
jmp 0x14024ee7b
movsxd rcx, ebp
mov esi, 1
add rcx, r15
movzx edx, byte [rcx]
test dl, dl
mov dword [rsp + 0xa4], edx
jns 0x14024ed0c
lea rdx, [rsp + 0xa4]
call fcn.140292f70
mov esi, eax
mov ecx, dword [rsp + 0xa4]
mov r8d, 2
mov eax, ecx
cdq
idiv r8d
cmp dword [rsp + 0x60], 0
mov r12d, eax
je 0x14024ed49
and cl, 1
je 0x14024ed49
lea rdx, [rsp + 0xd8]
cdqe
add ebp, esi
lea rcx, [rbx + 0x3c]
lea r8, [rax + rax]
call fcn.140291b80
jmp 0x14024ed4d
lea r12d, [rax + rsi]
mov eax, dword [rsp + 0xe0]
movsxd rdi, ebp
mov edx, dword [rsp + 0xf0]
mov qword [rsp + 0x78], rdi
add edx, eax
add edx, r12d
cmp dword [rsp + 0x44], edx
jge 0x14024ed80
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x70], rax
jmp 0x14024ee23
movsxd rdx, eax
add rdx, qword [rsp + 0xd8]
movsxd rsi, ebp
add eax, r12d
movsxd rcx, r12d
add rsi, r15
mov dword [rsp + 0xe0], eax
mov rdi, rdx
rep movsb byte [rdi], byte [rsi]
jmp 0x14024ee78
mov r14d, dword [rsp + 0xe0]
mov r8d, r12d
movsxd rsi, r13d
mov edi, dword [rsp + 0x44]
sub r8d, r13d
mov eax, dword [rsp + 0xf0]
sub edi, r14d
sub edi, eax
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x78]
add rsi, rax
add rsi, r15
cmp edi, r8d
jl 0x14024ee2f
movsxd rax, r14d
add rax, qword [rsp + 0xd8]
add r14d, r8d
add r13d, r8d
movsxd rcx, r8d
mov dword [rsp + 0xe0], r14d
mov rdi, rax
mov eax, dword [rsp + 0x88]
rep movsb byte [rdi], byte [rsi]
add eax, r14d
cmp dword [rsp + 0x44], eax
jg 0x14024ee1e
mov rdx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.14025adf0
cmp r12d, r13d
jle 0x14024ee78
cmp dword [rbx + 0x3c], 0
je 0x14024eda8
jmp 0x14024ee78
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140292f70
cmp edi, eax
mov r8d, eax
jle 0x14024ede0
mov rdx, qword [rsp + 0x70]
movsxd rcx, r8d
mov dword [rsp + 0x8c], r8d
add rcx, rsi
call fcn.140292f70
mov r8d, dword [rsp + 0x8c]
mov edx, eax
mov eax, r8d
add r8d, edx
cmp edi, r8d
jge 0x14024ee43
mov r8d, eax
jmp 0x14024ede0
add r12d, ebp
mov r14, qword [rsp + 0x48]
jmp 0x14024ea88
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 8]
mov qword [rdi + 0x18], rax
jmp 0x14024e990
lea rdx, [rsp + 0xc8]
mov rcx, rbx
lea r8, [rsp + 0x98]
call fcn.14025ac40
mov ebp, dword [rsp + 0x98]
test ebp, ebp
jle 0x14024ef5f
mov rax, qword [rsp + 0x58]
lea rsi, [rbx + 0x3c]
cmp dword [rax + 0x1c], 0
jne 0x14024eee6
lea rdx, [rsp + 0xa8]
mov rcx, rsi
call fcn.140256a50
mov r12, qword [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov rdx, r12
call fcn.140256bb0
cmp dword [rbx + 0x3c], 0
jne 0x14024ef52
movsxd rax, dword [r12 + 0x24]
mov esi, dword [rsp + 0x64]
lea edx, [rax + 1]
mov dword [r12 + 0x24], edx
imul rax, rax, 0x38
mov rdx, qword [r12 + 0x10]
add rax, qword [r12 + 0x28]
test rdx, rdx
mov dword [rax], esi
mov dword [rax + 4], 1
mov dword [rax + 8], ebp
je 0x14024ef4d
movsxd rcx, dword [rbx + 0x38]
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], rdx
inc rdx
mov qword [rax + 0x30], rcx
mov qword [r12 + 0x10], rdx
inc dword [r12 + 0x18]
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.140256c70
cmp dword [rbx + 0x3c], 0
jne 0x14024efce
mov rax, qword [rbx]
mov r9d, dword [rax + 0x94]
test r9d, r9d
jle 0x14024efce
mov r10, qword [rsp + 0xa8]
test r10, r10
je 0x14024efce
mov r8d, dword [rsp + 0x98]
xor edx, edx
add r8d, dword [rbx + 0x34]
mov rcx, qword [r10 + 8]
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
div r11
sub r8d, eax
mov rcx, rbx
imul r8d, r11d
lea rdx, [rsp + 0xa8]
imul r8d, dword [r10 + 0x1c]
call fcn.14024f0f0
mov rax, qword [rbx]
mov esi, dword [rax + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
mov qword [rsp + 0xc8], rax
je 0x14024f04c
cmp dword [rax + 0x1c], 0
lea rdi, [rsp + 0xc8]
jle 0x14024f04c
cmp dword [rbx + 0x3c], 0
mov rdx, qword [rsp + 0xc8]
jne 0x14024f044
movsxd rax, dword [rsp + 0x40]
shl rax, 4
cmp esi, dword [rax + rdx + 0x24]
jg 0x14024f044
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, rbx
xor r9d, r9d
call fcn.14024f270
mov r8, qword [rsp + 0xc8]
mov rcx, rbx
inc dword [rsp + 0x40]
mov edx, dword [rsp + 0x40]
call fcn.140256c70
jmp 0x14024effa
mov qword [rsp + 0xa8], rdx
mov rsi, qword [rsp + 0xa8]
mov rcx, rbx
mov rdx, rsi
call fcn.140257440
mov rcx, rsi
call fcn.1402573f0
mov eax, dword [rbx + 0x3c]
test eax, eax
jne 0x14024f084
mov rcx, qword [rbx + 0x18]
call fcn.140292ff0
xor eax, eax
xor edx, edx
mov dword [rbx + 0x20], eax
mov qword [rbx + 0x34], rdx
jmp 0x14024f093
cmp dword [rbx + 0x20], 0
jne 0x14024f090
cmp dword [rbx + 0x34], 0
je 0x14024f093
mov dword [rbx + 0x40], eax
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret