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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8b87
mov eax, dword fs:[0]
push eax
sub esp, 0x104
push ebx
push esi
push edi
mov eax, dword [0x6d26f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x7c], esi
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x58]
push ecx
call fcn.00499280
add esp, 4
mov dword [ebp - 4], esi
lea edx, [edi - 1]
cmp edx, 0x62
ja 0x434adf
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
test eax, 0xfffffff8
je 0x434adf
lea ecx, [ebp - 0x110]
push ecx
call fcn.004290e0
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], esi
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
sub edx, eax
sar edx, 3
cmp esi, edx
jae 0x4347df
lea eax, [eax + esi*8]
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00429970
mov byte [ebp - 4], 3
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
setne bl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0040b950
test bl, bl
je 0x4347d9
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], al
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
sar ecx, 3
cmp esi, ecx
jb 0x43478e
call fcn.0059471a
mov edx, dword [ebp - 0x4c]
lea eax, [edx + esi*8]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00429970
mov byte [ebp - 4], 4
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jge 0x4347b4
push 0x80070057
call fcn.00403d10
movzx eax, word [eax]
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040b950
lea edx, [ebp - 0x34]
push edx
lea edi, [ebp - 0xf8]
call fcn.00438120
mov edi, dword [ebp - 0x24]
inc esi
jmp 0x43472d
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [ebp - 0xec]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4349f9
cmp eax, edi
mov dword [ebp - 0x14], eax
jb 0x43480b
mov dword [ebp - 0x14], edi
xor esi, esi
mov dword [ebp - 0x38], esi
cmp esi, dword [ebp - 0x14]
jae 0x434849
push 0
push 0
lea eax, [ebp - 0x110]
push eax
push 0x4344a0
push 0
push 0
call fcn.005957cb
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x434846
lea ebx, [ebp - 0x24]
lea edi, [ebp - 0x110]
call fcn.0041cc20
inc esi
jmp 0x43480d
mov eax, dword [ebp - 0x100]
mov edx, eax
mov ecx, dword [ebp - 0x104]
sub edx, ecx
sar edx, 2
test edx, edx
ja 0x434871
call fcn.0059471a
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x104]
push 0xffffffffffffffff
push 1
push ecx
sub eax, ecx
sar eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0xf8]
call fcn.004b9d40
mov ebx, dword [ebp - 0x18]
jmp 0x4348a0
lea esi, [ebp - 0x28]
lea edi, [ebp - 0xf8]
call fcn.00438100
mov esi, eax
test ebx, ebx
je 0x4348b8
cmp ebx, dword [esi]
je 0x4348bd
call fcn.0059471a
mov edi, dword [ebp - 0x14]
cmp edi, dword [esi + 4]
je 0x4348fa
lea esi, [ebp - 0x18]
call fcn.00438840
cmp dword [eax + 4], 0
jne 0x4348f0
push edi
push ebx
lea ebx, [ebp - 0x20]
lea edi, [ebp - 0xf8]
call fcn.004381c0
mov ebx, dword [eax]
mov dword [ebp - 0x18], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x4348a0
lea esi, [ebp - 0x18]
call fcn.00439430
jmp 0x434890
mov ecx, dword [ebp - 0xe8]
sub ecx, dword [ebp - 0xec]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4349f9
lea esi, [ebp - 0x20]
lea edi, [ebp - 0xf8]
call fcn.004b9d40
lea ebx, [ebx]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0xf8]
call fcn.00438100
mov esi, eax
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x43494b
cmp edi, dword [esi]
je 0x434950
call fcn.0059471a
mov edx, dword [ebp - 0x1c]
cmp edx, dword [esi + 4]
je 0x4349f9
lea esi, [ebp - 0x20]
call fcn.00438840
mov eax, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x24]
jae 0x4349d4
lea esi, [ebp - 0x20]
call fcn.00438840
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov ecx, ebx
shl ecx, 4
cmp word [ecx + eax + 6], 0x75
jne 0x4349d1
call fcn.00438840
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004c30d0
add esp, 8
mov byte [ebp - 4], 5
lea edi, [ebp - 0x14]
call fcn.0040bc80
mov ecx, edi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00449480
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.0040b950
mov edi, dword [ebp - 0x20]
inc ebx
jmp 0x43496f
test edi, edi
jne 0x4349f5
call fcn.0059471a
xor eax, eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x4349ec
call fcn.0059471a
add dword [ebp - 0x1c], 0xc
jmp 0x434930
mov eax, dword [edi]
jmp 0x4349df
lea eax, [ebp - 0x88]
push eax
call fcn.004496e0
test al, al
je 0x434ac8
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00499170
add esp, 4
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x24]
push edx
mov ebx, str.pc2.db
call fcn.004176f0
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x88]
call fcn.004495e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
call fcn.0040b950
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0040b950
mov dword [ebp - 0x14], 0x6eae5c
push 0x6eae5c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
call fcn.00499170
add esp, 4
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004176f0
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push 0
push eax
mov ecx, 0x6eae58
call fcn.004495e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.0040b950
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
call fcn.0040b950
mov byte [ebp - 4], 2
push 0x6eae5c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea edx, [ebp - 0x110]
push edx
call fcn.00429190
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
push eax
call fcn.0048e290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret