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

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x4cb6f8
push rbp
mov rbp, rsp
sub rsp, 0x90
movzx esi, word [rax + 0xa0]
cmp si, 0x8664
jne 0x4cb18c
mov rdi, qword [rax + 0xb8]
lea r8, [0x00543ea0]
cmp rdi, r8
jne 0x4cb6e5
mov rdi, qword [rax + 0xc0]
mov rdi, qword [rdi + 0x18]
jmp 0x4cb1b4
mov rdi, qword [rax + 0xb8]
lea r8, [0x00543e60]
nop word [rax + rax]
cmp rdi, r8
jne 0x4cb6d3
mov r8, qword [rax + 0xc0]
mov edi, dword [r8 + 0x1c]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rcx
mov word [rsp + 0x32], si
mov qword [rsp + 0x48], rdi
mov r8, qword [rax + 0xe0]
mov r9, qword [r8]
mov r8, qword [r8 + 8]
jmp 0x4cb1ed
add r9, 0x20
dec r8
test r8, r8
jle 0x4cb225
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x88], r9
mov r10d, dword [r9]
mov dword [rsp + 0x44], r10d
mov r11, qword [r9 + 8]
mov qword [rsp + 0x80], r11
mov r12, qword [r9 + 0x10]
mov qword [rsp + 0x70], r12
xor edx, edx
nop
jmp 0x4cb312
cmp si, 0x8664
jne 0x4cb291
mov qword [rsp + 0x1e], 0
nop
mov qword [rsp + 0x1e], rbx
mov rax, qword [rax + 0x148]
mov rdx, qword [rcx + 0x10]
lea rsi, [rax + 0x20]
cmp rdx, rsi
jb 0x4cb307
lea rdi, [rax + 0x18]
nop word [rax + rax]
cmp rsi, rdi
jb 0x4cb2fc
mov rcx, qword [rcx]
sub rdx, rax
lea rax, [rdx - 0x18]
neg rax
sar rax, 0x3f
and rdi, rax
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x1e]
cmp rdx, rax
je 0x4cb2e0
mov qword [rcx + rdi], rbx
jmp 0x4cb2e0
mov dword [rsp + 0x1a], 0
nop
mov dword [rsp + 0x1a], ebx
mov rdx, qword [rcx + 0x10]
mov rax, qword [rax + 0x148]
lea rsi, [rax + 0x20]
cmp rdx, rsi
jb 0x4cb2f4
lea rdi, [rax + 0x1c]
cmp rdi, rsi
ja 0x4cb2e9
mov rcx, qword [rcx]
sub rdx, rax
lea rax, [rdx - 0x1c]
neg rax
sar rax, 0x3f
and rdi, rax
lea rax, [rdi + rcx]
lea rdx, [rsp + 0x1a]
cmp rdx, rax
je 0x4cb2e0
mov dword [rcx + rdi], ebx
add rsp, 0x90
pop rbp
ret
mov rax, rdi
mov rcx, rsi
call fcn.0045eda0
mov rcx, rsi
call fcn.0045ed60
mov rax, rdi
mov rcx, rsi
call fcn.0045eda0
mov rcx, rsi
call fcn.0045ed60
inc rdx
cmp rdx, r12
jge 0x4cb1e6
mov qword [rsp + 0x68], rdx
lea r13, [r11 + rdx*4]
movzx r15d, byte [r13]
movzx r13d, word [r13 + 2]
cmp r15b, 3
jne 0x4cb365
mov r15, rbx
sub rbx, rdi
mov rsi, qword [rax + 0xc8]
mov r8, qword [rax + 0xd0]
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x60], rax
xor eax, eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x50]
nop
jmp 0x4cb563
cmp r15b, 0xa
jne 0x4cb30f
mov r15, rbx
sub rbx, rdi
mov rsi, qword [rax + 0xc8]
mov r8, qword [rax + 0xd0]
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x60], rax
xor eax, eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
jmp 0x4cb3c8
lea rax, [r9 + 1]
mov rdi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x88]
mov r15, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x34], r10d
mov rax, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x60]
cmp r9, r8
jge 0x4cb408
mov rax, qword [rsi + r9*8]
mov edi, dword [rax + 0x1c]
cmp edi, r10d
ja 0x4cb3fe
mov r15d, dword [rax + 0x20]
add r15d, edi
cmp r10d, r15d
ja 0x4cb3f6
mov r15d, r10d
sub r10d, edi
add r10d, dword [rax + 0x24]
jmp 0x4cb398
mov r15, qword [rsp + 0xa8]
mov r15d, r10d
mov r10d, dword [rsp + 0x34]
jmp 0x4cb398
mov rsi, qword [rcx + 0x10]
mov r8d, dword [rsp + 0x34]
lea r9d, [r8 + r13]
lea r9d, [r9 + 8]
mov r9d, r9d
add r8d, r13d
nop
cmp rsi, r9
jb 0x4cb528
cmp r8, r9
ja 0x4cb51d
mov dword [rsp + 0x3c], r8d
mov r13, r9
sub r9, r8
sub r8, rsi
sar r8, 0x3f
mov esi, dword [rsp + 0x3c]
and r8, rsi
cmp r9, 7
jbe 0x4cb510
mov r10, qword [rcx]
add rbx, qword [r10 + r8]
mov qword [rsp + 0x26], 0
mov qword [rsp + 0x26], rbx
mov r8, qword [rcx + 0x10]
cmp r8, r13
jb 0x4cb505
mov r10, qword [rcx]
mov r13d, esi
sub rsi, r8
sar rsi, 0x3f
and rsi, r13
add rsi, r10
cmp r9, 8
mov r8d, 8
cmovg r9, r8
lea rbx, [rsp + 0x26]
nop dword [rax]
cmp rbx, rsi
je 0x4cb4e5
mov rax, rsi
mov rcx, r9
call fcn.0045f6a0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x48]
mov r8d, 8
mov r11, qword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0xa8]
mov rbx, r15
movzx esi, word [rsp + 0x32]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x88]
mov r10d, dword [rsp + 0x44]
nop
jmp 0x4cb30f
mov rcx, r13
mov rdx, r8
call fcn.0045ed60
mov eax, 7
mov rcx, r9
call fcn.0045ece0
mov eax, r8d
mov rcx, r9
call fcn.0045eda0
mov rcx, r9
mov rdx, rsi
call fcn.0045ed60
lea rax, [r9 + 1]
mov rdi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x88]
mov r15, qword [rsp + 0xa8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x38], r10d
mov rax, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x60]
cmp r9, r8
jge 0x4cb5a3
mov rax, qword [rsi + r9*8]
mov edi, dword [rax + 0x1c]
cmp edi, r10d
ja 0x4cb599
mov r15d, dword [rax + 0x20]
add r15d, edi
cmp r10d, r15d
ja 0x4cb591
mov r15d, r10d
sub r10d, edi
add r10d, dword [rax + 0x24]
jmp 0x4cb533
mov r15, qword [rsp + 0xa8]
mov r15d, r10d
mov r10d, dword [rsp + 0x38]
jmp 0x4cb533
mov rsi, qword [rcx + 0x10]
mov r8d, dword [rsp + 0x38]
lea r9d, [r8 + r13]
lea r9d, [r9 + 4]
mov r9d, r9d
add r8d, r13d
nop word [rax + rax]
cmp rsi, r9
jb 0x4cb6c8
cmp r8, r9
ja 0x4cb6bd
mov dword [rsp + 0x40], r8d
mov r13, r9
sub r9, r8
sub r8, rsi
sar r8, 0x3f
mov esi, dword [rsp + 0x40]
and r8, rsi
cmp r9, 3
jbe 0x4cb6b0
mov r10, qword [rcx]
add ebx, dword [r10 + r8]
mov dword [rsp + 0x2e], 0
mov dword [rsp + 0x2e], ebx
mov r8, qword [rcx + 0x10]
cmp r8, r13
jb 0x4cb6a5
mov r10, qword [rcx]
mov r13d, esi
sub rsi, r8
sar rsi, 0x3f
and rsi, r13
add rsi, r10
cmp r9, 4
mov r8d, 4
cmovg r9, r8
lea rbx, [rsp + 0x2e]
nop dword [rax + rax]
cmp rbx, rsi
je 0x4cb685
mov rax, rsi
mov rcx, r9
call fcn.0045f6a0
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x48]
mov r8d, 4
mov r11, qword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
mov r15, qword [rsp + 0xa8]
mov rbx, r15
movzx esi, word [rsp + 0x32]
mov r8, qword [rsp + 0x78]
mov r9, qword [rsp + 0x88]
mov r10d, dword [rsp + 0x44]
nop
jmp 0x4cb30f
mov rcx, r13
mov rdx, r8
call fcn.0045ed60
mov eax, 3
mov rcx, r9
call fcn.0045ece0
mov eax, r8d
mov rcx, r9
call fcn.0045eda0
mov rcx, r9
mov rdx, rsi
call fcn.0045ed60
mov rax, rdi
mov rbx, r8
lea rcx, [0x0054ecc0]
call fcn.0040a300
mov rax, rdi
mov rbx, r8
lea rcx, [0x0054ecc0]
call fcn.0040a300
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045ca00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax + rax]
jmp fcn.004cb140