Function at 0x4fa080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x540982
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
xor ebx, ebx
push edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x3f800000
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x40], bl
call fcn.004f3e30
lea eax, [esp + 0xf]
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0xa4], ebx
call fcn.0050e020
lea ecx, [esp + 0xe]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0050e020
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa0], 2
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call fcn.00405fe0
mov dword [esp + 0x2c], 0x548edc
lea edx, [esp + 0xd]
lea ecx, [esp + 0x14]
push edx
mov dword [esp + 0xa4], 4
call fcn.0050e020
mov edi, 0x57e64c
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa0], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x57e64c
push ecx
push 0x57e64c
lea ecx, [esp + 0x1c]
call fcn.004067c0
lea eax, [esp + 0xb]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0xa4], 7
call fcn.0050e020
mov edi, 0x57f2d4
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0xa0], 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x57f2d4
push ecx
push 0x57f2d4
lea ecx, [esp + 0x28]
call fcn.004067c0
mov edi, dword [esp + 0xac]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebx
lea eax, [esp + 0x2c]
push ebx
push eax
push edi
mov byte [esp + 0xb8], 9
call fcn.004f9e70
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0xc], al
call fcn.00418e50
lea ecx, [esp + 0x14]
call fcn.00418e50
mov al, byte [esp + 0xc]
mov byte [esp + 0xa0], 3
cmp al, bl
je 0x4fa331
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebp
push esi
mov esi, dword [esp + 0xb0]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xc], eax
mov dword [esi + 8], edx
mov dl, byte [esp + 0x48]
lea eax, [esp + 0x4c]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov byte [esi + 0x14], dl
call fcn.004f83c0
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esi + 0x40]
call fcn.004f81d0
lea edx, [esp + 0x80]
lea ecx, [esi + 0x4c]
push edx
call fcn.004f81d0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x94]
mov dword [esi + 0x5c], ecx
push edx
lea ecx, [esi + 0x60]
mov dword [esi + 0x58], eax
call fcn.00410bf0
lea ecx, [esi + 0x6c]
cmp edi, ecx
je 0x4fa279
mov eax, dword [edi + 4]
mov edi, dword [edi]
lea edx, [esp + 0x13]
push edx
push eax
push edi
call fcn.00406890
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
lea ecx, [esi + 0x78]
push eax
push edx
call fcn.00445c00
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x84]
lea edi, [esi + 0x84]
push eax
push ecx
mov ecx, edi
call fcn.004cbd90
mov ebp, dword [esp + 0xb8]
mov eax, dword [ebp]
mov esi, dword [eax]
cmp esi, eax
je 0x4fa2db
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push ebx
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.004f2f00
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.004fda00
mov esi, dword [esi]
mov eax, dword [ebp]
cmp esi, eax
jne 0x4fa2b4
fld dword [0x54915c]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
fstp dword [esp + 0x18]
mov edx, dword [esp + 0x18]
push eax
push edx
push eax
push ecx
call fcn.00500250
add esp, 0xc
mov ecx, edi
push eax
call fcn.004cbd90
lea ecx, [esp + 0x34]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00478490
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
add esp, 0x9c
ret
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00478490
mov ecx, dword [esp + 0x98]
pop edi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret