Function at 0x40da80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x1a0], xmm9
movaps xmmword [rsp + 0x1b0], xmm10
movaps xmmword [rsp + 0x1c0], xmm11
movaps xmmword [rsp + 0x1d0], xmm12
movaps xmmword [rsp + 0x1e0], xmm13
movaps xmmword [rsp + 0x1f0], xmm14
movaps xmmword [rsp + 0x200], xmm15
mov qword [rsp + 0x260], rcx
mov rcx, r8
mov qword [rsp + 0x268], rdx
mov qword [rsp + 0x270], r8
mov qword [rsp + 0x278], r9
mov qword [rsp + 0x50], 0
call fcn.00405440
mov rcx, rax
mov rax, qword [0x0046e5b0]
call qword [rax]
lea rcx, [0x004250a0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
call fcn.0041b0f0
mov qword [rsp + 0x48], rax
mov rdi, rax
mov rax, qword [rax]
cmp qword [rsp + 0x288], 0
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x130]
mov qword [rdi], rax
lea rdi, [0x0040dda0]
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x150], rsp
jne 0x40e150
mov rax, qword [rsp + 0x268]
xor r9d, r9d
mov r8d, dword [rsp + 0x278]
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0xd8], rdx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0xd0], rcx
mov rcx, qword [rsp + 0x260]
mov rax, qword [rax]
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x28], 0
call qword [rax + 0x1c8]
lea rcx, [0x00425060]
mov dword [rsp + 0x40], eax
call fcn.0041b0f0
mov esi, dword [rsp + 0x40]
test esi, esi
mov dword [rax], esi
jne 0x40de60
mov rax, qword [rsp + 0xb0]
mov rcx, qword [0x0046e9b0]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x120], rax
call fcn.0041b0f0
cmp byte [rax], 0
mov qword [rsp + 0x40], rax
jne 0x40dcc8
mov rax, qword [0x0046e620]
xor ecx, ecx
call qword [rax]
mov rax, qword [rsp + 0x40]
mov byte [rax], 1
mov rcx, qword [0x0046e990]
call fcn.0041b0f0
mov rcx, rax
call fcn.00415890
mov rcx, qword [0x0046e9a0]
lea rdi, [rax + 0x10]
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x40], rdi
call fcn.0041b0f0
cmp qword [rax], 0
mov qword [rsp + 0x68], rax
je 0x40e393
mov rcx, qword [0x0046e9c0]
call fcn.0041b0f0
mov rcx, qword [rax]
mov qword [rsp + 0x68], rax
test rcx, rcx
je 0x40e37e
mov rdx, qword [rsp + 0x40]
mov r8d, 1
call fcn.0040b120
mov rax, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov qword [rdx + 0x10], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x50], rsi
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x120]
mov qword [rsi + 0x10], rax
mov rax, qword [rdi]
mov rax, qword [rax]
mov qword [rdi], rax
jmp 0x40ddc9
mov rax, qword [0x0046e5c0]
mov rcx, qword [rsp + 0x58]
call qword [rax]
cmp qword [rsp + 0x138], 0
jne 0x40e130
mov rax, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm9, xmmword [rsp + 0x1a0]
movaps xmm10, xmmword [rsp + 0x1b0]
movaps xmm11, xmmword [rsp + 0x1c0]
movaps xmm12, xmmword [rsp + 0x1d0]
movaps xmm13, xmmword [rsp + 0x1e0]
movaps xmm14, xmmword [rsp + 0x1f0]
movaps xmm15, xmmword [rsp + 0x200]
add rsp, 0x218
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x270]
mov rcx, qword [0x0046e990]
mov rax, qword [rax]
lea rbx, [rax + 0x23]
mov qword [rsp + 0x40], rax
mov eax, 7
cmp rbx, 7
cmovge rax, rbx
mov qword [rsp + 0x68], rax
call fcn.0041b0f0
mov rdi, qword [rsp + 0x68]
mov rcx, rax
lea rdx, [rdi + 0x21]
call fcn.00403600
mov rdi, qword [rsp + 0x68]
lea rsi, [rax + 0x10]
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rax + 8], 1
mov rcx, rsi
mov qword [rsp + 0x60], rsi
lea r8, [rdi + 0x11]
call fcn.0041b308
mov rsi, qword [rsp + 0x60]
mov rdx, qword [0x00426c50]
mov rax, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x68]
lea rcx, [rsi + 0x33]
mov qword [rsi + 0x10], rdx
mov rdx, qword [0x00426c58]
lea r10, [rax + 0x10]
mov qword [rsi + 8], rdi
mov qword [rsi + 0x18], rdx
mov rdx, qword [0x00426c60]
mov qword [rsi + 0x20], rdx
mov rdx, qword [0x00426c68]
mov qword [rsi + 0x28], rdx
mov edx, dword [0x00426c70]
mov dword [rsi + 0x30], edx
mov rdx, qword [rsp + 0x40]
mov qword [rdx + 0x10], 0x23
mov rdx, qword [rax]
test rdx, rdx
js 0x40e3d8
lea rax, [rsi + 0x43]
cmp r10, rax
mov rax, qword [rsp + 0x270]
setae r8b
add rax, 0x20
cmp rcx, rax
setae al
or r8b, al
je 0x40e3a5
cmp rdx, 0xe
jbe 0x40e3a5
mov r11, qword [rsp + 0x270]
lea r9, [rdx + 1]
xor eax, eax
mov r8, r9
and r8, 0xfffffffffffffff0
nop dword [rax]
movdqu xmm0, xmmword [r11 + rax + 0x10]
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp rax, r8
jne 0x40df80
mov rax, r9
and rax, 0xfffffffffffffff0
cmp rax, r9
je 0x40e0f0
mov rsi, qword [rsp + 0x270]
cmp rax, rdx
mov rdi, qword [rsp + 0x60]
movzx r8d, byte [rsi + rax + 0x10]
mov byte [rdi + rax + 0x33], r8b
lea r8, [rax + 1]
jge 0x40e0f0
movzx r9d, byte [rax + rsi + 0x11]
cmp rdx, r8
mov byte [rdi + rax + 0x34], r9b
lea r9, [rax + 2]
jle 0x40e0f0
movzx r8d, byte [rax + rsi + 0x12]
cmp rdx, r9
mov byte [rdi + rax + 0x35], r8b
lea r8, [rax + 3]
jle 0x40e0f0
movzx r9d, byte [rax + rsi + 0x13]
cmp rdx, r8
mov byte [rdi + rax + 0x36], r9b
lea r9, [rax + 4]
jle 0x40e0f0
movzx r8d, byte [rax + rsi + 0x14]
cmp rdx, r9
mov byte [rdi + rax + 0x37], r8b
lea r8, [rax + 5]
jle 0x40e0f0
movzx r9d, byte [r10 + rax + 5]
cmp r8, rdx
mov byte [rcx + rax + 5], r9b
lea rcx, [rax + 6]
jge 0x40e0f0
movzx r8d, byte [rax + rsi + 0x16]
cmp rdx, rcx
mov byte [rdi + rax + 0x39], r8b
lea r8, [rax + 7]
jle 0x40e0f0
movzx ecx, byte [rax + rsi + 0x17]
cmp rdx, r8
mov byte [rdi + rax + 0x3a], cl
lea rcx, [rax + 8]
jle 0x40e0f0
movzx r8d, byte [rax + rsi + 0x18]
cmp rdx, rcx
mov byte [rdi + rax + 0x3b], r8b
lea r8, [rax + 9]
jle 0x40e0f0
movzx ecx, byte [rax + rsi + 0x19]
cmp rdx, r8
mov byte [rdi + rax + 0x3c], cl
lea rcx, [rax + 0xa]
jle 0x40e0f0
movzx r8d, byte [rax + rsi + 0x1a]
cmp rdx, rcx
mov byte [rdi + rax + 0x3d], r8b
lea r8, [rax + 0xb]
jle 0x40e0f0
movzx ecx, byte [rax + rsi + 0x1b]
cmp rdx, r8
mov byte [rdi + rax + 0x3e], cl
lea rcx, [rax + 0xc]
jle 0x40e0f0
movzx r8d, byte [rax + rsi + 0x1c]
cmp rdx, rcx
mov byte [rdi + rax + 0x3f], r8b
lea r8, [rax + 0xd]
jle 0x40e0f0
movzx ecx, byte [rax + rsi + 0x1d]
mov byte [rdi + rax + 0x40], cl
add rax, 0xe
cmp rdx, r8
jle 0x40e0f0
movzx edx, byte [rsi + rax + 0x10]
mov byte [rdi + rax + 0x33], dl
nop word [rax + rax]
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x270]
mov rax, qword [rax + 0x10]
mov rdx, qword [rdi]
add rdx, rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rdx
xor edx, edx
call fcn.0040d3b0
jmp 0x40dc6f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
test rcx, rcx
je 0x40e490
add rcx, 0x10
call fcn.00415870
nop word [rax + rax]
mov rcx, qword [0x0046e9b0]
call fcn.0041b0f0
cmp byte [rax], 0
mov qword [rsp + 0x40], rax
jne 0x40e179
mov rax, qword [0x0046e620]
xor ecx, ecx
call qword [rax]
mov rax, qword [rsp + 0x40]
mov byte [rax], 1
mov rcx, qword [0x0046e990]
call fcn.0041b0f0
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.00415890
mov rcx, qword [0x0046e9a0]
lea rdi, [rax + 0x10]
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], rdi
call fcn.0041b0f0
cmp qword [rax], 0
mov qword [rsp + 0x70], rax
je 0x40e47e
mov rcx, qword [0x0046e9c0]
call fcn.0041b0f0
mov rcx, qword [rax]
mov qword [rsp + 0x70], rax
test rcx, rcx
je 0x40e469
mov rdx, qword [rsp + 0x60]
mov r8d, 1
call fcn.0040b120
mov rdi, qword [rsp + 0x78]
mov eax, 0x200c
mov edx, 1
mov ecx, 0xc
lea r8, [rsp + 0xa8]
mov word [rdi + 0x10], ax
mov edi, dword [rsp + 0x288]
mov rax, qword [0x0046e5d0]
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xa8], edi
call qword [rax]
mov rcx, rax
mov rax, qword [rsp + 0x60]
test rcx, rcx
mov qword [rax + 8], rcx
je 0x40e3e2
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x70], rax
jmp 0x40e289
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0xa4], eax
mov r8, qword [rsi + rax*8]
mov rsi, qword [0x0046e5e0]
call qword [rsi]
add qword [rsp + 0x40], 1
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x288], rax
jne 0x40e280
mov rax, qword [rsp + 0x78]
xor r9d, r9d
mov rdx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x110], rax
mov rax, qword [rdx + 8]
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rdx
mov rdx, qword [rsp + 0x268]
mov r8, qword [rdx]
mov rcx, qword [rdx + 8]
mov rdx, qword [rdx + 0x10]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rdx
mov r10, qword [rdi]
mov qword [rsp + 0x100], rdx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0xf0], r8
mov r8d, dword [rsp + 0x278]
mov qword [rsp + 0xf8], rcx
mov rcx, rdi
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x1c8]
jmp 0x40dc51
call fcn.004174a0
mov rcx, rax
mov rax, qword [rsp + 0x68]
mov qword [rax], rcx
jmp 0x40dd42
call fcn.004174a0
mov rdx, qword [rsp + 0x68]
mov qword [rdx], rax
jmp 0x40dd25
mov r9, qword [rsp + 0x270]
add rdx, 1
xor eax, eax
nop dword [rax]
nop word cs:[rax + rax]
movzx r8d, byte [r9 + rax + 0x10]
mov byte [rcx + rax], r8b
add rax, 1
cmp rax, rdx
jne 0x40e3c0
jmp 0x40e0f0
mov eax, 0x23
jmp 0x40e104
mov rcx, qword [rsp + 0x40]
call fcn.004159f0
mov rdx, rax
mov rax, qword [0x0046e850]
mov ecx, 0x200c
mov qword [rsp + 0x40], rdx
mov qword [rdx], rax
lea rax, [0x004261c6]
mov qword [rdx + 0x10], rax
mov edx, 1
call fcn.00407f60
mov rcx, qword [0x0046e8e0]
mov rdx, rax
call fcn.00404aa0
mov rcx, qword [rsp + 0x40]
lea r9, [0x004261dd]
lea r8, [0x004261e5]
lea rdx, [0x004261c6]
mov qword [rcx + 0x18], rax
mov qword [rcx + 8], 0
mov qword [rsp + 0x20], 0x1e4
call fcn.00409f20
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
jmp 0x40e25f
call fcn.004174a0
mov rcx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
jmp 0x40e1f8
call fcn.004174a0
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
jmp 0x40e1db
call fcn.00409e70
nop
nop word cs:[rax + rax]