Function at 0x10067e2
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x100a140]
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0x1002404
mov ebx, ecx
mov dword [ebp - 0xd0], eax
call fcn.01002873
mov ecx, 0xa80
mov eax, 0x11d8
mov dword [ebx], fcn.0100291b
mov dword [ebp - 0xa4], 0x485e7de8
mov word [ebp - 0xa0], cx
mov word [ebp - 0x9e], ax
mov byte [ebp - 0x9c], 0xad
mov byte [ebp - 0x9b], 0x15
mov byte [ebp - 0x9a], 0x50
mov byte [ebp - 0x99], 0x50
mov byte [ebp - 0x98], 0x54
mov byte [ebp - 0x97], 0x50
mov byte [ebp - 0x96], 0x30
mov byte [ebp - 0x95], 0x30
mov dword [ebp - 0x94], 0x485e7de9
mov word [ebp - 0x90], cx
mov word [ebp - 0x8e], ax
mov byte [ebp - 0x8c], 0xad
mov byte [ebp - 0x8b], 0x15
mov byte [ebp - 0x8a], 0x50
mov byte [ebp - 0x89], 0x50
mov byte [ebp - 0x88], 0x54
mov byte [ebp - 0x87], 0x50
mov byte [ebp - 0x86], 0x30
mov byte [ebp - 0x85], 0x30
mov dword [ebp - 0x84], 0x485e7dea
mov word [ebp - 0x80], cx
mov word [ebp - 0x7e], ax
mov byte [ebp - 0x7c], 0xad
mov byte [ebp - 0x7b], 0x15
mov byte [ebp - 0x7a], 0x50
mov byte [ebp - 0x79], 0x50
mov byte [ebp - 0x78], 0x54
mov byte [ebp - 0x77], 0x50
mov byte [ebp - 0x76], 0x30
mov byte [ebp - 0x75], 0x30
mov dword [ebp - 0x74], 0x485e7deb
mov word [ebp - 0x70], cx
mov word [ebp - 0x6e], ax
mov byte [ebp - 0x6c], 0xad
mov byte [ebp - 0x6b], 0x15
mov byte [ebp - 0x6a], 0x50
mov byte [ebp - 0x69], 0x50
mov byte [ebp - 0x68], 0x54
mov byte [ebp - 0x67], 0x50
mov byte [ebp - 0x66], 0x30
mov byte [ebp - 0x65], 0x30
mov dword [ebp - 0x64], 0x485e7dec
mov word [ebp - 0x60], cx
mov word [ebp - 0x5e], ax
mov byte [ebp - 0x5c], 0xad
mov byte [ebp - 0x5b], 0x15
mov byte [ebp - 0x5a], 0x50
mov byte [ebp - 0x59], 0x50
mov byte [ebp - 0x58], 0x54
mov byte [ebp - 0x57], 0x50
mov byte [ebp - 0x56], 0x30
mov byte [ebp - 0x55], 0x30
mov dword [ebp - 0x54], 0x485e7ded
mov word [ebp - 0x50], cx
mov word [ebp - 0x4e], ax
mov byte [ebp - 0x4c], 0xad
mov byte [ebp - 0x4b], 0x15
mov byte [ebp - 0x4a], 0x50
mov byte [ebp - 0x49], 0x50
mov byte [ebp - 0x48], 0x54
mov byte [ebp - 0x47], 0x50
mov byte [ebp - 0x46], 0x30
mov byte [ebp - 0x45], 0x30
mov dword [ebp - 0x44], 0x485e7dee
test byte [0x100a0bc], 1
mov word [ebp - 0x40], cx
mov word [ebp - 0x3e], ax
mov byte [ebp - 0x3c], 0xad
mov byte [ebp - 0x3b], 0x15
mov byte [ebp - 0x3a], 0x50
mov byte [ebp - 0x39], 0x50
mov byte [ebp - 0x38], 0x54
mov byte [ebp - 0x37], 0x50
mov byte [ebp - 0x36], 0x30
mov byte [ebp - 0x35], 0x30
mov dword [ebp - 0x34], 0x485e7def
mov word [ebp - 0x30], cx
mov word [ebp - 0x2e], ax
mov byte [ebp - 0x2c], 0xad
mov byte [ebp - 0x2b], 0x15
mov byte [ebp - 0x2a], 0x50
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x54
mov byte [ebp - 0x27], 0x50
mov byte [ebp - 0x26], 0x30
mov byte [ebp - 0x25], 0x30
mov dword [ebp - 0x24], 0x485e7df0
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], ax
mov byte [ebp - 0x1c], 0xad
mov byte [ebp - 0x1b], 0x15
mov byte [ebp - 0x1a], 0x50
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0x50
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x30
mov dword [ebp - 0x14], 0x485e7df1
mov word [ebp - 0x10], cx
mov word [ebp - 0xe], ax
mov byte [ebp - 0xc], 0xad
mov byte [ebp - 0xb], 0x15
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x50
mov byte [ebp - 8], 0x54
mov byte [ebp - 7], 0x50
mov byte [ebp - 6], 0x30
mov byte [ebp - 5], 0x30
je 0x1006a64
cmp byte [0x100a0b9], 4
jb 0x1006a64
push 0x10020dc
push 0xe
push dword [0x100a0b4]
push dword [0x100a0b0]
call fcn.010027af
cmp dword [ebx + 0x20], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x94], esi
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x68], esi
mov dword [ebx + 0x6c], esi
mov dword [ebx + 0x70], esi
je 0x1006f66
mov ecx, ebx
mov dword [ebx + 0x20], esi
call fcn.01005de5
test eax, eax
je 0x1006f66
cmp dword [ebx + 0x88], esi
push edi
je 0x1006cd4
mov eax, dword [ebx + 0x94]
cmp eax, esi
jne 0x1006b00
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 3
jb 0x1006f65
push 0x10020dc
push 0xf
push dword [0x100a0b4]
push dword [0x100a0b0]
call fcn.010027af
jmp 0x1006f65
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea edi, [eax + eax + 0x7a]
push edi
mov dword [ebp - 0xc8], edi
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
cmp edx, esi
pop ecx
pop ecx
mov dword [ebx + 0x70], edx
jne 0x1006b5a
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 3
jb 0x1006f65
push edi
push 0x10020dc
push 0x10
push dword [0x100a0b4]
push dword [0x100a0b0]
call fcn.010050cb
jmp 0x1006f65
mov ecx, edi
xor eax, eax
mov edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebp - 0xc8]
mov edi, dword [sym.imp.ADVAPI32.dll_ControlTraceW]
mov dword [eax], ecx
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x40], esi
mov eax, dword [ebx + 0x70]
push esi
mov dword [eax + 0x70], 0x78
push dword [ebx + 0x70]
push dword [ebx + 0x94]
push esi
push esi
call edi
test eax, eax
jne 0x1006beb
mov eax, dword [ebx + 0x70]
push 1
mov dword [eax + 0x6c], esi
push dword [ebx + 0x70]
push dword [ebx + 0x94]
push esi
push esi
call edi
cmp eax, esi
je 0x1006beb
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 3
jb 0x1006f65
push eax
push 0x10020dc
push 0x11
jmp 0x1006b44
mov edi, dword [ebx + 0x70]
mov ecx, dword [ebp - 0xc8]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x70]
mov ecx, edx
mov dword [eax], ecx
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x2c], 0x20000
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x40], esi
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x70], 0x78
mov eax, dword [ebx + 0x70]
or byte [eax + 0x41], 1
mov eax, dword [ebx + 0x70]
or byte [eax + 0x41], 0x80
cmp dword [ebx + 0x8c], esi
je 0x1006c42
mov eax, dword [ebx + 0x70]
or byte [eax + 0x42], 8
mov eax, dword [ebx + 0x70]
mov dword [eax + 0x44], 1
push dword [ebx + 0x70]
lea edi, [ebx + 0x68]
push dword [ebx + 0x94]
push edi
call dword [sym.imp.ADVAPI32.dll_StartTraceW]
cmp eax, esi
je 0x1006c8a
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 2
jb 0x1006f65
push eax
push 0x10020dc
push 0x12
jmp 0x1006b44
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xcc], eax
push dword [edi + 4]
push dword [edi]
push dword [ebp - 0xcc]
push dword [ebx + 0x90]
push 0xffffff
push 1
call dword [sym.imp.ADVAPI32.dll_EnableTrace]
cmp eax, esi
jne 0x1006d29
inc dword [ebp - 0xc8]
add dword [ebp - 0xcc], 0x10
cmp dword [ebp - 0xc8], 0xa
jb 0x1006c9c
push 4
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
cmp edi, esi
pop ecx
mov dword [ebx + 0x40], edi
je 0x1006f65
push esi
push esi
xor eax, eax
push 0x10023dc
stosd dword es:[edi], eax
push dword [0x100a040]
call fcn.01008a66
cmp eax, esi
jge 0x1006d72
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 2
jb 0x1006f65
push eax
push 0x10020dc
push 0x14
jmp 0x1006b44
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 2
jb 0x1006f65
push eax
mov eax, dword [ebp - 0xc8]
shl eax, 4
lea eax, [ebp + eax - 0xa4]
push eax
push 0x10020dc
push 0x13
push dword [0x100a0b4]
push dword [0x100a0b0]
call fcn.0100509a
jmp 0x1006f65
push 0x44
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x1006d88
push esi
mov ecx, eax
call fcn.010058b8
jmp 0x1006d8a
xor eax, eax
cmp eax, esi
mov dword [ebx + 0x44], eax
je 0x1006f65
cmp dword [eax + 0x20], esi
je 0x1006f65
push 0x44
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x1006db4
push esi
mov ecx, eax
call fcn.010058f0
jmp 0x1006db6
xor eax, eax
cmp eax, esi
mov dword [ebx + 0x48], eax
je 0x1006f65
cmp dword [eax + 0x20], esi
je 0x1006f65
push 0x44
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x1006de0
push esi
mov ecx, eax
call fcn.010057f4
jmp 0x1006de2
xor eax, eax
cmp eax, esi
mov dword [ebx + 0x4c], eax
je 0x1006f65
cmp dword [eax + 0x20], esi
je 0x1006f65
push esi
push 1
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, esi
mov dword [ebx + 0x60], eax
je 0x1006f65
mov dword [0x100a158], ebx
mov dword [ebp - 0xcc], esi
push 8
pop ecx
push dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0xc4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xcc]
mov esi, dword [eax + 0x100a120]
mov dword [ebp - 0xc4], 0x20
mov dword [ebp - 0xc0], 5
lea edi, [ebp - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebx + 0x40]
mov dword [ecx + edx], eax
mov eax, dword [ebx + 0x40]
cmp dword [ecx + eax], 0
je 0x1006ebd
add ecx, 4
cmp ecx, 4
mov dword [ebp - 0xcc], ecx
jb 0x1006e19
mov ecx, ebx
call fcn.010052a9
xor esi, esi
cmp eax, esi
je 0x1006eea
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 2
jb 0x1006f65
push eax
push 0x10020dc
push 0x16
jmp 0x1006b44
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 2
jb 0x1006f65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10020dc
push 0x15
jmp 0x1006b44
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
cmp eax, esi
mov dword [ebx + 0x50], eax
jne 0x1006f1c
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 3
jb 0x1006f65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10020dc
push 0x17
jmp 0x1006b44
lea eax, [ebp - 0xd4]
push eax
push esi
push ebx
push 0x10054a7
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
mov dword [ebx + 0x64], eax
jne 0x1006f5e
test byte [0x100a0bc], 1
je 0x1006f65
cmp byte [0x100a0b9], 3
jb 0x1006f65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10020dc
push 0x18
jmp 0x1006b44
mov dword [ebx + 0x20], 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
pop ebx
call fcn.01007b5b
leave
ret 8