Function at 0x5457b0
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ad66f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea eax, [esi + 0x38]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esp + 0x10], esi
mov word [eax], bx
mov ecx, dword [0x65ca8c]
mov dword [esp + 0xb0], ebx
mov dword [esi + 0xa4], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0xc0], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0xc4], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0xc8], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0xcc], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0xd0], eax
lea ecx, [esi + 0xd8]
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xdc], ebx
mov word [ecx], bx
mov edx, dword [0x65ca8c]
mov dword [esi + 0xe4], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0xf0], eax
lea ecx, [esi + 0xf8]
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], ebx
mov word [ecx], bx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x100], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x104], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x108], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x10c], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x110], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x114], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x118], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x130], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x134], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x138], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x13c], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x140], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x15c], edx
mov eax, dword [0x65ca8c]
lea ebp, [esi + 0x160]
mov dword [ebp], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x174], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x2c0], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x2c8], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x2cc], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x2d0], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x2d4], eax
mov ecx, dword [0x65ca8c]
mov dword [esi + 0x2d8], ecx
mov edx, dword [0x65ca8c]
mov dword [esi + 0x324], edx
mov eax, dword [0x65ca8c]
mov dword [esi + 0x328], eax
lea edx, [esi + 0x19c]
mov ecx, 0x40
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x29c], edx
mov dword [esi + 0x178], ebx
mov byte [esi + 0x172], 1
mov dword [esi + 0x2a0], 1
mov dword [esi + 0x3a0], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x128], ebx
mov ecx, 0xc
lea edi, [esi + 0x44]
mov dword [esi + 0xac], ebx
mov byte [esp + 0xb0], 0x21
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [esi + 0x74]
rep stosd dword es:[edi], eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0x3a8], ebx
mov dword [esi + 0x3ac], ebx
mov dword [esi + 0x3b0], ebx
mov dword [esi + 0x3b4], ebx
mov dword [esi + 0x3b8], ebx
mov dword [esi + 0x3bc], ebx
mov dword [esi + 0x3c0], ebx
mov dword [esi + 0x3c4], ebx
mov dword [esi + 0x3c8], ebx
mov dword [esi + 0x3cc], ebx
mov dword [esi + 0x3d0], ebx
mov dword [esi + 0x3d4], ebx
mov dword [esi + 0x3d8], ebx
mov dword [esi + 0x3dc], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esi + 0x158], bl
mov byte [esi + 0x159], bl
mov byte [esi + 0x15a], bl
mov byte [esi + 0x2b4], 1
mov dword [esi + 0x180], ebx
mov dword [esi + 0x390], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3a4], ebx
mov dword [esi + 0x2a4], ebx
mov byte [esi + 0x2b3], bl
mov byte [esi + 0x170], 1
mov byte [esi + 0x16d], bl
mov byte [esi + 0x16e], bl
mov byte [esi + 0x16f], bl
mov byte [esi + 0x2b5], bl
mov byte [esi + 0x2b6], bl
mov byte [esi + 0x2b7], bl
mov byte [esi + 0x2b8], bl
mov byte [esi + 0x171], bl
mov byte [esi + 0x150], bl
mov byte [esi + 0x151], bl
mov byte [esi + 0x152], bl
mov byte [esi + 0x155], bl
mov byte [esi + 0x156], bl
mov byte [esi + 0x157], bl
mov byte [esi + 0x2b0], bl
mov byte [esi + 0x2b1], bl
mov byte [esi + 0x2b2], bl
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x308], ebx
lea ecx, [esi + 0x318]
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x310], ebx
push ecx
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x2c4], ebx
mov byte [esi + 0x2a9], 1
mov byte [esi + 0x14d], bl
mov byte [esi + 0x14e], bl
mov byte [esi + 0x14f], 1
mov byte [esi + 0x153], bl
mov byte [esi + 0x154], bl
mov byte [esi + 0x2ac], bl
mov byte [esi + 0x2ad], bl
mov byte [esi + 0x2ae], bl
mov byte [esi + 0x2af], bl
mov byte [esi + 0x2ba], bl
mov byte [esi + 0x2bb], bl
mov byte [esi + 0x2bc], bl
mov byte [esi + 0x2bd], bl
mov byte [esi + 0x2be], bl
mov byte [esi + 0x2b9], bl
mov byte [esi + 0x2bf], bl
mov byte [esi + 0x2a8], bl
call fcn.00513170
add esp, 4
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
mov dword [esi + 0x320], ebx
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x24], 1
jne 0x545c2f
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_98_
jmp 0x545c42
cmp dword [esp + 0x18], 6
jb 0x545c3d
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.0_
jmp 0x545c42
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_5.1_
mov ecx, ebp
call fcn.00586cbc
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0xe8], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x164], ebx
mov dword [esi + 0x168], ebx
mov byte [esi + 0x16c], bl
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0xec], ebx
mov dword [esi + 0x124], ebx
mov byte [esi + 0x2aa], bl
mov byte [esi + 0x2ab], bl
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret