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

Disassembly:
push 0xffffffffffffffff
push 0x60abc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x30], 0
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [0x6abf00]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push edx
push 0xefe7
push eax
mov byte [esp + 0x3c], 1
call fcn.004f5a10
mov eax, dword [eax]
add esp, 0xc
push 0
push 4
push eax
call fcn.005e5383
cmp eax, 6
lea ecx, [esp + 0xc]
sete byte [esp + 0xb]
mov byte [esp + 0x30], 0
call fcn.005dd1b0
lea ecx, [esp + 0xc]
push 5
push ecx
lea ecx, [esp + 0x40]
call fcn.005d54df
mov eax, dword [eax]
push 0x69880c
push eax
call fcn.00510588
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
sete bl
call fcn.005dd1b0
lea ecx, [esp + 0x14]
call fcn.00405bc0
mov dword [esp + 0x14], 0x628d04
lea edx, [esp + 0x38]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x34], 2
call fcn.005dcf25
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 3
call fcn.00404a90
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.005dd1b0
neg bl
mov edx, dword [esp + 0x38]
mov ecx, dword [0x6c396c]
sbb ebx, ebx
lea eax, [esp + 0x14]
and ebx, 2
add ecx, 0xa8
push ebx
push 0
push 0
push 0
push edx
push eax
call fcn.00403100
mov edi, eax
cmp edi, 0xffffffff
jne 0x455aea
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00404a20
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], edi
call fcn.005dd1b0
pop edi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov al, byte [esp + 0xb]
push esi
test al, al
je 0x455bfc
mov edx, dword [0x6c396c]
push ebp
push 0x5c
mov eax, dword [edx + 0xb4]
mov ebp, dword [eax + edi*4]
lea esi, [ebp + 0x28]
mov ecx, esi
call fcn.005d55fe
cmp eax, 0xffffffff
je 0x455b23
inc eax
mov ecx, esi
push eax
push 0
call fcn.005d5128
lea ecx, [esp + 0x14]
push 5
push ecx
mov ecx, esi
call fcn.005d54df
mov eax, dword [eax]
push 0x69880c
push eax
call fcn.00510588
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.005dd1b0
test bl, bl
je 0x455ba2
mov edx, dword [esi]
push 5
mov ecx, esi
mov eax, dword [edx - 8]
add eax, 0xfffffffb
push eax
call fcn.005d5128
mov eax, dword [0x6abf00]
mov dword [esp + 0x14], eax
mov ecx, dword [0x62fd08]
lea edx, [esp + 0x14]
push ecx
push str..sl_02d
push edx
mov byte [esp + 0x44], 4
call fcn.004f59f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.005dd57c
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call fcn.005dd1b0
push esi
lea ecx, [ebp + 0x30]
call fcn.005dd29d
lea eax, [esp + 0x18]
mov ecx, 0x6bb390
push eax
call fcn.0041a0b0
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x44], 5
call fcn.005dd393
push eax
mov ecx, esi
mov byte [esp + 0x3c], 6
call fcn.005dd29d
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call fcn.005dd1b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.005dd1b0
mov dword [ebp + 0x2c], 0
pop ebp
mov edx, dword [0x6c396c]
lea ecx, [edx + 0xc8]
call fcn.004044a0
mov ecx, dword [0x6c396c]
push edi
call fcn.00496010
mov dword [esp + 0x18], 0x628cf8
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x34], 7
test esi, esi
je 0x455c52
mov eax, dword [esp + 0x20]
test eax, eax
je 0x455c49
lea edi, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec edi
jne 0x455c38
mov esi, dword [esp + 0x1c]
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x2c]
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4