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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov byte [rsp + 8], cl
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
mov r13, rdx
movzx edx, cl
mov rcx, qword [r13 + 0x30]
mov qword [rsp + 0x68], rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x14004c5fc
mov rax, qword [r13 + 8]
xor r14d, r14d
mov r12, qword [rsp + 0x158]
xor ebp, ebp
xor ebx, ebx
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x78], rax
nop
test dl, dl
jne 0x14004c2d2
test rbp, rbp
je 0x14004c2d2
cmp byte [rbp + 0x4c], dl
jne 0x14004c4a6
mov rax, qword [rsi + 8]
mov r15d, r9d
mov edi, r8d
mov rcx, qword [rax + 8]
mov qword [r13 + 8], rcx
test dl, dl
je 0x14004c31b
cmp dword [rsi + 0x50], r9d
cmovl r15d, dword [rsi + 0x50]
test rbp, rbp
je 0x14004c311
mov ecx, dword [rsi + 0x3c]
sub ecx, dword [rbp + 0x3c]
mov eax, dword [rsi + 0x40]
inc ecx
add ecx, ebx
cmp ecx, r8d
cmovg edi, ecx
cmp edi, eax
jg 0x14004c34f
mov edi, eax
jmp 0x14004c34f
cmp dword [rsi + 0x40], r8d
cmovg edi, dword [rsi + 0x40]
jmp 0x14004c34f
cmp dword [rsi + 0x40], r8d
cmovg edi, dword [rsi + 0x40]
test rbp, rbp
je 0x14004c346
mov ecx, dword [rbp + 0x38]
sub ecx, dword [rsi + 0x38]
mov eax, dword [rsi + 0x50]
dec ecx
add ecx, ebx
cmp ecx, r9d
cmovl r15d, ecx
cmp r15d, eax
jl 0x14004c34f
mov r15d, eax
jmp 0x14004c34f
cmp dword [rsi + 0x50], r9d
cmovl r15d, dword [rsi + 0x50]
test dl, dl
mov ebx, edi
cmovne ebx, r15d
cmp edi, ebx
jg 0x14004c496
nop
cmp ebx, r15d
jg 0x14004c486
movzx edx, byte [rsp + 0x138]
mov r8, r12
mov ecx, ebx
call fcn.14004a530
cmp byte [rsp + 0x150], 0
mov r14, rax
je 0x14004c39a
movsxd r8, ebx
lea rdx, [0x14004b370]
mov rcx, r13
call fcn.140055a00
cmp byte [rsp + 0x140], 0
je 0x14004c3af
cmp dword [r14 + 0x2c], 0
jne 0x14004c465
cmp byte [rsp + 0x148], 0
je 0x14004c3f1
mov eax, dword [r14 + 0x2c]
test eax, eax
je 0x14004c3f1
xor ecx, ecx
test al, 1
jne 0x14004c3d3
shr eax, 1
inc ecx
cmp ecx, 0x20
jb 0x14004c3c3
or ecx, 0xffffffff
mov rax, qword [r14 + rcx*8 + 0x30]
test rbp, rbp
je 0x14004c3e3
cmp rax, qword [rbp + 0x10]
je 0x14004c3f1
mov rax, qword [rax]
movzx ecx, byte [rax + 0x49]
shr cl, 1
and cl, 1
jne 0x14004c465
cmp ebx, dword [rsi + 0x50]
jne 0x14004c3fc
mov r8d, dword [rsi + 0x54]
jmp 0x14004c405
mov rax, qword [r12 + 8]
mov r8d, dword [rax + 0x70]
cmp ebx, dword [rsi + 0x40]
jne 0x14004c40f
mov edx, dword [rsi + 0x44]
jmp 0x14004c41e
mov rax, qword [r12 + 8]
mov rcx, qword [rax + 0x80]
movzx edx, byte [rcx]
mov rax, qword [rsi + 8]
mov rcx, r13
movzx r9d, byte [rsp + 0x110]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rbp
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
call fcn.14004c7a0
test al, al
jne 0x14004c4f8
movzx edx, byte [rsp + 0x110]
mov eax, 1
test dl, dl
mov ecx, 0xffffffff
cmovne eax, ecx
add ebx, eax
cmp edi, ebx
jle 0x14004c360
mov r9d, dword [rsp + 0x128]
mov r8d, dword [rsp + 0x120]
mov ebx, dword [rsp + 0x60]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14004c2c0
mov rax, qword [rsp + 0x78]
mov qword [r13 + 8], rax
test rbp, rbp
je 0x14004c769
mov eax, dword [rbp + 0x40]
movzx r8d, dl
mov rcx, qword [rsp + 0x68]
mov r9, r12
mov rdx, rbp
mov dword [rcx + 0x44], eax
mov eax, dword [rbp + 0x44]
mov dword [rcx + 0x48], eax
mov eax, dword [rbp + 0x50]
mov dword [rcx + 0x4c], eax
mov eax, dword [rbp + 0x54]
mov dword [rcx + 0x50], eax
mov rcx, r13
call fcn.14004de50
mov rax, qword [rsp + 0x130]
mov dword [rax], ebx
mov al, 1
jmp 0x14004c76b
test rbp, rbp
je 0x14004c5d3
mov rdi, qword [rbp + 0x10]
mov r15, qword [rsp + 0x70]
movzx eax, byte [rdi + 0x24]
cmp qword [r15 + rax*8 + 0x30], rdi
jne 0x14004c5d3
mov rax, qword [rbp + 8]
mov dword [rsp + 0x80], 1
mov byte [rsp + 0x88], 0
mov qword [rsp + 0x90], 1
mov rdx, qword [rax + 8]
mov rax, qword [r12]
mov qword [rsp + 0xa0], rdi
mov dword [rsp + 0xa8], 0xffffffff
mov byte [rsp + 0xbc], 0
mov rcx, qword [rax + 0x18]
mov rax, qword [r12 + 0xe0]
mov qword [rsp + 0x98], rcx
mov rcx, qword [rdx + 0x18]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xb8], eax
test rcx, rcx
je 0x14004c5a3
lea r8, [rsp + 0x80]
lea rdx, [0x140049b70]
call fcn.140006750
mov rdx, rdi
mov rcx, r15
call fcn.14000dbc0
mov rax, qword [rdi]
mov rcx, qword [rax + 0x30]
dec dword [rcx + 0x60]
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx + 0x58]
mov r8, qword [rax + 0xd8]
test r8, r8
je 0x14004c5d3
mov rdx, r15
call r8
movzx edx, byte [rsp + 0x110]
mov rbp, rsi
mov r8d, dword [rsp + 0x120]
mov r9d, dword [rsp + 0x128]
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x60], ebx
jmp 0x14004c49a
mov eax, dword [rcx + 0x44]
cmp eax, r8d
cmovg r8d, eax
test dl, dl
mov ebx, r8d
mov dword [rsp + 0x120], r8d
cmovne ebx, r9d
cmp r8d, ebx
jg 0x14004c769
mov rsi, qword [rsp + 0x158]
movzx r15d, byte [rsp + 0x150]
movzx ebp, byte [rsp + 0x148]
movzx r14d, byte [rsp + 0x140]
movzx r12d, byte [rsp + 0x138]
nop dword [rax + rax]
cmp ebx, r9d
jg 0x14004c769
mov r8, rsi
movzx edx, r12b
mov ecx, ebx
call fcn.14004a530
mov rdi, rax
test r15b, r15b
je 0x14004c681
movsxd r8, ebx
lea rdx, [0x14004b370]
mov rcx, r13
call fcn.140055a00
test r14b, r14b
je 0x14004c690
cmp dword [rdi + 0x2c], 0
jne 0x14004c73d
test bpl, bpl
je 0x14004c6c6
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
je 0x14004c6c6
xor eax, eax
nop
test cl, 1
jne 0x14004c6b3
shr ecx, 1
inc eax
cmp eax, 0x20
jb 0x14004c6a0
mov eax, 0xffffffff
mov rcx, qword [rdi + rax*8 + 0x30]
mov rax, qword [rcx]
movzx ecx, byte [rax + 0x49]
shr cl, 1
and cl, 1
jne 0x14004c73d
mov rcx, qword [rsp + 0x68]
cmp ebx, dword [rcx + 0x4c]
jne 0x14004c6d6
mov r8d, dword [rcx + 0x50]
jmp 0x14004c6de
mov rax, qword [rsi + 8]
mov r8d, dword [rax + 0x70]
cmp ebx, dword [rcx + 0x44]
jne 0x14004c6e8
mov edx, dword [rcx + 0x48]
jmp 0x14004c6f6
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x80]
movzx edx, byte [rcx]
mov rax, qword [r13 + 8]
mov rcx, r13
movzx r9d, byte [rsp + 0x110]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov rax, qword [r13]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
call fcn.14004c7a0
test al, al
jne 0x14004c77f
cmp byte [rsp + 0x110], 0
mov eax, 1
mov r9d, dword [rsp + 0x128]
mov ecx, 0xffffffff
cmovne eax, ecx
add ebx, eax
cmp dword [rsp + 0x120], ebx
jle 0x14004c650
xor al, al
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [r13]
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x130]
mov dword [rax], ebx
mov al, 1
jmp 0x14004c76b