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

Disassembly:
lea r12, [rsp - 0x78]
cmp r12, qword [r14 + 0x10]
jbe 0x535a36
sub rsp, 0xf8
mov qword [rsp + 0xf0], rbp
lea rbp, [rsp + 0xf0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x108], rbx
lea rax, [0x005fd000]
call fcn.0040c940
mov qword [rsp + 0x90], rax
nop
lea rax, [0x005fad20]
call fcn.0040c940
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
cmp dword [0x009a1360], 0
jne 0x5350c2
mov rdx, qword [rsp + 0x108]
mov qword [rax + 8], rdx
nop
jmp 0x5350d3
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x108]
call fcn.0045f240
mov qword [rsp + 0x70], rax
movups xmmword [rax + 0x10], xmm15
movabs rcx, 0x7fffffffffffffff
mov qword [rax + 0x20], rcx
lea rax, [0x005d5340]
call fcn.0040c940
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rcx + 0x18]
mov rbx, rax
mov edi, 0x60
xor esi, esi
mov rax, qword [rsp + 0x108]
mov rcx, rdi
call rdx
test rbx, rbx
jne 0x5355f7
mov rdx, qword [rsp + 0xa0]
cmp byte [rdx], 0x4d
jne 0x535236
cmp byte [rdx + 1], 0x5a
jne 0x535236
nop
mov ecx, dword [rdx + 0x3c]
mov dword [rsp + 0x34], ecx
lea rax, [0x005d5040]
call fcn.0040c940
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rcx + 0x18]
mov rbx, rax
mov edi, 4
mov esi, dword [rsp + 0x34]
mov rax, qword [rsp + 0x108]
mov rcx, rdi
call rdx
mov rcx, qword [rsp + 0xa8]
cmp byte [rcx], 0x50
jne 0x5351b5
cmp byte [rcx + 1], 0x45
jne 0x5351b5
cmp byte [rcx + 2], 0
nop
jne 0x5351b5
cmp byte [rcx + 3], 0
jne 0x5351b5
mov edx, dword [rsp + 0x34]
add rdx, 4
jmp 0x535238
call fcn.0053da00
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], rbx
movups xmmword [rsp + 0xb0], xmm15
lea rax, [0x005d5040]
mov rbx, qword [rsp + 0xa8]
nop
call fcn.00409f00
lea rcx, [0x005d5040]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb0]
mov edi, 1
mov rsi, rdi
call fcn.0051ede0
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor edx, edx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0x70]
mov r9, qword [rbx + 0x10]
lea r10, [rdx + r9]
cmp r9, r10
jg 0x535253
mov qword [rbx + 0x18], r10
lea rax, [0x00838b08]
lea rcx, [0x0083b610]
lea rdi, [0x009a12e8]
lea rsi, [0x005cb160]
mov r8, qword [rsp + 0x90]
call fcn.0052da20
nop dword [rax]
test rax, rax
jne 0x5355df
mov rax, qword [rsp + 0x90]
movzx edx, word [rax]
cmp dx, 0x5032
ja 0x5352cc
nop dword [rax + rax]
cmp dx, 0x14c
ja 0x5352b8
test dx, dx
je 0x5352fe
cmp dx, 0x14c
je 0x5352fe
jmp 0x535561
cmp dx, 0x1c4
je 0x5352fe
nop
cmp dx, 0x5032
je 0x5352fe
jmp 0x535561
cmp dx, 0x5128
ja 0x5352ec
cmp dx, 0x5064
je 0x5352fe
nop word [rax + rax]
cmp dx, 0x5128
je 0x5352fe
jmp 0x535561
cmp dx, 0x8664
je 0x5352fe
cmp dx, 0xaa64
jne 0x535561
lea rbx, [0x00838c70]
mov rcx, qword [rsp + 0x70]
call fcn.005381e0
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x78], rbx
mov qword [rdx + 0x80], rcx
cmp dword [0x009a1360], 0
jne 0x535331
mov qword [rdx + 0x70], rax
jmp 0x535348
lea r8, [rdx + 0x70]
mov rcx, rdi
mov rdi, r8
nop dword [rax + rax]
call fcn.0045f120
mov rdi, rcx
test rdi, rdi
jne 0x535549
mov rax, rdx
lea rbx, [0x00838c70]
mov rcx, qword [rsp + 0x70]
call fcn.00538980
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x60], rbx
mov qword [rdx + 0x68], rcx
cmp dword [0x009a1360], 0
jne 0x535384
mov qword [rdx + 0x58], rax
jmp 0x535396
lea r9, [rdx + 0x58]
mov r8, rdi
mov rdi, r9
call fcn.0045f120
mov rdi, r8
test rdi, rdi
jne 0x535531
mov rdi, qword [rdx + 0x70]
mov rsi, qword [rdx + 0x78]
mov r8, qword [rdx + 0x80]
call fcn.00538f60
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rcx
cmp dword [0x009a1360], 0
jne 0x5353d2
mov qword [rdx + 0x40], rax
jmp 0x5353e8
lea r8, [rdx + 0x40]
mov rcx, rdi
mov rdi, r8
nop dword [rax]
call fcn.0045f120
mov rdi, rcx
test rdi, rdi
jne 0x535519
lea rax, [0x005fd120]
mov rbx, rdx
nop dword [rax + rax]
call fcn.00409f00
mov rbx, rax
lea rax, [0x005fd120]
call fcn.0052ed20
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x10]
add rcx, rdx
cmp rdx, rcx
jle 0x53543d
mov rdx, qword [0x0094d6b0]
mov rsi, qword [0x0094d6b8]
jmp 0x535445
mov qword [rbx + 0x18], rcx
xor edx, edx
xor esi, esi
test rdx, rdx
jne 0x535501
mov rdx, qword [rsp + 0x90]
movzx ecx, word [rdx + 0x10]
lea rax, [0x00838c70]
call fcn.00535ae0
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x18], rax
cmp dword [0x009a1360], 0
jne 0x535482
mov qword [rdx + 0x20], rbx
nop
jmp 0x535494
lea rsi, [rdx + 0x20]
mov rax, rdi
mov rdi, rsi
call fcn.0045f260
mov rdi, rax
test rcx, rcx
jne 0x5354e8
movzx ecx, word [rdx + 2]
lea rax, [0x005e2d00]
mov rbx, rcx
call fcn.00445fe0
mov rdi, qword [rsp + 0x90]
movzx edx, word [rdi + 2]
mov qword [rdi + 0x30], rdx
mov qword [rdi + 0x38], rdx
cmp dword [0x009a1360], 0
jne 0x5354cf
mov qword [rdi + 0x28], rax
jmp 0x5354e1
lea rdx, [rdi + 0x28]
mov rcx, rdi
mov rdi, rdx
call fcn.0045f120
mov rdi, rcx
xor eax, eax
jmp 0x535613
xor eax, eax
mov rbx, rcx
mov rcx, rdi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
nop
ret
xor eax, eax
mov rbx, rdx
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
call fcn.0053dea0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], rbx
movups xmmword [rsp + 0xb0], xmm15
mov rcx, qword [rsp + 0x90]
movzx ecx, word [rcx]
mov eax, ecx
call fcn.00409f80
lea rcx, [0x005d42a0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb0]
mov edi, 1
mov rsi, rdi
call fcn.0051ede0
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
lea rsi, [r11 + 1]
mov rdi, rax
mov rax, rsi
movzx edx, word [rdi + 2]
nop word [rax + rax]
cmp rax, rdx
jge 0x535935
mov qword [rsp + 0x50], rax
lea rax, [0x005fe180]
call fcn.0040c940
mov qword [rsp + 0x78], rax
mov rbx, qword [rsp + 0x70]
lea rcx, [0x0083b610]
lea rdi, [0x009a12e8]
lea rsi, [0x005d7820]
mov r8, rax
lea rax, [0x00838b08]
call fcn.0052da20
test rax, rax
jne 0x53591d
mov rdx, qword [rsp + 0x90]
mov rbx, qword [rdx + 0x70]
mov rcx, qword [rdx + 0x78]
mov rdi, qword [rdx + 0x80]
mov rax, qword [rsp + 0x78]
call fcn.00537dc0
test rcx, rcx
jne 0x535905
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x80], rax
lea rax, [0x005fb240]
call fcn.0040c940
mov qword [rsp + 0x88], rax
movups xmmword [rsp + 0xc0], xmm15
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0xc8], rcx
mov rcx, qword [rsp + 0x78]
mov edx, dword [rcx + 8]
mov dword [rsp + 0xd0], edx
mov edx, dword [rcx + 0xc]
mov dword [rsp + 0xd4], edx
mov edx, dword [rcx + 0x10]
mov dword [rsp + 0xd8], edx
mov edx, dword [rcx + 0x14]
mov dword [rsp + 0xdc], edx
mov edx, dword [rcx + 0x18]
mov dword [rsp + 0xe0], edx
mov edx, dword [rcx + 0x1c]
mov dword [rsp + 0xe4], edx
movzx edx, word [rcx + 0x20]
mov word [rsp + 0xe8], dx
movzx edx, word [rcx + 0x22]
mov word [rsp + 0xea], dx
mov edx, dword [rcx + 0x24]
mov dword [rsp + 0xec], edx
cmp dword [0x009a1360], 0
nop
jne 0x535787
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + 0x20], xmm0
jmp 0x5357ab
mov rbx, rax
lea rcx, [rsp + 0xc0]
lea rax, [0x005fe020]
call fcn.004118a0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
mov edx, dword [rax + 0x1c]
mov qword [rsp + 0x60], rdx
mov ebx, dword [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov ecx, dword [rcx + 0x14]
mov dword [rsp + 0x34], ecx
test ecx, ecx
lea rax, [0x005fad20]
call fcn.0040c940
mov ecx, dword [rsp + 0x34]
test ecx, ecx
mov rcx, qword [rsp + 0x108]
lea rdx, [0x009a12e8]
mov rbx, rcx
cmove rcx, rdx
mov rsi, qword [rsp + 0x98]
lea rdi, [0x00838b88]
mov r8, rsi
cmove rsi, rdi
movabs r9, 0x7fffffffffffffff
mov r10, qword [rsp + 0x58]
sub r9, r10
mov r11, qword [rsp + 0x60]
add r10, r11
cmp r11, r9
movabs r9, 0x7fffffffffffffff
cmovle r9, r10
mov qword [rax], rsi
cmp dword [0x009a1360], 0
jne 0x53583f
mov qword [rax + 8], rcx
jmp 0x535852
lea rsi, [rax + 8]
mov rdi, rsi
call fcn.0045f220
lea rdi, [0x00838b88]
mov qword [rax + 0x10], r11
mov qword [rax + 0x18], r11
mov qword [rax + 0x20], r9
cmp dword [0x009a1360], 0
jne 0x535875
mov rsi, qword [rsp + 0x88]
mov qword [rsi + 0x58], rax
jmp 0x535890
mov rsi, qword [rsp + 0x88]
lea r9, [rsi + 0x58]
mov rdi, r9
call fcn.0045f120
lea rdi, [0x00838b88]
lea r9, [0x00838b28]
mov qword [rsi + 0x48], r9
cmp dword [0x009a1360], 0
jne 0x5358aa
mov qword [rsi + 0x50], rax
jmp 0x5358bd
lea r10, [rsi + 0x50]
mov rdi, r10
call fcn.0045f120
lea rdi, [0x00838b88]
mov rax, qword [rsp + 0x90]
mov r10, qword [rax + 0x28]
mov rcx, qword [rax + 0x30]
mov r11, qword [rsp + 0x50]
cmp r11, rcx
jae 0x535a2d
lea r12, [r10 + r11*8]
cmp dword [0x009a1360], 0
jne 0x5358f1
mov qword [r10 + r11*8], rsi
jmp 0x535609
mov rdi, r12
call fcn.0045f280
lea rdi, [0x00838b88]
jmp 0x535609
xor eax, eax
mov rbx, rcx
mov rcx, rdi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rdx, qword [rdi + 0x30]
mov qword [rsp + 0x68], rdx
mov rcx, qword [rsp + 0x70]
xor eax, eax
jmp 0x535960
lea rax, [r10 + 1]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
mov rdi, qword [rsp + 0x90]
cmp rax, rdx
jge 0x535a01
mov rsi, qword [rdi + 0x30]
mov r8, qword [rdi + 0x28]
cmp rax, rsi
jae 0x535a25
mov qword [rsp + 0x48], rax
mov rdx, qword [r8 + rax*8]
test byte [rdx], al
lea rbx, [0x00838c70]
mov rax, rdx
call fcn.00537ea0
mov rdx, qword [rsp + 0x90]
mov r8, qword [rdx + 0x30]
mov r9, qword [rdx + 0x28]
mov r10, qword [rsp + 0x48]
cmp r10, r8
jae 0x535a18
mov r8, qword [r9 + r10*8]
mov qword [r8 + 0x38], rbx
mov qword [r8 + 0x40], rcx
cmp dword [0x009a1360], 0
jne 0x5359c9
mov qword [r8 + 0x30], rax
jmp 0x5359db
add r8, 0x30
mov rcx, rdi
mov rdi, r8
call fcn.0045f120
mov rdi, rcx
nop dword [rax + rax]
test rdi, rdi
je 0x535947
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rax, rdi
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rax, r10
mov rcx, r8
nop
call fcn.0045f5c0
mov rcx, rsi
call fcn.0045f5c0
mov rax, r11
call fcn.0045f5c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cf60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00535040