Function at 0x4a8234
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f68
lea eax, [ebp - 0x1b0]
mov edx, dword [0x41f26c]
call fcn.00406598
mov esi, dword [0x4e2fa4]
mov edi, dword [0x4e2e80]
xor eax, eax
push ebp
push 0x4a8721
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e30f8]
mov eax, dword [eax]
mov dword [ebp - 0x1b4], eax
mov eax, dword [0x4e289c]
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4e2b38]
mov edx, dword [edx]
call fcn.00405b4c
lea eax, [ebp - 0x10]
mov edx, dword [0x4e2f6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2b38]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b08
mov eax, dword [0x4e2f6c]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b08
mov eax, dword [0x4e2c68]
mov eax, dword [eax]
mov dword [ebp - 0x1bc], eax
mov eax, dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, dword [0x4e2b48]
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 8]
mov edx, dword [0x4e2a24]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2abc]
movzx eax, byte [eax]
mov byte [ebp - 0x1c5], al
inc dword [esi]
mov eax, dword [esi]
inc eax
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x41f3d8]
call fcn.00406d7c
add esp, 4
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2c68]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e29c4]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 8], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30ec]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0xc], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2968]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x10], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2c08]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x14], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30a8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x18], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2dc8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x1c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e3050]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x20], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2d54]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x24], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30a0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x28], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2ee0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x2c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2e9c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x30], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2b4c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x34], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30fc]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x38], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e2bbc]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x3c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e29c8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x40], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e30f8]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x44], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4e289c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x48], ecx
mov eax, dword [0x4e2c68]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4e2b30]
mov byte [eax], 0
jmp 0x4a8548
mov eax, dword [0x4e2c68]
inc dword [eax]
mov eax, dword [0x4e2ff8]
push eax
mov eax, dword [0x4e2c68]
mov eax, dword [eax]
mov edx, dword [0x4e2ecc]
mov edx, dword [edx]
mov eax, dword [edx + eax*4]
mov ecx, 0x7fffffff
mov edx, 1
call fcn.00405fd8
mov eax, dword [0x4e2e50]
cmp byte [eax], 0
je 0x4a84d9
mov edx, dword [0x4e2b00]
mov edx, dword [edx]
mov eax, dword [0x4e2ff8]
mov eax, dword [eax]
call fcn.00456ee8
mov eax, dword [0x4e308c]
mov edx, dword [0x4e2ff8]
mov edx, dword [edx]
call fcn.00405b08
mov eax, dword [0x4e308c]
mov eax, dword [eax]
movzx eax, byte [eax]
cmp al, 0x1f
jne 0x4a8548
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a8505
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [0x4e308c]
mov eax, dword [eax]
mov ecx, ebx
mov edx, 6
call fcn.00405fd8
mov eax, dword [ebp - 0x1d0]
lea edx, [ebp - 0x1cc]
call fcn.004281c4
mov edx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 4]
call fcn.00405ec4
jne 0x4a8548
mov eax, dword [0x4e2b30]
mov byte [eax], 1
mov eax, dword [0x4e2b30]
cmp byte [eax], 0
jne 0x4a8567
mov eax, dword [0x4e2c68]
mov eax, dword [eax]
mov edx, dword [0x4e2f4c]
cmp eax, dword [edx]
jl 0x4a848d
mov eax, dword [0x4e2b30]
cmp byte [eax], 0
je 0x4a8674
mov eax, dword [0x4e2abc]
mov byte [eax], 1
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
mov edx, 0x4a8738
call fcn.00405ec4
jbe 0x4a8598
mov eax, dword [0x4e2abc]
mov byte [eax], 0
mov ebx, 1
jmp 0x4a8639
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4a873c
call fcn.004d778c
lea eax, [ebp + ebx*4 - 0x1b0]
mov edx, dword [0x4e2c6c]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2ac0]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0x170], eax
mov eax, dword [0x4e2eb0]
mov edx, dword [eax]
mov dword [ebp + ebx*8 - 0x130], edx
mov edx, dword [eax + 4]
mov dword [ebp + ebx*8 - 0x12c], edx
mov eax, dword [0x4e2ce4]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0x20], al
mov eax, dword [0x4e2aac]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0xb0], al
mov eax, dword [0x4e2aac]
movzx eax, byte [eax]
sub al, 0x62
je 0x4a861f
sub al, 0xd
je 0x4a861f
sub al, 4
jne 0x4a8638
mov eax, dword [0x4e2b0c]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0xa0], eax
mov eax, dword [0x4e2f64]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0x60], eax
inc ebx
cmp ebx, 0x10
jge 0x4a864c
mov eax, dword [0x4e2abc]
cmp byte [eax], 0
je 0x4a85a2
dec ebx
mov eax, dword [0x4e2b48]
mov dword [eax], ebx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov dword [edx + eax*4 + 4], 1
mov edx, dword [0x4e2c68]
mov edx, dword [edx]
lea eax, [ebp - 0x1b0]
call fcn.004a30f4
mov eax, dword [0x4e30f8]
mov edx, dword [ebp - 0x1b4]
mov dword [eax], edx
mov eax, dword [0x4e289c]
mov edx, dword [ebp - 0x1b8]
mov dword [eax], edx
mov eax, dword [0x4e2c68]
mov edx, dword [ebp - 0x1bc]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c0]
mov dword [esi], eax
mov eax, dword [0x4e2b48]
mov edx, dword [ebp - 0x1c4]
mov dword [eax], edx
mov eax, dword [0x4e2abc]
movzx edx, byte [ebp - 0x1c5]
mov byte [eax], dl
mov eax, dword [0x4e2a24]
mov edx, dword [ebp - 8]
call fcn.00405b08
mov eax, dword [0x4e2b38]
mov edx, dword [ebp - 0xc]
call fcn.00405b08
mov eax, dword [0x4e2f6c]
mov edx, dword [ebp - 0x10]
call fcn.00405b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8728
lea eax, [ebp - 0x1d0]
mov edx, 2
call fcn.00405ad8
lea eax, [ebp - 0x1b0]
mov edx, dword [0x41f26c]
call fcn.00406668
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405ad8
ret