Function at 0x4a6990
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 [0x41f228]
call fcn.00406590
mov esi, dword [0x4d8f50]
mov edi, dword [0x4d8e34]
xor eax, eax
push ebp
push 0x4a6da2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d909c]
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
mov eax, dword [0x4d8878]
mov eax, dword [eax]
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 8]
mov edx, dword [0x4d8af8]
mov edx, dword [edx]
call fcn.00405b44
lea eax, [ebp - 0xc]
mov edx, dword [0x4d8f18]
mov edx, dword [edx]
call fcn.00405b44
mov eax, dword [0x4d8af8]
mov edx, dword [0x4d8c28]
mov edx, dword [edx]
call fcn.00405b00
mov eax, dword [0x4d8f18]
mov edx, dword [0x4d8c28]
mov edx, dword [edx]
call fcn.00405b00
mov eax, dword [0x4d8c24]
mov eax, dword [eax]
mov dword [ebp - 0x1c0], eax
mov eax, dword [esi]
mov dword [ebp - 0x1c4], eax
mov eax, dword [0x4d8b08]
mov eax, dword [eax]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 4]
mov edx, dword [0x4d89f8]
mov edx, dword [edx]
call fcn.00405b44
mov eax, dword [0x4d8a84]
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 [0x41f394]
call fcn.00406d74
add esp, 4
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8c24]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d899c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 8], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d9090]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0xc], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8940]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x10], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8bc4]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x14], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d904c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x18], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8d7c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x1c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8ffc]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x20], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8d0c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x24], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d9044]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x28], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8e94]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x2c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8e50]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x30], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8b0c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x34], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d90a0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x38], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8b7c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x3c], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d89a0]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x40], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d909c]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x44], ecx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov ecx, dword [0x4d8878]
mov ecx, dword [ecx]
mov dword [edx + eax*4 + 0x48], ecx
mov eax, dword [0x4d8a84]
mov byte [eax], 1
mov eax, dword [0x4d8e14]
mov eax, dword [eax]
mov edx, 0x4a6db8
call fcn.00405ebc
jbe 0x4a6be5
mov eax, dword [0x4d8a84]
mov byte [eax], 0
mov ebx, 1
jmp 0x4a6cbd
mov eax, dword [0x4d8e14]
cmp dword [eax], 0
jbe 0x4a6c1a
mov eax, dword [0x4d8e14]
mov eax, dword [eax]
cmp byte [eax], 0x2e
jne 0x4a6c1a
mov ecx, dword [0x4d8e14]
mov ecx, dword [ecx]
mov eax, dword [0x4d8e14]
mov edx, dword [ebp - 8]
call fcn.00405dbc
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4a6dbc
call fcn.004cce34
lea eax, [ebp + ebx*4 - 0x1b0]
mov edx, dword [0x4d8c28]
mov edx, dword [edx]
call fcn.00405b44
mov eax, dword [0x4d8a88]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0x170], eax
mov eax, dword [0x4d8e64]
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 [0x4d8ca0]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0x20], al
mov eax, dword [0x4d8ca0]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0x20], al
mov eax, dword [0x4d8a78]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0xb0], al
mov eax, dword [0x4d8a78]
movzx eax, byte [eax]
sub al, 0x62
je 0x4a6ca3
sub al, 0xd
je 0x4a6ca3
sub al, 4
jne 0x4a6cbc
mov eax, dword [0x4d8acc]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0xa0], eax
mov eax, dword [0x4d8f10]
mov eax, dword [eax]
mov dword [ebp + ebx*4 - 0x60], eax
inc ebx
cmp ebx, 0x10
jge 0x4a6cd0
mov eax, dword [0x4d8a84]
cmp byte [eax], 0
je 0x4a6bef
dec ebx
mov eax, dword [0x4d8b08]
mov dword [eax], ebx
imul eax, dword [esi], 0x13
mov edx, dword [edi]
mov dword [edx + eax*4 + 4], 1
mov eax, dword [0x4d8c24]
mov edx, dword [ebp - 0x1b4]
mov dword [eax], edx
mov edx, dword [0x4d8c24]
mov edx, dword [edx]
lea eax, [ebp - 0x1b0]
call fcn.004a1c98
mov eax, dword [0x4d909c]
mov edx, dword [ebp - 0x1b8]
mov dword [eax], edx
mov eax, dword [0x4d8878]
mov edx, dword [ebp - 0x1bc]
mov dword [eax], edx
mov eax, dword [0x4d8c24]
mov edx, dword [ebp - 0x1c0]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c4]
mov dword [esi], eax
mov eax, dword [0x4d8b08]
mov edx, dword [ebp - 0x1c8]
mov dword [eax], edx
mov eax, dword [0x4d8a84]
movzx edx, byte [ebp - 0x1c9]
mov byte [eax], dl
mov eax, dword [0x4d89f8]
mov edx, dword [ebp - 4]
call fcn.00405b00
mov eax, dword [0x4d8af8]
mov edx, dword [ebp - 8]
call fcn.00405b00
mov eax, dword [0x4d8f18]
mov edx, dword [ebp - 0xc]
call fcn.00405b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6da9
lea eax, [ebp - 0x1b0]
mov edx, dword [0x41f228]
call fcn.00406660
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ad0
ret