Function at 0x4a25a0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a2d25
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebx + 4]
call fcn.00404a54
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0xa], 0
lea eax, [ebx + 0xc]
call fcn.00404a54
lea eax, [ebx + 0x10]
call fcn.00404a54
lea eax, [ebx + 0x14]
call fcn.00404a54
lea eax, [ebx + 0x1c]
call fcn.00404a54
mov byte [ebx + 0x20], 0
lea eax, [ebx + 0x24]
call fcn.00404a54
lea eax, [ebx + 0x28]
call fcn.00404a54
lea eax, [ebx + 0x18]
call fcn.00404a54
lea eax, [ebx + 0x2c]
call fcn.00404a54
lea eax, [ebx + 0x30]
call fcn.00404a54
lea eax, [ebx + 0x34]
call fcn.00404a54
lea eax, [ebx + 0x38]
call fcn.00404a54
lea eax, [ebx + 0x3c]
call fcn.00404a54
lea eax, [ebx + 0x40]
call fcn.00404a54
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x4c]
call fcn.00404a54
lea eax, [ebx + 0x50]
call fcn.00404a54
lea eax, [ebx + 0x54]
call fcn.00404a54
lea eax, [ebx + 0x58]
call fcn.00404a54
lea eax, [ebx + 0x5c]
call fcn.00404a54
lea eax, [ebx + 0x60]
call fcn.00404a54
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], 1
lea eax, [ebx + 0x70]
call fcn.00404a54
lea eax, [ebx + 0x74]
call fcn.00404a54
lea eax, [ebx + 0x78]
call fcn.00404a54
lea eax, [ebx + 0x7c]
call fcn.00404a54
lea eax, [ebx + 0x80]
call fcn.00404a54
lea eax, [ebx + 0x84]
call fcn.00404a54
lea eax, [ebx + 0x88]
call fcn.00404a54
lea eax, [ebx + 0x8c]
call fcn.00404a54
lea eax, [ebx + 0x90]
call fcn.00404a54
mov byte [ebx + 0x94], 0
mov byte [ebx + 0x95], 0
lea eax, [ebx + 0x98]
call fcn.00404a54
lea eax, [ebx + 0x9c]
call fcn.00404a54
lea eax, [ebx + 0xa0]
call fcn.00404a54
lea eax, [ebx + 0xa4]
call fcn.00404a54
lea eax, [ebx + 0xa8]
call fcn.00404a54
lea eax, [ebx + 0xac]
call fcn.00404a54
lea eax, [ebx + 0xb0]
call fcn.00404a54
lea eax, [ebx + 0xb4]
call fcn.00404a54
lea eax, [ebx + 0xb8]
call fcn.00404a54
lea eax, [ebx + 0xbc]
call fcn.00404a54
lea eax, [ebx + 0xc0]
call fcn.00404a54
lea eax, [ebx + 0xc4]
call fcn.00404a54
lea eax, [ebx + 0xc8]
call fcn.00404a54
lea eax, [ebx + 0xcc]
call fcn.00404a54
lea eax, [ebx + 0xe0]
call fcn.00404a54
lea eax, [ebx + 0xd0]
call fcn.00404a54
lea eax, [ebx + 0xd4]
call fcn.00404a54
lea eax, [ebx + 0xd8]
call fcn.00404a54
lea eax, [ebx + 0xdc]
call fcn.00404a54
lea eax, [ebx + 0xe4]
call fcn.00404a54
mov byte [ebx + 0xef], 0
mov byte [ebx + 0xf0], 0
mov byte [ebx + 0xec], 0
mov byte [ebx + 0xed], 0
mov byte [ebx + 0xee], 0
mov byte [ebx + 0xf1], 0
lea eax, [ebx + 0xf4]
mov edx, 0x4a2d3c
call fcn.00404aa8
lea edx, [ebp - 4]
mov eax, 0xff0000
call fcn.00409820
mov edx, dword [ebp - 4]
lea eax, [ebx + 0xf8]
call fcn.00404aa8
lea edx, [ebp - 8]
xor eax, eax
call fcn.00409820
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xfc]
call fcn.00404aa8
lea eax, [ebx + 0x100]
call fcn.00404a54
lea eax, [ebx + 0x104]
call fcn.00404a54
lea eax, [ebx + 0x108]
call fcn.00404a54
lea eax, [ebx + 0x10c]
call fcn.00404a54
lea eax, [ebx + 0x110]
call fcn.00404a54
mov esi, 1
lea eax, [ebx + esi*4 + 0x110]
call fcn.00404a54
inc esi
cmp esi, 9
jne 0x4a286e
lea eax, [ebx + 0x134]
call fcn.00404a54
lea eax, [ebx + 0x138]
call fcn.00404a54
lea eax, [ebx + 0x13c]
call fcn.00404a54
lea eax, [ebx + 0x140]
call fcn.00404a54
lea eax, [ebx + 0x144]
call fcn.00404a54
lea eax, [ebx + 0x148]
call fcn.00404a54
lea eax, [ebx + 0x14c]
call fcn.00404a54
lea eax, [ebx + 0x150]
call fcn.00404a54
lea eax, [ebx + 0x154]
call fcn.00404a54
lea eax, [ebx + 0x158]
call fcn.00404a54
lea eax, [ebx + 0x15c]
call fcn.00404a54
lea eax, [ebx + 0x160]
call fcn.00404a54
lea eax, [ebx + 0x164]
call fcn.00404a54
lea eax, [ebx + 0x168]
call fcn.00404a54
lea eax, [ebx + 0x16c]
call fcn.00404a54
lea eax, [ebx + 0x170]
call fcn.00404a54
mov byte [ebx + 0x1b6], 0
mov byte [ebx + 0x194], 0
mov byte [ebx + 0x195], 0
mov byte [ebx + 0x196], 0
mov byte [ebx + 0x197], 0
mov byte [ebx + 0x198], 0
mov byte [ebx + 0x199], 0
mov byte [ebx + 0x19a], 0
mov byte [ebx + 0x19b], 0
mov byte [ebx + 0x19c], 0
mov byte [ebx + 0x19d], 0
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0x19f], 0
mov byte [ebx + 0x1a0], 0
mov byte [ebx + 0x1a1], 0
mov byte [ebx + 0x1a2], 0
mov byte [ebx + 0x1a3], 0
lea eax, [ebx + 0x1a4]
call fcn.00404a54
lea eax, [ebx + 0x1a8]
call fcn.00404a54
lea eax, [ebx + 0x1ac]
call fcn.00404a54
mov byte [ebx + 0x1b0], 0
mov byte [ebx + 0x1b1], 0
mov byte [ebx + 0x1b2], 0
mov byte [ebx + 0x1b3], 0
mov byte [ebx + 0x1b4], 0
mov byte [ebx + 0x1b5], 0
mov byte [ebx + 0x1b7], 0
mov byte [ebx + 0x1b8], 0
mov byte [ebx + 0x1b9], 0
mov byte [ebx + 0x1ba], 0
mov byte [ebx + 0x1bb], 0
mov byte [ebx + 0x1bc], 0
mov byte [ebx + 0x1bd], 0
mov byte [ebx + 0x1be], 0
mov byte [ebx + 0x1bf], 0
mov byte [ebx + 0x1c0], 0
lea eax, [ebx + 0x1c4]
call fcn.00404a54
lea eax, [ebx + 0x1cc]
call fcn.00404a54
lea eax, [ebx + 0x1c8]
call fcn.00404a54
lea eax, [ebx + 0x1d0]
call fcn.00404a54
lea eax, [ebx + 0x1d4]
call fcn.00404a54
lea eax, [ebx + 0x1d8]
call fcn.00404a54
mov byte [ebx + 0x1dc], 0
xor eax, eax
mov dword [ebx + 0x1e0], eax
mov dword [ebx + 0x1e4], 1
xor eax, eax
mov dword [ebx + 0x1e8], eax
lea eax, [ebx + 0x1ec]
call fcn.00404a54
mov byte [ebx + 0x1f0], 0
mov byte [ebx + 0x1f1], 0
mov byte [ebx + 0x1f3], 0
mov byte [ebx + 0x1f4], 0
mov byte [ebx + 0x1f5], 0
mov byte [ebx + 0x1f6], 0
mov byte [ebx + 0x1f7], 0
mov byte [ebx + 0x1f8], 0
mov byte [ebx + 0x1f9], 0
mov byte [ebx + 0x1fa], 0
mov byte [ebx + 0x1fb], 0
mov byte [ebx + 0x1fc], 0
mov byte [ebx + 0x1fd], 0
mov byte [ebx + 0x1fe], 0
mov byte [ebx + 0x1ff], 0
mov byte [ebx + 0x200], 0
mov byte [ebx + 0x201], 0
mov byte [ebx + 0x202], 0
mov byte [ebx + 0x203], 0
mov byte [ebx + 0x204], 0
mov byte [ebx + 0x205], 0
mov byte [ebx + 0x206], 0
mov byte [ebx + 0x207], 0
mov byte [ebx + 0x208], 0
mov byte [ebx + 0x209], 0
mov byte [ebx + 0x20a], 0
mov byte [ebx + 0x20b], 0
mov byte [ebx + 0x20c], 0
mov byte [ebx + 0x20d], 0
mov byte [ebx + 0x20e], 0
mov byte [ebx + 0x20f], 0
mov byte [ebx + 0x210], 0
mov byte [ebx + 0x211], 0
mov byte [ebx + 0x174], 0
lea eax, [ebx + 0x178]
call fcn.00404a54
lea eax, [ebx + 0x17c]
call fcn.00404a54
lea eax, [ebx + 0x180]
call fcn.00404a54
lea eax, [ebx + 0x184]
call fcn.00404a54
lea eax, [ebx + 0x188]
call fcn.00404a54
lea eax, [ebx + 0x18c]
call fcn.00404a54
lea eax, [ebx + 0x190]
call fcn.00404a54
xor eax, eax
mov dword [ebx + 0x214], eax
lea eax, [ebx + 0x218]
call fcn.00404a54
lea eax, [ebx + 0x21c]
xor ecx, ecx
mov edx, 0x194
call fcn.004030cc
xor eax, eax
mov dword [ebx + 0x3b0], eax
mov byte [ebx + 0x3b4], 0
mov byte [ebx + 0x3b5], 0
mov byte [ebx + 0x3b6], 0
mov eax, dword [ebx + 0x3b8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3bc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3c8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3cc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3d0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3d4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3d8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3dc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3e0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3e4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3e8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3ec]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3f0]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3f4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x3fc]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x400]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x404]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x408]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2d2c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404a78
ret