Function at 0x10001020
Capabilities:
Create thread
Enumerate processes

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x87
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
test eax, eax
je 0x1000105c
cmp esi, dword [esp + 0x28]
je 0x1000106b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x230
ret 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100010f8
mov ecx, 0x8b
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x22c
push ecx
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100010e3
lea edx, [esp + 0x38]
push str.explorer.exe
push edx
call fcn.100158e0
add esp, 8
test eax, eax
je 0x100010d9
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x100010e3
lea ecx, [esp + 0x38]
push str.explorer.exe
push ecx
call fcn.100158e0
add esp, 8
test eax, eax
jne 0x100010b4
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x2c]
jmp 0x100010eb
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp edi, ebp
jne 0x10001107
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x230
ret 0xc
mov eax, dword [esp + 0x248]
cmp eax, 1
jne 0x1000122e
cmp dword [0x1003e324], ebx
jne 0x10001145
push 0x1003e32c
push ebx
push ebx
push 0x10004590
push ebx
push ebx
mov dword [0x1003e324], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [0x1003e328], eax
call esi
mov edi, dword [esp + 0x244]
mov edx, 0x1003e2a0
test edx, edx
mov dword [0x1003e310], 0x10022110
mov dword [0x1003e330], 0x1003e2a0
mov dword [0x1003e2a0], 0x84
mov dword [0x1003e304], 0x300
je 0x10001215
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x1003e2bc
mov dword [0x1003e2b0], 0x10022050
mov dword [0x1003e2a8], edi
mov dword [0x1003e2ac], edi
mov dword [0x1003e2a4], edi
mov dword [0x1003e2b4], ebx
mov dword [0x1003e2b8], ebx
call esi
push 0x1003e2d4
call esi
push 0x1003e2ec
call esi
mov esi, dword [0x1003e2b0]
mov dword [0x1003e308], ebx
cmp esi, ebx
mov byte [0x1003e30c], 1
mov dword [0x1003e314], ebx
mov dword [0x1003e31c], ebx
mov dword [0x1003e318], ebx
mov dword [0x1003e320], ebx
je 0x10001215
cmp dword [esi], ebx
je 0x10001215
mov ebp, 0x64
push 1
call dword [esi + 0x20]
cmp dword [0x1003e2a0], ebp
jne 0x1000120e
add esi, 0x1c
jmp 0x10001211
add esi, 0x24
cmp dword [esi], ebx
jne 0x100011fc
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x230
ret 0xc
cmp eax, ebx
jne 0x100012fa
mov eax, 0x1003e2a0
test eax, eax
je 0x100012fa
mov esi, dword [0x1003e2b0]
cmp esi, ebx
je 0x1000127e
cmp dword [esi], ebx
je 0x1000127e
mov ebp, 0x64
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x10001263
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
mov dword [esi + 0x10], ebx
call dword [esi + 0x20]
cmp dword [0x1003e2a0], ebp
jne 0x10001277
add esi, 0x1c
jmp 0x1000127a
add esi, 0x24
cmp dword [esi], ebx
jne 0x10001256
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x1003e2bc
call esi
push 0x1003e2d4
call esi
push 0x1003e2ec
call esi
mov esi, dword [0x1003e320]
cmp esi, ebx
je 0x100012bb
mov edx, dword [esi + 4]
push edx
call dword [esi]
mov edi, dword [esi + 8]
push esi
call fcn.100159bf
add esp, 4
cmp edi, ebx
mov esi, edi
jne 0x100012a3
cmp dword [0x1003e2b8], ebx
je 0x100012fa
cmp byte [0x1003e30c], bl
je 0x100012fa
mov eax, dword [0x1003e318]
mov edi, dword [sym.imp.KERNEL32.dll_HeapDestroy]
cmp eax, ebx
je 0x100012f1
xor esi, esi
mov eax, dword [0x1003e318]
mov ecx, dword [eax + esi*4]
push ecx
call edi
mov eax, dword [0x1003e314]
inc esi
cmp esi, eax
jbe 0x100012dc
mov edx, dword [0x1003e2b8]
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x230
ret 0xc