Function at 0x10329c4
Capabilities:
Create thread
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2ac
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.01031cc1
lea ecx, [ebp - 0x2ac]
call fcn.01029cc5
lea ecx, [ebp - 0x19c]
call fcn.01029cc5
push ecx
push ecx
mov eax, esp
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0100e89e
cmp al, bl
je 0x1032a14
mov bl, 1
jmp 0x1032c07
push ebx
push 0x2c
lea eax, [ebp - 0x8c]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jge 0x1032a2d
mov byte [ebp - 0x64], 1
cmp byte [ebp - 0x64], 1
jne 0x1032a72
push dword [ebp + 0x44]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0103242a
mov bl, al
jmp 0x1032c07
mov esi, dword [sym.imp.ntdll.dll_NtCreateEvent]
push ebx
push 1
lea eax, [ebp - 0x3c]
push eax
mov edi, 0x1f0003
push edi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call esi
test eax, eax
jge 0x1032ab7
mov ecx, dword [ebp + 0x44]
push 0x426
call fcn.0100bd8b
jmp 0x1032c07
push ebx
push 1
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
call esi
test eax, eax
jge 0x1032ad4
push dword [ebp - 4]
call dword [sym.imp.ntdll.dll_NtClose]
jmp 0x1032aa5
push dword [ebp + 0x14]
lea eax, [ebp - 0x19c]
push dword [ebp - 0xc]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.01031d2b
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x1031ce2
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov edi, eax
cmp edi, ebx
jge 0x1032b4d
push dword [ebp - 4]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0xc]
call esi
push edi
push 0x1001d2c
push 0x6643
push dword [ebp + 0x44]
call fcn.0100debb
add esp, 0x10
jmp 0x1032c07
push dword [ebp + 0x44]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x40]
lea eax, [ebp - 0x19c]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01031d8b
push ebx
push dword [ebp - 4]
mov byte [ebp + 0x47], al
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ntdll.dll_NtSetEvent]
test eax, eax
jl 0x1032bf2
or dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x24], 0x88ca6c00
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
jne 0x1032bf2
push ebx
push 0x1c
lea eax, [ebp - 0x60]
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
jl 0x1032bf2
cmp dword [ebp - 0x60], ebx
jl 0x1032bf2
mov bl, byte [ebp + 0x47]
push dword [ebp - 4]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
lea ecx, [ebp - 0x19c]
call fcn.01029d0a
lea ecx, [ebp - 0x2ac]
call fcn.01029d0a
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1001e88
call fcn.0100e4eb
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0x40