Function at 0x809a08
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x33
push 0
push 0
dec ecx
jne 0x809a10
push ebx
push esi
mov ebx, 0x978438
mov esi, 0x978504
xor eax, eax
push ebp
push 0x80a051
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [0x9785d4], eax
mov eax, 0x9785d8
mov ecx, 0xff
mov edx, pe_nt_image_headers32
call fcn.00408280
xor edx, edx
mov eax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
movzx ecx, byte [eax]
mov byte [ecx + 0x9785d8], dl
inc edx
inc eax
cmp edx, 0x40
jne 0x809a53
mov byte [0x978615], 0xfe
call fcn.0080975c
lea edx, [ebp - 0xcc]
mov eax, 0x80a06c
call fcn.00809468
lea edx, [ebp - 0xcc]
mov eax, ebx
mov ecx, dword [0x809120]
call fcn.0040dd74
mov eax, ebx
mov edx, 0x80a080
call fcn.0040bd48
mov byte [ebx + 4], 0
mov byte [ebx + 5], 2
mov byte [ebx + 6], 0x2f
mov byte [ebx + 7], 0x3a
lea eax, [ebx + 8]
mov edx, 0x80a090
call fcn.0040bd48
lea eax, [ebx + 0xc]
mov edx, 0x80a0a0
call fcn.0040bd48
lea eax, [ebx + 0x10]
mov edx, 0x80a0b8
call fcn.0040bd48
lea eax, [ebx + 0x14]
mov edx, 0x80a0d8
call fcn.0040bd48
lea eax, [ebx + 0x18]
mov edx, 0x80a0e8
call fcn.0040bd48
lea eax, [ebx + 0x1c]
mov edx, 0x80a0f8
call fcn.0040bd48
lea eax, [ebx + 0x20]
mov edx, 0x80a110
call fcn.0040bd48
lea eax, [ebx + 0x24]
mov edx, 0x80a12c
call fcn.0040bd48
lea eax, [ebx + 0x54]
mov edx, 0x80a13c
call fcn.0040bd48
lea eax, [ebx + 0x28]
mov edx, 0x80a150
call fcn.0040bd48
lea eax, [ebx + 0x58]
mov edx, 0x80a160
call fcn.0040bd48
lea eax, [ebx + 0x2c]
mov edx, 0x80a178
call fcn.0040bd48
lea eax, [ebx + 0x5c]
mov edx, 0x80a188
call fcn.0040bd48
lea eax, [ebx + 0x30]
mov edx, 0x80a19c
call fcn.0040bd48
lea eax, [ebx + 0x60]
mov edx, 0x80a1ac
call fcn.0040bd48
lea eax, [ebx + 0x34]
mov edx, 0x80a1c0
call fcn.0040bd48
lea eax, [ebx + 0x64]
mov edx, 0x80a1c0
call fcn.0040bd48
lea eax, [ebx + 0x38]
mov edx, 0x80a1d0
call fcn.0040bd48
lea eax, [ebx + 0x68]
mov edx, 0x80a1e0
call fcn.0040bd48
lea eax, [ebx + 0x3c]
mov edx, 0x80a1f4
call fcn.0040bd48
lea eax, [ebx + 0x6c]
mov edx, 0x80a204
call fcn.0040bd48
lea eax, [ebx + 0x40]
mov edx, 0x80a218
call fcn.0040bd48
lea eax, [ebx + 0x70]
mov edx, 0x80a228
call fcn.0040bd48
lea eax, [ebx + 0x44]
mov edx, 0x80a23c
call fcn.0040bd48
lea eax, [ebx + 0x74]
mov edx, 0x80a24c
call fcn.0040bd48
lea eax, [ebx + 0x48]
mov edx, 0x80a264
call fcn.0040bd48
lea eax, [ebx + 0x78]
mov edx, 0x80a274
call fcn.0040bd48
lea eax, [ebx + 0x4c]
mov edx, 0x80a288
call fcn.0040bd48
lea eax, [ebx + 0x7c]
mov edx, 0x80a298
call fcn.0040bd48
lea eax, [ebx + 0x50]
mov edx, 0x80a2b0
call fcn.0040bd48
lea eax, [ebx + 0x80]
mov edx, 0x80a2c0
call fcn.0040bd48
lea eax, [ebx + 0x84]
mov edx, 0x80a2d8
call fcn.0040bd48
lea eax, [ebx + 0xa0]
mov edx, 0x80a2e8
call fcn.0040bd48
lea eax, [ebx + 0x88]
mov edx, 0x80a2fc
call fcn.0040bd48
lea eax, [ebx + 0xa4]
mov edx, 0x80a30c
call fcn.0040bd48
lea eax, [ebx + 0x8c]
mov edx, 0x80a320
call fcn.0040bd48
lea eax, [ebx + 0xa8]
mov edx, 0x80a330
call fcn.0040bd48
lea eax, [ebx + 0x90]
mov edx, 0x80a344
call fcn.0040bd48
lea eax, [ebx + 0xac]
mov edx, 0x80a354
call fcn.0040bd48
lea eax, [ebx + 0x94]
mov edx, 0x80a36c
call fcn.0040bd48
lea eax, [ebx + 0xb0]
mov edx, 0x80a37c
call fcn.0040bd48
lea eax, [ebx + 0x98]
mov edx, 0x80a394
call fcn.0040bd48
lea eax, [ebx + 0xb4]
mov edx, 0x80a3a4
call fcn.0040bd48
lea eax, [ebx + 0x9c]
mov edx, 0x80a3b8
call fcn.0040bd48
lea eax, [ebx + 0xb8]
mov edx, 0x80a3c8
call fcn.0040bd48
lea eax, [ebx + 0xc0]
mov edx, 0x80a3e0
call fcn.0040bd48
mov byte [ebx + 0xc4], 0x2e
mov word [ebx + 0xc6], 0x32
mov byte [ebx + 0xc8], 0
lea edx, [ebp - 0x198]
mov eax, 0x80a3f0
call fcn.00436f30
lea edx, [ebp - 0x198]
mov eax, esi
mov ecx, dword [0x42ad94]
call fcn.0040dd74
mov eax, esi
mov edx, 0x80a408
call fcn.0040bca4
mov byte [esi + 4], 0
mov byte [esi + 5], 2
mov word [esi + 6], 0x2f
mov word [esi + 8], 0x3a
mov word [esi + 0xa], 0x3b
lea eax, [esi + 0xc]
mov edx, 0x80a418
call fcn.0040bca4
lea eax, [esi + 0x10]
mov edx, 0x80a438
call fcn.0040bca4
lea eax, [esi + 0x14]
mov edx, 0x80a46c
call fcn.0040bca4
lea eax, [esi + 0x18]
mov edx, 0x80a480
call fcn.0040bca4
lea eax, [esi + 0x1c]
mov edx, 0x80a494
call fcn.0040bca4
lea eax, [esi + 0x20]
mov edx, 0x80a4b4
call fcn.0040bca4
lea eax, [esi + 0x24]
mov edx, 0x80a4dc
call fcn.0040bca4
lea eax, [esi + 0x54]
mov edx, 0x80a4f0
call fcn.0040bca4
lea eax, [esi + 0x28]
mov edx, 0x80a50c
call fcn.0040bca4
lea eax, [esi + 0x58]
mov edx, 0x80a520
call fcn.0040bca4
lea eax, [esi + 0x2c]
mov edx, 0x80a540
call fcn.0040bca4
lea eax, [esi + 0x5c]
mov edx, 0x80a554
call fcn.0040bca4
lea eax, [esi + 0x30]
mov edx, 0x80a56c
call fcn.0040bca4
lea eax, [esi + 0x60]
mov edx, 0x80a580
call fcn.0040bca4
lea eax, [esi + 0x34]
mov edx, 0x80a598
call fcn.0040bca4
lea eax, [esi + 0x64]
mov edx, 0x80a598
call fcn.0040bca4
lea eax, [esi + 0x38]
mov edx, 0x80a5ac
call fcn.0040bca4
lea eax, [esi + 0x68]
mov edx, 0x80a5c0
call fcn.0040bca4
lea eax, [esi + 0x3c]
mov edx, 0x80a5d8
call fcn.0040bca4
lea eax, [esi + 0x6c]
mov edx, 0x80a5ec
call fcn.0040bca4
lea eax, [esi + 0x40]
mov edx, 0x80a604
call fcn.0040bca4
lea eax, [esi + 0x70]
mov edx, 0x80a618
call fcn.0040bca4
lea eax, [esi + 0x44]
mov edx, 0x80a634
call fcn.0040bca4
lea eax, [esi + 0x74]
mov edx, 0x80a648
call fcn.0040bca4
lea eax, [esi + 0x48]
mov edx, 0x80a668
call fcn.0040bca4
lea eax, [esi + 0x78]
mov edx, 0x80a67c
call fcn.0040bca4
lea eax, [esi + 0x4c]
mov edx, 0x80a698
call fcn.0040bca4
lea eax, [esi + 0x7c]
mov edx, 0x80a6ac
call fcn.0040bca4
lea eax, [esi + 0x50]
mov edx, 0x80a6cc
call fcn.0040bca4
lea eax, [esi + 0x80]
mov edx, 0x80a6e0
call fcn.0040bca4
lea eax, [esi + 0x84]
mov edx, 0x80a700
call fcn.0040bca4
lea eax, [esi + 0xa0]
mov edx, 0x80a714
call fcn.0040bca4
lea eax, [esi + 0x88]
mov edx, 0x80a730
call fcn.0040bca4
lea eax, [esi + 0xa4]
mov edx, 0x80a744
call fcn.0040bca4
lea eax, [esi + 0x8c]
mov edx, 0x80a760
call fcn.0040bca4
lea eax, [esi + 0xa8]
mov edx, 0x80a774
call fcn.0040bca4
lea eax, [esi + 0x90]
mov edx, 0x80a790
call fcn.0040bca4
lea eax, [esi + 0xac]
mov edx, 0x80a7a4
call fcn.0040bca4
lea eax, [esi + 0x94]
mov edx, 0x80a7c4
call fcn.0040bca4
lea eax, [esi + 0xb0]
mov edx, 0x80a7d8
call fcn.0040bca4
lea eax, [esi + 0x98]
mov edx, 0x80a7f8
call fcn.0040bca4
lea eax, [esi + 0xb4]
mov edx, 0x80a80c
call fcn.0040bca4
lea eax, [esi + 0x9c]
mov edx, 0x80a828
call fcn.0040bca4
lea eax, [esi + 0xb8]
mov edx, 0x80a83c
call fcn.0040bca4
mov word [esi + 0xc0], 0x2c
mov word [esi + 0xc2], 0x2e
mov word [esi + 0xc4], 0x32
mov byte [esi + 0xc6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x80a058
lea eax, [ebp - 0x198]
mov edx, dword [0x42ad94]
call fcn.0040d5d0
lea eax, [ebp - 0xcc]
mov edx, dword [0x809120]
call fcn.0040d5d0
pop eax
jmp eax