Function at 0x410f0540
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1310
call fcn.41295c90
sub rsp, rax
mov qword [rsp + 0x140], 0xfffffffffffffffe
mov qword [rsp + 0x1360], rbx
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x1300], rax
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0xa0], rcx
mov dword [rcx + 0x1210], 1
lea rcx, [rsp + 0xd0]
call fcn.4120a860
nop
xor r12d, r12d
mov r15, r12
mov qword [rsp + 0x90], r12
cmp dword [r14 + 0x1208], r12d
je 0x410f05fa
mov rdx, rdi
mov rcx, r14
call fcn.4104c710
lea rdx, [r14 + 0x1314]
mov rcx, r14
call fcn.4104aa00
test rax, rax
je 0x410f07b1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rsp + 0xd0]
call fcn.4120e060
jmp 0x410f07b1
mov word [rsp + 0x780], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x782]
call fcn.412121c0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.410eaa40
cmp qword [rax + 0x20], 8
jb 0x410f0632
mov r8, qword [rax + 8]
jmp 0x410f0636
lea r8, [rax + 8]
lea rdx, [0x4129b194]
lea rcx, [rsp + 0x780]
call fcn.412122b0
cmp qword [rsp + 0x40], 8
jb 0x410f065c
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
lea rcx, [rsp + 0x780]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410f06aa
lea rax, [0x412a4888]
mov qword [rsp + 0xd0], rax
lea rax, [0x41361370]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x410f0696
call fcn.41212980
lea rcx, [rsp + 0xd0]
call fcn.4120a4b0
xor eax, eax
jmp 0x410f150f
lea rdx, [rsp + 0xba0]
lea rcx, [rsp + 0x780]
call fcn.41035990
xor r8d, r8d
lea rdx, [rsp + 0xba0]
lea rcx, [rsp + 0xd0]
call fcn.4120bfe0
test al, al
jne 0x410f07aa
lea r8, [0x412aec40]
lea rdx, str.Skin
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
jne 0x410f073a
lea rax, [0x412a4888]
mov qword [rsp + 0xd0], rax
lea rax, [0x41361370]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x410f0726
call fcn.41212980
lea rcx, [rsp + 0xd0]
call fcn.4120a4b0
xor eax, eax
jmp 0x410f150f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [rsi + 1]
mov edi, eax
mov ecx, eax
call fcn.4120fd60
mov r15, rax
mov qword [rsp + 0x90], rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.412121c0
mov r8, rsi
mov rdx, rbx
mov rcx, r15
call fcn.4121e450
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0xd0]
call fcn.4120e060
jmp 0x410f07b1
mov dword [r14 + 0x1210], r12d
lea rdx, str.TheSkin
lea rcx, [rsp + 0xd0]
call fcn.41209d70
test rax, rax
jne 0x410f0806
lea rax, [0x412a4888]
mov qword [rsp + 0xd0], rax
lea rax, [0x41361370]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x410f07f2
call fcn.41212980
lea rcx, [rsp + 0xd0]
call fcn.4120a4b0
xor eax, eax
jmp 0x410f150f
mov rcx, rax
call fcn.41209dc0
mov r13, rax
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x410f14c7
lea rsi, [0x412afcb8]
lea rdi, [0x412afd98]
lea r15, [0x412ae598]
movabs rbp, 0x7ffffffffffffffe
mov ecx, 0x28
call fcn.41211580
nop
test rax, rax
je 0x410f0862
mov qword [rax], rsi
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
jmp 0x410f0865
mov rax, r12
mov qword [rsp + 0x70], rax
mov rcx, qword [r13 + 0x38]
add rcx, 0x10
lea rdx, [rsp + 0x990]
call fcn.41035a10
mov ecx, 0x28
call fcn.41211580
nop
test rax, rax
je 0x410f08a0
mov qword [rax], rdi
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
jmp 0x410f08a3
mov rax, r12
mov qword [rsp + 0xb8], rax
mov ecx, 0x10
call fcn.41211580
mov rsi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x410f0915
mov qword [rax], r15
mov ecx, 0x18
call fcn.41211580
mov rdi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x410f090c
mov rcx, rax
call fcn.410cc1f0
mov qword [rdi + 8], rax
mov byte [rax + 0x69], 1
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x10], r12
jmp 0x410f090f
mov rdi, r12
mov qword [rsi + 8], rdi
jmp 0x410f0918
mov rsi, r12
mov qword [rsp + 0xa8], rsi
lea rax, [r13 + 0x50]
mov rbx, qword [rax + 0x38]
cmp rbx, rax
je 0x410f0b6d
test rbx, rbx
je 0x410f0b6d
nop
nop
mov rcx, qword [rbx + 0x20]
mov rdi, qword [rbx + 0x28]
add rdi, 0x10
add rcx, 0x10
je 0x410f0b59
test rdi, rdi
je 0x410f0b59
lea rdx, [rsp + 0x360]
call fcn.41035a10
lea rdx, [rsp + 0x150]
mov rcx, rdi
call fcn.41035a10
mov edx, 7
mov qword [rsp + 0x40], rdx
mov r8, r12
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x150]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
cmp rcx, rbp
jbe 0x410f09c4
call fcn.4120fbc0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rsi
jae 0x410f09dd
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.41022ab0
mov rdx, qword [rsp + 0x40]
jmp 0x410f09fb
test rsi, rsi
jne 0x410f09fb
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], si
jmp 0x410f0a42
test rsi, rsi
je 0x410f0a42
lea rcx, [rsp + 0x28]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x28]
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x150]
call fcn.412118b0
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax + rdi], 0
mov edx, 7
mov qword [rsp + 0x68], rdx
mov r8, r12
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x360]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
cmp rcx, rbp
jbe 0x410f0a8a
call fcn.4120fbc0
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
cmp rdx, rsi
jae 0x410f0aa3
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.41022ab0
mov rdx, qword [rsp + 0x68]
jmp 0x410f0ac1
test rsi, rsi
jne 0x410f0ac1
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
cmp rdx, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax], si
jmp 0x410f0b08
test rsi, rsi
je 0x410f0b08
lea rcx, [rsp + 0x50]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x50]
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0x360]
call fcn.412118b0
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rdi + rax], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
call qword [rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x410f0b32
mov rcx, qword [rsp + 0x50]
call fcn.41210d60
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], 0
cmp qword [rsp + 0x40], 8
jb 0x410f0b59
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, rbx
call fcn.4120a040
mov rbx, rax
test rax, rax
jne 0x410f0940
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
mov r9d, 0xe
lea r8, str.OurSelf
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.412118b0
mov qword [rsp + 0x38], 7
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax + 0xe], 0
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f0be9
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
mov r9d, 0xe
lea r8, str.OurSelf
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.412118b0
mov qword [rsp + 0x38], 7
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rax + 0xe], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f0c62
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
lea rsi, [rsp + 0x990]
lea rdi, str.SkinConfigure
mov ecx, 0xe
repe cmpsw word [rsi], word [rdi]
jne 0x410f10ae
mov rcx, r13
call fcn.41209dc0
mov rbp, rax
test rax, rax
je 0x410f1422
movabs r14, 0x7ffffffffffffffe
lea r13, [0x412afd98]
nop
nop
nop
mov rcx, qword [rbp + 0x38]
add rcx, 0x10
lea rdx, [rsp + 0x570]
call fcn.41035a10
mov ecx, 0x28
call fcn.41211580
nop
test rax, rax
je 0x410f0ce6
mov qword [rax], r13
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
jmp 0x410f0ce9
mov rax, r12
mov qword [rsp + 0x88], rax
mov ecx, 0x10
call fcn.41211580
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x410f0d5b
mov qword [rax], r15
mov ecx, 0x18
call fcn.41211580
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x410f0d52
mov rcx, rax
call fcn.410cc1f0
mov qword [rdi + 8], rax
mov byte [rax + 0x69], 1
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x10], r12
jmp 0x410f0d55
mov rdi, r12
mov qword [rsi + 8], rdi
jmp 0x410f0d5e
mov rsi, r12
mov qword [rsp + 0x80], rsi
mov rcx, rbp
call fcn.41209dc0
mov rbx, rax
test rax, rax
je 0x410f0fb7
nop
nop
mov rcx, qword [rbx + 0x38]
add rcx, 0x10
lea rdx, [rsp + 0xec0]
call fcn.41035a10
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x410f0fa3
mov rax, qword [rcx]
call qword [rax + 0x60]
test rax, rax
je 0x410f0fa3
mov rcx, qword [rax + 0x38]
add rcx, 0x10
lea rdx, [rsp + 0xcb0]
call fcn.41035a10
mov edx, 7
mov qword [rsp + 0x40], rdx
mov r8, r12
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xcb0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
cmp rcx, r14
jbe 0x410f0e0e
call fcn.4120fbc0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rsi
jae 0x410f0e27
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.41022ab0
mov rdx, qword [rsp + 0x40]
jmp 0x410f0e45
test rsi, rsi
jne 0x410f0e45
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], si
jmp 0x410f0e8c
test rsi, rsi
je 0x410f0e8c
lea rcx, [rsp + 0x28]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x28]
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0xcb0]
call fcn.412118b0
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rdi + rax], 0
mov edx, 7
mov qword [rsp + 0x68], rdx
mov r8, r12
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xec0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rsi, rcx
cmp rcx, r14
jbe 0x410f0ed4
call fcn.4120fbc0
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
cmp rdx, rsi
jae 0x410f0eed
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.41022ab0
mov rdx, qword [rsp + 0x68]
jmp 0x410f0f0b
test rsi, rsi
jne 0x410f0f0b
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
cmp rdx, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax], si
jmp 0x410f0f52
test rsi, rsi
je 0x410f0f52
lea rcx, [rsp + 0x50]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x50]
lea rdi, [rsi + rsi]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0xec0]
call fcn.412118b0
mov qword [rsp + 0x60], rsi
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov word [rdi + rax], 0
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x48]
call qword [rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x410f0f7c
mov rcx, qword [rsp + 0x50]
call fcn.41210d60
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], 0
cmp qword [rsp + 0x40], 8
jb 0x410f0fa3
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, rbx
call fcn.41209ee0
mov rbx, rax
test rax, rax
jne 0x410f0d80
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
mov r8d, 7
lea rdx, str.OurSelf
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f1011
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x570]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f107b
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, rbp
call fcn.41209ee0
mov rbp, rax
test rax, rax
jne 0x410f0cb0
mov r13, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xa0]
movabs rbp, 0x7ffffffffffffffe
jmp 0x410f142c
mov rcx, r13
call fcn.41209dc0
mov r12, rax
test rax, rax
je 0x410f141d
xor esi, esi
lea r14, [0x412afd98]
nop
nop
mov ecx, 0x28
call fcn.41211580
nop
test rax, rax
je 0x410f10f1
mov qword [rax], r14
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rsi
jmp 0x410f10f4
mov rax, rsi
mov qword [rsp + 0xb0], rax
mov rcx, qword [r12 + 0x38]
add rcx, 0x10
lea rdx, [rsp + 0x570]
call fcn.41035a10
mov rcx, r12
call fcn.41209dc0
mov rbp, rax
test rax, rax
je 0x410f138b
mov ecx, 0x10
call fcn.41211580
mov rsi, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x410f1193
mov qword [rax], r15
mov ecx, 0x18
call fcn.41211580
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x410f118b
mov rcx, rax
call fcn.410cc1f0
mov qword [rdi + 8], rax
mov byte [rax + 0x69], 1
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov rax, qword [rdi + 8]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 0x10], rax
mov qword [rdi + 0x10], 0
jmp 0x410f118d
xor edi, edi
mov qword [rsi + 8], rdi
jmp 0x410f1195
xor esi, esi
mov qword [rsp + 0xc8], rsi
lea rax, [rbp + 0x50]
mov rbx, qword [rax + 0x38]
cmp rbx, rax
je 0x410f1304
test rbx, rbx
je 0x410f1308
nop
nop
nop
mov rcx, qword [rbx + 0x20]
add rcx, 0x10
mov rdi, qword [rbx + 0x28]
lea rdx, [rsp + 0x360]
call fcn.41035a10
lea rdx, [rsp + 0x150]
lea rcx, [rdi + 0x10]
call fcn.41035a10
lea rsi, [rsp + 0x360]
lea rdi, [0x412ad460]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
jne 0x410f121f
lea r8, [rsp + 0x150]
lea rdx, [0x4129b194]
lea rcx, [rsp + 0x10d0]
call fcn.412122b0
mov qword [rsp + 0x68], 7
xor esi, esi
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x150]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x48]
call fcn.41024690
nop
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x360]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f12c7
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], 0
cmp qword [rsp + 0x68], 8
jb 0x410f12ee
mov rcx, qword [rsp + 0x50]
call fcn.41210d60
mov rcx, rbx
call fcn.4120a040
mov rbx, rax
test rax, rax
jne 0x410f11c0
jmp 0x410f130a
xor esi, esi
jmp 0x410f130a
xor esi, esi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x10d0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x10d0]
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f1377
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, rbp
call fcn.41209ee0
mov rbp, rax
test rax, rax
jne 0x410f1126
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x570]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x570]
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f13f5
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, r12
call fcn.41209ee0
mov r12, rax
test rax, rax
jne 0x410f10d0
mov r14, qword [rsp + 0xa0]
movabs rbp, 0x7ffffffffffffffe
jmp 0x410f142c
xor r12d, r12d
jmp 0x410f142c
movabs rbp, 0x7ffffffffffffffe
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r12
mov word [rsp + 0x28], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x990]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x990]
lea rcx, [rsp + 0x20]
call fcn.41024690
nop
mov rcx, qword [r14 + 0x1300]
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x20]
call qword [rax]
nop
cmp qword [rsp + 0x40], 8
jb 0x410f1495
mov rcx, qword [rsp + 0x28]
call fcn.41210d60
mov rcx, r13
call fcn.41209ee0
mov r13, rax
mov qword [rsp + 0xc0], rax
test rax, rax
lea rdi, [0x412afd98]
lea rsi, [0x412afcb8]
jne 0x410f0841
mov r15, qword [rsp + 0x90]
test r15, r15
je 0x410f14d5
mov rcx, r15
call fcn.41212980
nop
lea rax, [0x412a4888]
mov qword [rsp + 0xd0], rax
lea rax, [0x41361370]
mov rcx, qword [rsp + 0x128]
cmp rcx, rax
je 0x410f14fd
call fcn.41212980
lea rcx, [rsp + 0xd0]
call fcn.4120a4b0
mov eax, 1
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x1360]
add rsp, 0x1310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret