Function at 0x524620
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
je 0x5248af
jne 0x5248af
jmp 0xffffffff839a9986
push rbp
push rbx
sub rsp, 0x78
mov r13, rdx
mov rsi, rcx
movzx eax, word [rdx]
cmp eax, 0x5a4d
jne 0x52478c
je 0x524e47
jne 0x524e47
jmp 0x4d4947a0
add rdi, rsi
add rdi, r10
add rbp, rsi
add rbp, r13
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
je 0x524b62
jne 0x524b62
add byte [rax], al
add byte [rax], al
call fcn.005236a0
mov rax, qword [r12]
mov edx, dword [rax + 0x50]
lea r9, [rsp + 0x74]
mov r8d, 0x40
mov rcx, r15
call qword [rdi + 8]
je 0x524de1
jne 0x524de1
jmp 0x24a6d1ef
mov edx, dword [r12 + 0x18]
test edx, edx
je 0x524f37
jne 0x524f37
add byte [rax], al
add byte [rax], al
nop word cs:[rax + rax]
nop dword [rax + rax]
je 0x524f60
jne 0x524f60
je 0x206987d8
test byte [rax + 0x17], 0x20
jne 0x5246eb
call rbp
jmp 0x52501e
je 0x524d0e
jne 0x524d0e
je 0x524cbb
pop rbx
pop rbp
je 0x52492c
jne 0x52492c
mov dword [r12 + 0x1c], 1
jmp 0x524e86
cmp dword [r12 + 0x1c], 0
je 0x524eb2
je 0x524b94
jne 0x524b94
jmp 0xffffffff8d9b11c6
xor esi, esi
mov rax, qword [rcx + rsi*8]
cmp rax, 0xffffffffffffffff
jne 0x524b54
jmp 0x524f15
cmp dword [r13], 0x474e5089
jne 0x524e83
je 0x5249ec
jne 0x5249ec
jmp 0x355ccba
jne 0x524ab0
je 0x524960
jne 0x524960
je 0x48a29d4a
mov edx, dword [rbp + 0x50]
mov rcx, qword [rbp + 0x30]
mov ecx, dword [rbp + 0x30]
mov r8d, 0x1000
mov r9d, 4
call qword [rsi]
mov r15, rax
test rax, rax
jne 0x524af4
je 0x524a7d
jne 0x524a7d
je 0x524e75
mov r8d, 0x8000
xor edx, edx
call qword [rdi + 0x18]
je 0x524e75
jne 0x524e75
je 0x24b6d358
mov r12, qword [rsp + 0x68]
mov r9, qword [rsp + 0x30]
je 0x524dd0
push 0x244c8b4c
xor byte [rdi], cl
test byte [rax + 0xf000005], bh
test byte [rsi], dh
invalid
je 0x524654
jne 0x524654
je 0x24b6d376
mov r12, qword [rsp + 0x68]
mov r9, qword [rsp + 0x30]
jne 0x524654
push 0x244c8b4c
xor byte [rdi], cl
test dword [rsi], ebx
invalid
jmp 0x524dd0
movsxd rax, dword [r9 + 0x38]
test rax, rax
jle 0x524a1e
je 0x5246f7
jne 0x5246f7
je 0x549bd3a0
mov ecx, dword [r9 + 0x54]
add ecx, eax
test ecx, ecx
jle 0x5248ef
mov edx, ecx
lea rcx, [rdx - 1]
mov eax, edx
and eax, 3
je 0x524e8c
jne 0x524e8c
je 0x24c6d1ce
mov qword [rsp + 0x50], rsi
push rax
cdqe
lea rcx, [r15 + rax]
mov qword [r12], rcx
je 0x524b72
jne 0x524b72
jmp 0x5d0857e3
push r15
push r14
push r13
push r12
push rsi
push rdi
je 0x52462d
jne 0x52462d
je 0x365cdda
add byte [rax], al
test rax, rax
je 0x524960
je 0x524a9e
jne 0x524a9e
cmp rax, rbp
jne 0x524f60
mov eax, dword [r13 + 0x3c]
mov qword [rsp + 0x48], r14
je 0x524882
jne 0x524882
lea r8, [rdx + rbp]
mov rdx, qword [rsp + 0x58]
lea r9, [rdx + rdi]
sub rax, rbx
xor esi, esi
nop dword [rax + rax]
je 0x524c76
jne 0x524c76
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp rbx, rax
jne 0x524b62
jmp 0x524dd0
mov r8, r15
sub r8, qword [r9 + 0x30]
mov esi, dword [rsp + 0x3c]
je 0x524ee3
jne 0x524ee3
mov eax, dword [r13 + 8]
je 0x524fc7
jne 0x524fc7
add byte [rax], al
add byte [rax], al
call qword [rdi + 0x18]
je 0x524cdf
jne 0x524cdf
add byte [rax], al
add byte [rax], al
test rax, rax
je 0x5248eb
lea rdx, [r15 + rcx]
add rcx, r13
xor ebp, ebp
je 0x5246c1
jne 0x5246c1
test rcx, rcx
je 0x524cdf
mov r8d, 0x8000
xor edx, edx
je 0x524974
jne 0x524974
mov eax, dword [r13 + 0x3c]
mov r9, qword [rsp + 0x30]
je 0x52485b
jne 0x52485b
add byte [rax], al
add byte [rax], al
cmp dword [r13 + 4], 0xa1a0a0d
jne 0x524e83
movsxd rbp, dword [r13 + 8]
mov edi, dword [rbp + r13 + 0x58]
add rbp, r13
mov eax, 1
mov qword [rsp + 0x40], rax
je 0x524f12
jne 0x524f12
je 0x218cd63
add r14d, 1
add rcx, 0x28
mov rax, qword [r12]
movzx eax, word [rax + 6]
cmp r14d, eax
jae 0x524949
je 0x524b1e
jne 0x524b1e
jmp 0xffffffff84621379
xor ecx, ecx
je 0x524fd9
jne 0x524fd9
mov edx, dword [rbp + 0x50]
xor r12d, r12d
mov r8d, 0x1000
mov r9d, 4
xor ecx, ecx
call qword [rsi]
mov r15, rax
test rax, rax
je 0x524aee
lea rdx, [r15 + rcx]
add rcx, r13
xor ebp, ebp
nop word [rax + rax]
movzx ebx, byte [rcx + rbp]
mov byte [rdx + rbp], bl
je 0x524ed0
jne 0x524ed0
mov qword [rax + 8], r15
mov qword [rax + 0x18], 0
mov qword [rax + 0x10], 0
test r14b, r14b
je 0x5249d3
je 0x524ff4
jne 0x524ff4
je 0x3e4cf01
add byte [rax], al
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x3c], edi
mov edx, 0x20
mov r8d, 0x3000
mov r9d, 4
xor ecx, ecx
call qword [rsi]
je 0x524c63
jne 0x524c63
mov eax, dword [rcx + 0x10]
test rax, rax
je 0x524840
mov edi, dword [rcx + 0xc]
lea r11, [r10 + rdi]
je 0x524bc3
jne 0x524bc3
cmp rsi, rax
jge 0x5249af
mov rax, qword [rcx + rsi*8]
cmp rax, 0xffffffffffffffff
je 0x524770
je 0x524f23
jne 0x524f23
add byte [rax], al
add byte [rax], al
mov qword [r15 + rax + 0x30], r15
mov rax, qword [r12]
cmp word [rax + 6], 0
je 0x524949
je 0x524d71
jne 0x524d71
je 0x2456d6e1
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov ebp, dword [rax + 0x28]
add rbp, rcx
xor edx, edx
xor r8d, r8d
call rbp
mov dword [r12 + 0x1c], 0
je 0x524eb2
jne 0x524eb2
add byte [rax], al
add byte [rax], al
test eax, eax
jle 0x524dd0
je 0x524d54
jne 0x524d54
mov r8d, esi
mov r9d, ebx
call fcn.00523c50
test eax, eax
je 0x524720
mov rcx, rdi
mov rdx, r12
je 0x524680
jne 0x524680
lea rsi, [rax - 1]
mov ebx, eax
and ebx, 3
cmp rsi, 3
jae 0x524f7c
xor esi, esi
test rbx, rbx
je 0x524826
jne 0x524826
add byte [rax], al
add byte [rax], al
mov r12, rax
je 0x524ac3
jne 0x524ac3
add byte [rax], al
add byte [rax], al
movzx r12d, byte [r8 + rsi - 3]
mov byte [r9 + rsi - 3], r12b
movzx edx, byte [r8 + rsi - 2]
mov byte [r9 + rsi - 2], dl
movzx edx, byte [r8 + rsi - 1]
mov byte [r9 + rsi - 1], dl
movzx edx, byte [r8 + rsi]
je 0x524cf0
jne 0x524cf0
jmp 0x513cfed
add rcx, 4
cmp rdx, rcx
jne 0x524f90
je 0x524987
jne 0x524987
jmp 0x4c5eb64a
mov rcx, qword [r12 + 8]
je 0x524ea3
jne 0x524ea3
mov byte [r9 + rsi], dl
add rsi, 4
cmp rax, rsi
jne 0x524920
je 0x524d9e
jne 0x524d9e
jmp 0x524ecc
mov edx, 1
mov rcx, r15
xor r8d, r8d
call rbp
test eax, eax
je 0x525018
jne 0x525018
test r11, r11
je 0x524dd0
mov r10, qword [r12 + 8]
movzx ecx, word [rax + 0x14]
add rcx, rax
add rcx, 0x18
lea rax, [r13 + 3]
mov qword [rsp + 0x60], rax
lea rax, [r10 + 3]
mov qword [rsp + 0x58], rax
xor r14d, r14d
je 0x524dae
jne 0x524dae
test rbx, rbx
je 0x524808
jne 0x524808
jmp 0x24b6d6fe
mov qword [rsp + 0x68], r12
mov eax, dword [rcx + 0x10]
test rax, rax
jne 0x524b2a
mov dword [rcx + 8], r11d
je 0x524a1e
jne 0x524a1e
jmp 0x2456d92e
mov rax, qword [r12]
mov ebp, dword [rax + 0x28]
test ebp, ebp
je 0x524e86
je 0x524a44
jne 0x524a44
je 0xffffffff859b1733
xor ecx, ecx
test rax, rax
jne 0x524990
jmp 0x5248eb
add rax, 1
je 0x52493b
jne 0x52493b
add byte [rax], al
add byte [rax], al
mov rax, r12
add rsp, 0x78
je 0x524704
jne 0x524704
movsxd rbp, dword [r13 + 0x3c]
cmp dword [r13 + rbp], 0x4550
jne 0x524e83
xor eax, eax
mov qword [rsp + 0x40], rax
add rbp, r13
xor r14d, r14d
xor edi, edi
je 0x524787
jne 0x524787
add byte [rax], al
add byte [rax], al
mov r8d, 0x8000
mov rcx, r12
xor edx, edx
call qword [rdi + 0x18]
xor r12d, r12d
je 0x524e34
jne 0x524e34
je 0x44bd1d8
cmp rcx, 3
jae 0x524fcc
je 0x524dfe
jne 0x524dfe
jmp 0x101bd3ef
test rcx, rcx
je 0x5247e9
jne 0x5247e9
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x524cdf
je 0x5246aa
jne 0x5246aa
add byte [rax], al
add byte [rax], al
add rbp, 1
cmp rax, rbp
je 0x5247a7
jne 0x5247a7
mov dword [rsp + 0x20], esi
mov rdx, r12
mov rbx, qword [rsp + 0x40]
mov r9d, ebx
call fcn.005238d0
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
mov rdx, r12
je 0x524c16
jne 0x524c16
add byte [rax], al
add byte [rax], al
mov r14b, 1
je 0x5247bb
jne 0x5247bb
je 0x5a70536
movzx edx, byte [rbp + rax]
mov byte [rdi + rax], dl
je 0x524e20
add byte [rax - 0x7bf0f8ec], cl
out dx, eax
invalid
jne 0x524e20
jle 0x5249b8
je 0x52475c
jne 0x52475c
movzx ebx, byte [rcx + rbp]
mov byte [rdx + rbp], bl
add rbp, 1
je 0x5248e2
jne 0x5248e2
jmp 0x524a1e
mov rdx, qword [rsp + 0x60]
je 0x524909
jne 0x524909
jmp 0xf93dff8
nop
movzx ebx, byte [r13 + rcx]
mov byte [r15 + rcx], bl
movzx ebx, byte [r13 + rcx + 1]
mov byte [r15 + rcx + 1], bl
movzx ebx, byte [r13 + rcx + 2]
mov byte [r15 + rcx + 2], bl
movzx ebx, byte [r13 + rcx + 3]
mov byte [r15 + rcx + 3], bl
je 0x524ca1
jne 0x524ca1
jmp 0x5248ef
sub rdx, rax
xor ecx, ecx
je 0x524f8e
jne 0x524f8e
add byte [rax], al
add byte [rax], al
cmp byte [rsp + 0x48], 0
cmovne ecx, esi
xor ebp, ecx
add rbp, r15
je 0x5246de
jne 0x5246de
je 0x897db39
mov eax, dword [r13 + 8]
mov r9, qword [rsp + 0x30]
mov ecx, dword [r9 + 0x54]
add ecx, eax
test ecx, ecx
jle 0x5248ef
je 0x524739
je 0x524720
je 0x524712
jne 0x524712