Function at 0x4a2b68
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
lea eax, [ebp - 0x1a0]
mov edx, dword [0x41f26c]
call fcn.00406598
mov esi, dword [ebp + 8]
add esi, 0xfffffe60
mov ebx, dword [0x4e2fa4]
mov edi, dword [0x4e2e80]
xor eax, eax
push ebp
push 0x4a2f0e
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [ebx]
mov eax, dword [ebx]
inc eax
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x41f3d8]
call fcn.00406d7c
add esp, 4
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2c68]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e29c4]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 8], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30ec]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0xc], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2968]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x10], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2c08]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x14], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30a8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x18], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2dc8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x1c], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e3050]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x20], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2d54]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x24], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30a0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x28], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2ee0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x2c], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2e9c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x30], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2b4c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x34], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30fc]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x38], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2bbc]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x3c], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e29c8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x40], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30f8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x44], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e289c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x48], ecx
imul eax, dword [ebx], 0x13
mov edx, dword [edi]
xor ecx, ecx
mov dword [edx + eax*4 + 4], ecx
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
movzx eax, byte [eax + 3]
shl eax, 0x18
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
movzx edx, byte [edx + 2]
shl edx, 0x10
add eax, edx
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
movzx edx, byte [edx + 1]
shl edx, 8
add eax, edx
mov edx, dword [0x4e2e60]
mov edx, dword [edx]
movzx edx, byte [edx]
add eax, edx
mov edx, dword [0x4e2c68]
mov dword [edx], eax
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x4a2d60
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jle 0x4a2d7d
mov eax, dword [0x4e2e60]
mov ecx, 4
mov edx, 1
call fcn.00406018
mov al, 1
jmp 0x4a2d7f
xor eax, eax
mov edx, dword [0x4e2abc]
mov byte [edx], 1
test al, al
je 0x4a2d94
mov eax, dword [0x4e2abc]
mov byte [eax], 0
mov edi, 1
jmp 0x4a2e2f
mov eax, esi
xor ecx, ecx
mov edx, 0x4a2f1c
call fcn.004d778c
lea eax, [ebp + edi*4 - 0x1a0]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp + edi*4 - 0x160], eax
mov eax, dword [0x4e2ce4]
movzx eax, byte [eax]
mov byte [ebp + edi - 0x10], al
mov eax, dword [0x4e2eb0]
mov edx, dword [eax]
mov dword [ebp + edi*8 - 0x120], edx
mov edx, dword [eax + 4]
mov dword [ebp + edi*8 - 0x11c], edx
mov eax, dword [0x4e2aac]
movzx eax, byte [eax]
mov byte [ebp + edi - 0xa0], al
mov eax, dword [0x4e2aac]
movzx eax, byte [eax]
sub al, 0x62
je 0x4a2e15
sub al, 0xd
je 0x4a2e15
sub al, 4
jne 0x4a2e2e
mov eax, dword [0x4e2b0c]
mov eax, dword [eax]
mov dword [ebp + edi*4 - 0x90], eax
mov eax, dword [0x4e2f64]
mov eax, dword [eax]
mov dword [ebp + edi*4 - 0x50], eax
inc edi
cmp edi, 0x10
jge 0x4a2e42
mov eax, dword [0x4e2abc]
cmp byte [eax], 0
je 0x4a2d9e
dec edi
mov eax, dword [0x4e2b48]
mov dword [eax], edi
mov edi, 1
mov eax, dword [0x4e2b48]
cmp edi, dword [eax]
jg 0x4a2eef
lea eax, [esi + edi*4]
mov edx, dword [ebp + edi*4 - 0x1a0]
call fcn.00405b4c
mov eax, dword [ebp + edi*4 - 0x160]
mov dword [esi + edi*4 + 0x40], eax
mov eax, dword [ebp + edi*8 - 0x120]
mov dword [esi + edi*8 + 0x80], eax
mov eax, dword [ebp + edi*8 - 0x11c]
mov dword [esi + edi*8 + 0x84], eax
movzx eax, byte [ebp + edi - 0x10]
mov byte [esi + edi + 0x190], al
movzx ebx, byte [ebp + edi - 0xa0]
mov byte [esi + edi + 0x100], bl
mov eax, dword [0x4e2aac]
mov byte [eax], bl
mov eax, dword [0x4e2aac]
movzx eax, byte [eax]
sub al, 0x62
je 0x4a2ec8
sub al, 0xd
je 0x4a2ec8
sub al, 4
jne 0x4a2ee1
mov eax, dword [ebp + edi*4 - 0x90]
mov dword [esi + edi*4 + 0x110], eax
mov eax, dword [ebp + edi*4 - 0x50]
mov dword [esi + edi*4 + 0x150], eax
inc edi
mov eax, dword [0x4e2b48]
cmp edi, dword [eax]
jle 0x4a2e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2f15
lea eax, [ebp - 0x1a0]
mov edx, dword [0x41f26c]
call fcn.00406668
ret