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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov r10d, dword [rbp + 0x6f]
xor esi, esi
mov r13, qword [rbp + 0x7f]
mov rbx, rcx
mov r15, qword [rbp + 0x77]
mov r14, rdx
mov ecx, 0x201
mov qword [rbp + 0x47], rsi
mov r12d, 0x60
mov rax, qword [r13 + 0x2f0]
mov qword [rsp + 0x40], rax
lea eax, [r10 - 0x3000]
test eax, 0xffffefff
sete al
test al, al
mov byte [rbp + 0x6f], al
mov rax, qword [r15]
cmovne r12d, ecx
xor edx, edx
mov r9d, r12d
xor r8d, r8d
mov rcx, qword [rax]
mov qword [rbp - 0x79], rdx
mov qword [rbp - 0x69], rdx
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
lea edx, [rsi + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov qword [rbp - 0x59], rcx
mov dword [rbp - 0x75], r10d
mov qword [rbp - 0x71], rbx
mov dword [rbp - 0x69], esi
call fcn.180030ed0
mov edi, dword [rbp + 0x7f]
mov qword [rsp + 0x70], rax
test edi, edi
je 0x180058a1a
mov rcx, qword [rbp - 0x59]
mov rdx, rax
call fcn.180030dc0
mov edi, dword [rbp + 0x7f]
mov eax, esi
mov qword [rsp + 0x70], rax
jmp 0x180058a23
mov dword [rbp - 0x79], r12d
mov qword [rsp + 0x78], rax
test edi, edi
jne 0x180058e9c
xor edx, edx
mov r8d, 0xbc
mov rcx, rbx
call fcn.180024cd0
cmp byte [rbp + 0x6f], sil
mov eax, 0x30
mov ecx, 0x201
mov dword [rbx + 0x20], 0xff9c0000
cmovne eax, ecx
mov dword [rbx + 0x24], 0x320000
mov dword [rbx + 0xb8], eax
mov dword [rbx + 0x2c], 2
mov dword [rbx + 0x30], 0x10000
mov dword [rbx + 0x3c], 0x10000
mov dword [rbx + 0x9c], 0x2210
mov dword [rbx], 0xffff
mov dword [rbx + 4], 0xffff
mov dword [rbx + 8], 0xffff
mov dword [rbx + 0xc], 0xffff
mov dword [rbx + 0x10], 0xffff
mov dword [rbx + 0x14], 0xffff
mov dword [rbx + 0x80], 0xffff
mov dword [rbx + 0x84], 0xffff
mov dword [rbx + 0x88], 0xffff
mov dword [rbx + 0xac], 0xffff
cmp dword [r14 + 0x10], esi
je 0x180058af8
mov edx, dword [rbp + 0x57]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x47]
mov rcx, r14
call fcn.180056b20
mov r12, qword [rbp + 0x5f]
mov edi, eax
test eax, eax
jne 0x180058b46
mov eax, dword [rbp + 0x7f]
jmp 0x180058b30
mov r12, qword [rbp + 0x5f]
mov edx, dword [r14 + 0x18]
mov rcx, r12
call fcn.18002ea10
mov edi, eax
test eax, eax
jne 0x180058e97
mov edx, dword [r14 + 0x1c]
lea r8, [rbp + 0x47]
mov rcx, r12
call fcn.18002df80
mov edi, eax
test eax, eax
jne 0x180058e97
mov eax, dword [r14 + 0x1c]
mov rdx, qword [rbp + 0x47]
lea rcx, [rsp + 0x50]
mov r8d, eax
add r8, rdx
call fcn.180057ad0
mov edi, eax
cmp dword [r14 + 0x10], esi
je 0x180058b57
cmp qword [r14 + 0x28], rsi
jne 0x180058b63
mov rcx, qword [r14]
jmp 0x180058b5a
mov rcx, r12
lea rdx, [rbp + 0x47]
call fcn.18002e9d0
test edi, edi
jne 0x180058e97
cmp dword [rbx + 0x84], 0xffff
jne 0x180058e97
mov r12, qword [r15 + 8]
lea r14, [rbx + 0xc0]
mov qword [rbx + 0x240], r15
mov edi, esi
mov byte [rbx + 0x239], sil
mov r15d, 1
cmp dword [rbx + 0x74], esi
je 0x180058cf7
cmp dword [rbx + 0x78], esi
je 0x180058cf7
xor edx, edx
mov r8d, 0x178
mov rcx, r14
call fcn.180024cd0
mov r8, qword [rbp + 0x77]
mov dword [r14 + 0xc8], 7
mov dword [r14 + 0xcc], r15d
mov dword [r14 + 0x14c], 0xffffffff
mov dword [r14 + 0x154], 0xf5c
mov dword [r14 + 0xc4], 0x27a000
mov qword [r14 + 0x170], rbx
mov dword [rbx + 0x268], esi
mov qword [rbx + 0x270], rsi
movzx eax, byte [r8 + 0x2c]
test al, al
je 0x180058c1d
mov ecx, dword [r8 + 0x698]
inc ecx
jmp 0x180058c22
mov ecx, 0x61
test al, al
mov edx, 0x2000
movzx eax, word [rbx + 0xb2]
mov r9d, 0x5000
mov word [rsp + 0x30], ax
cmovne edx, r9d
movzx eax, word [rbx + 0xb0]
mov r9, qword [r8]
mov r8, r14
mov word [rsp + 0x28], ax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x49]
call fcn.180057a00
test eax, eax
jne 0x180058cd3
mov rax, qword [rbp + 0x77]
mov rcx, r12
mov edx, dword [rax + 0x18]
add edx, dword [rbx + 0x74]
call fcn.18002ea10
mov edi, eax
test eax, eax
jne 0x180058cd3
mov edx, dword [rbx + 0x78]
mov rcx, r12
call fcn.18002de10
mov edi, eax
test eax, eax
jne 0x180058cd3
mov r8, qword [r12 + 0x40]
lea rcx, [rbp - 0x49]
mov rdx, qword [r12 + 0x38]
call fcn.180057ad0
mov rcx, r12
mov edi, eax
call fcn.18002df30
test edi, edi
jne 0x180058cd3
and byte [r14], 0xfe
mov eax, dword [r14 + 0x158]
test eax, eax
jns 0x180058cc6
neg eax
mov dword [r14 + 0x158], eax
jmp 0x180058cd3
jne 0x180058cd3
mov dword [r14 + 0x158], 0x3ade68b1
mov rcx, qword [rbp - 0x49]
mov rax, qword [rbx + 0x278]
mov rdx, qword [rbp - 0x29]
mov qword [rbx + 0x280], rax
mov dword [rbx + 0x288], esi
mov rcx, qword [rcx]
call fcn.180030dc0
test edi, edi
jne 0x180058e97
cmp byte [rbp + 0x6f], sil
jne 0x180058d99
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 0x5c]
cmp ecx, 0xffffffff
jne 0x180058d47
mov r14, qword [r13 + 0x90]
mov eax, dword [r14 + 0x60]
mov dword [rbx + 0x2c8], eax
cmp dword [r14 + 0x60], esi
je 0x180058d85
mov r12, qword [rsp + 0x40]
mov ecx, dword [r14 + 0x60]
call qword [r12 + 0x28]
mov dword [r14 + 0x60], eax
test eax, eax
js 0x180058d34
jmp 0x180058d85
mov dword [rbx + 0x2c8], ecx
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], esi
je 0x180058d85
mov r12, qword [rsp + 0x40]
nop
mov rax, qword [r13 + 0xd0]
mov ecx, dword [rax + 0x5c]
call qword [r12 + 0x28]
mov rcx, qword [r13 + 0xd0]
mov dword [rcx + 0x5c], eax
mov rax, qword [r13 + 0xd0]
cmp dword [rax + 0x5c], esi
jl 0x180058d60
cmp dword [rbx + 0x2c8], esi
jne 0x180058d99
mov eax, dword [rbx + 0x218]
mov dword [rbx + 0x2c8], eax
mov ecx, dword [rbx + 0x21c]
test ecx, ecx
je 0x180058e97
mov edx, dword [rbp + 0x67]
mov r12, qword [rbp + 0x5f]
add edx, ecx
add edx, dword [rbx + 0x74]
mov rcx, r12
call fcn.18002ea10
mov edi, eax
test eax, eax
jne 0x180058e97
movzx r9d, byte [rbp + 0x6f]
lea r14, [rbx + 0x290]
mov rcx, r14
movzx r8d, r15b
mov rdx, r12
call fcn.180057020
mov edi, eax
test eax, eax
jne 0x180058e97
mov rax, qword [r14]
mov edi, esi
mov dword [rbp + 0x6f], esi
mov r12, qword [rax + 0x30]
mov qword [rbx + 0x2c0], rsi
cmp qword [r14 + 0x20], rsi
jne 0x180058e18
mov rcx, r14
call fcn.1800571d0
mov dword [rbp + 0x6f], eax
mov edi, eax
test eax, eax
jne 0x180058e97
mov r9d, dword [r14 + 0x10]
test r9d, r9d
je 0x180058e97
xor r8d, r8d
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
inc r9d
mov rcx, r12
mov qword [rsp + 0x20], rsi
lea edx, [r8 + 8]
call fcn.180030ed0
mov edi, dword [rbp + 0x6f]
mov r8, rax
test edi, edi
jne 0x180058e97
mov r9, qword [r14 + 0x28]
mov ecx, esi
add rcx, r9
mov qword [rax], rcx
cmp dword [r14 + 0x10], r15d
jb 0x180058e8d
nop dword [rax]
mov rax, qword [r14 + 0x20]
mov edx, r15d
mov ecx, dword [rax + rdx*4]
dec ecx
cmp ecx, esi
jb 0x180058e7b
cmp ecx, dword [r14 + 0x1c]
cmova ecx, dword [r14 + 0x1c]
mov esi, ecx
mov eax, esi
inc r15d
add rax, r9
mov qword [r8 + rdx*8], rax
cmp r15d, dword [r14 + 0x10]
jbe 0x180058e60
mov edi, dword [rbp + 0x6f]
mov qword [rbx + 0x2c0], r8
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.180030dc0
mov rbx, qword [rsp + 0x148]
mov eax, edi
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret