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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x14007d150]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x30], rdx
mov r15, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdx
mov rax, qword [rcx + 0x60]
cmp qword [rax + 8], 0
je 0x1400455fd
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
mov rcx, qword [rcx]
call fcn.140037140
mov rdx, rax
mov r9d, dword [r15 + 0x28]
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.1400449c0
mov dword [rsp + 0x20], eax
cmp eax, dword [r15 + 0x28]
jne 0x14004562c
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400455fd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400455f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400455f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056818
xor al, al
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140056790
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r15 + 0x60]
mov r11, qword [rax]
mov qword [rsp + 0x28], r11
mov r9, qword [r11 + 8]
mov r13, r11
mov esi, 1
lea r14d, [rsi - 2]
mov r12, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
cmp byte [r9 + 0x19], 0
jne 0x1400456e0
lea rax, [rsp + 0x50]
cmp r12, 8
cmovae rax, rdi
lea r10, [r9 + 0x20]
cmp qword [r9 + 0x38], 8
jb 0x14004567e
mov r10, qword [r9 + 0x20]
mov r11, qword [r9 + 0x30]
mov rcx, r11
cmp rbx, r11
cmovb rcx, rbx
test rcx, rcx
je 0x1400456a7
sub r10, rax
movzx edx, word [r10 + rax]
cmp dx, word [rax]
jne 0x1400456b1
add rax, 2
sub rcx, rsi
jne 0x140045694
cmp r11, rbx
jae 0x1400456b9
mov eax, r14d
jmp 0x1400456c1
mov eax, esi
cmovb eax, r14d
jmp 0x1400456c1
xor eax, eax
cmp r11, rbx
seta al
shr eax, 0x1f
test al, al
je 0x1400456ce
mov r9, qword [r9 + 0x10]
jmp 0x1400456d4
mov r13, r9
mov r9, qword [r9]
cmp byte [r9 + 0x19], 0
je 0x140045662
mov r11, qword [rsp + 0x28]
cmp byte [r13 + 0x19], 0
jne 0x140045755
lea rax, [r13 + 0x20]
cmp qword [r13 + 0x38], 8
jb 0x1400456f6
mov rax, qword [r13 + 0x20]
lea r9, [rsp + 0x50]
cmp r12, 8
cmovae r9, rdi
mov r10, qword [r13 + 0x30]
mov rcx, rbx
cmp r10, rbx
cmovb rcx, r10
test rcx, rcx
je 0x140045734
sub r9, rax
nop dword [rax]
movzx edx, word [r9 + rax]
cmp dx, word [rax]
jne 0x14004573e
add rax, 2
sub rcx, 1
jne 0x140045720
cmp rbx, r10
jae 0x140045744
mov esi, r14d
jmp 0x14004574d
cmovb esi, r14d
jmp 0x14004574d
xor esi, esi
cmp rbx, r10
seta sil
shr esi, 0x1f
test sil, sil
je 0x140045758
mov r13, r11
mov rax, qword [r15 + 0x60]
cmp r13, qword [rax]
jne 0x1400457b6
cmp r12, 8
jb 0x14004579c
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140045794
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400458d4
mov rcx, rdi
call fcn.140056818
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], ax
jmp 0x1400455ff
mov eax, dword [rsp + 0x20]
mov dword [r15 + 0x28], eax
mov rcx, qword [r13 + 0x40]
mov rax, qword [rcx]
call qword [rax]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400457dd
mov rcx, rax
call fcn.140042580
nop
lea rdx, [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140044810
nop
test rbx, rbx
je 0x14004580b
mov rcx, rbx
call fcn.140042550
test eax, eax
jne 0x14004580b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
nop
xor ebx, ebx
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], bx
lea r8d, [rbx + 3]
lea rdx, [0x14005f5a8]
lea rcx, [rsp + 0x70]
call fcn.140004cc0
nop
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + Ordinal_50]
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140045893
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004588e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004588e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056818
test dword [r15 + 0x3c], 0x200
jne 0x1400458fd
mov dword [r15 + 0x3c], 0xfffffffe
cmp r12, 8
jb 0x1400458e3
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400458db
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400458db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140056818
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov al, 1
jmp 0x1400455ff
mov dword [rsp + 0x24], Ordinal_19
lea rdx, [0x140079718]
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll__CxxThrowException
int3