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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, qword [rsp + 0xa0]
xor ebx, ebx
imul r13d, edx, 0x348
mov r15d, edx
movaps xmmword [rsp + 0x40], xmm6
mov r12, rcx
movaps xmmword [rsp + 0x30], xmm7
mov esi, edx
cmp edx, r13d
ja 0x180058d0c
movss xmm7, dword [0x1800821e0]
movabs rax, 0x4014000000000000
cmp esi, 0x8be6
ja 0x180058c97
je 0x180058c90
cmp esi, 0x1132
ja 0x180058c25
je case.0x180058d45.0
cmp esi, 0x3e
je 0x180058bde
cmp esi, 0x4a
je 0x180058bb4
cmp esi, 0xfe
jne 0x180058cfd
mov rdi, rbx
jmp 0x180058cfd
mov rcx, qword [0x18008a548]
xor edx, edx
mov eax, dword [r12]
xor r9d, r9d
xor r8d, r8d
or dword [rcx + 0x28], eax
lea ecx, [rdx + 0x56]
call fcn.18002ec10
mov dword [rsp + 0xa0], eax
jmp 0x180058cfd
mov rbp, r12
mov r14d, 9
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
divss xmm6, xmm7
movss dword [rbp], xmm6
add rbp, 4
sub r14, 1
jne 0x180058be7
mov qword [rsp + 0xa0], r12
jmp 0x180058cfd
cmp esi, 0x1486
je case.0x180058d45.0
cmp esi, 0x4672
jne 0x180058cfd
lea rax, [rsp + 0x98]
mov dword [rsp + 0x98], ebx
lea r9, [0x18007995a]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xa8]
mov qword [rsp + 0xa8], 0x5060
xor edx, edx
mov ecx, 0xe2
call fcn.180049aa0
mov rdi, rax
test rax, rax
je 0x180058d47
mov dword [rax + 0x10], 0xffffffff
mov dword [rax + 8], ebx
jmp 0x180058cfd
mov dword [rdi + 0xc], ebx
mov dword [rdi], ebx
jmp 0x180058cfd
cmp esi, 0xd15a
je 0x180058cec
cmp esi, 0x116ce
je 0x180058ce0
cmp esi, 0x15c42
je 0x180058ccc
cmp esi, 0x1a1b6
je 0x180058cc4
cmp esi, 0x1e72a
jne 0x180058cfd
mov dword [rdi + 0x5c], ebx
jmp 0x180058cfd
mov dword [rdi + 0x58], ebx
mov dword [rdi + 0x64], ebx
jmp 0x180058cfd
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x30], rbx
mov dword [rdi + 0x38], ebx
mov dword [rdi + 0x3c], 0xa
jmp 0x180058cfd
mov dword [rdi + 0x14], 0xffffffff
mov dword [rdi + 0x40], ebx
jmp 0x180058cfd
mov dword [rdi + 4], ebx
mov dword [rdi + 0x18], 0xffffffff
mov dword [rdi + 0x28], 3
imul eax, r15d, 0x46
add esi, eax
cmp esi, r13d
jbe 0x180058b68
lea r8d, [r15 - 0xc]
cmp r15d, r8d
jbe case.0x180058d45.0
lea edx, [r15 - 0xf3]
movabs r10, 0x3ff0000000000000
lea r9, [0x180000000]
cmp edx, 0xb
ja case.default.0x180058d45
mov ecx, dword [r9 + rdx*4 + 0x58e78]
add rcx, r9
jmp rcx
mov rax, rbx
jmp 0x180058e53
mov dword [rdi + 0x70], 2
mov dword [rdi + 0x84], ebx
jmp case.default.0x180058d45
mov qword [rdi + 0xa0], r10
mov dword [rdi + 0x20], ebx
mov dword [rdi + 0x24], 0xffffffff
jmp case.default.0x180058d45
mov dword [rdi + 0xf0], ebx
mov qword [rdi + 0x1f80], rbx
jmp case.default.0x180058d45
mov dword [rdi + 0x88], 2
mov dword [rdi + 0x44], ebx
jmp case.default.0x180058d45
mov qword [rdi + 0x90], r10
mov qword [rdi + 0x98], r10
jmp case.default.0x180058d45
mov qword [rdi + 0x1f88], rbx
mov qword [rdi + 0x1f90], rbx
mov dword [rdi + 0x12f8], ebx
jmp case.default.0x180058d45
mov dword [rdi + 0x60], 1
mov dword [rdi + 0x68], ebx
mov dword [rdi + 0x1c], ebx
jmp case.default.0x180058d45
mov dword [rdi + 0xec], ebx
mov dword [rdi + 0x5020], ebx
jmp case.default.0x180058d45
mov qword [rdi + 0x1fb0], rbx
mov qword [rdi + 0x1fb8], rbx
mov qword [rdi + 0x1fc0], rbx
jmp case.default.0x180058d45
mov dword [rdi + 0x6c], ebx
jmp case.default.0x180058d45
mov qword [rdi + 0x1fc8], rbx
xorps xmm0, xmm0
mov qword [rdi + 0x1fd0], rbx
xor eax, eax
movups xmmword [rdi + 0x5024], xmm0
mov qword [rsp + 0xa0], rdi
movups xmmword [rdi + 0x5034], xmm0
movups xmmword [rdi + 0x5044], xmm0
mov qword [rdi + 0x5054], rax
mov dword [rdi + 0x505c], eax
dec edx
lea eax, [rdx + 0xf3]
cmp eax, r8d
ja 0x180058d31
mov rax, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret