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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov eax, dword [rsp + 0xf0]
inc eax
test eax, eax
jne 0x1400581c1
mov dword [rsp + 0x30], 1
jmp 0x1400581c9
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
cmp dword [rsp + 0xf0], 0
jbe 0x140058239
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140058239
mov eax, dword [rsp + 0xf0]
inc eax
mov dword [rsp + 0x34], eax
mov ecx, 4
imul rcx, rcx, 2
mov edx, 4
imul rdx, rdx, 1
mov r8, qword [rsp + 0xe0]
mov r8d, dword [r8 + rcx]
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rcx + rdx]
lea rcx, [rsp + 0x68]
call fcn.14005c140
mov ecx, dword [rsp + 0x34]
mov edx, ecx
mov rcx, rax
call fcn.14005d5f0
mov dword [rsp + 0x24], eax
jmp 0x1400582a2
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14005825c
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x1400582a2
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov r8d, dword [rdx + rax]
mov rax, qword [rsp + 0xe0]
mov edx, dword [rax + rcx]
lea rcx, [rsp + 0x70]
call fcn.14005c140
mov edx, dword [rsp + 0xe8]
mov rcx, rax
call fcn.14005d5f0
mov dword [rsp + 0x24], eax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0xe8]
lea rcx, [rsp + 0x48]
call fcn.14005fb60
lea rcx, [rsp + 0x48]
call fcn.14005f120
mov dword [rsp + 0x38], eax
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rdx + rcx]
mov edx, ecx
lea rcx, [rsp + 0x78]
call fcn.14005c190
mov ecx, dword [rsp + 0x38]
mov r8d, ecx
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14005d390
lea rcx, [rsp + 0x28]
call fcn.14005f120
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
mov r8d, dword [rsp + 0x24]
mov edx, dword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
call fcn.14005fb60
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x28]
call fcn.14005f0c0
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x48]
call fcn.14005f080
mov dword [rsp + 0x3c], eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rdx + rcx]
mov edx, ecx
lea rcx, [rsp + 0x88]
call fcn.14005c190
mov ecx, dword [rsp + 0x3c]
mov r8d, ecx
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.14005d390
mov ecx, dword [rsp + 0x40]
mov r8d, ecx
lea rdx, [rsp + 0x98]
mov rcx, rax
call fcn.14005d390
mov rcx, qword [rsp + 0x50]
mov r8, qword [rcx]
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.14005d3e0
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.14005f120
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14005f080
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x58]
add eax, dword [rcx + rdx]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0xe0]
cmp dword [rcx + rax], 0
jne 0x140058493
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
cmp dword [rcx + rax], edx
ja 0x140058493
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xf0]
cmp dword [rcx + rax], edx
jne 0x1400585c5
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov edx, dword [rsp + 0xe8]
cmp dword [rcx + rax], edx
jb 0x1400585c5
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xe0]
mov eax, dword [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xa8]
call fcn.14005c190
mov r8d, dword [rsp + 0xe8]
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.14005d390
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.14005f120
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
lea rcx, [rsp + 0x28]
call fcn.14005f0c0
mov dword [rsp + 0x44], eax
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rdx + rcx]
mov edx, ecx
lea rcx, [rsp + 0xb8]
call fcn.14005c190
mov r8d, dword [rsp + 0xf0]
lea rdx, [rsp + 0xc0]
mov rcx, rax
call fcn.14005d390
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
lea rdx, [rsp + 0xc8]
mov rcx, rax
call fcn.14005d390
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.14005f120
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x28]
call fcn.14005f080
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x60]
add eax, dword [rcx + rdx]
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x14005841d
mov eax, dword [rsp + 0x24]
add rsp, 0xd8
ret