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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6d25
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 [0x68d01c]
mov dword [esp + 0xb0], ebx
mov dword [esi + 0xa4], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0xc0], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0xc4], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0xc8], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0xcc], edx
mov eax, dword [0x68d01c]
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 [0x68d01c]
mov dword [esi + 0xe4], edx
mov eax, dword [0x68d01c]
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 [0x68d01c]
mov dword [esi + 0x100], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x104], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x108], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x10c], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x110], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x114], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x118], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x130], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x134], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x138], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x13c], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x140], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x160], edx
mov eax, dword [0x68d01c]
lea ebp, [esi + 0x164]
mov dword [ebp], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x178], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x2a4], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x2a8], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x2ac], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x2b0], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x2b4], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x2b8], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x2e4], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x2ec], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x2f0], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x2f4], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x2f8], eax
mov ecx, dword [0x68d01c]
mov dword [esi + 0x2fc], ecx
mov edx, dword [0x68d01c]
mov dword [esi + 0x344], edx
mov eax, dword [0x68d01c]
mov dword [esi + 0x348], eax
lea edx, [esi + 0x1a0]
mov ecx, 0x40
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x2a0], edx
mov dword [esi + 0x17c], ebx
mov edx, 1
mov byte [esi + 0x176], 1
mov dword [esi + 0x2c0], edx
mov dword [esi + 0x3c0], 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 byte [esp + 0xb0], 0x27
mov dword [esi + 0xac], ebx
mov ecx, 0xc
lea edi, [esi + 0x44]
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 + 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 + 0x3e0], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
mov dword [esi + 0x3f0], ebx
mov dword [esi + 0x3f4], ebx
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x3fc], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esi + 0x15a], bl
mov byte [esi + 0x15b], bl
mov byte [esi + 0x15c], bl
mov byte [esi + 0x2d6], dl
mov dword [esi + 0x184], ebx
mov dword [esi + 0x3b0], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c4], ebx
mov dword [esi + 0x2c4], ebx
mov byte [esi + 0x2d5], bl
mov byte [esi + 0x174], dl
mov byte [esi + 0x171], bl
mov byte [esi + 0x172], bl
mov byte [esi + 0x173], bl
mov byte [esi + 0x2d7], bl
mov byte [esi + 0x2d8], bl
mov byte [esi + 0x2d9], bl
mov byte [esi + 0x2da], bl
mov byte [esi + 0x175], bl
mov byte [esi + 0x152], bl
mov byte [esi + 0x153], bl
mov byte [esi + 0x154], bl
mov byte [esi + 0x157], bl
mov byte [esi + 0x158], bl
mov byte [esi + 0x159], bl
mov byte [esi + 0x2d2], bl
mov byte [esi + 0x2d3], bl
mov byte [esi + 0x2d4], bl
mov dword [esi + 0x310], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x318], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x320], ebx
mov dword [esi + 0x324], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x308], ebx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x334], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x2bc], edx
mov byte [esi + 0x2c9], dl
mov byte [esi + 0x14d], bl
mov byte [esi + 0x14e], bl
mov byte [esi + 0x14f], dl
mov byte [esi + 0x150], bl
mov byte [esi + 0x151], bl
mov byte [esi + 0x155], bl
mov byte [esi + 0x156], bl
mov byte [esi + 0x2cc], bl
mov byte [esi + 0x2cd], bl
mov byte [esi + 0x2ce], bl
mov byte [esi + 0x2cf], bl
lea ecx, [esi + 0x338]
mov byte [esi + 0x2d0], bl
push ecx
mov byte [esi + 0x2d1], bl
mov byte [esi + 0x2dc], bl
mov byte [esi + 0x2dd], bl
mov byte [esi + 0x2de], bl
mov byte [esi + 0x2df], bl
mov byte [esi + 0x2e0], bl
mov byte [esi + 0x2db], bl
mov byte [esi + 0x2e1], bl
mov byte [esi + 0x177], bl
mov byte [esi + 0x2c8], bl
call fcn.005338b0
add esp, 4
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
mov dword [esi + 0x340], 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 0x56af16
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_98_
jmp 0x56af29
cmp dword [esp + 0x18], 6
jb 0x56af24
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_6.0_
jmp 0x56af29
push str.Mozilla_4.0__compatible__MSIE_8.0__Windows_NT_5.1_
mov ecx, ebp
call fcn.005addd6
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov byte [esi + 0x170], bl
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x148], ebx
mov byte [esi + 0x14c], bl
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov byte [esi + 0x2ca], bl
mov byte [esi + 0x2cb], bl
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret