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

Disassembly:
lea r12, [rsp - 0x78]
cmp r12, qword [r14 + 0x10]
jbe 0x4a8180
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, [0x004d53a0]
call fcn.0040c560
mov qword [rsp + 0x90], rax
nop
lea rax, [0x004d3220]
call fcn.0040c560
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
cmp dword [0x005ed310], 0
jne 0x4a7882
mov rdx, qword [rsp + 0x108]
mov qword [rax + 8], rdx
nop
jmp 0x4a7893
lea rdi, [rax + 8]
mov rdx, qword [rsp + 0x108]
call fcn.0045cca0
mov qword [rsp + 0x70], rax
movups xmmword [rax + 0x10], xmm15
movabs rcx, 0x7fffffffffffffff
mov qword [rax + 0x20], rcx
lea rax, [0x004c7620]
call fcn.0040c560
mov qword [rsp + 0xa8], 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 0x4a7d55
mov rdx, qword [rsp + 0xa8]
cmp byte [rdx], 0x4d
jne 0x4a79e2
cmp byte [rdx + 1], 0x5a
jne 0x4a79e2
nop
mov ecx, dword [rdx + 0x3c]
mov dword [rsp + 0x34], ecx
lea rax, [0x004c7440]
call fcn.0040c560
mov qword [rsp + 0xa0], 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 + 0xa0]
cmp byte [rcx], 0x50
jne 0x4a7972
cmp byte [rcx + 1], 0x45
jne 0x4a7972
cmp byte [rcx + 2], 0
nop
jne 0x4a7972
cmp byte [rcx + 3], 0
jne 0x4a7972
mov edx, dword [rsp + 0x34]
add rdx, 4
jmp 0x4a79e4
mov ecx, dword [rcx]
mov dword [rsp + 0x30], ecx
movups xmmword [rsp + 0xb0], xmm15
lea rax, [0x004c7440]
lea rbx, [rsp + 0x30]
call fcn.00409c40
lea rcx, [0x004c7440]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
lea rax, [0x004e3bc9]
mov ebx, 0x1e
lea rcx, [rsp + 0xb0]
mov edi, 1
mov rsi, rdi
call fcn.00497940
mov rcx, rbx
mov rbx, rax
xor eax, eax
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
xor edx, edx
mov qword [rsp + 0x50], rdx
mov rbx, qword [rsp + 0x70]
mov r9, qword [rbx + 0x10]
lea r10, [rdx + r9]
cmp r9, r10
jg 0x4a79ff
mov qword [rbx + 0x18], r10
lea rax, [0x0050d678]
lea rcx, [0x0050d970]
lea rdi, [0x005ed290]
lea rsi, [0x004c29e0]
mov r8, qword [rsp + 0x90]
call fcn.004a2360
test rax, rax
jne 0x4a7d3d
mov rax, qword [rsp + 0x90]
movzx edx, word [rax]
nop dword [rax]
cmp dx, 0x14c
ja 0x4a7a58
test dx, dx
je 0x4a7a72
cmp dx, 0x14c
je 0x4a7a72
jmp 0x4a7cd7
cmp dx, 0x1c4
je 0x4a7a72
nop
cmp dx, 0x8664
je 0x4a7a72
cmp dx, 0xaa64
jne 0x4a7cd7
lea rbx, [0x0050d7f8]
mov rcx, qword [rsp + 0x70]
nop
call fcn.004aa5a0
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x78], rbx
mov qword [rdx + 0x80], rcx
cmp dword [0x005ed310], 0
nop
jne 0x4a7aa8
mov qword [rdx + 0x70], rax
jmp 0x4a7aba
lea r8, [rdx + 0x70]
mov rcx, rdi
mov rdi, r8
call fcn.0045cb80
mov rdi, rcx
nop word [rax + rax]
test rdi, rdi
jne 0x4a7cbf
mov rax, rdx
lea rbx, [0x0050d7f8]
mov rcx, qword [rsp + 0x70]
call fcn.004aa960
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x60], rbx
mov qword [rdx + 0x68], rcx
cmp dword [0x005ed310], 0
jne 0x4a7afc
mov qword [rdx + 0x58], rax
jmp 0x4a7b0e
lea r9, [rdx + 0x58]
mov r8, rdi
mov rdi, r9
call fcn.0045cb80
mov rdi, r8
test rdi, rdi
jne 0x4a7ca7
mov rdi, qword [rdx + 0x70]
mov rsi, qword [rdx + 0x78]
mov r8, qword [rdx + 0x80]
call fcn.004aac00
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x48], rbx
mov qword [rdx + 0x50], rcx
cmp dword [0x005ed310], 0
jne 0x4a7b4a
mov qword [rdx + 0x40], rax
jmp 0x4a7b5c
lea r8, [rdx + 0x40]
mov rcx, rdi
mov rdi, r8
call fcn.0045cb80
mov rdi, rcx
nop dword [rax]
test rdi, rdi
jne 0x4a7c8f
lea rax, [0x004d54c0]
mov rbx, rdx
call fcn.00409c40
mov rbx, rax
lea rax, [0x004d54c0]
call fcn.004a3660
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbx + 0x10]
add rcx, rdx
nop dword [rax + rax]
cmp rdx, rcx
jle 0x4a7bb5
mov rdx, qword [0x00598c50]
mov rsi, qword [0x00598c58]
jmp 0x4a7bc0
mov qword [rbx + 0x18], rcx
xor edx, edx
xor esi, esi
nop dword [rax]
test rdx, rdx
jne 0x4a7c77
mov rdx, qword [rsp + 0x90]
movzx ecx, word [rdx + 0x10]
lea rax, [0x0050d7f8]
nop dword [rax]
call fcn.004a8220
mov rdx, qword [rsp + 0x90]
mov qword [rdx + 0x18], rax
cmp dword [0x005ed310], 0
jne 0x4a7c02
mov qword [rdx + 0x20], rbx
nop
jmp 0x4a7c14
lea rsi, [rdx + 0x20]
mov rax, rdi
mov rdi, rsi
call fcn.0045ccc0
mov rdi, rax
test rcx, rcx
jne 0x4a7c5f
movzx ecx, word [rdx + 2]
lea rax, [0x004cc200]
mov rbx, rcx
call fcn.00445360
mov rdx, qword [rsp + 0x90]
movzx esi, word [rdx + 2]
mov qword [rdx + 0x30], rsi
mov qword [rdx + 0x38], rsi
cmp dword [0x005ed310], 0
jne 0x4a7c4f
mov qword [rdx + 0x28], rax
jmp 0x4a7c58
lea rdi, [rdx + 0x28]
call fcn.0045cb80
xor eax, eax
jmp 0x4a7d71
xor eax, eax
mov rbx, rcx
mov rcx, rdi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
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
movups xmmword [rsp + 0xb0], xmm15
movzx eax, word [rax]
call fcn.00409cc0
lea rcx, [0x004c69e0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], rax
lea rax, [0x004e3314]
mov ebx, 0x1c
lea rcx, [rsp + 0xb0]
mov edi, 1
mov rsi, rdi
nop dword [rax + rax]
call fcn.00497940
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 r8, [r11 + 1]
mov rdx, rax
mov rax, r8
movzx esi, word [rdx + 2]
cmp rax, rsi
jge 0x4a808b
mov qword [rsp + 0x48], rax
lea rax, [0x004d6540]
call fcn.0040c560
mov qword [rsp + 0x78], rax
mov rbx, qword [rsp + 0x70]
lea rcx, [0x0050d970]
lea rdi, [0x005ed290]
lea rsi, [0x004c9180]
mov r8, rax
lea rax, [0x0050d678]
call fcn.004a2360
nop dword [rax]
test rax, rax
jne 0x4a8073
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.004aa1a0
test rcx, rcx
jne 0x4a805b
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x88], rax
lea rax, [0x004d3aa0]
call fcn.0040c560
mov qword [rsp + 0x80], rax
movups xmmword [rsp + 0xc0], xmm15
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
mov rcx, qword [rsp + 0x88]
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 [0x005ed310], 0
jne 0x4a7edd
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 0x4a7f01
mov rbx, rax
lea rcx, [rsp + 0xc0]
lea rax, [0x004d63e0]
call fcn.00411760
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
mov edx, dword [rax + 0x1c]
mov qword [rsp + 0x68], rdx
mov ebx, dword [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov ecx, dword [rcx + 0x14]
mov dword [rsp + 0x34], ecx
test ecx, ecx
lea rax, [0x004d3220]
call fcn.0040c560
mov ecx, dword [rsp + 0x34]
test ecx, ecx
mov rcx, qword [rsp + 0x98]
lea rdx, [0x0050d778]
mov rbx, rcx
cmove rcx, rdx
mov qword [rax], rcx
mov rcx, qword [rsp + 0x108]
lea rsi, [0x005ed290]
mov rdi, rcx
cmove rcx, rsi
movabs r8, 0x7fffffffffffffff
mov r9, qword [rsp + 0x60]
sub r8, r9
mov r10, qword [rsp + 0x68]
add r9, r10
cmp r10, r8
movabs r8, 0x7fffffffffffffff
cmovle r8, r9
cmp dword [0x005ed310], 0
jne 0x4a7f95
mov qword [rax + 8], rcx
jmp 0x4a7fa8
lea r9, [rax + 8]
mov r11, rdi
mov rdi, r9
nop
call fcn.0045cc80
mov rdi, r11
mov qword [rax + 0x10], r10
mov qword [rax + 0x18], r10
mov qword [rax + 0x20], r8
cmp dword [0x005ed310], 0
jne 0x4a7fcb
mov r8, qword [rsp + 0x80]
mov qword [r8 + 0x58], rax
jmp 0x4a7fe8
mov r8, qword [rsp + 0x80]
lea r9, [r8 + 0x58]
mov rcx, rdi
mov rdi, r9
nop dword [rax]
call fcn.0045cb80
mov rdi, rcx
lea r9, [0x0050d698]
mov qword [r8 + 0x48], r9
cmp dword [0x005ed310], 0
jne 0x4a8002
mov qword [r8 + 0x50], rax
jmp 0x4a8014
lea r10, [r8 + 0x50]
mov rcx, rdi
mov rdi, r10
call fcn.0045cb80
mov rdi, rcx
mov rax, qword [rsp + 0x90]
mov r10, qword [rax + 0x28]
mov rcx, qword [rax + 0x30]
mov r11, qword [rsp + 0x48]
cmp r11, rcx
jae 0x4a8177
lea r12, [r10 + r11*8]
cmp dword [0x005ed310], 0
jne 0x4a8048
mov qword [r10 + r11*8], r8
jmp 0x4a7d67
mov rcx, rdi
mov rdi, r12
call fcn.0045cd00
mov rdi, rcx
jmp 0x4a7d67
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 rsi, qword [rdx + 0x30]
mov qword [rsp + 0x58], rsi
mov rcx, qword [rsp + 0x70]
xor eax, eax
jmp 0x4a80ab
lea rax, [r10 + 1]
mov rsi, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
cmp rax, rsi
jge 0x4a814d
mov rdi, qword [rdx + 0x30]
mov r8, qword [rdx + 0x28]
nop dword [rax]
cmp rax, rdi
jae 0x4a816f
mov qword [rsp + 0x40], rax
mov rdx, qword [r8 + rax*8]
test byte [rdx], al
lea rbx, [0x0050d7f8]
mov rax, rdx
nop
call fcn.004aa280
mov rdx, qword [rsp + 0x90]
mov r8, qword [rdx + 0x30]
mov r9, qword [rdx + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, r8
jae 0x4a8164
mov r8, qword [r9 + r10*8]
mov qword [r8 + 0x38], rbx
mov qword [r8 + 0x40], rcx
cmp dword [0x005ed310], 0
jne 0x4a811a
mov qword [r8 + 0x30], rax
jmp 0x4a812c
add r8, 0x30
mov rcx, rdi
mov rdi, r8
call fcn.0045cb80
mov rdi, rcx
test rdi, rdi
je 0x4a809d
xor eax, eax
mov rbx, rdi
mov rcx, rsi
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0xf0]
add rsp, 0xf8
ret
mov rax, r10
mov rcx, r8
call fcn.0045d020
mov rcx, rdi
call fcn.0045d020
mov rax, r11
call fcn.0045d020
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004a7800