Function at 0x1000a970
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031c85
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10044054]
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x1000a9af
mov eax, 0x80070057
jmp 0x1000ac15
push 0x100462c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100462c0], 0
jne 0x1000a9c8
call fcn.1000f500
push 0x100462c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100462c0]
call fcn.10009ea0
test al, al
je 0x1000a9ec
mov eax, 0x80004004
jmp 0x1000ac15
mov eax, dword [esi + 0xc]
xor ebx, ebx
movzx ecx, ax
test eax, 0xffff0000
mov eax, dword [ebp + 8]
mov edx, 0x80004005
jne 0x1000aa5d
mov esi, ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
cmp eax, ecx
je 0x1000ac13
mov ecx, dword [eax + 8]
lea edi, [eax + 8]
cmp esi, ecx
jb 0x1000aa27
cmp esi, dword [edi + 4]
jae 0x1000aa27
cmp dword [edi + 8], 0
jne 0x1000aa39
mov edi, dword [ebp + 8]
inc ebx
mov ecx, dword [eax]
mov eax, ecx
cmp ecx, dword [edi + 0xc]
jne 0x1000aa12
jmp 0x1000ac13
mov edx, dword [ebp - 0x14]
sub esi, ecx
movzx eax, si
push edx
mov dword [edx + 0xc], eax
mov ecx, dword [edi + 8]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10033234]
call esi
mov dword [ebp - 0x20], eax
jmp 0x1000aaaa
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1000ac13
nop dword [eax]
push dword [ebp - 0x14]
lea ecx, [esi + 8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 8]
push ecx
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x10033234]
call edi
mov dword [ebp - 0x20], eax
test eax, eax
jns 0x1000aaa7
cmp eax, 0x8000000a
je 0x1000aaa7
mov eax, dword [esi]
inc ebx
mov esi, eax
cmp eax, dword [ebp - 0x18]
jne 0x1000aa70
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x1000ac10
cmp eax, 0x8000000a
jne 0x1000ac10
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetInstanceExplorer]
test eax, eax
jne 0x1000ac09
cmp dword [ebp - 0x18], eax
je 0x1000ac09
mov ecx, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
push eax
push 0x1003fc58
push ecx
mov ecx, esi
call dword [0x10033234]
call esi
test eax, eax
jne 0x1000ac10
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1000ac10
mov edx, dword [0x10046270]
mov eax, dword [edx]
cmp eax, edx
je 0x1000ab30
nop
test ebx, ebx
je 0x1000ab2d
mov ecx, dword [eax]
dec ebx
mov eax, ecx
cmp ecx, edx
jne 0x1000ab20
mov ecx, dword [ebp - 0x14]
test ebx, ebx
jne 0x1000ab8f
mov esi, dword [eax + 8]
test esi, esi
je 0x1000ab8f
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x1000ab46
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x1000ab87
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x1000ab5e
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1000ab85
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 8
jb 0x1000ab74
mov eax, dword [eax]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1000ab87
xor edi, edi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
jmp 0x1000ab91
xor edi, edi
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], edi
push 0xc
mov byte [ebp - 4], 1
call fcn.100113cb
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], eax
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x1000af10
push 0
push 0
call fcn.1001d00c
add esp, 0x1c
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1000ac40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x1000ac33
push ecx
push eax
call fcn.10010342
add esp, 8
test eax, eax
jne 0x1000ac3a
jmp 0x1000ac10
mov edx, 0x80004005
jmp 0x1000ac13
mov edx, dword [ebp - 0x20]
mov eax, edx
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.10010e7f
mov esp, ebp
pop ebp
ret 8
push 1
call fcn.1001030d
push eax
call fcn.100102e0
push 6
mov dword [ebp - 0x28], 0
call fcn.1001030d
int3