Function at 0x180005260
Capabilities:
Access peb ldr_data
Inspect section memory permissions
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
xor eax, eax
mov edi, 4
xor r12d, r12d
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x21]
mov qword [rbp - 9], rax
xor eax, eax
xor r14d, r14d
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 1], rax
xor eax, eax
mov dword [rbp - 0x21], 0xd33d4aed
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x39]
mov qword [rbp + 7], rax
xor eax, eax
mov dword [rbp - 0x1d], 6
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x69]
mov dword [rbp - 0x51], 0xbc3f4d89
mov dword [rbp - 0x4d], 5
mov dword [rbp - 0x39], 0x534d8ae8
mov qword [rbp + 0xf], rax
mov dword [rbp - 0x35], 3
mov dword [rbp - 0x69], 0x8169adc3
mov dword [rbp - 0x65], edi
xor r13d, r13d
call fcn.180005250
mov r15, rax
mov eax, 0x5a4d
cmp word [r15], ax
jne 0x180005331
movsxd rdx, dword [r15 + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x180005331
cmp dword [rdx + r15], 0x4550
je 0x180005336
dec r15
jmp 0x180005310
mov rax, qword gs:[0x60]
mov qword [rbp - 0x79], r15
mov ebx, 2
mov qword [rbp + 0x77], rax
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x77], rax
mov rsi, qword [rax + 0x20]
test rsi, rsi
je 0x180005482
mov r9d, 0xffff
nop word [rax + rax]
mov rdx, qword [rsi + 0x50]
xor ecx, ecx
mov qword [rbp + 0x6f], rdx
movzx r8d, word [rsi + 0x48]
nop
ror ecx, 0xd
movzx eax, byte [rdx]
cmp al, 0x61
jb 0x180005394
movzx eax, al
sub eax, 0x20
cdqe
jmp 0x180005397
movzx eax, al
inc rdx
add rcx, rax
mov qword [rbp + 0x6f], rdx
add r8w, r9w
jne 0x180005380
cmp ecx, 0x6a4abc5b
jne 0x180005457
mov r9, qword [rsi + 0x20]
mov r15d, 0xffff
mov qword [rbp + 0x77], r9
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
mov r10d, dword [rdi + r9 + 0x20]
mov r11d, dword [rdi + r9 + 0x24]
add r10, r9
add r11, r9
nop dword [rax]
mov edx, dword [r10]
add rdx, r9
xor eax, eax
movzx ecx, byte [rdx]
nop dword [rax + rax]
ror eax, 0xd
movsx ecx, cl
lea rdx, [rdx + 1]
add eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x1800053f0
cmp eax, 0xec0e4e8e
je 0x180005411
cmp eax, 0x7c0dfcaa
jne 0x180005440
mov ecx, dword [rdi + r9 + 0x1c]
movzx r8d, word [r11]
lea rdx, [r9 + rcx]
cmp eax, 0xec0e4e8e
jne 0x18000542e
mov r12d, dword [rdx + r8*4]
add r12, r9
jmp 0x18000543c
cmp eax, 0x7c0dfcaa
jne 0x18000543c
mov r14d, dword [rdx + r8*4]
add r14, r9
add bx, r15w
add r10, 4
add r11, 2
test bx, bx
jne 0x1800053e0
mov ebx, 2
mov r9d, r15d
jmp 0x180005463
cmp ecx, 0x3cfa685d
jne 0x180005463
mov r13, qword [rsi + 0x20]
test r12, r12
je 0x18000546d
test r14, r14
jne 0x180005479
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180005370
mov r15, qword [rbp - 0x79]
mov edi, 4
lea rdx, [rbp - 9]
mov r8d, edi
mov rcx, r13
call fcn.180004eb0
test eax, eax
jne 0x18000549c
xor eax, eax
jmp 0x1800058a4
movsxd r13, dword [r15 + 0x3c]
mov dword [rsp + 0x30], edi
lea r8, [rbp + 0x77]
add r13, r15
lea rcx, [rbp - 0x21]
xor r9d, r9d
mov eax, dword [r13 + 0x50]
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x28], 0x3000
mov qword [rbp - 0x71], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x79], r13
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x77], 0
call fcn.1800050a0
test eax, eax
jne 0x180005495
lea r9, [rbp - 0x71]
lea r8, [rbp + 0x77]
lea rcx, [rbp - 0x69]
or rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], 1
call fcn.180005190
mov ecx, dword [r13 + 0x54]
mov rdx, qword [rbp + 0x77]
mov rax, r15
mov qword [rbp + 0x6f], rax
test rcx, rcx
je 0x18000553e
nop word [rax + rax]
movzx eax, byte [rax]
lea rdx, [rdx + 1]
mov byte [rdx - 1], al
mov rax, qword [rbp + 0x6f]
inc rax
mov qword [rbp + 0x6f], rax
dec rcx
jne 0x180005520
mov rdx, qword [rbp + 0x77]
movzx r10d, word [r13 + 6]
movzx eax, word [r13 + 0x14]
test r10, r10
je 0x1800055ba
lea r9, [r13 + 0x2c]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [r9 - 8]
dec r10
add rcx, rdx
mov qword [rbp + 0x6f], rcx
mov r8d, dword [r9]
mov eax, dword [r9 - 4]
add r8, r15
test rax, rax
je 0x1800055aa
nop dword [rax]
dec rax
lea r8, [r8 + 1]
mov qword [rbp + 0x7f], rax
movzx eax, byte [r8 - 1]
mov byte [rcx], al
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
inc rcx
mov qword [rbp + 0x6f], rcx
test rax, rax
jne 0x180005580
mov rdx, qword [rbp + 0x77]
dec rax
add r9, 0x28
mov qword [rbp + 0x7f], rax
test r10, r10
jne 0x180005560
lea rax, [r13 + 0x90]
mov qword [rbp + 0x6f], rax
mov esi, dword [rax]
add rsi, rdx
cmp dword [rsi], 0
je 0x180005682
movabs r15, 0x8000000000000000
nop dword [rax]
mov ecx, dword [rsi + 0xc]
add rcx, rdx
call r12
mov rdx, qword [rbp + 0x77]
mov rdi, rax
test rax, rax
je 0x180005675
mov eax, dword [rsi]
add rax, rdx
mov qword [rbp + 0x7f], rax
mov ebx, dword [rsi + 0x10]
add rbx, rdx
cmp qword [rbx], 0
je 0x180005675
nop
test rax, rax
je 0x180005642
mov r8, qword [rax]
test r15, r8
je 0x180005642
movsxd rax, dword [rdi + 0x3c]
movzx edx, r8w
mov ecx, dword [rax + rdi + 0x88]
mov eax, dword [rcx + rdi + 0x10]
mov ecx, dword [rcx + rdi + 0x1c]
add rcx, rdi
sub rdx, rax
mov eax, dword [rcx + rdx*4]
add rax, rdi
jmp 0x180005653
add rdx, qword [rbx]
mov rcx, rdi
mov qword [rbp + 0x6f], rdx
add rdx, 2
call r14
mov qword [rbx], rax
mov rax, qword [rbp + 0x7f]
add rbx, 8
test rax, rax
je 0x18000566b
add rax, 8
mov qword [rbp + 0x7f], rax
cmp qword [rbx], 0
mov rdx, qword [rbp + 0x77]
jne 0x180005610
add rsi, 0x14
cmp dword [rsi], 0
jne 0x1800055e0
lea rax, [r13 + 0xb0]
mov r9, rdx
sub r9, qword [r13 + 0x30]
mov qword [rbp + 0x6f], rax
mov ecx, dword [rax + 4]
test ecx, ecx
je 0x180005765
mov r10d, dword [rax]
mov r11d, ecx
add r10, rdx
test ecx, ecx
je 0x180005765
mov eax, dword [r10 + 4]
test eax, eax
je 0x180005765
mov r8d, dword [r10]
sub rax, 8
add r8, rdx
shr rax, 1
mov qword [rbp + 0x6f], rax
lea rax, [r10 + 8]
mov qword [rbp + 0x7f], rax
je 0x180005751
nop word [rax + rax]
mov rax, qword [rbp + 0x7f]
dec qword [rbp + 0x6f]
movzx ecx, word [rax]
movzx eax, cx
shr ax, 0xc
cmp ax, 0xa
jne 0x180005704
and ecx, 0xfff
add qword [rcx + r8], r9
jmp 0x180005741
cmp ax, 3
jne 0x180005716
and ecx, 0xfff
add dword [rcx + r8], r9d
jmp 0x180005741
cmp ax, 1
jne 0x180005730
mov rax, r9
and ecx, 0xfff
shr rax, 0x10
add word [rcx + r8], ax
jmp 0x180005741
cmp ax, 2
jne 0x180005741
and ecx, 0xfff
add word [rcx + r8], r9w
add qword [rbp + 0x7f], 2
cmp qword [rbp + 0x6f], 0
jne 0x1800056e0
mov rdx, qword [rbp + 0x77]
dec qword [rbp + 0x6f]
mov eax, dword [r10 + 4]
add r10, rax
sub r11, rax
jne 0x1800056b0
movzx edi, word [r13 + 6]
movzx eax, word [r13 + 0x14]
test rdi, rdi
je 0x18000587a
mov esi, 0x80
lea rbx, [r13 + 0x3c]
add rbx, rax
lea r8d, [rsi - 0x78]
lea r12d, [rsi - 0x70]
lea r14d, [rsi - 0x60]
lea r15d, [rsi - 0x40]
lea r13d, [rsi - 0x7e]
nop dword [rax + rax]
mov eax, dword [rbx - 0x18]
mov dword [rbp + 0x67], 0
dec rdi
add rax, rdx
mov ecx, 0
mov qword [rbp + 0x6f], rax
test dword [rbx], 0x80000000
cmovne ecx, r8d
mov dword [rbp + 0x67], ecx
test dword [rbx], 0x40000000
cmovne ecx, r13d
mov dword [rbp + 0x67], ecx
mov eax, dword [rbx]
test eax, eax
jns 0x1800057e8
bt eax, 0x1e
mov eax, 4
cmovb ecx, eax
mov dword [rbp + 0x67], ecx
test dword [rbx], 0x20000000
cmovne ecx, r12d
mov dword [rbp + 0x67], ecx
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x180005807
bt eax, 0x1f
cmovb ecx, esi
mov dword [rbp + 0x67], ecx
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x18000581a
bt eax, 0x1e
cmovb ecx, r14d
mov dword [rbp + 0x67], ecx
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x180005831
test eax, eax
jns 0x180005831
bt eax, 0x1e
cmovb ecx, r15d
mov dword [rbp + 0x67], ecx
mov eax, dword [rbx - 0x14]
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x180005869
lea rax, [rbp + 0x67]
lea r9, [rbp + 0x7f]
lea r8, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x51]
or rdx, 0xffffffffffffffff
call fcn.180005100
mov rdx, qword [rbp + 0x77]
mov r8d, 8
add rbx, 0x28
test rdi, rdi
jne 0x1800057a0
mov r13, qword [rbp - 0x79]
mov ebx, dword [r13 + 0x28]
lea rcx, [rbp - 0x39]
xor r9d, r9d
add rbx, rdx
or rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.180005150
mov rcx, qword [rbp + 0x77]
xor r8d, r8d
lea edx, [r8 + 1]
call rbx
mov rax, rbx
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret