Function at 0x42e560
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ed788
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0xb8]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc0]
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, edi
mov dword [esp + 0x60], eax
add ecx, edi
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x58]
push eax
call fcn.0042b560
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x42e611
call fcn.0042b390
lea eax, [ecx + edi]
mov ecx, dword [esp + 0x24]
mov dword [esi + 8], eax
cmp ecx, 2
jne 0x42e661
test edx, edx
jne 0x42e661
push ecx
mov ecx, ebp
call fcn.0042bab0
mov esi, dword [ebp + 0x38]
lea eax, [esp + 0x58]
push eax
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, edi
add ecx, edi
call fcn.0042b560
mov ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x42e65c
call fcn.0042b390
add eax, edi
mov dword [esi + 8], eax
xor ebx, ebx
mov dword [esp + 0x70], 0
xorps xmm0, xmm0
mov dword [esp + 0x70], ebx
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xb0], ebx
cmp ecx, 3
jne 0x42e72f
test edx, edx
jne 0x42e72f
push dword [esp + 0x30]
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push dword [esp + 0x30]
mov ecx, ebp
push dword [esp + 0x20]
lea esi, [ebx + 0x118]
push dword [esp + 0x6c]
push eax
push esi
push dword [ebx + 0x10c]
push dword [ebx + 0x108]
push dword [esp + 0x40]
call fcn.0042def0
mov edi, eax
test edi, edi
je 0x42e6e5
lea ecx, [esp + 0x68]
call fcn.00410a70
mov eax, edi
jmp 0x42effb
mov eax, dword [ebx + 0x108]
add dword [esi], eax
mov eax, dword [ebx + 0x10c]
adc dword [esi + 4], eax
lea eax, [esp + 0x20]
mov esi, dword [ebp + 0x38]
push eax
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, edi
add ecx, edi
call fcn.0042b560
mov ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x42e726
call fcn.0042b390
mov ebx, dword [esp + 0x68]
add eax, edi
mov dword [esi + 8], eax
xorps xmm0, xmm0
mov dword [esp + 0x94], 0
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xb0], 2
cmp ecx, 4
jne 0x42e817
test edx, edx
jne 0x42e817
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x90]
mov ecx, ebp
push eax
push ebx
lea esi, [ebx + 0x110]
push esi
lea eax, [esp + 0x78]
push eax
call fcn.0042da70
mov eax, dword [ebx + 0x108]
add dword [esi], eax
mov eax, dword [ebx + 0x10c]
adc dword [esi + 4], eax
lea eax, [esp + 0x20]
mov esi, dword [ebp + 0x38]
push eax
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, edi
add ecx, edi
call fcn.0042b560
mov ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x42e80e
call fcn.0042b390
mov ebx, dword [esp + 0x68]
add eax, edi
mov dword [esi + 8], eax
cmp ecx, 5
jne 0x42ef5a
test edx, edx
jne 0x42ef5a
mov esi, dword [ebp + 0x38]
lea eax, [esp + 0x20]
push eax
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, edi
add ecx, edi
call fcn.0042b560
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ecx, ecx
jne 0x42e854
call fcn.0042b390
lea eax, [ecx + edi]
mov dword [esi + 8], eax
test edx, edx
jne 0x42eda1
cmp ebx, 0x7fffffff
ja 0x42eda1
mov ebx, dword [esp + 0x1c]
add ebx, 0x120
mov ecx, ebx
call fcn.00424120
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + eax*8], 9
mov dword [ecx + eax*8 + 4], 0
mov ecx, ebx
inc dword [ebx + 4]
call fcn.00424120
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ecx + eax*8], 6
mov dword [ecx + eax*8 + 4], 0
inc dword [ebx + 4]
cmp dword [esp + 0x18], 0
jbe 0x42e8e0
cmp dword [esp + 0x44], 0
je 0x42e8e0
mov ecx, ebx
call fcn.00424120
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ecx + eax*8], 0xa
mov dword [ecx + eax*8 + 4], 0
inc dword [ebx + 4]
xorps xmm0, xmm0
mov dword [esp + 0xa0], 0
movq qword [esp + 0x98], xmm0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
movq qword [esp + 0x74], xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0xb0], 5
lea edx, [esp + 0x30]
mov ecx, dword [ebp + 0x38]
lea esi, [ecx + 8]
mov dword [esp + 0x2c], 0
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
sub edx, dword [esi]
add ecx, dword [esi]
call fcn.0042b560
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x42e60c
add dword [esi], ecx
mov ecx, eax
mov esi, dword [ebp + 0x38]
lea eax, [esp + 0x20]
or ecx, edx
push eax
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov ecx, dword [esi]
je 0x42ed6b
sub edx, edi
add ecx, edi
call fcn.0042b560
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x60], ebx
test eax, eax
je 0x42e60c
lea ecx, [eax + edi]
mov dword [esi + 8], ecx
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 4]
sub eax, dword [ecx + 8]
test ebx, ebx
ja 0x42e60c
jb 0x42ea0e
cmp ebp, eax
ja 0x42e60c
xorps xmm0, xmm0
movq qword [esp + 0x58], xmm0
mov word [esp + 0x5c], 0
mov byte [esp + 0xb0], 6
mov eax, dword [ecx + 8]
add eax, dword [ecx]
lea ecx, [esp + 0x58]
push 1
push ebp
push eax
push esi
call fcn.0042b420
cmp dword [esp + 0x24], 0
ja case.0x42ea61.22
mov eax, dword [esp + 0x34]
jb 0x42ea55
cmp eax, 0x40000000
ja case.0x42ea61.22
add eax, 0xfffffff2
cmp eax, 0xb
ja case.0x42ea61.22
jmp dword [eax*4 + 0x42f028]
xorps xmm0, xmm0
movq qword [esp + 0x60], xmm0
mov word [esp + 0x64], 0
lea eax, [esp + 0x68]
mov byte [esp + 0xb0], 7
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.0042b4b0
mov eax, dword [esi + 0x38]
mov edi, dword [esp + 0x1c]
mov ebp, dword [eax + 4]
sub ebp, dword [eax + 8]
lea ecx, [edi + 0xe8]
push ebp
call fcn.0041b140
push ebp
push dword [edi + 0xe8]
mov ecx, esi
call fcn.0042b2a0
mov eax, dword [esp + 0x18]
lea ebx, [edi + 0xf0]
inc eax
mov ecx, ebx
push eax
call fcn.0042f930
xor esi, esi
xor edi, edi
cmp dword [esp + 0x18], esi
jbe 0x42eb1a
mov eax, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, esi
shr ecx, 1
mov edx, dword [eax + 0xe8]
mov eax, 0
lea edx, [edx + esi]
je 0x42eafc
lea ecx, [ecx]
cmp word [edx + eax*2], 0
je 0x42eafc
inc eax
cmp eax, ecx
jb 0x42eaf0
cmp eax, ecx
je 0x42e60c
mov edx, dword [ebx]
mov ecx, esi
shr ecx, 1
lea esi, [esi + eax*2]
add esi, 2
mov dword [edx + edi*4], ecx
inc edi
cmp edi, dword [esp + 0x18]
jb 0x42ead3
mov ecx, dword [ebx]
mov eax, esi
shr eax, 1
cmp esi, ebp
mov esi, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
je 0x42eb2f
mov byte [esi + 0x3c], 1
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 6
call fcn.0042b3d0
jmp 0x42ec3c
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
add esi, 0xc4
push esi
push dword [esp + 0x1c]
mov ecx, ebp
call fcn.0042dd40
xorps xmm0, xmm0
movq qword [esp + 0x60], xmm0
mov word [esp + 0x64], 0
lea eax, [esp + 0x68]
mov byte [esp + 0xb0], 8
push eax
push ebp
lea ecx, [esp + 0x68]
call fcn.0042b4b0
push esi
mov esi, ebp
mov ecx, esi
call fcn.0042c270
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 6
call fcn.0042b3d0
jmp 0x42ec3c
lea eax, [esp + 0x98]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.0042dcd0
lea ecx, [esp + 0x98]
call fcn.0042b370
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
jmp 0x42ec3c
lea eax, [esp + 0x80]
mov ecx, esi
push eax
push dword [esp + 0x30]
call fcn.0042dcd0
jmp 0x42ec3c
lea eax, [esp + 0x74]
mov ecx, esi
push eax
push dword [esp + 0x30]
call fcn.0042dcd0
jmp 0x42ec3c
mov eax, dword [esp + 0x1c]
add eax, 0xac
jmp 0x42ec2b
mov eax, dword [esp + 0x1c]
add eax, 0x64
jmp 0x42ec2b
mov eax, dword [esp + 0x1c]
add eax, 0x7c
jmp 0x42ec2b
mov eax, dword [esp + 0x1c]
add eax, 0x94
push dword [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0042ddb0
mov ebx, dword [esp + 0x1c]
lea ecx, [ebx + 0x120]
call fcn.00424120
mov eax, dword [ebx + 0x124]
mov ecx, dword [ebx + 0x120]
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8 + 4], edx
inc dword [ebx + 0x124]
jmp 0x42ecde
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
test ebx, ebx
jb 0x42ecde
ja 0x42ec81
test ebp, ebp
je 0x42ecde
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
lea esp, [esp]
mov edx, dword [esi + 0x38]
mov esi, dword [edx + 8]
cmp esi, dword [edx + 4]
jae 0x42e60c
mov eax, dword [edx]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov esi, dword [esp + 0x28]
mov dword [edx + 8], eax
test cl, cl
je 0x42ecb6
mov byte [esi + 0x3c], 1
add edi, 1
adc ebx, 0
cmp ebx, dword [esp + 0x60]
jb 0x42ec90
ja 0x42ecde
cmp edi, ebp
jb 0x42ec90
jmp 0x42ecde
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x14d], 1
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jne 0x42e60c
mov byte [esp + 0xb0], 5
cmp byte [esp + 0x5c], cl
je 0x42ed35
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x42ed0e
mov byte [edx + 0x3c], 1
dec dword [edx + 4]
mov eax, dword [edx + 4]
je 0x42ed30
cmp byte [esp + 0x5d], 0
lea eax, [eax + eax*2]
lea ecx, [edx - 4]
lea ecx, [ecx + eax*4]
mov dword [edx + 0x38], ecx
je 0x42ed30
mov eax, dword [edx + eax*4 + 0x10]
add dword [ecx + 8], eax
mov byte [esp + 0x5c], 0
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x30]
lea esi, [ecx + 8]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
sub edx, dword [esi]
add ecx, dword [esi]
call fcn.0042b560
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x42e60c
mov ebp, dword [esp + 0x28]
jmp 0x42e9b0
sub edx, edi
add ecx, edi
call fcn.0042b560
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], edx
test eax, eax
jne 0x42ed89
call fcn.0042b390
mov edx, dword [esp + 0x18]
add eax, edi
mov dword [esi + 8], eax
mov eax, edx
sub eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x90]
je 0x42eda6
call fcn.0042b3b0
mov ebx, dword [esp + 0x74]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x30], ecx
xor edi, edi
xor esi, esi
cmp dword [esp + 0x78], eax
jbe 0x42edea
lea esp, [esp]
cmp byte [ebx + eax], 0
je 0x42edc7
inc ecx
inc eax
cmp eax, dword [esp + 0x78]
jb 0x42edc0
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x42edea
mov ecx, dword [esp + 0x1c]
push edx
lea ecx, [ecx + 0xdc]
call fcn.0042f880
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0x58
push edx
mov dword [esp + 0x5c], ecx
call fcn.0042f9e0
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
test eax, eax
je 0x42ef14
mov ebp, dword [esp + 0x80]
xor eax, eax
sub ebp, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x30]
jmp 0x42ee30
mov ecx, dword [ecx]
add ecx, eax
mov dword [ecx + 8], 0
cmp edx, dword [esp + 0x9c]
jae 0x42ee95
mov eax, dword [esp + 0x98]
mov al, byte [eax + edx]
test al, al
je 0x42ee95
mov byte [ecx + 0xc], 0
cmp edi, dword [esp + 0x84]
jae 0x42ee6a
mov eax, dword [esp + 0x20]
add eax, ebx
mov al, byte [eax + edi]
jmp 0x42ee6c
xor al, al
test al, al
sete al
mov byte [ecx + 0xd], al
cmp edi, dword [esp + 0x78]
jae 0x42ee7f
mov bl, byte [ebx + edi]
jmp 0x42ee81
xor bl, bl
inc edi
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov byte [ecx + 0xe], 0
jmp 0x42eee1
mov eax, dword [esp + 0x8c]
xor bl, bl
mov word [ecx + 0xc], 1
mov eax, dword [eax + esi*8]
mov dword [ecx], eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + esi*8 + 4]
mov dword [ecx + 4], eax
cmp esi, dword [esp + 0x44]
jae 0x42eecd
mov eax, dword [esp + 0x40]
cmp byte [eax + esi], bl
je 0x42eecd
mov eax, 1
jmp 0x42eecf
xor eax, eax
mov byte [ecx + 0xe], al
test al, al
je 0x42eee0
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + esi*4]
mov dword [ecx + 8], eax
inc esi
test ebp, ebp
je 0x42eef2
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xdc]
mov byte [edx + eax], bl
mov eax, dword [esp + 0x2c]
inc edx
mov ebx, dword [esp + 0x74]
add eax, 0x10
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
cmp edx, dword [esp + 0x18]
jb 0x42ee30
mov ebp, dword [esp + 0x28]
mov byte [esp + 0xb0], 4
push dword [esp + 0x74]
call fcn.004df97b
add esp, 4
mov byte [esp + 0xb0], 3
push dword [esp + 0x80]
call fcn.004df97b
add esp, 4
mov byte [esp + 0xb0], 2
push dword [esp + 0x98]
call fcn.004df97b
mov ebx, dword [esp + 0x6c]
add esp, 4
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.0042f060
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x34]
jne 0x42ef7a
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x42ef81
mov byte [esi + 0x14d], 1
mov byte [esp + 0xb0], 1
push dword [esp + 0x4c]
call fcn.004df97b
add esp, 4
push dword [esp + 0x40]
call fcn.004df97b
add esp, 4
mov byte [esp + 0xb0], 0
push dword [esp + 0x8c]
call fcn.004df97b
mov dword [esp + 0xb4], 0xffffffff
add esp, 4
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x42eff0
jmp 0x42efd0
mov edi, dword [ebx + esi*4 - 4]
dec esi
test edi, edi
je 0x42efec
push dword [edi]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x42efd0
push ebx
call fcn.004df97b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004df96c
add esp, 0xa0
ret 0x18