Function at 0x405940
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov r11, rsp
sub rsp, 0x448
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
mov qword [r11 - 0x30], r14
mov qword [r11 - 0x38], r15
mov rax, qword [0x00455290]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov r14, r8
mov rbx, rdx
mov r12, rcx
mov qword [r11 - 0x388], rcx
mov qword [r11 - 0x2c0], r8
xor r15d, r15d
mov dword [r11 - 0x394], r15d
mov byte [rsp + 0x30], r15b
lea r8, [rsp + 0x30]
mov edx, 0x5dc
call fcn.0040a8f0
mov dword [rsp + 0xb4], 1
mov qword [rsp + 0x110], r15
xor eax, eax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x150], 7
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], ax
mov qword [rsp + 0x128], rbx
lea r9, [r15 - 1]
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x130]
call fcn.0040a6e0
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x110]
lea r8, [0x00401db0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x110]
lea r8, [0x00402880]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x110]
lea r8, [0x00403380]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x110]
lea r8, [0x00404230]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x110]
lea r8, [0x00404da0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov word [rsp + 0x30], 0x51
lea rax, [rsp + 0x38]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], r15
movaps xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
lea r8d, [r15 + 1]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rdi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x405b8c
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
cmp rdi, rdx
ja 0x405b96
cmp rdi, rbx
jae 0x405ba5
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x68
test rbx, rbx
je 0x405be2
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x405be2
mov word [rdx], 0x68
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x405c90
mov rdi, rdx
cmp rbx, rdx
jbe 0x405bf9
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x405c2a
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x405c2a
cmp rbx, rdx
jbe 0x405c22
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x405c2d
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x405c73
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x405c81
cmp rax, rbx
jae 0x405c90
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x73
test rbx, rbx
je 0x405ccd
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x405ccd
mov word [rdx], 0x73
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x405d7b
mov rdi, rdx
cmp rbx, rdx
jbe 0x405ce4
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x405d15
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x405d15
cmp rbx, rdx
jbe 0x405d0d
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x405d18
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x405d5e
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x405d6c
cmp rax, rbx
jae 0x405d7b
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x4a
test rbx, rbx
je 0x405db8
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x405db8
mov word [rdx], 0x4a
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x405e66
mov rdi, rdx
cmp rbx, rdx
jbe 0x405dcf
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x405e00
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x405e00
cmp rbx, rdx
jbe 0x405df8
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x405e03
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x405e49
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x405e57
cmp rax, rbx
jae 0x405e66
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x67
test rbx, rbx
je 0x405ea3
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x405ea3
mov word [rdx], 0x67
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x405f51
mov rdi, rdx
cmp rbx, rdx
jbe 0x405eba
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x405eeb
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x405eeb
cmp rbx, rdx
jbe 0x405ee3
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x405eee
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x405f34
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x405f42
cmp rax, rbx
jae 0x405f51
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x7a
test rbx, rbx
je 0x405f8e
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x405f8e
mov word [rdx], 0x7a
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x40603c
mov rdi, rdx
cmp rbx, rdx
jbe 0x405fa5
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x405fd6
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x405fd6
cmp rbx, rdx
jbe 0x405fce
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x405fd9
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x40601f
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x40602d
cmp rax, rbx
jae 0x40603c
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x75
test rbx, rbx
je 0x406079
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x406079
mov word [rdx], 0x75
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x406127
mov rdi, rdx
cmp rbx, rdx
jbe 0x406090
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x4060c1
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x4060c1
cmp rbx, rdx
jbe 0x4060b9
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x4060c4
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x40610a
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x406118
cmp rax, rbx
jae 0x406127
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x4c
test rbx, rbx
je 0x406164
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x406164
mov word [rdx], 0x4c
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x406212
mov rdi, rdx
cmp rbx, rdx
jbe 0x40617b
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x4061ac
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x4061ac
cmp rbx, rdx
jbe 0x4061a4
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x4061af
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x4061f5
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x406203
cmp rax, rbx
jae 0x406212
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x64
test rbx, rbx
je 0x40624f
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x40624f
mov word [rdx], 0x64
add rdx, 2
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x40]
jmp 0x4062fd
mov rdi, rdx
cmp rbx, rdx
jbe 0x406266
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x406297
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x406297
cmp rbx, rdx
jbe 0x40628f
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x40629a
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov rbx, qword [rsp + 0x40]
mov rsi, rbx
mov rdx, qword [rsp + 0x48]
cmp rbx, rdx
jbe 0x4062e0
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x4062ee
cmp rax, rbx
jae 0x4062fd
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov word [rsp + 0x30], 0x66
test rbx, rbx
je 0x406335
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0x50]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x406335
mov word [rdx], 0x66
lea rax, [rdx + 2]
mov qword [rsp + 0x48], rax
jmp 0x4063d9
mov rdi, rdx
cmp rbx, rdx
jbe 0x40634c
call fcn.00427b10
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x40637d
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x40637d
cmp rbx, rdx
jbe 0x406375
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x406380
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.0040ab30
mov r11, qword [rsp + 0x40]
mov rbx, r11
mov rax, qword [rsp + 0x48]
cmp r11, rax
jbe 0x4063c6
call fcn.00427b10
mov rax, qword [rsp + 0x48]
mov r11, qword [rsp + 0x40]
lea rcx, [rbx + rdi*2]
cmp rcx, rax
ja 0x4063d4
cmp rcx, r11
jae 0x4063d9
call fcn.00427b10
mov word [rsp + 0x30], 0x66
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x51
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x67
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x79
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x75
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.0040a0f0
mov word [rsp + 0x190], 0x75
mov word [rsp + 0x192], 0x7a
mov word [rsp + 0x194], 0x46
mov word [rsp + 0x196], 0x63
mov word [rsp + 0x198], 0x6e
mov word [rsp + 0x19a], 0x47
mov word [rsp + 0x19c], 0x66
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xf0]
call fcn.00409f30
mov r9d, 7
lea r8, [rsp + 0x190]
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.00401280
nop
mov dword [rsp + 0xb0], r15d
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.0040a3c0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x128]
call fcn.00401b70
mov r13, rax
mov ebp, r15d
lea r9, [rsp + 0xb0]
mov r8d, 0x258
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x120]
call r13
test eax, eax
je 0x4065c5
nop
nop
mov ecx, dword [rsp + 0xb0]
test ecx, ecx
je 0x4065c5
mov edi, r15d
test ecx, ecx
je 0x40659c
lea rbx, [rsp + 0x1a0]
nop
nop
mov esi, ebp
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x406579
mov rax, qword [r12 + 0x10]
sub rax, rcx
cmp rsi, rax
jb 0x40657e
call fcn.00427b10
mov rcx, qword [r12 + 8]
movzx eax, byte [rbx]
mov byte [rsi + rcx], al
add edi, 1
add rbx, 1
add ebp, 1
cmp edi, dword [rsp + 0xb0]
jb 0x406560
lea r9, [rsp + 0xb0]
mov r8d, 0x258
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x120]
call r13
test eax, eax
jne 0x406540
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r15
mov word [rsp + 0x30], 0x4f
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.0040ab30
mov rbx, qword [rsp + 0x98]
mov rdi, rbx
mov rdx, qword [rsp + 0xa0]
cmp rbx, rdx
jbe 0x40664b
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
cmp rdi, rdx
ja 0x406655
cmp rdi, rbx
jae 0x40666a
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov word [rsp + 0x30], 0x61
test rbx, rbx
je 0x4066b0
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0xa8]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x4066b0
mov word [rdx], 0x61
add rdx, 2
mov qword [rsp + 0xa0], rdx
mov rbx, qword [rsp + 0x98]
jmp 0x40677c
mov rdi, rdx
cmp rbx, rdx
jbe 0x4066cd
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x406701
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x406701
cmp rbx, rdx
jbe 0x4066f9
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x406704
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.0040ab30
mov rbx, qword [rsp + 0x98]
mov rsi, rbx
mov rdx, qword [rsp + 0xa0]
cmp rbx, rdx
jbe 0x406759
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
lea rax, [rsi + rdi*2]
cmp rax, rdx
ja 0x406767
cmp rax, rbx
jae 0x40677c
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
mov word [rsp + 0x30], 0x6a
test rbx, rbx
je 0x4067ba
mov rcx, rdx
sub rcx, rbx
sar rcx, 1
mov rax, qword [rsp + 0xa8]
sub rax, rbx
sar rax, 1
cmp rcx, rax
jae 0x4067ba
mov word [rdx], 0x6a
lea rax, [rdx + 2]
mov qword [rsp + 0xa0], rax
jmp 0x406876
mov rdi, rdx
cmp rbx, rdx
jbe 0x4067d7
call fcn.00427b10
mov rdx, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdi
test rbx, rbx
je 0x40680b
mov rax, rdx
sub rax, rbx
sar rax, 1
je 0x40680b
cmp rbx, rdx
jbe 0x406803
call fcn.00427b10
sub rdi, rbx
sar rdi, 1
jmp 0x40680e
mov rdi, r15
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x30]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.0040ab30
mov r11, qword [rsp + 0x98]
mov rbx, r11
mov rax, qword [rsp + 0xa0]
cmp r11, rax
jbe 0x406863
call fcn.00427b10
mov rax, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x98]
lea rcx, [rbx + rdi*2]
cmp rcx, rax
ja 0x406871
cmp rcx, r11
jae 0x406876
call fcn.00427b10
mov word [rsp + 0x30], 0x52
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x4d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x64
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x67
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6f
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6f
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x5a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x73
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x6e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x64
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x30], 0x77
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.0040a0f0
mov word [rsp + 0x190], 0x73
mov word [rsp + 0x192], 0x53
mov word [rsp + 0x194], 0x77
mov word [rsp + 0x196], 0x4b
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.00409f30
mov r9d, 4
lea r8, [rsp + 0x190]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.00401280
nop
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.0040a3c0
nop
cmp qword [rsp + 0xe8], 0x10
jb 0x406a79
mov rcx, qword [rsp + 0xd0]
call fcn.0040be18
lea r9, [0x00448200]
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
mov r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.0040a3c0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x128]
call fcn.00401b70
mov rbx, rax
mov rcx, qword [rsp + 0x120]
call rbx
mov rcx, qword [rsp + 0x118]
call rbx
mov rcx, qword [rsp + 0x110]
call rbx
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x406b08
call fcn.0040be18
mov qword [rsp + 0x98], r15
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r15
cmp qword [rsp + 0x180], 0x10
jb 0x406b38
mov rcx, qword [rsp + 0x168]
call fcn.0040be18
mov qword [rsp + 0x180], 0xf
mov qword [rsp + 0x178], r15
mov byte [rsp + 0x168], 0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x406b63
call fcn.0040be18
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
cmp qword [rsp + 0x150], 8
jb 0x406b8a
mov rcx, qword [rsp + 0x138]
call fcn.0040be18
mov qword [rsp + 0x150], 7
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], 0
cmp qword [r14 + 0x20], 8
jb 0x406bb8
mov rcx, qword [r14 + 8]
call fcn.0040be18
mov qword [r14 + 0x20], 7
mov qword [r14 + 0x18], r15
mov word [r14 + 8], 0
mov rax, r12
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.00427520
mov rbx, qword [rsp + 0x468]
mov rbp, qword [rsp + 0x440]
mov rsi, qword [rsp + 0x438]
mov rdi, qword [rsp + 0x430]
mov r12, qword [rsp + 0x428]
mov r13, qword [rsp + 0x420]
mov r14, qword [rsp + 0x418]
mov r15, qword [rsp + 0x410]
add rsp, 0x448
ret