Function at 0x180004ec0
Capabilities:
Access peb ldr_data
Inspect section memory permissions
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 r15d, r15d
xor esi, esi
xor ebx, ebx
xor r13d, r13d
xor ebp, ebp
mov qword [rsp + 0x90], r15
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x88], rbx
call fcn.180004eb0
mov r12, rax
mov eax, 0x5a4d
nop
cmp word [r12], ax
jne 0x180004f23
movsxd rdx, dword [r12 + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x180004f23
cmp dword [rdx + r12], 0x4550
je 0x180004f28
dec r12
jmp 0x180004f00
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], r12
mov r11d, 1
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x20]
test r14, r14
je 0x180005173
mov r12d, 0xffff
nop word [rax + rax]
mov rdx, qword [r14 + 0x50]
movzx r8d, word [r14 + 0x48]
xor ecx, ecx
nop dword [rax + rax]
ror ecx, 0xd
movzx eax, byte [rdx]
cmp al, 0x61
jb 0x180004f84
movzx eax, al
sub eax, 0x20
cdqe
jmp 0x180004f87
movzx eax, al
add rcx, rax
inc rdx
add r8w, r12w
jne 0x180004f70
cmp ecx, 0x6a4abc5b
jne 0x1800050b2
mov r9, qword [r14 + 0x20]
movsxd rax, dword [r9 + 0x3c]
mov edi, dword [rax + r9 + 0x88]
mov eax, 5
mov r10d, dword [rdi + r9 + 0x20]
mov r11d, dword [rdi + r9 + 0x24]
movzx ebx, ax
add r10, r9
add r11, r9
nop word [rax + rax]
mov ecx, dword [r10]
add rcx, r9
xor r8d, r8d
movzx eax, byte [rcx]
nop dword [rax]
ror r8d, 0xd
movsx eax, al
lea rcx, [rcx + 1]
add r8d, eax
movzx eax, byte [rcx]
test al, al
jne 0x180004fe0
cmp r8d, 0xec0e4e8e
je 0x180005022
cmp r8d, 0x7c0dfcaa
je 0x180005022
cmp r8d, 0x91afca54
je 0x180005022
cmp r8d, 0x7946c61b
je 0x180005022
cmp r8d, 0xef632f2
jne 0x180005094
mov eax, dword [rdi + r9 + 0x1c]
movzx edx, word [r11]
lea rcx, [r9 + rax]
cmp r8d, 0xec0e4e8e
jne 0x180005041
mov r15d, dword [rcx + rdx*4]
add r15, r9
jmp 0x180005090
cmp r8d, 0x7c0dfcaa
jne 0x180005053
mov r13d, dword [rcx + rdx*4]
add r13, r9
jmp 0x180005090
cmp r8d, 0x91afca54
jne 0x180005064
mov esi, dword [rcx + rdx*4]
add rsi, r9
jmp 0x180005090
cmp r8d, 0x7946c61b
jne 0x180005081
mov r12d, dword [rcx + rdx*4]
add r12, r9
mov qword [rsp + 0x20], r12
mov r12d, 0xffff
jmp 0x180005090
cmp r8d, 0xef632f2
jne 0x180005090
mov ebp, dword [rcx + rdx*4]
add rbp, r9
add bx, r12w
add r10, 4
add r11, 2
test bx, bx
jne 0x180004fd0
mov qword [rsp + 0x90], r15
jmp 0x180005138
cmp ecx, 0x3cfa685d
jne 0x180005146
mov r10, qword [r14 + 0x20]
movsxd rax, dword [r10 + 0x3c]
mov ebx, dword [rax + r10 + 0x88]
mov r8d, dword [rbx + r10 + 0x20]
mov r9d, dword [rbx + r10 + 0x24]
add r8, r10
add r9, r10
nop
mov edx, dword [r8]
add rdx, r10
xor ecx, ecx
movzx eax, byte [rdx]
nop dword [rax + rax]
ror ecx, 0xd
movsx eax, al
lea rdx, [rdx + 1]
add ecx, eax
movzx eax, byte [rdx]
test al, al
jne 0x1800050f0
cmp ecx, 0x534c0ab8
jne 0x18000512a
mov eax, dword [rbx + r10 + 0x1c]
movzx edx, word [r9]
lea rcx, [r10 + rax]
mov edi, dword [rcx + rdx*4]
add rdi, r10
add r11w, r12w
mov qword [rsp + 0x88], rdi
add r8, 4
add r9, 2
test r11w, r11w
jne 0x1800050e0
mov rbx, qword [rsp + 0x88]
mov r11d, 1
test r15, r15
je 0x18000515f
test r13, r13
je 0x18000515f
test rsi, rsi
je 0x18000515f
test rbp, rbp
je 0x18000515f
test rbx, rbx
jne 0x18000516b
mov r14, qword [r14]
test r14, r14
jne 0x180004f60
mov r12, qword [rsp + 0x98]
movsxd r15, dword [r12 + 0x3c]
xor ecx, ecx
mov r8d, 0x3000
add r15, r12
lea r9d, [rcx + 4]
mov edx, dword [r15 + 0x50]
mov qword [rsp + 0x98], r15
call rsi
mov edx, dword [r15 + 0x50]
mov rcx, rax
mov r14, rax
call rbp
mov edx, dword [r15 + 0x54]
mov rcx, r12
test rdx, rdx
je 0x1800051d0
mov r8, r14
sub r8, r12
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [r8 + rcx - 1], al
dec rdx
jne 0x1800051c0
movzx r10d, word [r15 + 6]
movzx eax, word [r15 + 0x14]
test r10, r10
je 0x18000522b
lea r9, [r15 + 0x2c]
add r9, rax
nop word [rax + rax]
mov ecx, dword [r9 - 8]
mov edx, dword [r9]
mov r8d, dword [r9 - 4]
add rcx, r14
add rdx, r12
dec r10
test r8, r8
je 0x180005222
nop dword [rax]
movzx eax, byte [rdx]
inc rcx
lea rdx, [rdx + 1]
mov byte [rcx - 1], al
dec r8
jne 0x180005210
add r9, 0x28
test r10, r10
jne 0x1800051f0
mov ebp, dword [r15 + 0x90]
add rbp, r14
cmp dword [rbp], 0
je 0x1800052e1
mov r12, qword [rsp + 0x90]
mov ecx, dword [rbp + 0xc]
add rcx, r14
call r12
mov rsi, rax
test rax, rax
je 0x1800052d3
mov ebx, dword [rbp + 0x10]
mov edi, dword [rbp]
add rbx, r14
add rdi, r14
cmp qword [rbx], 0
je 0x1800052d3
movabs r12, 0x8000000000000000
test rdi, rdi
je 0x1800052a5
mov rdx, qword [rdi]
test r12, rdx
je 0x1800052a5
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]
add rcx, rsi
sub rdx, rax
mov eax, dword [rcx + rdx*4]
add rax, rsi
jmp 0x1800052b5
mov rdx, qword [rbx]
mov rcx, rsi
add rdx, 2
add rdx, r14
call r13
mov qword [rbx], rax
add rbx, 8
test rdi, rdi
je 0x1800052c5
add rdi, 8
cmp qword [rbx], 0
jne 0x180005274
mov r12, qword [rsp + 0x90]
add rbp, 0x14
cmp dword [rbp], 0
jne 0x180005247
mov eax, dword [r15 + 0xb4]
mov r8, r14
sub r8, qword [r15 + 0x30]
test eax, eax
je 0x1800053a4
mov r11d, dword [r15 + 0xb0]
mov ebx, eax
add r11, r14
test eax, eax
je 0x1800053a4
nop dword [rax + rax]
mov eax, dword [r11 + 4]
test eax, eax
je 0x1800053a4
mov edx, dword [r11]
lea r9, [rax - 8]
lea r10, [r11 + 8]
add rdx, r14
shr r9, 1
je 0x180005394
nop
movzx eax, word [r10]
dec r9
movzx ecx, ax
shr cx, 0xc
cmp cx, 0xa
jne 0x18000534f
and eax, 0xfff
add qword [rax + rdx], r8
jmp 0x18000538b
cmp cx, 3
jne 0x180005360
and eax, 0xfff
add dword [rax + rdx], r8d
jmp 0x18000538b
cmp cx, 1
jne 0x18000537b
and eax, 0xfff
lea rcx, [rax + rdx]
mov rax, r8
shr rax, 0x10
add word [rcx], ax
jmp 0x18000538b
cmp cx, 2
jne 0x18000538b
and eax, 0xfff
add word [rax + rdx], r8w
add r10, 2
test r9, r9
jne 0x180005330
mov eax, dword [r11 + 4]
add r11, rax
sub rbx, rax
jne 0x180005310
movzx edi, word [r15 + 6]
movzx eax, word [r15 + 0x14]
test rdi, rdi
je 0x1800054c6
mov rsi, qword [rsp + 0x20]
lea rbx, [r15 + 0x3c]
add rbx, rax
mov eax, 8
lea edx, [rax - 6]
lea ebp, [rax + 0x78]
lea r15d, [rax + 8]
lea r12d, [rax + 0x18]
lea r13d, [rax + 0x38]
nop word [rax + rax]
mov ecx, dword [rbx - 0x18]
mov dword [rsp + 0x80], 0
dec rdi
add rcx, r14
test dword [rbx], 0x80000000
mov r8d, 0
cmovne r8d, eax
mov dword [rsp + 0x80], r8d
test dword [rbx], 0x40000000
cmovne r8d, edx
mov dword [rsp + 0x80], r8d
mov eax, dword [rbx]
test eax, eax
jns 0x180005439
bt eax, 0x1e
mov eax, 4
cmovb r8d, eax
mov dword [rsp + 0x80], r8d
test dword [rbx], 0x20000000
cmovne r8d, r15d
mov dword [rsp + 0x80], r8d
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x180005463
bt eax, 0x1f
cmovb r8d, ebp
mov dword [rsp + 0x80], r8d
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x18000547b
bt eax, 0x1e
cmovb r8d, r12d
mov dword [rsp + 0x80], r8d
mov eax, dword [rbx]
bt eax, 0x1d
jae 0x180005497
test eax, eax
jns 0x180005497
bt eax, 0x1e
cmovb r8d, r13d
mov dword [rsp + 0x80], r8d
mov edx, dword [rbx - 0x14]
test rdx, rdx
je 0x1800054a9
lea r9, [rsp + 0x80]
call rsi
mov eax, 8
add rbx, 0x28
lea edx, [rax - 6]
test rdi, rdi
jne 0x1800053e0
mov r15, qword [rsp + 0x98]
mov ebx, dword [r15 + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, r14
call qword [rsp + 0x88]
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