Function at 0x40a6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd48
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 4], eax
mov esi, ecx
mov dword [ebp - 0xbc], eax
xor ecx, ecx
push eax
lea edx, [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0x18], 7
call fcn.004138e0
mov dword [ebp - 4], 1
mov eax, 0x20
lea ecx, [ebp - 0x2c]
call fcn.0046fa00
mov ecx, dword [esi]
mov edi, ebx
call fcn.0046fbb0
mov ecx, dword [esi + 0x30]
lea edi, [ebp - 0x64]
mov dword [ebp - 0xbc], 1
call fcn.0046fbb0
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x2c]
lea edi, [ebp - 0x9c]
call fcn.0046fbb0
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 3
mov ecx, dword [esi + 0xc]
lea edi, [ebp - 0xb8]
call fcn.0046fbb0
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 4
mov ecx, dword [esi + 8]
lea edi, [ebp - 0x80]
call fcn.0046fbb0
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 5
mov ecx, dword [esi + 4]
lea edi, [ebp - 0x48]
call fcn.0046fbb0
mov esi, eax
mov byte [ebp - 4], 6
push 1
mov eax, 0x4cd138
mov ecx, ebx
call fcn.004137b0
xor edi, edi
mov ecx, eax
push edi
push esi
or eax, 0xffffffff
mov esi, ecx
call fcn.004136c0
mov ecx, eax
push 1
mov eax, 0x4cd138
call fcn.004137b0
mov esi, eax
mov eax, dword [ebp - 0xc4]
push edi
push eax
or eax, 0xffffffff
call fcn.004136c0
mov ecx, eax
push 1
mov eax, 0x4cd138
call fcn.004137b0
mov esi, eax
mov ecx, dword [ebp - 0xcc]
push edi
push ecx
or eax, 0xffffffff
call fcn.004136c0
mov ecx, eax
push 1
mov eax, 0x4cd138
call fcn.004137b0
push edi
lea edx, [ebp - 0x2c]
mov esi, eax
push edx
or eax, 0xffffffff
call fcn.004136c0
mov ecx, eax
push 1
mov eax, 0x4cd138
call fcn.004137b0
mov esi, eax
mov eax, dword [ebp - 0xc8]
push edi
push eax
or eax, 0xffffffff
call fcn.004136c0
mov ecx, eax
push 1
mov eax, 0x4cd138
call fcn.004137b0
mov ecx, dword [ebp - 0xc0]
push edi
mov esi, eax
push ecx
or eax, 0xffffffff
call fcn.004136c0
mov byte [ebp - 4], 5
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x40a8a7
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x6c], esi
jb 0x40a8cc
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], edi
mov word [ebp - 0x80], dx
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], esi
jb 0x40a8f7
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], edi
mov word [ebp - 0xb8], cx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x88], esi
jb 0x40a92b
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], esi
jb 0x40a959
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
mov byte [ebp - 4], dl
cmp dword [ebp - 0x18], esi
jb 0x40a97d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b315
mov esp, ebp
pop ebp
ret