Function at 0x49a968
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x49a971
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x49a98a
add esp, 0xfffffff0
call fcn.00404898
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405944
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x49ab91
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x49a9be
xor edx, edx
mov eax, edi
call fcn.0049a764
jmp 0x49ab6e
xor eax, eax
mov dword [esi], eax
xor eax, eax
push ebp
push 0x49ab53
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
lea eax, [ebp - 0xc]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0xc]
call fcn.0040a770
mov dword [edi + 4], eax
push esi
lea eax, [ebp - 0x10]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x10]
lea eax, [edi + 8]
call fcn.004054e4
push esi
lea eax, [ebp - 0x14]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0xc]
call fcn.004054e4
push esi
lea eax, [ebp - 0x18]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x18]
lea eax, [edi + 0x10]
call fcn.004054e4
push esi
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x14]
call fcn.004054e4
push esi
lea eax, [ebp - 0x20]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x18]
call fcn.004054e4
push esi
lea eax, [ebp - 0x24]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov eax, dword [ebp - 0x24]
call fcn.0040a770
mov byte [edi + 0x1c], al
push esi
lea eax, [ebp - 0x28]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x28]
lea eax, [edi + 0x20]
call fcn.004054e4
push esi
lea eax, [ebp - 0x2c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x2c]
lea eax, [edi + 0x24]
call fcn.004054e4
push esi
lea eax, [ebp - 0x30]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x30]
lea eax, [edi + 0x28]
call fcn.004054e4
push esi
lea eax, [ebp - 0x34]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x34]
lea eax, [edi + 0x2c]
call fcn.004054e4
push esi
lea eax, [ebp - 0x38]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x38]
lea eax, [edi + 0x30]
call fcn.004054e4
push esi
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [esi]
inc edx
mov cl, 0x3b
mov eax, dword [ebp - 4]
call fcn.005a46dc
mov edx, dword [ebp - 0x3c]
lea eax, [edi + 0x34]
call fcn.004054e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49ab6e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ab98
lea eax, [ebp - 0x3c]
mov edx, 0xd
call fcn.004054b4
lea eax, [ebp - 4]
call fcn.00405490
ret