Function at 0x4a6dc0
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.00405f60
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 0x4a72ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d909c]
mov eax, dword [eax]
mov dword [ebp - 0x1b4], eax
mov eax, dword [0x4d8878]
mov eax, dword [eax]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4d8af8]
mov edx, dword [edx]
call fcn.00405b44
lea eax, [ebp - 0x10]
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 - 0x1bc], eax
mov eax, dword [esi]
mov dword [ebp - 0x1c0], eax
mov eax, dword [0x4d8b08]
mov eax, dword [eax]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 8]
mov edx, dword [0x4d89f8]
mov edx, dword [edx]
call fcn.00405b44
mov eax, dword [0x4d8a84]
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 [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 [0x4d8c24]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4d8af0]
mov byte [eax], 0
jmp 0x4a70d4
mov eax, dword [0x4d8c24]
inc dword [eax]
mov eax, dword [0x4d8fa4]
push eax
mov eax, dword [0x4d8c24]
mov eax, dword [eax]
mov edx, dword [0x4d8e80]
mov edx, dword [edx]
mov eax, dword [edx + eax*4]
mov ecx, 0x7fffffff
mov edx, 1
call fcn.00405fd0
mov eax, dword [0x4d8e04]
cmp byte [eax], 0
je 0x4a7065
mov edx, dword [0x4d8ac4]
mov edx, dword [edx]
mov eax, dword [0x4d8fa4]
mov eax, dword [eax]
call fcn.00456c04
mov eax, dword [0x4d9030]
mov edx, dword [0x4d8fa4]
mov edx, dword [edx]
call fcn.00405b00
mov eax, dword [0x4d9030]
mov eax, dword [eax]
movzx eax, byte [eax]
cmp al, 0x1f
jne 0x4a70d4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4a7091
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1d0]
push eax
mov eax, dword [0x4d9030]
mov eax, dword [eax]
mov ecx, ebx
mov edx, 6
call fcn.00405fd0
mov eax, dword [ebp - 0x1d0]
lea edx, [ebp - 0x1cc]
call fcn.00428080
mov edx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 4]
call fcn.00405ebc
jne 0x4a70d4
mov eax, dword [0x4d8af0]
mov byte [eax], 1
mov eax, dword [0x4d8af0]
cmp byte [eax], 0
jne 0x4a70f3
mov eax, dword [0x4d8c24]
mov eax, dword [eax]
mov edx, dword [0x4d8ef8]
cmp eax, dword [edx]
jl 0x4a7019
mov eax, dword [0x4d8af0]
cmp byte [eax], 0
je 0x4a7200
mov eax, dword [0x4d8a84]
mov byte [eax], 1
mov eax, dword [0x4d8e14]
mov eax, dword [eax]
mov edx, 0x4a72c4
call fcn.00405ebc
jbe 0x4a7124
mov eax, dword [0x4d8a84]
mov byte [eax], 0
mov ebx, 1
jmp 0x4a71c5
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4a72c8
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 [0x4d8a78]
movzx eax, byte [eax]
mov byte [ebp + ebx - 0xb0], al
mov eax, dword [0x4d8a78]
movzx eax, byte [eax]
sub al, 0x62
je 0x4a71ab
sub al, 0xd
je 0x4a71ab
sub al, 4
jne 0x4a71c4
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 0x4a71d8
mov eax, dword [0x4d8a84]
cmp byte [eax], 0
je 0x4a712e
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 edx, dword [0x4d8c24]
mov edx, dword [edx]
lea eax, [ebp - 0x1b0]
call fcn.004a1c98
mov eax, dword [0x4d909c]
mov edx, dword [ebp - 0x1b4]
mov dword [eax], edx
mov eax, dword [0x4d8878]
mov edx, dword [ebp - 0x1b8]
mov dword [eax], edx
mov eax, dword [0x4d8c24]
mov edx, dword [ebp - 0x1bc]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c0]
mov dword [esi], eax
mov eax, dword [0x4d8b08]
mov edx, dword [ebp - 0x1c4]
mov dword [eax], edx
mov eax, dword [0x4d8a84]
movzx edx, byte [ebp - 0x1c5]
mov byte [eax], dl
mov eax, dword [0x4d89f8]
mov edx, dword [ebp - 8]
call fcn.00405b00
mov eax, dword [0x4d8af8]
mov edx, dword [ebp - 0xc]
call fcn.00405b00
mov eax, dword [0x4d8f18]
mov edx, dword [ebp - 0x10]
call fcn.00405b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a72b4
lea eax, [ebp - 0x1d0]
mov edx, 2
call fcn.00405ad0
lea eax, [ebp - 0x1b0]
mov edx, dword [0x41f228]
call fcn.00406660
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405ad0
ret