Function at 0x4a9040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9446
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x632f90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
add eax, 0x30
push eax
lea ecx, [ebp - 0x34]
call fcn.004d3630
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004d3630
mov byte [ebp - 4], 1
push fcn.00495390
push fcn.004d3760
push 1
push 0xc
lea edx, [ebp - 0x1c]
push edx
call fcn.005273ea
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [ebp - 0x58]
call fcn.004d3630
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x38]
call edx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004d3630
mov byte [ebp - 4], 4
push fcn.00495390
push fcn.004d3760
push 1
push 0xc
lea eax, [ebp - 0x40]
push eax
call fcn.005273ea
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.004d3760
mov byte [ebp - 4], 6
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x68], 2
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 8]
call eax
push eax
imul ecx, dword [ebp - 0x64], 0xc
lea edx, [ebp + ecx - 0x34]
push edx
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4a91f3
imul edx, dword [ebp - 0x64], 0xc
lea eax, [ebp + edx - 0x34]
push eax
imul ecx, dword [ebp - 0x60], 0xc
lea edx, [ebp + ecx - 0x34]
push edx
lea eax, [ebp - 0x84]
push eax
imul ecx, dword [ebp - 0x68], 0xc
lea edx, [ebp + ecx - 0x34]
push edx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x5c]
call eax
lea ecx, [ebp - 0x84]
push ecx
imul edx, dword [ebp - 0x64], 0xc
lea eax, [ebp + edx - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x3c]
call edx
push eax
imul eax, dword [ebp - 0x60], 0xc
lea ecx, [ebp + eax - 0x58]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x1c]
call edx
push eax
imul eax, dword [ebp - 0x68], 0xc
lea ecx, [ebp + eax - 0x58]
call fcn.004d3940
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], ecx
jmp 0x4a912a
imul edx, dword [ebp - 0x60], 0xc
lea eax, [ebp + edx - 0x34]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x34]
call edx
movzx eax, al
test eax, eax
je 0x4a923c
imul ecx, dword [ebp - 0x60], 0xc
lea edx, [ebp + ecx - 0x34]
push edx
imul eax, dword [ebp - 0x60], 0xc
lea ecx, [ebp + eax - 0x58]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 0x48]
call edx
mov dword [ebp - 0x6c], eax
jmp 0x4a9250
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x84]
call fcn.00495390
mov byte [ebp - 4], 2
push fcn.00495390
push 3
push 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.00527463
mov dword [ebp - 4], 0xffffffff
push fcn.00495390
push 3
push 0xc
lea ecx, [ebp - 0x34]
push ecx
call fcn.00527463
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00526f37
mov esp, ebp
pop ebp
ret 4