Function at 0x180017c20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4d8]
sub rsp, 0x5d8
xor esi, esi
lea ebx, [r8 + 0x4d3]
xorps xmm0, xmm0
mov dword [rsp + 0x30], ebx
mov r10, r9
mov qword [rbp - 0x48], rsi
mov r9, rdx
mov qword [rbp - 0x60], rsi
mov rdx, qword [rsp + 0x38]
cmp r8d, ebx
movzx ebx, byte [rbp + 0x530]
mov r11, rcx
mov qword [rsp + 0x38], rdx
mov r13d, r8d
mov rdi, qword [rsp + 0x38]
movdqu xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x70], xmm0
jae 0x180017e0d
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x68]
mov r14d, dword [rbp + 0x530]
mov eax, dword [rsp + 0x30]
lea r8, [0x180000000]
cmp r13d, 0x116
ja 0x180018293
je 0x18001828b
lea eax, [r13 - 7]
cmp eax, 0xee
ja case.0x180017cee.20
movzx eax, byte [r8 + rax + 0x188b0]
mov ecx, dword [r8 + rax*4 + 0x18878]
add rcx, r8
jmp rcx
mov ebx, esi
mov esi, 7
cmp ebx, 6
ja case.default.0x180017d0d
mov eax, ebx
mov ecx, dword [r8 + rax*4 + 0x189a0]
add rcx, r8
jmp rcx
mov dword [rsp + 0x4e], 0x73694c44
jmp case.default.0x180017d0d
mov r8, r12
mov byte [rsp + 0x56], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2d0]
call fcn.18002ef70
jmp 0x180017dad
mov r8d, 2
mov byte [rsp + 0x4c], 0
lea rdx, [0x18004d4cc]
lea rcx, [rsp + 0x40]
call fcn.180035260
jmp 0x180017dad
mov dword [rsp + 0x52], 0x70252074
jmp case.default.0x180017d0d
mov byte [rsp + 0x47], 0
lea rdx, [0x18004d4e5]
mov r8d, 5
lea rcx, [rsp + 0x47]
jmp 0x180017da8
mov byte [rsp + 0x40], 0
jmp case.default.0x180017d0d
mov r8d, 3
lea rdx, [0x18004d512]
lea rcx, [rsp + 0x40]
call fcn.180035260
mov r8d, 4
lea rdx, [0x18004d549]
lea rcx, [rsp + 0x43]
call fcn.180035410
lea r8, [0x180000000]
inc ebx
sub rsi, 1
jne 0x180017cf7
xor bl, bl
jmp 0x180017ddb
mov r8d, 1
lea rdx, [0x18004d569]
lea rcx, [rsp + 0x70]
call fcn.180035410
mov r10, qword [rbp + 0x538]
mov r9, qword [rbp + 0x528]
mov rdx, qword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
add r13d, 0x41
cmp r13d, eax
jb 0x180017cb1
mov r8d, dword [rbp + 0x530]
mov r11, qword [rbp + 0x520]
lea ecx, [r8 + 0xc78]
mov dword [rsp + 0x30], ecx
cmp r8d, ecx
jae 0x1800187ba
mov r14, qword [rbp - 0x68]
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x68]
mov r13d, dword [rbp + 0x530]
nop word [rax + rax]
cmp r8d, 0x2d2
ja 0x180018495
je 0x180018462
cmp r8d, 0x116
ja 0x18001839b
je 0x18001837e
cmp r8d, 7
je 0x1800187ba
cmp r8d, 0x1f
je 0x180018356
cmp r8d, 0x32
je 0x18001834c
cmp r8d, 0xda
jne 0x180018782
mov byte [rsp + 0x7a], 0
jmp 0x180018782
mov qword [0x180064de8], r10
mov qword [r10 + 0x88], r9
jmp case.0x180017cee.20
mov byte [r9], 0
jmp case.0x180017cee.20
mov rdx, rsi
mov qword [rsp + 0x38], rdx
jmp case.0x180017cee.20
movzx edx, byte [r10]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x180017f03
mov eax, 0x10e
cmp eax, 0x10e
je 0x180017ee8
cmp eax, 0x1b2
je 0x180018815
jmp 0x180017eeb
lea ebx, [rdx - 0x30]
add eax, 0xa4
cmp eax, 0x256
jb 0x180017ed4
mov r12, qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
jmp 0x180017de9
lea eax, [rdx - 0x61]
cmp al, 5
ja 0x180017f3e
mov ecx, 0x125
nop
mov eax, ecx
sub eax, 0x125
je 0x180017f24
cmp eax, 0x33
je 0x180018815
jmp 0x180017f27
lea ebx, [rdx - 0x57]
add ecx, 0x33
cmp ecx, 0x18b
jb 0x180017f10
mov r12, qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
jmp 0x180017de9
sub dl, 0x41
cmp dl, 5
jbe 0x180018340
mov r12, qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
jmp 0x180017de9
mov qword [rsp + 0x28], rsi
lea r8, [0x180019160]
mov r9, r10
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
mov qword [0x180064df0], rax
setne bl
jmp 0x180017ddb
mov rax, qword [r10 + 0x10]
sub rax, rdx
cmp rax, r15
jb case.0x180017cee.20
nop word [rax + rax]
xor ecx, ecx
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rcx
mov esi, 0xe6
mov byte [rsp + 0x40], cl
nop dword [rax]
mov eax, esi
sub eax, 0xe6
je 0x18001810f
sub eax, 0x6e
je 0x1800180e6
sub eax, 0x6e
je 0x18001806f
sub eax, 0x6e
je 0x180018049
cmp eax, 0x6e
jne 0x1800181be
mov rdx, qword [r9 + 8]
cmp rdx, qword [r9 + 0x10]
je 0x180018032
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
add qword [r9 + 8], 0x20
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
jmp 0x1800181be
lea r8, [rsp + 0x40]
mov rcx, r9
call fcn.1800018e0
mov rdx, qword [rsp + 0x38]
jmp 0x1800181ae
mov r9d, 0xe4
mov dword [rsp + 0x60], r14d
lea r8, [rsp + 0x40]
xor ecx, ecx
lea rdx, [rsp + 0x60]
call fcn.1800102c0
mov rdx, qword [rsp + 0x38]
jmp 0x1800181ae
test r14d, r14d
jne 0x1800181be
mov ecx, 0xcd
nop dword [rax]
mov eax, ecx
sub eax, 0xcd
je 0x1800180d5
cmp eax, 1
jne 0x1800180d7
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x1800187ba
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800180cb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001886c
call fcn.180030c24
jmp 0x1800187ba
xor bl, bl
inc ecx
cmp ecx, 0xcf
jb 0x180018080
jmp 0x1800181bc
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
xor edx, edx
lea r8d, [rdx + 0x10]
call fcn.18003661c
mov rdx, qword [rsp + 0x38]
mov r14d, eax
jmp 0x1800181ae
mov rax, qword [r10 + 0x10]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
cmp rax, rdx
jb 0x180018872
sub rax, rdx
mov r8, r15
cmp rax, r15
cmovb r8, rax
cmp qword [r10 + 0x18], 0x10
mov rax, r10
jb 0x180018146
mov rax, qword [r10]
add rdx, rax
lea rcx, [rbp - 0x28]
call fcn.18001f060
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18001818f
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001818a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001886c
call fcn.180030c24
mov rdx, qword [rsp + 0x38]
movups xmm0, xmmword [rbp - 0x28]
add rdx, r15
movups xmm1, xmmword [rbp - 0x18]
mov qword [rsp + 0x38], rdx
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
mov r9, qword [rbp + 0x528]
mov r10, qword [rbp + 0x538]
xor ecx, ecx
add esi, 0x6e
cmp esi, 0x30c
jb 0x180017fc0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180018217
mov rcx, qword [rsp + 0x40]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018206
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001886c
call fcn.180030c24
mov r10, qword [rbp + 0x538]
mov rdx, qword [rsp + 0x38]
mov rax, qword [r10 + 0x10]
mov r9, qword [rbp + 0x528]
sub rax, rdx
cmp rax, r15
jae 0x180017fa0
xor esi, esi
jmp case.0x180017cee.20
mov byte [r9], 1
jmp case.0x180017cee.20
mov r15d, 8
jmp case.0x180017cee.20
mov byte [rsp + 0x78], 0x74
jmp case.0x180017cee.20
mov r8d, 3
lea rdx, [0x18004d588]
lea rcx, [rsp + 0x75]
jmp 0x180017dd6
mov r8d, 4
mov byte [rsp + 0x71], 0
lea rdx, [0x18004d5a1]
lea rcx, [rsp + 0x70]
call fcn.180035260
jmp 0x180017ddb
mov rdi, rsi
jmp 0x180017df2
mov eax, r13d
sub eax, 0x118
je 0x1800182ee
sub eax, 0x1d
je 0x1800187ba
sub eax, 0x24
je 0x1800182c5
sub eax, 0x41
je 0x1800182be
cmp eax, 0x41
je 0x180018815
jmp case.0x180017cee.20
mov bl, 1
jmp case.0x180017cee.20
mov rax, qword [rbp - 0x58]
mov dword [r10], esi
cmp rax, qword [rbp - 0x50]
je case.0x180017cee.20
cmp dword [rax + 8], 0
jne 0x1800182df
inc dword [r10]
add rax, 0x20
cmp rax, qword [rbp - 0x50]
jne 0x1800182d6
jmp case.0x180017cee.20
mov r9d, 0x102
mov qword [rsp + 0x20], rsi
lea r8, [rbp - 0x58]
xor edx, edx
xor ecx, ecx
call fcn.18000ad60
test al, al
jne 0x180017ddb
mov ecx, 0xb7
mov eax, ecx
sub eax, 0xb6
je 0x180018815
mov r10, qword [rbp + 0x538]
cmp eax, 1
jne 0x180018331
mov dword [r10], eax
xor bl, bl
dec ecx
cmp ecx, 0xb5
ja 0x180018313
jmp 0x180017de2
movzx ebx, byte [r10]
sub bl, 0x37
jmp 0x180018815
mov byte [rsp + 0x79], 0x57
jmp 0x180018782
mov eax, 0x6c
nop dword [rax + rax]
cmp eax, 0x6c
je 0x1800187aa
add eax, 0x1e60
cmp eax, 0x1e60
jbe 0x180018360
mov word [rbp - 0x40], si
jmp 0x180018782
mov rcx, rdi
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov rcx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
jmp 0x180018770
mov eax, r8d
sub eax, 0x182
je 0x180018375
sub eax, 0x3c
je 0x1800183ee
sub eax, 0x6c
je 0x1800183d3
cmp eax, 0x3c
jne 0x180018782
xorps xmm0, xmm0
mov dword [rbp - 0x78], 3
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
jmp 0x180018782
mov r8d, 2
lea rdx, [0x18004d5b8]
lea rcx, [rbp - 0x40]
call fcn.18003500c
jmp 0x180018770
test r15, r15
je 0x18001841c
mov esi, 0x18
mov eax, esi
sub eax, 0x17
je 0x180018412
cmp eax, 1
jne 0x180018415
mov rdx, r15
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x180018415
xor r15d, r15d
dec esi
cmp esi, 0x16
ja 0x1800183f8
xor r9d, r9d
lea rcx, [rbp - 0x70]
xor r8d, r8d
mov edx, 0xac
call fcn.18000cd30
test al, al
jne 0x180018459
mov ecx, 0x2c
nop dword [rax]
mov eax, ecx
sub eax, 0x2b
je 0x1800187ba
cmp eax, 1
jne 0x180018452
xor bl, bl
dec ecx
cmp ecx, 0x2a
ja 0x180018440
mov r14, qword [rbp - 0x68]
jmp 0x180018770
mov r8d, 3
lea rdx, [0x18004d6d0]
lea rcx, [rbp - 0x40]
call fcn.18003500c
movsd xmm0, qword [0x18004d730]
movzx eax, word [0x18004d738]
movsd qword [rbp - 0x36], xmm0
mov word [rbp - 0x2e], ax
jmp 0x180018770
cmp r8d, 0x45e
ja 0x1800186f7
je 0x1800186d3
mov eax, r8d
sub eax, 0x30e
je 0x18001854f
sub eax, 0x6c
je 0x18001852b
sub eax, 0x3c
je 0x180018520
cmp eax, 0x6c
jne 0x180018782
mov eax, dword [r11]
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], eax
lea rcx, [rbp + 0x50]
mov eax, dword [r9]
mov r8d, 0x116
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], eax
call fcn.180017c20
test al, al
je 0x1800187b8
mov dword [rsp + 0x28], 1
lea r9, [rbp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x68]
mov r10, qword [rbp + 0x538]
mov qword [r10], rax
jmp 0x180018777
mov r13d, 3
jmp 0x180018782
xor r9d, r9d
mov word [rbp - 0x2c], si
lea r8, [rsp + 0x70]
mov edx, 0xe1
lea rcx, [rbp - 0x40]
call fcn.18000a910
mov qword [rsp + 0x68], rax
jmp 0x180018770
mov rsi, qword [rbp - 0x70]
cmp rsi, r14
je 0x1800186be
nop dword [rax]
movzx eax, word [0x18004d618]
movsd xmm0, qword [str.MSAFD_Pgm__RDM_]
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
mov eax, dword [r10]
movsd qword [rsp + 0x40], xmm0
cmp dword [rsi + 0x4c], eax
jne 0x18001869c
mov eax, dword [r9]
cmp dword [rsi + 0x58], eax
jne 0x18001869c
lea rcx, [rsi + 0x74]
mov r8d, 5
lea rdx, [rsp + 0x40]
call fcn.18003509c
test eax, eax
jne 0x180018695
mov r8d, 0x7f
nop dword [rax + rax]
cmp r8d, 0x7f
je 0x1800185d8
cmp r8d, 0x5456
je 0x1800187ba
jmp 0x180018681
mov rdx, qword [rbp + 0x520]
mov rax, rsi
mov ecx, 4
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1800185f0
movups xmm0, xmmword [rax]
mov bl, 1
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov ecx, dword [rax + 0x70]
mov dword [rdx + 0x70], ecx
add r8d, 0x53d7
cmp r8d, 0xa7ae
jbe 0x1800185c0
mov r10, qword [rbp + 0x538]
mov r9, qword [rbp + 0x528]
add rsi, 0x274
cmp rsi, r14
jne 0x180018560
mov ecx, dword [rsp + 0x30]
mov r8d, dword [rbp + 0x530]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov dword [rbp + 0x18], eax
movups xmmword [rbp + 8], xmm0
jmp 0x180018782
mov r8d, dword [rbp - 0x78]
lea r9, [rbp - 8]
mov dword [rsp + 0x28], 2
lea rdx, [rbp + 0x20]
mov rcx, r15
mov dword [rsp + 0x20], r13d
call qword [sym.imp.MSIMG32.dll_GradientFill]
jmp 0x180018770
mov eax, r8d
sub eax, 0x4ca
je 0x18001873a
sub eax, 0x3c
je 0x18001871c
sub eax, 0x6c
je 0x180018718
cmp eax, 0xa8
je 0x1800187ba
jmp 0x180018782
mov bl, 1
jmp 0x180018782
mov eax, 0xe3
cmp eax, 0xe3
je 0x1800187b8
add eax, 0x28ca
cmp eax, 0x28ca
jbe 0x180018721
jmp 0x180018782
xor r9d, r9d
mov rdx, r10
xor ecx, ecx
lea r8d, [r9 + 0x2f]
call fcn.1800116f0
test al, al
jne 0x180018770
mov ecx, 0xf0
mov eax, ecx
sub eax, 0xf0
je 0x180018764
cmp eax, 1
je 0x1800187ba
jmp 0x180018766
xor bl, bl
inc ecx
cmp ecx, 0xf2
jb 0x180018754
mov r10, qword [rbp + 0x538]
mov r8d, dword [rbp + 0x530]
mov ecx, dword [rsp + 0x30]
add r8d, 0xa8
mov dword [rbp + 0x530], r8d
cmp r8d, ecx
jae 0x1800187ba
mov r9, qword [rbp + 0x528]
xor esi, esi
mov r11, qword [rbp + 0x520]
jmp 0x180017e40
mov rax, qword [rsp + 0x38]
cmp rax, qword [r10 + 0x10]
sete bl
jmp 0x1800187ba
xor bl, bl
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x180018815
mov rcx, qword [rbp - 0x60]
movabs rax, 0x342da7f2f4960343
sub rcx, r8
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
imul rdx, rdx, 0x274
cmp rdx, 0x1000
jb 0x18001880d
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018866
mov rcx, r8
call fcn.180030c24
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18001884f
mov rdx, qword [rbp - 0x48]
mov rax, rcx
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x18001884a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180018866
call fcn.180030c24
movzx eax, bl
add rsp, 0x5d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180034d34
int3
call fcn.180034d34
int3
call fcn.18001eae0
int3