Function at 0x140058004
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rsi, rcx
lea rcx, [0x1400aa0ac]
call fcn.14006b31c
lea rdx, [rbp - 0x80]
mov qword [rsi + 0x2d8], rax
lea rcx, [0x1400aa0c6]
call fcn.14006b5e0
lea rbx, [rsi + 0x2e8]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.14006c1c8
xor r12d, r12d
test eax, eax
jne 0x1400584e2
mov rcx, qword [rbx]
call fcn.14006bc6c
mov r8, qword [rbx]
lea rcx, [rbp - 0x80]
mov rdx, rax
mov qword [rsi + 0x2e0], rax
call fcn.14006c10c
test eax, eax
jne 0x1400584fe
lea rdx, [0x1400aa23c]
lea rcx, [0x1400aa230]
call fcn.14006f510
mov qword [rsi + 0x300], rax
test rax, rax
je 0x140058518
movsxd rdx, dword [rbx]
lea r8, [0x1400aa2c4]
mov rcx, qword [rsi + 0x2e0]
xor r9d, r9d
call fcn.14006a8d4
mov rdi, rax
test eax, eax
jne 0x140058112
movsxd rdx, dword [rbx]
lea r8, [0x1400aa34e]
mov rcx, qword [rsi + 0x2e0]
xor r9d, r9d
call fcn.14006a8d4
mov edi, eax
test eax, eax
jne 0x140058112
movsxd rdx, dword [rbx]
lea r8, [0x1400aa3f0]
mov rcx, qword [rsi + 0x2e0]
xor r9d, r9d
call fcn.14006a8d4
mov edi, eax
test eax, eax
je 0x140058532
mov byte [rsp + 0x30], 0x48
mov ebx, r12d
mov byte [rsp + 0x31], 0x8b
mov r13d, 0xf
mov byte [rsp + 0x32], 0xc4
mov byte [rsp + 0x33], 0x48
mov byte [rsp + 0x34], 0x89
mov byte [rsp + 0x35], 0x58
mov byte [rsp + 0x36], 8
mov byte [rsp + 0x37], 0x48
mov byte [rsp + 0x38], 0x89
mov byte [rsp + 0x39], 0x70
mov byte [rsp + 0x3a], 0x10
mov byte [rsp + 0x3b], 0x48
mov byte [rsp + 0x3c], 0x89
mov byte [rsp + 0x3d], 0x78
mov byte [rsp + 0x3e], 0x18
mov byte [rsp + 0x40], 0x4c
mov byte [rsp + 0x41], 0x8b
mov byte [rsp + 0x42], 0xdc
mov byte [rsp + 0x43], 0x49
mov byte [rsp + 0x44], 0x89
mov byte [rsp + 0x45], 0x5b
mov byte [rsp + 0x46], 8
mov byte [rsp + 0x47], 0x49
mov byte [rsp + 0x48], 0x89
mov byte [rsp + 0x49], 0x73
mov byte [rsp + 0x4a], 0x10
mov byte [rsp + 0x4b], 0x49
mov byte [rsp + 0x4c], 0x89
mov byte [rsp + 0x4d], 0x7b
mov byte [rsp + 0x4e], 0x18
movsxd r15, edi
movsxd r14, ebx
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8, r13
sub rcx, r14
add rcx, qword [rsi + 0x2e0]
call sub.ntdll.dll_memcmp
test eax, eax
je 0x140058202
mov rcx, r15
lea rdx, [rsp + 0x40]
sub rcx, r14
mov r8, r13
add rcx, qword [rsi + 0x2e0]
call sub.ntdll.dll_memcmp
test eax, eax
je 0x140058202
inc ebx
cmp ebx, 0x80
jl 0x1400581b4
jmp 0x14005854c
sub edi, ebx
cmp edi, 0xffffffff
je 0x14005854c
mov rcx, qword [rsi + 0x2e0]
mov edx, edi
call fcn.14006f5b8
mov r14d, eax
mov ebx, r12d
add r14, qword [rsi + 0x2d8]
mov r13d, 0xc
mov qword [rsi + 0x308], r14
and r14d, 0xfff
mov byte [rsp + 0x20], 0x48
mov byte [rsp + 0x21], 0xb8
mov byte [rsp + 0x22], r12b
mov byte [rsp + 0x23], r12b
mov byte [rsp + 0x24], r12b
mov byte [rsp + 0x25], r12b
mov byte [rsp + 0x26], r12b
mov byte [rsp + 0x27], r12b
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x29], r12b
mov byte [rsp + 0x2a], 0xff
mov byte [rsp + 0x2b], 0xe0
mov qword [rsi + 0xa8], 2
movsxd r15, edi
mov ecx, ebx
lea rdx, [rsp + 0x50]
add rcx, r15
add rcx, qword [rsi + 0x2e0]
call section..text
test al, al
je 0x1400584c8
test dword [rsp + 0x72], 0x1000
jne 0x1400584c8
movzx eax, al
add ebx, eax
cmp ebx, r13d
jb 0x140058286
mov ecx, ebx
mov dword [rsi + 0xa0], ebx
call fcn.14006bc6c
mov r8, r13
mov qword [rsi + 0x98], rax
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.ntdll.dll_memcpy
mov r8d, dword [rsi + 0xa0]
mov edx, 0xcc
mov rcx, qword [rsi + 0x98]
sub r8, r13
add rcx, r13
call sub.ntdll.dll_memset
xor eax, eax
lea rdi, [rsp + 0x20]
mov rcx, r13
rep stosb byte [rdi], al
mov ecx, dword [rsi + 0xa0]
lea r13d, [rax + 1]
add rcx, r13
call fcn.14006bc6c
mov r8d, dword [rsi + 0xa0]
mov rcx, rax
and ecx, 0xfff
mov qword [rsi + 0x88], rax
cmp rcx, r14
mov rdx, r12
sete dl
lea rcx, [rdx + rax]
mov rdx, qword [rsi + 0x2e0]
add rdx, r15
mov qword [rsi + 0x90], rcx
call sub.ntdll.dll_memcpy
mov r14d, 0xa079
mov ecx, r14d
call fcn.14006bc6c
mov r8d, r14d
lea rdx, [0x1400c6260]
mov rcx, rax
mov rbx, rax
call sub.ntdll.dll_memcpy
mov edx, r14d
mov rcx, rbx
call fcn.14000d0a0
lea r8, [rbp + 0x1d0]
mov rcx, rbx
lea rdx, [rbp + 0x1d8]
call fcn.14000d148
xor eax, eax
mov ecx, r14d
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call fcn.14006c344
mov r15, qword [rbp + 0x1d8]
lea r9d, [r13 + 0x3f]
xor ecx, ecx
mov r8d, 0x1000
movsxd rbx, dword [r15 + 0x3c]
add rbx, r15
mov edx, dword [rbx + 0x50]
add rdx, 0xfff
and rdx, 0xfffffffffffff000
mov qword [rsi + 0x2f8], rdx
call fcn.14000bd38
mov qword [rsi + 0x2f0], rax
test rax, rax
je 0x140058566
mov r8, qword [rsi + 0x2f8]
xor edx, edx
mov rcx, rax
call sub.ntdll.dll_memset
mov r8d, dword [rbx + 0x54]
mov rdx, r15
mov rcx, qword [rsi + 0x2f0]
call sub.ntdll.dll_memcpy
movzx edi, word [rbx + 0x14]
movzx r14d, r12w
add rdi, rbx
cmp r12w, word [rbx + 6]
jae 0x140058458
movzx eax, r14w
lea rcx, [rax + rax*4]
mov edx, dword [rdi + rcx*8 + 0x2c]
mov r8d, dword [rdi + rcx*8 + 0x28]
add rdx, r15
mov ecx, dword [rdi + rcx*8 + 0x24]
add rcx, qword [rsi + 0x2f0]
call sub.ntdll.dll_memcpy
add r14w, r13w
cmp r14w, word [rbx + 6]
jb 0x140058429
mov ecx, dword [rbp + 0x1d0]
xor eax, eax
mov rdi, r15
rep stosb byte [rdi], al
mov rcx, r15
call fcn.14006c344
mov rdx, qword [rsi + 0x308]
mov rcx, rsi
call fcn.140057b68
mov qword [rsi + 0x310], rax
test rax, rax
je 0x140058580
cmp byte [rsi + 0x80], r12b
je 0x1400584ad
mov rcx, rsi
call fcn.140054e6c
mov rcx, rsi
call fcn.140054fd4
mov rcx, rsi
call fcn.140054874
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400aa568]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
mov edx, eax
lea rcx, [0x1400aa0e0]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa154]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa26a]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa48c]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa4fa]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa5d4]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3
lea rcx, [0x1400aa61e]
call fcn.14006c358
mov rcx, rsi
call fcn.1400558f4
call fcn.140070504
int3