Function at 0x4b1fec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4b1ff5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp + 0x10]
call fcn.00404c14
mov eax, dword [ebp + 0xc]
call fcn.00404c14
lea ebx, [ebp - 0x5c]
xor eax, eax
push ebp
push 0x4b22b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004b1bb4
lea ecx, [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
call fcn.004b1d80
lea eax, [ebp - 0x64]
mov edx, esi
call fcn.004049ec
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00408a28
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x14]
call fcn.004b1d18
lea eax, [ebp - 0x6c]
mov edx, edi
call fcn.004049ec
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.00408a28
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x18]
call fcn.004b1d18
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 4]
call fcn.004049ec
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x1c]
call fcn.004b1d18
mov eax, ebx
mov ecx, 8
mov edx, dword [0x4bc944]
call fcn.00409a68
mov eax, dword [0x4bc940]
mov dword [ebx + 8], eax
mov ax, word [0x4bc930]
mov word [ebx + 0xc], ax
mov ax, word [0x4bc930]
mov word [ebx + 0xe], ax
mov eax, dword [ebp - 0x14]
call fcn.004058bc
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.004058bc
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00486abc
mov dword [ebx + 0x10], eax
mov ax, word [0x4bc934]
mov word [ebx + 0x14], ax
mov ax, word [0x4bc934]
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x14]
call fcn.004058bc
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0xc]
call fcn.004058bc
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00486abc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x14]
call fcn.004058bc
call fcn.00486ab8
mov esi, eax
mov word [ebx + 0x1c], si
mov word [ebx + 0x1e], si
mov eax, dword [0x4bc938]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x1c]
call fcn.004058bc
call fcn.00486ab8
mov esi, eax
mov word [ebx + 0x24], si
mov word [ebx + 0x26], si
mov eax, dword [ebp - 0x14]
call fcn.004058bc
add eax, 0x40
call fcn.00486abc
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x18]
call fcn.004058bc
call fcn.00486ab8
mov esi, eax
mov word [ebx + 0x2c], si
mov word [ebx + 0x2e], si
mov eax, dword [ebp - 0x14]
call fcn.004058bc
mov esi, eax
mov eax, dword [ebp - 0x1c]
call fcn.004058bc
add esi, eax
mov eax, esi
add eax, 0x40
call fcn.00486abc
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebp - 0x14]
call fcn.004058bc
mov esi, eax
add esi, 0x40
mov eax, dword [ebp - 0x1c]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0x18]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0xc]
call fcn.004058bc
add esi, eax
mov eax, dword [ebp - 0x10]
call fcn.004058bc
add esi, eax
mov eax, esi
call fcn.00486abc
mov dword [ebx + 0x38], eax
mov eax, dword [0x4bc93c]
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 0x40
call fcn.004888ec
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00488f20
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
call fcn.00488f20
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.00488f20
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00488f20
push 0xffffffffffffffff
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00488f20
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, dword [0x4a3a98]
call fcn.004a2f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b22b8
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.00404788
lea eax, [ebp - 0x1c]
mov edx, dword [0x485ce8]
mov ecx, 6
call fcn.00405278
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00404788
ret