Function at 0x100c6830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101006cd
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x628], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x218]
mov ecx, 0x19
mov dword [ebp - 0x624], eax
mov eax, dword [ebp + 0xc]
mov esi, str._ALLUSERSPROFILE_360WallPaperOpenShellLanguages
rep movsd dword es:[edi], dword [esi]
push 0x1a2
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x1b2]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.100d6eb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov esi, dword [ebp - 0x624]
lea eax, [ebp - 0x620]
push dword [esi]
push str._s.dll
push 0x104
push eax
call fcn.100a4830
add esp, 0x10
lea ecx, [ebp - 0x6c8]
call fcn.100c3190
mov edx, 0xfeb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x624]
call fcn.100aedf0
lea ecx, [ebp - 0x6c8]
push dword [eax]
push ebx
call fcn.100c3250
mov edx, dword [ebp - 0x624]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6938
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
call fcn.100215d0
mov ecx, eax
test ecx, ecx
je 0x100c6e4b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x620]
mov eax, dword [esi + 4]
lea edx, [ecx + 2]
mov dword [ebp - 0x65c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x650], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c6990
sub ecx, edx
lea eax, [ebp - 0x620]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x64c]
call fcn.10021eb0
push 0
lea eax, [ebp - 0x6c8]
mov byte [ebp - 0x644], 1
mov dword [ebp - 0x648], eax
mov eax, dword [ebp - 0x628]
push 0
mov dword [ebp - 0x640], eax
lea eax, [ebp - 0x65c]
push eax
push 0x100c6540
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1cff
push 0xffffffffffffffff
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x630]
push 0
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
jne 0x100c6a7c
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x678]
push eax
call esi
test eax, eax
je 0x100c6a5c
lea eax, [ebp - 0x678]
push eax
call edi
lea eax, [ebp - 0x678]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x678]
push eax
call esi
test eax, eax
jne 0x100c6a35
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x630]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 1
je 0x100c6a20
or edi, 0xffffffff
push dword [ebp - 0x6c4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [ebp - 0x630]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x63c]
cmp eax, 1
jne 0x100c6aa7
lea esi, [eax + 1]
jmp 0x100c6e03
cmp eax, 2
jne 0x100c6b51
mov edx, 0xfdf
lea ecx, [ebp - 0x624]
call fcn.100aedf0
mov ebx, dword [ebp - 0x62c]
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100c6b25
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x100c6b1a
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100c6b1a
call fcn.10021e50
mov dword [ebp - 0x628], eax
mov byte [ebp - 4], 6
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100c6b13
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x628]
add eax, 0x10
mov dword [ebx], eax
jmp 0x100c6b25
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.10021eb0
mov edx, dword [ebp - 0x624]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100c6e03
cmp eax, 3
jne 0x100c6bfb
mov edx, 0xfe0
lea ecx, [ebp - 0x624]
call fcn.100aedf0
mov ebx, dword [ebp - 0x62c]
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100c6bcf
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x100c6bc4
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100c6bc4
call fcn.10021e50
mov dword [ebp - 0x628], eax
mov byte [ebp - 4], 0xa
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100c6bbd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x628]
add eax, 0x10
mov dword [ebx], eax
jmp 0x100c6bcf
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.10021eb0
mov edx, dword [ebp - 0x624]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100c6e03
cmp eax, 4
jne 0x100c6ca5
mov edx, 0xfe1
lea ecx, [ebp - 0x624]
call fcn.100aedf0
mov ebx, dword [ebp - 0x62c]
mov byte [ebp - 4], 0xd
mov edx, dword [eax]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100c6c79
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x100c6c6e
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100c6c6e
call fcn.10021e50
mov dword [ebp - 0x628], eax
mov byte [ebp - 4], 0xe
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100c6c67
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x628]
add eax, 0x10
mov dword [ebx], eax
jmp 0x100c6c79
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.10021eb0
mov edx, dword [ebp - 0x624]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100c6e03
mov eax, dword [ebp - 0x638]
test eax, eax
je 0x100c6d57
push 0
push 0x100
lea ecx, [ebp - 0x418]
push ecx
push 0
push eax
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, 0xfe2
lea ecx, [ebp - 0x628]
call fcn.100aedf0
mov ebx, dword [ebp - 0x62c]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x64c]
push dword [eax]
push ebx
call fcn.10020290
mov edx, dword [ebp - 0x628]
add esp, 0xc
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6d1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.100c74c0
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c6d32
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.10035860
xor esi, esi
jmp 0x100c6e03
cmp byte [ebp - 0x634], 0
jne 0x100c6dfe
mov edx, 0xfe1
lea ecx, [ebp - 0x624]
call fcn.100aedf0
mov ebx, dword [ebp - 0x62c]
mov byte [ebp - 4], 0x14
mov edx, dword [eax]
mov esi, dword [ebx]
sub esi, 0x10
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x100c6dd9
mov eax, dword [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x100c6dce
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100c6dce
call fcn.10021e50
mov dword [ebp - 0x628], eax
mov byte [ebp - 4], 0x15
lea edx, [esi + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100c6dc7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x628]
add eax, 0x10
mov dword [ebx], eax
jmp 0x100c6dd9
push dword [edx - 0xc]
mov ecx, ebx
push edx
call fcn.10021eb0
mov edx, dword [ebp - 0x624]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x16
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100c6dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x100c6e03
mov esi, 1
mov eax, dword [ebp - 0x64c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x100c6e22
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x6c8]
call fcn.10086ac0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10013970
int3