Function at 0x4593f9
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check os version
Get number of processors
Get process filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov al, byte [ecx]
add al, 0x4d
mov dword [ebp - 4], edx
mov byte [edx], al
mov al, byte [ecx]
add al, 0x6f
mov dword [ebp - 8], ecx
mov byte [edx + 1], al
mov al, byte [ecx]
add al, 0x7a
mov byte [edx + 2], al
mov al, byte [ecx]
add al, 0x69
mov byte [edx + 3], al
mov al, byte [ecx]
add al, 0x6c
mov byte [edx + 4], al
mov al, byte [ecx]
add al, 0x6c
mov byte [edx + 5], al
mov al, byte [ecx]
add al, 0x61
mov byte [edx + 6], al
mov al, byte [ecx]
add al, 0x2f
mov byte [edx + 7], al
mov al, byte [ecx]
add al, 0x35
mov byte [edx + 8], al
mov al, byte [ecx]
add al, 0x2e
mov byte [edx + 9], al
mov al, byte [ecx]
add al, 0x30
mov byte [edx + 0xa], al
push ebx
mov ebx, dword fs:[0x30]
mov al, byte [ecx]
add al, 0x20
mov dword [ebp - 0x48], ebx
mov byte [edx + 0xb], al
mov al, byte [ecx]
add al, 0x28
mov byte [edx + 0xc], al
mov al, byte [ecx]
add al, 0x57
mov byte [edx + 0xd], al
mov al, byte [ecx]
add al, 0x69
mov byte [edx + 0xe], al
mov al, byte [ecx]
add al, 0x6e
mov byte [edx + 0xf], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
add al, 0x64
mov byte [edx + 0x10], al
mov al, byte [ecx]
add al, 0x6f
mov byte [edx + 0x11], al
mov al, byte [ecx]
add al, 0x77
mov byte [edx + 0x12], al
mov al, byte [ecx]
add al, 0x73
mov byte [edx + 0x13], al
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x14], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x40], eax
mov al, byte [ecx]
add al, 0x4e
push esi
mov esi, dword fs:[0x30]
mov byte [edx + 0x15], al
mov al, byte [ecx]
push edi
mov dword [ebp - 0x54], esi
add al, 0x54
mov byte [edx + 0x16], al
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x17], al
mov al, byte [ecx]
add al, 0x31
mov byte [edx + 0x18], al
mov al, byte [ecx]
mov edi, dword [ebx + 8]
add al, 0x30
mov byte [edx + 0x19], al
mov al, byte [ecx]
add al, 0x2e
mov byte [edx + 0x1a], al
mov al, byte [ecx]
add al, 0x30
mov byte [edx + 0x1b], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x20], eax
mov al, byte [ecx]
add al, 0x3b
mov byte [edx + 0x1c], al
mov eax, dword [esi + 0x64]
xor esi, esi
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x1d], al
mov al, byte [ecx]
add al, 0x57
mov byte [edx + 0x1e], al
mov al, byte [ecx]
add al, 0x69
mov byte [edx + 0x1f], al
cmp byte [edi + 1], 0x5a
je 0x45953b
mov edx, dword [ebp - 0x48]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x45952c
mov edx, dword [ebp - 4]
mov ebx, dword fs:[0x30]
mov al, byte [ecx]
add al, 0x6e
mov dword [ebp - 0x48], ebx
mov byte [edx + 0x20], al
mov al, byte [ecx]
add al, 0x36
mov byte [edx + 0x21], al
mov al, byte [ecx]
add al, 0x34
mov byte [edx + 0x22], al
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
add al, 0x3b
mov byte [edx + 0x23], al
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x24], al
mov al, byte [ecx]
add al, 0x78
mov byte [edx + 0x25], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov al, byte [ecx]
add al, 0x36
mov edi, dword [ebp - 0xc]
mov byte [edx + 0x26], al
mov al, byte [ecx]
add al, 0x34
mov byte [edx + 0x27], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
add al, 0x3b
mov byte [edx + 0x28], al
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x29], al
mov eax, dword fs:[0x30]
mov edi, dword [edi + 8]
mov dword [ebp - 0x14], eax
mov al, byte [ecx]
add al, 0x72
mov byte [edx + 0x2a], al
mov al, byte [ecx]
add al, 0x76
mov byte [edx + 0x2b], al
mov al, byte [ecx]
add al, 0x3a
mov byte [edx + 0x2c], al
mov al, byte [ecx]
add al, 0x38
mov byte [edx + 0x2d], al
mov al, byte [ecx]
mov ebx, dword [ebx + 0x64]
add al, 0x36
mov byte [edx + 0x2e], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x38], eax
mov al, byte [ecx]
add al, 0x2e
mov byte [edx + 0x2f], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
add al, 0x31
mov byte [edx + 0x30], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x34], eax
mov al, byte [ecx]
add al, 0x29
mov byte [edx + 0x31], al
cmp ebx, 0x1f4
jbe 0x459642
mov edx, dword [ebp - 0x48]
mov ebx, esi
mov ecx, dword [ebp - 0x30]
lea eax, [ebx + ecx]
mov byte [ebx + edx], al
inc ebx
cmp ebx, 0x13
jb 0x459630
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword fs:[0x30]
mov al, byte [ecx]
add al, 0x20
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x34]
mov byte [edx + 0x32], al
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
add al, 0x47
mov byte [edx + 0x33], al
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
add al, 0x65
mov byte [edx + 0x34], al
cmp byte [edi + 1], 0x5a
je 0x459696
mov edx, dword [ebp - 0xc]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x459687
mov edx, dword [ebp - 4]
mov al, byte [ecx]
add al, 0x63
cmp dword [ebp - 0x10], 0x1f4
mov byte [edx + 0x35], al
jbe 0x4596bd
mov edx, dword [ebp - 0x10]
mov ebx, esi
mov edi, dword [ebp - 0x14]
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0x13
jb 0x4596ae
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov ebx, dword fs:[0x30]
add al, 0x6b
mov edi, dword [ebp - 0x4c]
mov byte [edx + 0x36], al
mov al, byte [ecx]
add al, 0x6f
mov dword [ebp - 0x58], ebx
mov byte [edx + 0x37], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
add al, 0x2f
mov byte [edx + 0x38], al
cmp byte [edi + 1], 0x5a
mov eax, dword [ebx + 8]
mov dword [ebp - 0x48], eax
je 0x459711
mov edx, dword [ebp - 0x18]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x459702
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov edi, dword [ebp - 0x14]
add al, 0x32
mov byte [edx + 0x39], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
mov edi, dword [edi + 8]
add al, 0x30
mov byte [edx + 0x3a], al
mov al, byte [ecx]
add al, 0x31
mov byte [edx + 0x3b], al
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 1], 0x5a
je 0x459757
mov ecx, dword [ebp - 0x20]
mov ebx, esi
mov edx, eax
lea eax, [ebx + ecx]
mov byte [ebx + edx], al
inc ebx
cmp ebx, 0xa
jb 0x459745
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x24], 0x1f4
jbe 0x45977a
mov ecx, dword [ebp - 0x24]
mov ebx, esi
mov edx, dword [ebp - 0x28]
lea eax, [ebx + ecx]
mov byte [ebx + edx], al
inc ebx
cmp ebx, 0x13
jb 0x459768
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov al, byte [ecx]
add al, 0x30
mov byte [edx + 0x3c], al
cmp byte [edi + 1], 0x5a
je 0x45979b
mov edx, dword [ebp - 0x14]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x45978c
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov edi, dword [ebp - 0x50]
add al, 0x30
mov byte [edx + 0x3d], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28], eax
cmp byte [edi + 1], 0x5a
je 0x4597c8
mov edx, dword [ebp - 0x2c]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x4597b9
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov ebx, dword fs:[0x30]
add al, 0x31
mov byte [edx + 0x3e], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x4c], eax
mov al, byte [ecx]
add al, 0x30
mov byte [edx + 0x3f], al
mov al, byte [ecx]
add al, 0x31
mov byte [edx + 0x40], al
mov edi, dword [ebx + 8]
mov al, byte [ecx]
add al, 0x20
mov byte [edx + 0x41], al
cmp byte [edi + 1], 0x5a
je 0x459814
mov edx, dword [ebp - 0x50]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x459805
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x38]
mov al, byte [ecx]
add al, 0x46
mov edi, dword [edi + 8]
mov byte [edx + 0x42], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
cmp byte [eax + 1], 0x5a
je 0x45984f
mov ecx, dword [ebp - 0x34]
mov ebx, esi
mov edx, eax
lea eax, [ebx + ecx]
mov byte [ebx + edx], al
inc ebx
cmp ebx, 0xa
jb 0x45983d
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword fs:[0x30]
mov dword [ebp - 0x34], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
add al, 0x69
mov byte [edx + 0x43], al
mov al, byte [ecx]
add al, 0x72
mov byte [edx + 0x44], al
cmp byte [edi + 1], 0x5a
je 0x459889
mov edx, dword [ebp - 0x38]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x45987a
mov edx, dword [ebp - 4]
mov al, byte [ecx]
add al, 0x65
cmp dword [ebp - 0x3c], 0x1f4
mov byte [edx + 0x45], al
jbe 0x4598b0
mov edx, dword [ebp - 0x3c]
mov ebx, esi
mov edi, dword [ebp - 0x40]
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0x13
jb 0x4598a1
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov edi, dword [ebp - 0x10]
add al, 0x66
mov byte [edx + 0x46], al
mov eax, dword fs:[0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [edi + 0xa4]
mov dword [ebp - 0xc], edi
mov ebx, dword [eax + 0xc]
mov al, byte [ecx]
add al, 0x6f
mov byte [edx + 0x47], al
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x40], eax
mov al, byte [ecx]
add al, 0x78
cmp dword [ebp - 0x2c], 2
mov byte [edx + 0x48], al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x28], eax
jae 0x459916
mov edx, dword [ebp - 0x2c]
mov edi, esi
lea eax, [edx + edi]
mov word [ebx + edi*2], ax
inc edi
cmp edi, 3
jb 0x459903
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov al, byte [ecx]
add al, 0x2f
cmp dword [ebp - 0x44], 0x1f4
mov byte [edx + 0x49], al
jbe 0x459940
mov edx, dword [ebp - 0x44]
mov ebx, esi
mov edi, dword [ebp - 0x54]
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0x13
jb 0x45992e
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
add al, 0x39
mov byte [edx + 0x4a], al
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x64]
mov al, byte [ecx]
add al, 0x30
mov dword [ebp - 0x54], ebx
mov byte [edx + 0x4b], al
cmp ebx, 0x1f4
jbe 0x45998b
mov edx, dword [ebp - 0x54]
mov ebx, esi
mov edi, dword [ebp - 0x34]
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0x13
jb 0x459979
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov al, byte [ecx]
add al, 0x2e
mov byte [edx + 0x4c], al
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], ebx
cmp byte [eax + 1], 0x5a
je 0x4599c0
mov edx, dword [ebp - 0x58]
mov ebx, esi
mov ecx, eax
lea eax, [ebx + edx]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, 0xa
jb 0x4599ab
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x44]
cmp edi, 2
jae 0x4599e0
mov edx, dword [ebp - 0xc]
mov edi, esi
mov ebx, dword [ebp - 0x50]
lea eax, [edx + edi]
mov word [ebx + edi*2], ax
inc edi
cmp edi, 3
jb 0x4599cd
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x40], 2
jae 0x4599fb
mov edx, dword [ebp - 0x40]
mov edi, esi
lea eax, [edx + edi]
mov word [ebx + edi*2], ax
inc edi
cmp edi, 3
jb 0x4599eb
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x4c]
cmp byte [edi + 1], 0x5a
je 0x459a18
mov ecx, dword [ebp - 0x18]
mov ebx, esi
lea eax, [ebx + ecx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x459a09
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x3c]
mov edi, dword [edi + 8]
cmp byte [edi + 1], 0x5a
je 0x459a38
mov edx, dword [ebp - 0x3c]
mov ebx, esi
lea eax, [ebx + edx]
mov byte [ebx + edi], al
inc ebx
cmp ebx, 0xa
jb 0x459a29
mov edx, dword [ebp - 4]
mov ebx, dword fs:[0x30]
mov al, byte [ecx]
mov edi, dword [ebp - 0x38]
add al, 0x32
cmp dword [ebp - 0x28], 2
mov byte [edx + 0x4d], al
mov eax, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x58], edi
mov edi, dword [ebx + 0xa4]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [eax + 0xa4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x50], eax
mov al, byte [ecx]
mov dword [ebp - 0x54], edi
mov byte [edx + 0x4e], al
jae 0x459a90
mov edx, dword [ebp - 0x58]
mov ecx, esi
mov edi, dword [ebp - 0x28]
lea eax, [edi + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x459a80
mov edi, dword [ebp - 0x54]
cmp ebx, 2
jae 0x459aa7
mov edx, dword [ebp - 0x50]
mov ecx, esi
lea eax, [ebx + ecx]
mov word [edx + ecx*2], ax
inc ecx
cmp ecx, 3
jb 0x459a9a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0xc]
cmp edi, 2
jae 0x459abf
lea eax, [edi + esi]
mov word [ecx + esi*2], ax
inc esi
cmp esi, 3
jb 0x459ab2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret