Function at 0x4a7e04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1b4], eax
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 0x4a8216
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4e30f8]
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
mov eax, dword [0x4e289c]
mov eax, dword [eax]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 8]
mov edx, dword [0x4e2b38]
mov edx, dword [edx]
call fcn.00405b4c
lea eax, [ebp - 0xc]
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 - 0x1c0], eax
mov eax, dword [esi]
mov dword [ebp - 0x1c4], eax
mov eax, dword [0x4e2b48]
mov eax, dword [eax]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 4]
mov edx, dword [0x4e2a24]
mov edx, dword [edx]
call fcn.00405b4c
mov eax, dword [0x4e2abc]
movzx eax, byte [eax]
mov byte [ebp - 0x1c9], 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 [0x4e2abc]
mov byte [eax], 1
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
mov edx, 0x4a822c
call fcn.00405ec4
jbe 0x4a8059
mov eax, dword [0x4e2abc]
mov byte [eax], 0
mov ebx, 1
jmp 0x4a8131
mov eax, dword [0x4e2e60]
cmp dword [eax], 0
jbe 0x4a808e
mov eax, dword [0x4e2e60]
mov eax, dword [eax]
cmp byte [eax], 0x2e
jne 0x4a808e
mov ecx, dword [0x4e2e60]
mov ecx, dword [ecx]
mov eax, dword [0x4e2e60]
mov edx, dword [ebp - 8]
call fcn.00405dc4
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4a8230
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 [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 0x4a8117
sub al, 0xd
je 0x4a8117
sub al, 4
jne 0x4a8130
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 0x4a8144
mov eax, dword [0x4e2abc]
cmp byte [eax], 0
je 0x4a8063
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 eax, dword [0x4e2c68]
mov edx, dword [ebp - 0x1b4]
mov dword [eax], edx
mov edx, dword [0x4e2c68]
mov edx, dword [edx]
lea eax, [ebp - 0x1b0]
call fcn.004a30f4
mov eax, dword [0x4e30f8]
mov edx, dword [ebp - 0x1b8]
mov dword [eax], edx
mov eax, dword [0x4e289c]
mov edx, dword [ebp - 0x1bc]
mov dword [eax], edx
mov eax, dword [0x4e2c68]
mov edx, dword [ebp - 0x1c0]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c4]
mov dword [esi], eax
mov eax, dword [0x4e2b48]
mov edx, dword [ebp - 0x1c8]
mov dword [eax], edx
mov eax, dword [0x4e2abc]
movzx edx, byte [ebp - 0x1c9]
mov byte [eax], dl
mov eax, dword [0x4e2a24]
mov edx, dword [ebp - 4]
call fcn.00405b08
mov eax, dword [0x4e2b38]
mov edx, dword [ebp - 8]
call fcn.00405b08
mov eax, dword [0x4e2f6c]
mov edx, dword [ebp - 0xc]
call fcn.00405b08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a821d
lea eax, [ebp - 0x1b0]
mov edx, dword [0x41f26c]
call fcn.00406668
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ad8
ret