Function at 0x5552f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x589274
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
xor ebp, ebp
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0x10], ebp
mov edi, dword [0x5e5d28]
lea ecx, [esp + 0x10]
push ecx
push edi
mov eax, dword [edi]
mov dword [esp + 0x40], ebp
call dword [eax + 0xc0]
cmp dword [esp + 0x10], ebp
je 0x555768
mov edx, dword [0x5ed920]
push ebx
mov ebx, 0x5ed920
push esi
mov ecx, ebx
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x40], 1
cmp eax, ebp
jne 0x5553c1
cmp dword [0x5e5cb4], ebp
jne 0x5553c1
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x40], 2
je 0x555396
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x555398
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x48], 1
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, ebx
mov byte [esp + 0x40], 0
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [eax + 0xb8]
cmp dword [esp + 0x20], ebp
je 0x5553fc
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x5c]
jmp 0x55540a
mov edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
push edi
call dword [edx + 0xa4]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
je 0x55547c
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x14]
push esi
push ecx
mov edx, dword [eax]
push eax
mov byte [esp + 0x4c], 3
call dword [edx + 0x28]
test eax, eax
mov eax, dword [esp + 0x14]
jl 0x55546d
cmp eax, ebp
je 0x55546d
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x555461
cmp eax, 0xc
je 0x555461
cmp eax, 1
mov dword [esp + 0x10], ebp
jne 0x555469
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x40], 0
je 0x55547c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov edi, eax
jne 0x555524
mov edx, dword [0x5ed920]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x40], 4
cmp eax, ebp
jne 0x5554fe
cmp dword [0x5e5cb4], ebp
jne 0x5554fe
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x40], 5
je 0x5554d3
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x5554d5
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x48], 4
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, ebx
mov byte [esp + 0x40], 0
call dword [edx + 8]
mov ecx, esi
call fcn.0047ec20
test al, al
je 0x555524
mov edi, 1
mov eax, dword [0x5ed920]
mov ecx, ebx
mov dword [esp + 0x28], ebx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov bl, 6
cmp eax, ebp
mov byte [esp + 0x40], bl
jne 0x555598
cmp dword [0x5e5cb4], ebp
jne 0x555598
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x40], 7
je 0x55556d
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x55556f
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x40], bl
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x40], 0
call dword [edx + 8]
mov ecx, esi
call fcn.00483880
cmp eax, 4
je 0x5555c6
cmp eax, 5
jne 0x555718
cmp dword [esp + 0x20], ebp
jne 0x5555d5
xor ebx, ebx
xor edi, edi
jmp 0x55571c
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x5ed920]
mov ecx, 0x5ed920
mov byte [esp + 0x40], 9
mov dword [esp + 0x30], 0x5ed920
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov bl, 0xa
cmp eax, ebp
mov byte [esp + 0x40], bl
jne 0x55565d
cmp dword [0x5e5cb4], ebp
jne 0x55565d
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebp
mov byte [esp + 0x40], 0xb
je 0x555632
push ebp
mov ecx, eax
call fcn.00414650
jmp 0x555634
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x40], bl
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x40], 9
call dword [edx + 8]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.0047a470
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x555698
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
call dword [ecx + 0xac]
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
je 0x5556b9
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x5cf9b0
push ecx
call dword [eax]
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x40], 0xc
je 0x5556e3
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
je 0x5556d6
cmp eax, 0xc
je 0x5556d6
cmp eax, 1
jne 0x5556df
mov edi, 1
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov byte [esp + 0x40], 9
je 0x5556f2
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x40], 8
cmp eax, ebp
je 0x555705
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov byte [esp + 0x40], 0
cmp eax, ebp
je 0x555718
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
push ebx
push 0x4b5
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push ebx
push 0x2756
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
push edi
mov ecx, esi
call fcn.005550a0
mov eax, dword [esp + 0x18]
pop esi
cmp eax, ebp
mov dword [esp + 0x3c], 0xffffffff
pop ebx
je 0x555768
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x30]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret