Function at 0x40d200
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 + 0x58], 0
call fcn.004017f0
mov rcx, rax
call qword [0x0053a768]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0x288], 0
mov qword [rsp + 0x60], rax
mov rax, qword [0x0053a790]
lea rdi, [rsp + 0x170]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x140], rdi
lea rdi, [0x0040d4e0]
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0x130], rax
lea rax, [rsp + 0x130]
mov qword [rsp + 0xc0], 0
mov qword [0x0053a790], rax
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x150], rsp
mov qword [rsp + 0x138], 0
jne 0x40d850
mov rax, qword [rsp + 0x268]
xor r9d, r9d
mov rdi, qword [rsp + 0x60]
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 + 0x80]
mov qword [rsp + 0xd0], rcx
mov rcx, qword [rsp + 0x260]
mov rax, qword [rax]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x30], rdi
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x28], 0
call qword [rax + 0x1c8]
test eax, eax
mov dword [0x0053a788], eax
jne 0x40d5b0
mov rax, qword [rsp + 0xb0]
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
mov rax, qword [0x005359b0]
cmp byte [rax], 0
mov qword [rsp + 0x48], rax
jne 0x40d429
mov rax, qword [0x00535510]
xor ecx, ecx
call qword [rax]
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
call fcn.004152a0
lea rsi, [rax + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov rax, qword [0x00535980]
mov qword [rsp + 0x48], rsi
cmp qword [rax], 0
mov qword [rsp + 0x70], rax
je 0x40db30
mov rax, qword [0x00535a20]
mov rcx, qword [rax]
mov qword [rsp + 0x70], rax
test rcx, rcx
je 0x40db1b
mov rdx, qword [rsp + 0x48]
mov r8d, 1
call fcn.0040be50
mov rax, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rbx
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x120]
mov qword [rbx + 0x10], rax
mov rax, qword [0x0053a790]
mov rax, qword [rax]
mov qword [0x0053a790], rax
jmp 0x40d4fd
mov rcx, qword [rsp + 0x50]
call qword [0x0053a760]
cmp qword [rsp + 0x138], 0
jne 0x40d590
mov rax, qword [rsp + 0x58]
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 rcx, qword [0x0053a790]
test rcx, rcx
je 0x40db57
add rcx, 0x10
call fcn.00412610
nop dword [rax]
mov rax, qword [rsp + 0x270]
mov rax, qword [rax]
lea rsi, [rax + 0x23]
mov qword [rsp + 0x48], rax
mov eax, 7
cmp rsi, 7
cmovge rax, rsi
lea rcx, [rax + 0x21]
mov qword [rsp + 0x68], rax
call fcn.00412ed0
lea rsi, [rax + 0x10]
mov qword [rax + 8], 1
xor edx, edx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov rcx, rsi
mov qword [rsp + 0x60], rsi
lea r8, [rax + 0x11]
call sub.msvcrt.dll_memset
mov rsi, qword [rsp + 0x60]
mov rdx, qword [0x0041edf0]
mov rax, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x48]
lea rcx, [rsi + 0x33]
mov qword [rsi + 0x10], rdx
mov rdx, qword [0x0041edf8]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x270]
mov qword [rsi + 0x18], rdx
mov rdx, qword [0x0041ee00]
lea r8, [rax + 0x10]
mov qword [rsi + 0x20], rdx
mov rdx, qword [0x0041ee08]
mov qword [rsi + 0x28], rdx
mov edx, dword [0x0041ee10]
mov dword [rsi + 0x30], edx
mov qword [rdi + 0x10], 0x23
mov rdx, qword [rax]
test rdx, rdx
js 0x40da88
lea rax, [rsi + 0x43]
cmp r8, rax
mov rax, qword [rsp + 0x270]
setae r8b
add rax, 0x20
cmp rcx, rax
setae al
or r8b, al
je 0x40da5b
cmp rdx, 0xe
jbe 0x40da5b
mov r10, qword [rsp + 0x270]
lea r9, [rdx + 1]
xor eax, eax
mov r8, r9
and r8, 0xfffffffffffffff0
nop dword [rax]
movdqu xmm0, xmmword [r10 + rax + 0x10]
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp rax, r8
jne 0x40d6c0
mov rax, r9
and rax, 0xfffffffffffffff0
cmp rax, r9
je 0x40d820
mov rdi, qword [rsp + 0x270]
cmp rax, rdx
mov rbx, qword [rsp + 0x60]
movzx ecx, byte [rdi + rax + 0x10]
mov byte [rbx + rax + 0x33], cl
lea rcx, [rax + 1]
jge 0x40d820
movzx r8d, byte [rax + rdi + 0x11]
cmp rdx, rcx
mov byte [rbx + rax + 0x34], r8b
lea r8, [rax + 2]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x12]
cmp rdx, r8
mov byte [rbx + rax + 0x35], cl
lea rcx, [rax + 3]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x13]
cmp rdx, rcx
mov byte [rbx + rax + 0x36], r8b
lea r8, [rax + 4]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x14]
cmp rdx, r8
mov byte [rbx + rax + 0x37], cl
lea rcx, [rax + 5]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x15]
cmp rdx, rcx
mov byte [rbx + rax + 0x38], r8b
lea r8, [rax + 6]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x16]
cmp rdx, r8
mov byte [rbx + rax + 0x39], cl
lea rcx, [rax + 7]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x17]
cmp rdx, rcx
mov byte [rbx + rax + 0x3a], r8b
lea r8, [rax + 8]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x18]
cmp rdx, r8
mov byte [rbx + rax + 0x3b], cl
lea rcx, [rax + 9]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x19]
cmp rdx, rcx
mov byte [rbx + rax + 0x3c], r8b
lea r8, [rax + 0xa]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x1a]
cmp rdx, r8
mov byte [rbx + rax + 0x3d], cl
lea rcx, [rax + 0xb]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x1b]
cmp rdx, rcx
mov byte [rbx + rax + 0x3e], r8b
lea r8, [rax + 0xc]
jle 0x40d820
movzx ecx, byte [rax + rdi + 0x1c]
cmp rdx, r8
mov byte [rbx + rax + 0x3f], cl
lea rcx, [rax + 0xd]
jle 0x40d820
movzx r8d, byte [rax + rdi + 0x1d]
mov byte [rbx + rax + 0x40], r8b
add rax, 0xe
cmp rdx, rcx
jle 0x40d820
movzx edx, byte [rdi + rax + 0x10]
mov byte [rbx + rax + 0x33], dl
mov rax, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x270]
mov rax, qword [rax + 0x10]
mov rdx, qword [rsi]
add rdx, rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rdx
xor edx, edx
call fcn.0040b260
nop dword [rax]
mov rax, qword [0x005359b0]
cmp byte [rax], 0
mov qword [rsp + 0x48], rax
jne 0x40d874
mov rax, qword [0x00535510]
xor ecx, ecx
call qword [rax]
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
call fcn.004152a0
lea rdi, [rax + 0x10]
mov qword [rsp + 0x78], rax
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0
mov rax, qword [0x00535980]
mov qword [rsp + 0x68], rdi
cmp qword [rax], 0
mov qword [rsp + 0x70], rax
je 0x40db09
mov rax, qword [0x00535a20]
mov rcx, qword [rax]
mov qword [rsp + 0x70], rax
test rcx, rcx
je 0x40db42
mov rdx, qword [rsp + 0x68]
mov r8d, 1
call fcn.0040be50
mov rbx, qword [rsp + 0x78]
mov eax, 0x200c
mov edx, 1
mov ecx, 0xc
lea r8, [rsp + 0xa8]
mov word [rbx + 0x10], ax
mov ebx, dword [rsp + 0x288]
mov rax, qword [0x005354f0]
mov dword [rsp + 0xac], 0
mov dword [rsp + 0xa8], ebx
call qword [rax]
mov rcx, rax
mov rax, qword [rsp + 0x68]
test rcx, rcx
mov qword [rax + 8], rcx
je 0x40da92
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x70], rax
jmp 0x40d969
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 8]
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x280]
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0xa4], eax
mov r8, qword [rdi + rax*8]
mov rdi, qword [0x00535500]
call qword [rdi]
add qword [rsp + 0x48], 1
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x288], rax
jne 0x40d960
mov rax, qword [rsp + 0x78]
xor r9d, r9d
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x260]
mov rax, qword [rax + 0x10]
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0x110], rax
mov rax, qword [rbx + 8]
mov rbx, qword [rsp + 0x268]
mov qword [rsp + 0x120], rdx
mov qword [rsp + 0x118], rax
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
mov rbx, qword [rsp + 0x60]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x90], rdx
mov r10, qword [rdi]
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 + 0x100], rdx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x20], rax
call qword [r10 + 0x1c8]
jmp 0x40d3c7
mov r9, qword [rsp + 0x270]
add rdx, 1
xor eax, eax
nop dword [rax]
movzx r8d, byte [r9 + rax + 0x10]
mov byte [rcx + rax], r8b
add rax, 1
cmp rax, rdx
jne 0x40da70
jmp 0x40d820
mov eax, 0x23
jmp 0x40d834
call fcn.004155f0
mov rbx, rax
mov rax, qword [0x00535740]
mov edx, 1
mov ecx, 0x200c
mov qword [rsp + 0x48], rbx
mov qword [rbx], rax
lea rax, [0x0041e473]
mov qword [rbx + 0x10], rax
call fcn.00408f20
mov rcx, qword [0x005357e0]
mov rdx, rax
call fcn.00403c20
mov rbx, qword [rsp + 0x48]
lea r9, [0x0041e48a]
lea r8, [0x0041e492]
lea rdx, [0x0041e473]
mov qword [rbx + 0x18], rax
mov rcx, rbx
mov qword [rbx + 8], 0
mov qword [rsp + 0x20], 0x1e5
call fcn.0040b1c0
call fcn.004184e0
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
jmp 0x40d8bd
call fcn.004184e0
mov rcx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
jmp 0x40d48a
call fcn.004184e0
mov rdi, qword [rsp + 0x70]
mov qword [rdi], rax
jmp 0x40d472
call fcn.004184e0
mov rcx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
jmp 0x40d8d5
call fcn.0040b180
nop
nop dword [rax]