Function at 0x180045d40
Capabilities:
Link function at runtime on windows

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov rax, qword [0x180080920]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r15, qword [rbp + 0x108]
lea rcx, [rbp - 0x40]
xorps xmm0, xmm0
mov r12, r8
mov rbx, rdx
xor edi, edi
xor eax, eax
mov qword [rsp + 0x40], rdi
xor edx, edx
mov qword [rsp + 0x48], rdi
mov r8d, 0xc8
mov dword [rbp - 0x50], eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call fcn.18004c900
lea edx, [rdi + 0x2e]
mov rcx, rbx
call fcn.18004bd38
mov r14, rax
test rax, rax
je 0x180045f13
mov r9, rax
sub r9, rbx
cmp r9, 0x63
jae 0x180045f13
mov r8, rbx
lea edx, [rdi + 0x64]
lea rcx, [rsp + 0x50]
call fcn.180052efc
lea r8d, [rdi + 4]
inc r14
lea rdx, [0x18006e14c]
lea rcx, [rsp + 0x50]
call fcn.1800523ac
test eax, eax
je 0x180046066
lea r8d, [rdi + 4]
lea rdx, [0x18006e154]
lea rcx, [rsp + 0x50]
call fcn.1800523ac
test eax, eax
je 0x180046066
mov qword [rsp + 0x1e0], rsi
lea r8, str..dll
lea edx, [rdi + 0x64]
mov qword [rsp + 0x1a0], r13
lea rcx, [rsp + 0x50]
call fcn.180052fd0
lea r8d, [rdi + 0x64]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.1800535ac
mov rcx, r15
call fcn.1800459a0
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.180050580
test eax, eax
jne 0x180045e81
mov rbx, r15
jmp 0x180045f3d
mov rax, qword [0x180090ae8]
movabs r13, 0x193d4bb7e327a977
mov rcx, qword [0x180090ae0]
sub rax, rcx
sar rax, 3
imul rax, r13
test rax, rax
je 0x180045f03
mov rdx, rdi
nop dword [rax]
imul rsi, rdx, 0x238
mov edx, 0x5c
lea rbx, [rsi + rcx]
mov rcx, rbx
call fcn.18004acc4
test rax, rax
je 0x180045ed1
lea rbx, [rax + 2]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.180050580
test eax, eax
je 0x180045f33
mov rax, qword [0x180090ae8]
inc edi
mov rcx, qword [0x180090ae0]
sub rax, rcx
mov edx, edi
sar rax, 3
imul rax, r13
cmp rdx, rax
jb 0x180045eb0
mov rsi, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180049ad0
add rsp, 0x1a8
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov rbx, qword [0x180090ae0]
add rbx, rsi
test rbx, rbx
je 0x180045f03
mov edx, 0x23
mov rcx, r14
call fcn.18004bd38
test rax, rax
je 0x180045fb0
lea rcx, [r14 + 1]
call fcn.180052ed0
mov rdx, rbx
mov esi, eax
call fcn.180046760
test al, al
je 0x180045fa7
mov edx, 0x5c
mov rcx, rbx
call fcn.18004acc4
lea rcx, [rax + 2]
test rax, rax
jne 0x180045f84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x180045f03
mov rcx, rax
test si, si
je 0x180045fa3
movzx edx, si
jmp 0x180045fed
xor edx, edx
jmp 0x180045fed
movzx r9d, si
xor r8d, r8d
jmp 0x18004600b
mov rdx, rbx
call fcn.180046760
test al, al
je 0x180046005
mov edx, 0x5c
mov rcx, rbx
call fcn.18004acc4
lea rcx, [rax + 2]
test rax, rax
jne 0x180045fd5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
je 0x180045f03
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rbx + 0x208]
mov rcx, rax
sub rcx, rdi
add rdx, rcx
jmp 0x180046031
xor r9d, r9d
mov r8, r14
lea rax, [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.180046800
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
test rcx, rcx
je 0x180045f03
movzx r9d, word [rbp + 0x100]
xor r8d, r8d
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
mov rdx, r12
call fcn.1800460d0
jmp 0x180045f03
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180045f13
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movzx r9d, word [rbp + 0x100]
mov rcx, rbx
mov qword [rsp + 0x38], r15
sub rcx, rax
mov byte [rsp + 0x30], 1
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov rdx, r12
mov qword [rsp + 0x20], rbx
call fcn.1800460d0
jmp 0x180045f13