Function at 0x455260
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4f5133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x536d10]
push ebx
push ebp
mov dword [esp + 0x10], ecx
push esi
add ecx, 0x210
push edi
push ecx
lea ecx, [eax + 0x2218]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 1
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString_4
push 0x40
mov byte [esp + 0x48], 3
mov ebp, 1
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, esi
mov byte [esp + 0x44], 4
je 0x455311
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_4
lea edi, [eax + 4]
push 0xf
push 4
push edi
mov dword [eax], 0xf
call fcn.004e9c7e
mov ebx, edi
jmp 0x455313
xor ebx, ebx
mov ecx, dword [0x536d10]
push 0
push 0x529e38
add ecx, 0x114
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jl 0x45545d
lea edx, [ebx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [0x536d10]
mov eax, edi
sub eax, esi
lea ecx, [esp + 0x24]
push eax
push esi
push ecx
lea ecx, [edx + 0x114]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, 3
cdq
idiv ecx
cmp edx, 1
jne 0x4553ec
lea edx, [esp + 0x10]
lea ecx, [esp + 0x34]
push edx
call sub.MFC42.DLL_CString::operator_2
cmp ebp, 0xf
jae 0x455430
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [0x536d10]
call fcn.004e6110
mov edx, dword [esp + 0x20]
push eax
mov ecx, edx
add edx, 4
mov byte [esp + 0x48], 6
inc ebp
mov dword [esp + 0x24], edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
jmp 0x455430
test edx, edx
jne 0x455400
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::operator_2
jmp 0x455430
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x3c], eax
mov eax, dword [0x536d10]
add esp, 4
mov edx, dword [eax + 0xc4]
lea ecx, [eax + 0xbc]
lea eax, [esp + 0x30]
push eax
push 1
push edx
call fcn.0045a460
mov ecx, dword [0x536d10]
lea esi, [edi + 3]
mov edi, dword [esp + 0x14]
push esi
inc edi
push 0x529e38
add ecx, 0x114
mov dword [esp + 0x1c], edi
call sub.MFC42.DLL_CString::Find
mov edi, eax
test edi, edi
jge 0x455341
mov ecx, dword [0x536d10]
mov esi, ebx
mov eax, dword [ecx + 0xf0]
test al, 8
je 0x455564
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0x90]
cmp edx, 6
je 0x4554f7
cmp edx, 1
je 0x4554f7
test al, 2
je 0x4554f7
cmp edx, 7
jne 0x455554
mov ecx, dword [ecx + 0x108]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45554e
mov edx, dword [0x536d10]
push ecx
add edx, 0x108
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x536d10]
lea eax, [esp + 0x2c]
push eax
call fcn.004e6110
push eax
mov ecx, ebx
mov byte [esp + 0x48], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
jmp 0x45554e
push ecx
lea edx, [ecx + 0x10c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x536d10]
lea eax, [esp + 0x2c]
push eax
call fcn.004e6110
push eax
mov ecx, ebx
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
cmp dword [edi + 0x90], 6
jne 0x45554e
mov ecx, dword [0x536d10]
mov dword [ecx + 0x16c], 1
mov ecx, dword [0x536d10]
test byte [ecx + 0xf0], 1
jne 0x455570
mov ebp, 1
jmp 0x455574
mov edi, dword [esp + 0x18]
dec ebp
test al, 1
lea esi, [ebx + 4]
je 0x4555ba
test ebp, ebp
je 0x4555ba
push ebp
push esi
call fcn.004e58d0
test eax, eax
jne 0x4555b4
test ebx, ebx
je 0x4555a0
mov edx, dword [ebx - 4]
lea esi, [ebx - 4]
push sub.MFC42.DLL_CString::CString
push edx
push 4
push ebx
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [edi + 0xb4], 1
mov byte [esp + 0x44], 9
jmp 0x45575c
mov ecx, dword [0x536d10]
test ebx, ebx
je 0x4555e1
mov eax, dword [ebx - 4]
lea esi, [ebx - 4]
push sub.MFC42.DLL_CString::CString
push eax
push 4
push ebx
call fcn.004e9b8a
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [0x536d10]
add esp, 4
mov edx, dword [ecx + 0xf0]
test dl, 8
je 0x4556c3
mov eax, dword [edi + 0x90]
cmp eax, 6
je 0x455660
cmp eax, 1
je 0x455660
test dl, 2
je 0x455660
cmp eax, 7
jne 0x4556c3
mov ecx, dword [ecx + 0x108]
push 0x5307a8
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4556bd
mov eax, dword [0x536d10]
test dword [eax + 0xf0], 0x80000
je 0x45564f
add eax, 0x108
lea ecx, [edi + 0x98]
push eax
call sub.MFC42.DLL_CString::operator_2
jmp 0x4556bd
mov ecx, dword [eax + 0x108]
push 5
push ecx
lea ecx, [eax + 0x1d64]
jmp 0x4556b8
test edx, 0x80000
je 0x455686
cmp eax, 6
je 0x4556a9
test dl, 1
je 0x4556a9
add ecx, 0x10c
push ecx
lea ecx, [edi + 0x98]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4556bd
cmp eax, 6
je 0x4556a9
test dl, 1
je 0x4556a9
cmp eax, 1
je 0x4556a9
add ecx, 0x108
push ecx
lea ecx, [edi + 0x98]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4556bd
mov eax, dword [ecx + 0x10c]
push 5
push eax
add ecx, 0x1d64
call fcn.004494d0
mov ecx, dword [0x536d10]
mov eax, dword [ecx + 0xf0]
test al, 1
jne 0x455702
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x10
push ecx
call esi
mov edx, dword [0x536d10]
push 0
push 0
push 0x10
mov eax, dword [edx + 0x20]
push eax
call esi
mov dword [edi + 0xb4], 1
mov byte [esp + 0x44], 0xa
jmp 0x45575c
test al, 0x40
je 0x45574d
mov eax, dword [edi + 0xac]
test eax, eax
je 0x45574d
mov ecx, dword [ecx + 0x118]
mov eax, dword [edi + 0xd8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45574d
mov ecx, dword [0x536d10]
push ecx
lea edx, [ecx + 0x118]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push 1
mov ecx, edi
call fcn.00456b30
mov eax, dword [esp + 0x14]
mov dword [edi + 0x8c], eax
mov byte [esp + 0x44], 0xb
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret