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

Disassembly:
push 0x12c
mov eax, 0x5bdae3
call fcn.0058708e
xor ebx, ebx
mov dword [ebp - 0x138], ebx
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x124]
lea ecx, [ebp - 0x6c]
call fcn.00474220
mov dword [ebp - 4], ebx
lea eax, [edi - 1]
cmp eax, 0x62
ja 0x4235d6
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
test eax, 0xfffffff8
je 0x4235d6
lea eax, [ebp - 0x114]
push eax
call fcn.0041b859
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
xor esi, esi
mov dword [ebp - 0x44], esi
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
sub ecx, eax
sar ecx, 3
cmp esi, ecx
jae 0x423280
lea eax, [eax + esi*8]
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0041bf5f
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
setne bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408559
test bl, bl
je 0x423278
xor eax, eax
mov word [ebp - 0x54], ax
and dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x60]
sar eax, 3
cmp esi, eax
jb 0x423230
call fcn.0057a4ca
mov eax, dword [ebp - 0x60]
lea eax, [eax + esi*8]
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0041bf5f
mov byte [ebp - 4], 4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x423256
push 0x80070057
call fcn.00402d79
movzx eax, word [eax]
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00408559
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xfc]
call fcn.004263dd
inc esi
xor ebx, ebx
jmp 0x4231d0
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xf0]
cdq
push 0xc
pop ecx
idiv ecx
cmp eax, ebx
je 0x4234f5
cmp eax, edi
mov esi, eax
jb 0x4232a2
mov esi, edi
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x3c], esi
jae 0x4232dd
push ebx
push ebx
lea eax, [ebp - 0x114]
push eax
push 0x423064
push ebx
push ebx
call fcn.0057b57b
add esp, 0x18
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4232d8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x114]
call fcn.00413952
inc dword [ebp - 0x3c]
jmp 0x4232a5
mov eax, dword [ebp - 0x104]
mov ecx, eax
sub ecx, dword [ebp - 0x108]
sar ecx, 2
test ecx, ecx
ja 0x4232fd
call fcn.0057a4ca
mov eax, dword [ebp - 0x104]
push 0xffffffffffffffff
push 1
push dword [ebp - 0x108]
sub eax, dword [ebp - 0x108]
sar eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [ebp - 0xf0]
mov dword [ebp - 0x20], ebx
cmp esi, dword [ebp - 0xec]
jbe 0x42332d
call fcn.0057a4ca
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x20], eax
mov edi, esi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0xf0], esi
jbe 0x423351
call fcn.0057a4ca
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], ebx
je 0x423364
cmp dword [ebp - 0x20], eax
je 0x423369
call fcn.0057a4ca
cmp edi, esi
je 0x42340b
lea esi, [ebp - 0x20]
call fcn.00414dbf
cmp dword [eax + 4], ebx
jne 0x4233fb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x74], eax
mov ebx, edi
mov dword [ebp - 0x70], ebx
lea eax, [edi + 0xc]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], eax
cmp eax, ecx
je 0x4233ad
mov esi, eax
mov edi, dword [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x40], 0xc
add eax, 0xc
jmp 0x423395
mov ecx, dword [ebp - 0xec]
lea eax, [ecx - 0xc]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], ecx
je 0x4233c4
add dword [ebp - 0x38], 0xc
jmp 0x4233b9
sub ecx, 0xc
mov dword [ebp - 0xec], ecx
and dword [ebp - 0x84], 0
cmp dword [ebp - 0xf0], ebx
ja 0x4233e0
cmp ebx, ecx
jbe 0x4233e5
call fcn.0057a4ca
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
jmp 0x423403
lea esi, [ebp - 0x20]
call fcn.004274cd
mov edi, dword [ebp - 0x1c]
jmp 0x42333b
mov eax, dword [ebp - 0xec]
mov esi, dword [ebp - 0xf0]
sub eax, esi
cdq
push 0xc
pop ecx
idiv ecx
test eax, eax
je 0x4234f5
mov dword [ebp - 0x34], ebx
cmp esi, dword [ebp - 0xec]
jbe 0x423437
call fcn.0057a4ca
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0xf0], esi
jbe 0x423459
call fcn.0057a4ca
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x34], ebx
je 0x42346c
cmp dword [ebp - 0x34], eax
je 0x423471
call fcn.0057a4ca
cmp dword [ebp - 0x30], esi
je 0x4234f5
lea esi, [ebp - 0x34]
call fcn.00414dbf
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x24], ebx
lea esi, [ebp - 0x34]
cmp dword [ebp - 0x24], edi
jae 0x4234eb
call fcn.00414dbf
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x24]
shl ecx, 4
cmp word [ecx + eax + 6], 0x75
jne 0x4234e6
call fcn.00414dbf
push dword [eax + 4]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004a6f00
pop ecx
pop ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
call fcn.0040876a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004316a6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408559
inc dword [ebp - 0x24]
jmp 0x423487
call fcn.004274cd
jmp 0x423443
lea eax, [ebp - 0x8c]
push eax
call fcn.00431848
test al, al
je 0x4235bf
lea eax, [ebp - 0x28]
push eax
call fcn.004740f0
mov byte [ebp - 4], 6
mov dword [esp], 0x689e54
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043178a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00408559
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00408559
mov esi, 0x6de8f0
mov dword [ebp - 0x1c], esi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push eax
call fcn.004740f0
mov byte [ebp - 4], 9
mov dword [esp], str.pc2.db
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push ebx
push eax
mov ecx, 0x6de8ec
call fcn.0043178a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00408559
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00408559
mov byte [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
call fcn.0041b8f8
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6c]
push eax
call fcn.004274a3
call fcn.00587133
ret