Function at 0x140005190
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor edi, edi
xor r13d, r13d
xor esi, esi
mov qword [rsp + 0x90], rdi
xor r12d, r12d
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x80], rsi
call fcn.140005610
mov rbx, rax
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400051ef
movsxd rdx, dword [rbx + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x1400051ef
cmp dword [rdx + rbx], 0x4550
je 0x1400051f4
dec rbx
jmp 0x1400051d0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 0x18]
mov r15, qword [rcx + 0x20]
mov qword [rsp + 0x88], r15
test r15, r15
je 0x1400053ce
mov ebp, 0xffff
mov rbx, qword [r15 + 0x50]
xor eax, eax
movzx edi, word [r15 + 0x48]
nop dword [rax + rax]
mov ecx, eax
call fcn.140005660
movzx ecx, byte [rbx]
mov eax, eax
cmp cl, 0x61
jb 0x140005245
add rax, 0xffffffffffffffe0
add rax, rcx
inc rbx
add di, bp
jne 0x140005230
cmp eax, 0x6a4abc5b
jne 0x140005304
mov rbx, qword [r15 + 0x20]
mov esi, 3
movsxd rax, dword [rbx + 0x3c]
mov r14d, dword [rax + rbx + 0x88]
mov edi, dword [r14 + rbx + 0x20]
mov ebp, dword [r14 + rbx + 0x24]
add rdi, rbx
add rbp, rbx
mov ecx, dword [rdi]
add rcx, rbx
call fcn.140005620
cmp eax, 0xec0e4e8e
je 0x14000529f
cmp eax, 0x7c0dfcaa
je 0x14000529f
cmp eax, 0x91afca54
jne 0x1400052ea
mov edx, dword [r14 + rbx + 0x1c]
movzx r8d, word [rbp]
add rdx, rbx
cmp eax, 0xec0e4e8e
jne 0x1400052c4
mov r15d, dword [rdx + r8*4]
add r15, rbx
mov qword [rsp + 0x90], r15
jmp 0x1400052e2
cmp eax, 0x7c0dfcaa
jne 0x1400052d4
mov r12d, dword [rdx + r8*4]
add r12, rbx
jmp 0x1400052e2
cmp eax, 0x91afca54
jne 0x1400052e2
mov r13d, dword [rdx + r8*4]
add r13, rbx
mov eax, 0xffff
add si, ax
add rdi, 4
add rbp, 2
test si, si
jne 0x140005280
mov qword [rsp + 0x98], r13
jmp 0x140005384
cmp eax, 0x3cfa685d
jne 0x140005399
mov rsi, qword [r15 + 0x20]
mov ebp, 1
mov r13d, 0xffff
movsxd rax, dword [rsi + 0x3c]
mov r14d, dword [rax + rsi + 0x88]
mov ebx, dword [r14 + rsi + 0x20]
mov edi, dword [r14 + rsi + 0x24]
add rbx, rsi
add rdi, rsi
nop word [rax + rax]
mov ecx, dword [rbx]
add rcx, rsi
call fcn.140005620
cmp eax, 0x534c0ab8
jne 0x14000536f
mov ecx, dword [r14 + rsi + 0x1c]
movzx edx, word [rdi]
add rcx, rsi
mov r15d, dword [rcx + rdx*4]
add r15, rsi
mov qword [rsp + 0x80], r15
add bp, r13w
add rbx, 4
add rdi, 2
test bp, bp
jne 0x140005340
mov r13, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x80]
mov ebp, 0xffff
mov r15, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x1400053b5
test r12, r12
je 0x1400053b5
test r13, r13
je 0x1400053b5
test rsi, rsi
jne 0x1400053c9
mov r15, qword [r15]
mov qword [rsp + 0x88], r15
test r15, r15
jne 0x140005220
mov rbx, qword [rsp + 0x20]
movsxd r15, dword [rbx + 0x3c]
xor ecx, ecx
add r15, rbx
mov r8d, 0x3000
lea r9d, [rcx + 0x40]
mov edx, dword [r15 + 0x50]
call r13
mov edx, dword [r15 + 0x54]
mov r14, rax
mov r8, rbx
mov r9, rax
test rdx, rdx
je 0x140005415
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
mov byte [r9], cl
lea r9, [r9 + 1]
sub rdx, 1
jne 0x140005400
movzx r10d, word [r15 + 6]
movzx eax, word [r15 + 0x14]
test r10, r10
je 0x14000546b
lea r9, [r15 + 0x2c]
add r9, rax
nop dword [rax + rax]
mov ecx, dword [r9 - 8]
dec r10
mov edx, dword [r9]
add rcx, r14
mov r8d, dword [r9 - 4]
add rdx, rbx
test r8, r8
je 0x140005462
nop dword [rax]
movzx eax, byte [rdx]
inc rdx
mov byte [rcx], al
lea rcx, [rcx + 1]
sub r8, 1
jne 0x140005450
add r9, 0x28
test r10, r10
jne 0x140005430
mov ebp, dword [r15 + 0x90]
add rbp, r14
cmp dword [rbp + 0xc], 0
je 0x140005514
nop
mov ecx, dword [rbp + 0xc]
add rcx, r14
call rdi
mov ebx, dword [rbp + 0x10]
mov rsi, rax
mov edi, dword [rbp]
add rbx, r14
add rdi, r14
cmp qword [rbx], 0
je 0x1400054fe
nop dword [rax]
test rdi, rdi
je 0x1400054d8
mov rdx, qword [rdi]
test rdx, rdx
jns 0x1400054d8
movsxd rax, dword [rsi + 0x3c]
movzx edx, dx
mov ecx, dword [rax + rsi + 0x88]
mov eax, dword [rcx + rsi + 0x10]
mov ecx, dword [rcx + rsi + 0x1c]
sub rdx, rax
add rcx, rsi
mov eax, dword [rcx + rdx*4]
add rax, rsi
mov qword [rbx], rax
add rbx, 8
jmp 0x1400054f4
mov rdx, qword [rbx]
mov rcx, rsi
add rdx, 2
add rdx, r14
call r12
mov qword [rbx], rax
add rbx, 8
test rdi, rdi
je 0x1400054f8
add rdi, 8
cmp qword [rbx], 0
jne 0x1400054a0
mov rdi, qword [rsp + 0x90]
add rbp, 0x14
cmp dword [rbp + 0xc], 0
jne 0x140005480
mov r9, r14
sub r9, qword [r15 + 0x30]
cmp dword [r15 + 0xb4], 0
je 0x1400055d9
mov ebx, dword [r15 + 0xb0]
add rbx, r14
mov eax, dword [rbx + 4]
test eax, eax
je 0x1400055d9
nop
mov r8d, dword [rbx]
lea r11, [rbx + 8]
mov r10d, eax
add r8, r14
sub r10, 8
shr r10, 1
je 0x1400055c8
nop word [rax + rax]
movzx edx, word [r11]
dec r10
movzx ecx, dx
movzx eax, dx
shr cx, 0xc
cmp cx, 0xa
jne 0x140005583
and edx, 0xfff
add qword [rdx + r8], r9
jmp 0x1400055bf
cmp cx, 3
jne 0x140005594
and eax, 0xfff
add dword [rax + r8], r9d
jmp 0x1400055bf
cmp cx, 1
jne 0x1400055af
and eax, 0xfff
lea rcx, [rax + r8]
mov rax, r9
shr rax, 0x10
add word [rcx], ax
jmp 0x1400055bf
cmp cx, 2
jne 0x1400055bf
and eax, 0xfff
add word [rax + r8], r9w
add r11, 2
test r10, r10
jne 0x140005560
mov eax, dword [rbx + 4]
add rbx, rax
mov eax, dword [rbx + 4]
test eax, eax
jne 0x140005540
mov ebx, dword [r15 + 0x28]
xor edx, edx
xor r8d, r8d
add rbx, r14
lea rcx, [rdx - 1]
call qword [rsp + 0x80]
xor r8d, r8d
mov rcx, r14
lea edx, [r8 + 1]
call rbx
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret