Function at 0x51a1b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, dword [0x5a22d8]
xor edx, edx
push ebp
push 0x51a462
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [0x43d830]
call fcn.0043d8e0
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51a440
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x51a478
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00404978
mov al, byte [ebx + 4]
push eax
mov ecx, 0x51a49c
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 4], al
mov eax, dword [ebx + 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x51a4b8
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00404978
mov eax, dword [ebx + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x51a4cc
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xc]
call fcn.00404978
xor eax, eax
mov al, byte [ebx + 0x11]
push eax
mov ecx, 0x51a4e0
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x11], al
mov al, byte [ebx + 0x10]
push eax
mov ecx, 0x51a4f4
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x10], al
xor eax, eax
mov al, byte [ebx + 0x12]
push eax
mov ecx, 0x51a510
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x12], al
mov al, byte [ebx + 0x13]
push eax
mov ecx, 0x51a524
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x13], al
mov al, byte [ebx + 0x14]
push eax
mov ecx, 0x51a540
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x14], al
mov eax, dword [ebx + 0x18]
push eax
mov ecx, 0x51a564
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x1c]
push eax
mov ecx, 0x51a584
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x1c], eax
mov al, byte [ebx + 0x20]
push eax
mov ecx, 0x51a5a4
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x20], al
mov eax, dword [ebx + 0x24]
push eax
mov ecx, 0x51a5c4
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
push eax
mov ecx, 0x51a5dc
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
mov al, byte [ebx + 0x2c]
push eax
mov ecx, 0x51a5f4
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x2c], al
xor eax, eax
mov al, byte [ebx + 0x2d]
push eax
mov ecx, 0x51a614
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x2d], al
xor eax, eax
mov al, byte [ebx + 0x2e]
push eax
mov ecx, 0x51a630
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x2e], al
mov al, byte [ebx + 0x2f]
push eax
mov ecx, 0x51a648
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x2f], al
mov eax, dword [ebx + 0x30]
push eax
mov ecx, 0x51a66c
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x30], eax
xor eax, eax
mov al, byte [ebx + 0x34]
push eax
mov ecx, 0x51a68c
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x34], al
xor eax, eax
mov al, byte [ebx + 0x35]
push eax
mov ecx, 0x51a6a8
mov edx, 0x51a48c
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x35], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51a447
mov eax, dword [ebp - 4]
call fcn.00403ab4
ret