Function at 0x5098a0
Capabilities:
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5b6136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
mov ebp, dword [esp + 0x14c]
push esi
mov dword [esp + 0x13c], ecx
push edi
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp + 0x10]
xor ebx, ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x150], ebx
call sub.MFC42.DLL_CString::CString_3
mov dl, 0x72
mov cl, 0x6f
mov al, 0x65
mov byte [esp + 0x14c], 1
mov byte [esp + 0x1c], 0xac
mov byte [esp + 0x1d], 0xed
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], 5
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0x14
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x45
mov byte [esp + 0x26], 0x50
mov byte [esp + 0x27], dl
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x6c
mov byte [esp + 0x2e], 0x2e
mov byte [esp + 0x2f], 0x53
mov byte [esp + 0x30], 0x45
mov byte [esp + 0x31], 0x50
mov byte [esp + 0x32], 0x5f
mov byte [esp + 0x33], 0x4c
mov byte [esp + 0x34], 0x4f
mov byte [esp + 0x35], 0x47
mov byte [esp + 0x36], 0x49
mov byte [esp + 0x37], 0x4e
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 4
mov byte [esp + 0x3e], 0x10
mov byte [esp + 0x3f], 1
mov byte [esp + 0x40], 2
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], 5
mov byte [esp + 0x43], 0x4c
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 6
mov byte [esp + 0x46], 0x68
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0x61
mov byte [esp + 0x49], 0x64
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], 0x74
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x1a
mov byte [esp + 0x4f], 0x4c
mov byte [esp + 0x50], 0x53
mov byte [esp + 0x51], 0x45
mov byte [esp + 0x52], 0x50
mov byte [esp + 0x53], dl
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], 0x74
mov byte [esp + 0x56], cl
mov byte [esp + 0x57], 0x63
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], 0x6c
mov byte [esp + 0x5a], 0x2f
mov byte [esp + 0x5b], 0x4d
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], 0x73
mov byte [esp + 0x5e], 0x73
mov byte [esp + 0x5f], 0x61
mov byte [esp + 0x60], 0x67
mov byte [esp + 0x61], al
mov byte [esp + 0x62], 0x48
mov byte [esp + 0x63], al
mov byte [esp + 0x64], 0x61
mov byte [esp + 0x65], 0x64
mov byte [esp + 0x66], al
mov byte [esp + 0x67], dl
mov byte [esp + 0x68], 0x3b
mov byte [esp + 0x69], 0x4c
mov byte [esp + 0x6a], bl
mov byte [esp + 0x6b], 8
mov byte [esp + 0x6c], 0x68
mov byte [esp + 0x6d], cl
mov byte [esp + 0x6e], 0x73
mov byte [esp + 0x6f], 0x74
mov byte [esp + 0x70], 0x4e
mov byte [esp + 0x71], 0x61
mov byte [esp + 0x72], 0x6d
mov byte [esp + 0x73], al
mov byte [esp + 0x74], 0x74
mov byte [esp + 0x75], bl
mov byte [esp + 0x76], 0x12
mov byte [esp + 0x77], 0x4c
mov byte [esp + 0x78], 0x6a
mov byte [esp + 0x79], 0x61
mov byte [esp + 0x7a], 0x76
mov byte [esp + 0x7b], 0x61
mov byte [esp + 0x7c], 0x2f
mov byte [esp + 0x7d], 0x6c
mov byte [esp + 0x7e], 0x61
mov byte [esp + 0x7f], 0x6e
mov byte [esp + 0x80], 0x67
mov byte [esp + 0x81], 0x2f
mov byte [esp + 0x82], 0x53
mov byte [esp + 0x83], 0x74
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], 0x69
mov byte [esp + 0x86], 0x6e
mov byte [esp + 0x87], 0x67
mov byte [esp + 0x88], 0x3b
mov byte [esp + 0x89], 0x4c
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], 5
mov byte [esp + 0x8c], 0x6d
mov byte [esp + 0x8d], 0x61
mov byte [esp + 0x8e], 0x63
mov byte [esp + 0x8f], 0x49
mov byte [esp + 0x90], 0x70
mov byte [esp + 0x91], 0x71
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], 0x7e
mov byte [esp + 0x94], bl
mov byte [esp + 0x95], 2
mov byte [esp + 0x96], 0x4c
mov byte [esp + 0x97], bl
mov byte [esp + 0x98], 8
mov byte [esp + 0x99], 0x70
mov byte [esp + 0x9a], 0x61
mov byte [esp + 0x9b], 0x73
mov byte [esp + 0x9c], 0x73
mov byte [esp + 0x9d], 0x77
mov byte [esp + 0x9e], cl
mov byte [esp + 0x9f], dl
mov byte [esp + 0xa0], 0x64
mov byte [esp + 0xa1], 0x71
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], 0x7e
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 2
mov byte [esp + 0xa6], 0x4c
mov byte [esp + 0xa7], bl
mov byte [esp + 0xa8], 8
mov byte [esp + 0xa9], 0x75
mov byte [esp + 0xaa], 0x73
mov byte [esp + 0xab], al
mov byte [esp + 0xac], dl
mov byte [esp + 0xad], 0x4e
mov byte [esp + 0xae], 0x61
mov byte [esp + 0xaf], 0x6d
mov byte [esp + 0xb0], al
mov byte [esp + 0xb1], 0x71
mov byte [esp + 0xb2], bl
mov byte [esp + 0xb3], 0x7e
mov byte [esp + 0xb4], bl
mov byte [esp + 0xb5], 2
mov byte [esp + 0xb6], 0x78
mov byte [esp + 0xb7], dl
mov byte [esp + 0xb8], bl
mov byte [esp + 0xb9], 0x28
mov byte [esp + 0xba], 0x53
mov byte [esp + 0xbb], 0x45
mov byte [esp + 0xbc], 0x50
mov byte [esp + 0xbd], dl
mov byte [esp + 0xbe], cl
mov byte [esp + 0xbf], 0x74
mov byte [esp + 0xc0], cl
mov byte [esp + 0xc1], 0x63
mov byte [esp + 0xc2], cl
mov byte [esp + 0xc3], 0x6c
mov byte [esp + 0xc4], 0x2e
mov byte [esp + 0xc5], 0x53
mov byte [esp + 0xc6], 0x45
mov byte [esp + 0xc7], 0x50
mov byte [esp + 0xc8], 0x5f
mov byte [esp + 0xc9], 0x41
mov byte [esp + 0xca], 0x42
mov byte [esp + 0xcb], 0x53
mov byte [esp + 0xcc], 0x54
mov byte [esp + 0xcd], 0x52
mov byte [esp + 0xce], 0x41
mov byte [esp + 0xcf], 0x43
mov byte [esp + 0xd0], 0x54
mov byte [esp + 0xd1], 0x5f
mov byte [esp + 0xd2], 0x52
mov byte [esp + 0xd3], 0x4f
mov byte [esp + 0xd4], 0x4f
mov byte [esp + 0xd5], 0x54
mov byte [esp + 0xd6], 0x5f
mov byte [esp + 0xd7], 0x43
mov byte [esp + 0xd8], 0x4f
mov byte [esp + 0xd9], 0x4e
mov byte [esp + 0xda], 0x54
mov byte [esp + 0xdb], 0x52
mov byte [esp + 0xdc], 0x4f
mov byte [esp + 0xdd], 0x4c
mov byte [esp + 0xde], 0x5f
mov byte [esp + 0xdf], 0x4d
mov byte [esp + 0xe0], 0x53
mov byte [esp + 0xe1], 0x47
mov byte [esp + 0xe2], bl
mov byte [esp + 0xe3], bl
mov byte [esp + 0xe4], bl
mov byte [esp + 0xe5], bl
mov byte [esp + 0xe6], bl
mov byte [esp + 0xe7], 4
mov byte [esp + 0xe8], bl
mov byte [esp + 0xe9], bl
mov byte [esp + 0xea], 2
mov byte [esp + 0xeb], bl
mov byte [esp + 0xec], bl
mov byte [esp + 0xed], 0x78
mov byte [esp + 0xee], 0x70
mov byte [esp + 0xef], 0x73
mov byte [esp + 0xf0], dl
mov byte [esp + 0xf1], bl
mov byte [esp + 0xf2], 0x18
mov byte [esp + 0xf3], 0x53
mov byte [esp + 0xf4], 0x45
mov byte [esp + 0xf5], 0x50
mov byte [esp + 0xf6], dl
mov byte [esp + 0xf7], cl
mov byte [esp + 0xf8], 0x74
mov byte [esp + 0xf9], cl
mov byte [esp + 0xfb], cl
mov ecx, 0xd
mov esi, 0x5cd338
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x46
lea esi, [esp + 0x1c]
lea edi, [ebp + 0x36]
mov byte [esp + 0xfa], 0x63
mov byte [esp + 0xfc], 0x6c
mov byte [esp + 0xfd], 0x2e
mov byte [esp + 0xfe], 0x4d
mov byte [esp + 0xff], al
mov byte [esp + 0x100], 0x73
mov byte [esp + 0x101], 0x73
mov byte [esp + 0x102], 0x61
mov byte [esp + 0x103], 0x67
mov byte [esp + 0x104], al
mov byte [esp + 0x105], 0x48
mov byte [esp + 0x106], al
mov byte [esp + 0x107], 0x61
mov byte [esp + 0x108], 0x64
mov byte [esp + 0x109], al
mov byte [esp + 0x10a], dl
mov byte [esp + 0x10b], bl
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], bl
mov byte [esp + 0x10e], bl
mov byte [esp + 0x10f], bl
mov byte [esp + 0x110], 4
mov byte [esp + 0x111], 0xf3
mov byte [esp + 0x112], 0x8e
mov byte [esp + 0x113], 2
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], 2
mov byte [esp + 0x116], 0x49
mov byte [esp + 0x117], bl
mov byte [esp + 0x118], 0xa
mov byte [esp + 0x119], 0x73
mov byte [esp + 0x11a], al
mov byte [esp + 0x11b], 0x71
mov byte [esp + 0x11c], 0x75
mov byte [esp + 0x11d], al
mov byte [esp + 0x11e], 0x6e
mov byte [esp + 0x11f], 0x63
mov byte [esp + 0x120], al
mov byte [esp + 0x121], 0x49
mov byte [esp + 0x122], 0x64
mov byte [esp + 0x123], 0x49
mov byte [esp + 0x124], bl
mov byte [esp + 0x125], 4
mov byte [esp + 0x126], 0x74
mov byte [esp + 0x127], 0x79
mov byte [esp + 0x128], 0x70
mov byte [esp + 0x129], al
mov byte [esp + 0x12a], 0x78
mov byte [esp + 0x12b], 0x70
mov byte [esp + 0x12c], bl
mov byte [esp + 0x12d], bl
mov byte [esp + 0x12e], bl
mov byte [esp + 0x12f], bl
mov byte [esp + 0x130], bl
mov byte [esp + 0x131], bl
mov byte [esp + 0x132], bl
mov byte [esp + 0x133], 1
mov byte [esp + 0x134], 0x74
mov byte [esp + 0x135], bl
mov byte [esp + 0x136], 9
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x140]
lea ecx, [esp + 0x13c]
push ecx
mov ecx, esi
call fcn.0050af70
add esi, 0x46ec
mov byte [esp + 0x14c], 2
mov dword [esp + 0x10], esi
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::CString
push esi
lea ecx, [esp + 0x13c]
call sub.MFC42.DLL_CString::CString_2
push 0x62fcec
push 0x6016d8
lea ecx, [esp + 0x140]
mov byte [esp + 0x154], 3
call sub.MFC42.DLL_CString::Replace
lea edx, [esp + 0x13c]
push 9
push edx
lea ecx, [esp + 0x140]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x151]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x13c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov byte [ebp + 0x15a], 0x74
mov byte [ebp + 0x15b], bl
add ebp, 0x15d
mov ecx, dword [edx]
mov eax, dword [ecx - 8]
or ecx, 0xffffffff
mov byte [ebp - 1], al
mov edi, dword [edx]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
mov edx, dword [esp + 0x154]
mov ebp, dword [ecx - 8]
mov byte [edx + ebp + 0x15d], 0x74
add ebp, 0x15d
or ecx, 0xffffffff
inc ebp
mov byte [edx + ebp], bl
mov eax, dword [esp + 0x18]
inc ebp
mov eax, dword [eax - 8]
mov byte [edx + ebp], al
mov edi, dword [esp + 0x18]
xor eax, eax
inc ebp
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
or ecx, 0xffffffff
add ebp, eax
mov byte [edx + ebp], 0x74
inc ebp
mov byte [edx + ebp], bl
mov eax, dword [esp + 0x14]
inc ebp
mov eax, dword [eax - 8]
mov byte [edx + ebp], al
mov edi, dword [esp + 0x14]
inc ebp
xor eax, eax
add edx, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
add ebp, dword [ecx - 8]
lea esi, [ebp - 0x36]
lea eax, [esi + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
shl eax, 3
mov ecx, eax
sub ecx, esi
cmp ecx, ebx
mov dword [esp + 0x10], ecx
jle 0x50a248
mov edx, dword [esp + 0x154]
mov esi, ecx
shr ecx, 2
lea edi, [edx + ebp]
lea edx, [ebp - 0x36]
sub al, dl
mov dl, al
mov dh, dl
mov eax, edx
shl eax, 0x10
mov ax, dx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
add ebp, eax
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x140]
push ebp
push eax
call fcn.00509810
lea ecx, [esp + 0x138]
mov esi, eax
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x14c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x144]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret 4