Function at 0x45b2c0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c89e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [0x4f5b3c]
mov dword [esp + 0xe0], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push 0xa
lea ecx, [esp + 0x50]
mov byte [esp + 0xe4], 3
call fcn.004a7f83
mov dword [esp + 0x3c], 0x4ca7ac
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push fcn.004a9c1f
push fcn.0043da30
push 5
lea eax, [esp + 0xc8]
push 4
push eax
mov byte [esp + 0xf4], 7
call fcn.00475e1d
push 0x4f162c
lea ecx, [esp + 0x28]
mov byte [esp + 0xe4], 8
call fcn.004a9c8d
push str.MINCPUTYPE
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe4], 9
call fcn.004a9c8d
push 0x4f1640
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 0xa
call fcn.004a9c8d
push 0x4f165c
lea ecx, [esp + 0x34]
mov byte [esp + 0xe4], 0xb
call fcn.004a9c8d
push 0x4f161c
lea ecx, [esp + 0x38]
mov byte [esp + 0xe4], 0xc
call fcn.004a9c8d
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 0xd
call fcn.004a8385
push ecx
mov byte [esp + 0xe4], 0xe
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4f161c
call fcn.004a9c8d
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0044e980
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xe4], 0xf
call fcn.004a9d0c
mov byte [esp + 0xe0], 0xe
lea ecx, [esp + 0x10]
call fcn.004a9c1f
lea ebp, [esp + 0xbc]
mov edi, 0x4f301c
mov bl, 0x10
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.004a9c8d
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.0044e980
push eax
mov ecx, ebp
mov byte [esp + 0xe4], bl
call fcn.004a9d0c
lea ecx, [esp + 0x10]
mov byte [esp + 0xe0], 0xe
call fcn.004a9c1f
add edi, 0x15
add ebp, 4
cmp edi, 0x4f3085
jb 0x45b424
lea edi, [esp + 0x24]
mov ebp, 5
mov bl, 0x11
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edi
call fcn.004a9994
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0044e980
mov ecx, dword [esp + 0xb0]
push eax
push ecx
lea ecx, [esp + 0xb0]
mov byte [esp + 0xe8], bl
call fcn.004a858d
lea ecx, [esp + 0x10]
mov byte [esp + 0xe0], 0xe
call fcn.004a9c1f
add edi, 4
dec ebp
jne 0x45b476
mov eax, dword [esi + 0xe8]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x45b8cb
push edi
lea ecx, [esi + 0xe0]
call fcn.00405880
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004a9994
lea ecx, [esp + 0x40]
call fcn.0040cf60
mov edx, dword [esp + 0x40]
cmp byte [edx], 0x31
je 0x45b8b8
lea eax, [esp + 0x78]
lea ecx, [esp + 0x3c]
push eax
call fcn.00438810
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 0x12
call fcn.004a9d0c
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 0xe
call fcn.004a9c1f
mov ecx, dword [esp + 0x40]
cmp byte [ecx], 0x30
jne 0x45b897
xor edi, edi
lea ebp, [esp + 0xbc]
mov eax, dword [ebp]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00474eb8
add esp, 8
test eax, eax
jne 0x45b78f
lea eax, [esp + 0x70]
lea ecx, [esp + 0x3c]
push eax
call fcn.00438990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 0x13
call fcn.004a9d0c
lea ecx, [esp + 0x70]
mov byte [esp + 0xe0], 0xe
call fcn.004a9c1f
mov ecx, dword [esp + 0xe8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45b608
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.BEGINGROUP
call fcn.004a9c8d
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.0044e980
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x74]
test eax, eax
sete bl
call fcn.004a9c1f
test bl, bl
je 0x45b608
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x45b608
mov edx, dword [esp + 0xe8]
lea ecx, [esp + 0x14]
push edx
call fcn.004a7309
cmp eax, 0xffffffff
je 0x45b78f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45b802
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.BEGINGROUP
call fcn.004a9c8d
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call fcn.0044e980
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00474eb8
add esp, 8
lea ecx, [esp + 0x6c]
test eax, eax
sete bl
call fcn.004a9c1f
test bl, bl
je 0x45b802
push 0x4f0008
lea ecx, [esp + 0x84]
call fcn.004a9c8d
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
push 0xa
lea ecx, [esp + 0x90]
mov byte [esp + 0xe4], 0x16
call fcn.004a7f83
mov dword [esp + 0x7c], 0x4cbda8
push ecx
mov byte [esp + 0xe4], 0x17
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.IF_GROUP
call fcn.004a9c8d
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.0044e980
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 0x18
call fcn.004a9feb
lea ecx, [esp + 0x68]
mov byte [esp + 0xe0], 0x17
call fcn.004a9c1f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push str._if_group_
push edx
call fcn.004a9edc
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xe4], 0x19
call fcn.004a9feb
lea ecx, [esp + 0x20]
mov byte [esp + 0xe0], 0x17
call fcn.004a9c1f
lea ecx, [esp + 0x7c]
call fcn.0043c6f0
test eax, eax
jne 0x45b7a1
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe0], 0x1c
call fcn.004a7ff7
lea ecx, [esp + 0x88]
mov byte [esp + 0xe0], 0x1b
call fcn.004a9c1f
lea ecx, [esp + 0x84]
mov byte [esp + 0xe0], 0x1a
call fcn.004a9c1f
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x80]
neg ecx
sbb ecx, ecx
mov byte [esp + 0xe0], 0xe
and ecx, eax
mov dword [esp + 0xd4], ecx
call fcn.004a9c1f
inc edi
add ebp, 4
cmp edi, 5
jl 0x45b54c
jmp 0x45b897
lea ecx, [esp + 0x8c]
mov byte [esp + 0xe0], 0x1f
call fcn.004a7ff7
lea ecx, [esp + 0x88]
mov byte [esp + 0xe0], 0x1e
call fcn.004a9c1f
lea ecx, [esp + 0x84]
mov byte [esp + 0xe0], 0x1d
call fcn.004a9c1f
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x80]
neg ecx
sbb ecx, ecx
mov byte [esp + 0xe0], 0xe
and ecx, edx
mov dword [esp + 0xd0], ecx
call fcn.004a9c1f
push 0x32
push 0
lea ecx, [esp + 0x48]
call fcn.004aa119
mov edx, dword [esi + 0xe4]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x40]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [edx + edi*4]
push eax
call fcn.004a9d0c
cmp edi, dword [esi + 0x24c]
jle 0x45b897
mov eax, dword [esi + 0xc0]
xor ebx, ebx
test eax, eax
jle 0x45b897
mov eax, dword [esi + 0xbc]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x45b85a
push ecx
jmp 0x45b865
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004ac100
test eax, eax
je 0x45b87e
push 0x4cab40
mov ecx, eax
call fcn.004af6a0
test eax, eax
jne 0x45b88c
mov eax, dword [esp + 0x10]
mov ecx, dword [edi]
cmp ecx, eax
je 0x45ba07
mov eax, dword [esi + 0xc0]
inc ebx
cmp ebx, eax
jl 0x45b844
mov edi, dword [esp + 0x10]
lea edx, [esp + 0xa8]
push edi
lea eax, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.0045ad00
test eax, eax
je 0x45bb36
mov eax, dword [esi + 0xe8]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x45b4d6
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 0xd
call fcn.004a83b8
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 0xb
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 9
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 8
call fcn.004a9c1f
push fcn.004a9c1f
push 5
lea eax, [esp + 0xc4]
push 4
push eax
mov byte [esp + 0xf0], 7
call fcn.00475d3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 6
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 5
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 4
call fcn.004a9c1f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe0], 0x28
call fcn.004a7ff7
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], 0x27
call fcn.004a9c1f
mov byte [esp + 0xe0], 0x26
lea ecx, [esp + 0x44]
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
mov byte [esp + 0xe0], 0
and ecx, edx
call fcn.004a9c1f
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd4
ret 4
lea ecx, [esp + 0xa8]
mov dword [esi + 0x24c], eax
mov byte [esp + 0xe0], 0xd
call fcn.004a83b8
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 0xb
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 9
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 8
call fcn.004a9c1f
push fcn.004a9c1f
push 5
lea ecx, [esp + 0xc4]
push 4
push ecx
mov byte [esp + 0xf0], 7
call fcn.00475d3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 6
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 5
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 4
call fcn.004a9c1f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe0], 0x22
call fcn.004a7ff7
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], 0x21
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 0x20
call fcn.004a9c1f
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x40]
neg ecx
sbb ecx, ecx
mov byte [esp + 0xe0], 0
and ecx, edx
call fcn.004a9c1f
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004a9c1f
mov eax, 1
jmp 0x45b9ec
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe0], 0xd
call fcn.004a83b8
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 0xc
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0xe0], 0xb
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe0], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0xe0], 9
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 8
call fcn.004a9c1f
push fcn.004a9c1f
push 5
lea eax, [esp + 0xc4]
push 4
push eax
mov byte [esp + 0xf0], 7
call fcn.00475d3f
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe0], 6
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0xe0], 5
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0xe0], 4
call fcn.004a9c1f
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe0], 0x25
call fcn.004a7ff7
lea ecx, [esp + 0x48]
mov byte [esp + 0xe0], 0x24
call fcn.004a9c1f
mov byte [esp + 0xe0], 0x23
jmp 0x45b9af