Function at 0x10074800
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1011217c
mov eax, dword fs:[0]
push eax
sub esp, 0xda8
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0xda0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1013b024]
xor eax, esp
push eax
lea eax, [esp + 0xdbc]
mov dword fs:[0], eax
mov edx, dword [esp + 0xddc]
mov eax, dword [esp + 0xdd4]
mov edi, ecx
mov ecx, dword [esp + 0xdd8]
xor ebp, ebp
push 0x206
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xde4]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0xde8]
lea edx, [esp + 0x59a]
push ebp
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov word [esp + 0x5a0], bp
call sub.MSVCR80.dll_memset
push 0x206
lea eax, [esp + 0x39e]
push ebp
push eax
mov word [esp + 0x3a4], bp
call sub.MSVCR80.dll_memset
push 0x206
lea ecx, [esp + 0x1a2]
push ebp
push ecx
mov word [esp + 0x1a8], bp
call sub.MSVCR80.dll_memset
push 0x616
lea edx, [esp + 0x7c6]
push ebp
push edx
mov word [esp + 0x7cc], bp
call sub.MSVCR80.dll_memset
add esp, 0x30
call fcn.10109890
mov ecx, dword [esp + 0xdcc]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, edi
call edx
mov ebx, eax
call sub.Comn.dll_GetObjectSys
push 0x1011daac
lea ecx, [esp + 0x44]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [esp + 0xdc4], ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test eax, eax
jne 0x10074983
cmp ebx, ebp
je 0x1007493c
test bl, 0x21
jne 0x1007493c
test ebx, 0xa0200
je 0x10074983
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x104]
xor esi, esi
call edx
test eax, eax
jle 0x10074983
nop
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push esi
lea edx, [esp + 0x34]
push edx
call eax
mov ecx, eax
lea eax, [esp + 0x5c]
call fcn.1002eee0
test eax, eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
jne 0x100749c7
mov eax, dword [edx + 0x104]
add esi, 1
call eax
cmp esi, eax
jl 0x10074950
lea ecx, [esp + 0x40]
mov dword [esp + 0xdc4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0xdbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xda0]
xor ecx, esp
call fcn.1010dc50
add esp, 0xdb4
ret 0x1c
mov eax, dword [edx + 4]
push esi
call eax
mov esi, eax
cmp esi, ebp
je 0x10074983
cmp dword [esi + 0x10c0], ebp
je 0x10074983
mov eax, dword [esp + 0xdd0]
sub eax, 1
je 0x10074a59
sub eax, 1
jne 0x10074983
cmp dword [esi + 0x10c4], ebp
je 0x10074983
lea ecx, [esi + 0x10d4]
mov eax, 0x400
lea edx, [esp + 0x594]
call fcn.10004030
lea ecx, [esi + 0x12dc]
mov eax, 0x400
lea edx, [esp + 0x184]
call fcn.10004030
lea ecx, [esi + 0x14e4]
mov eax, 0x400
lea edx, [esp + 0x38c]
call fcn.10004030
mov ecx, dword [esi + 0x10c8]
mov edx, dword [esi + 0x10cc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
call sub.Comn.dll_GetObjectLang
push str.11605
jmp 0x10074ac8
cmp dword [esi + 0x173c], ebp
je 0x10074983
lea ecx, [esi + 0x174c]
mov eax, 0x400
lea edx, [esp + 0x594]
call fcn.10004030
lea ecx, [esi + 0x1954]
mov eax, 0x400
lea edx, [esp + 0x184]
call fcn.10004030
lea ecx, [esi + 0x1b5c]
mov eax, 0x400
lea edx, [esp + 0x38c]
call fcn.10004030
mov ecx, dword [esi + 0x1740]
mov edx, dword [esi + 0x1744]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
call sub.Comn.dll_GetObjectLang
push str.11604
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
push eax
lea esi, [edi + 0x11c8]
call fcn.10064f40
mov edi, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x10]
add esp, 4
lea eax, [esp + 0x594]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x594]
push ecx
mov ecx, edi
call edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x38c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10074b17
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, ebp
mov dword [esp + 0x2c], ecx
je 0x10074be0
lea esi, [esp + 0x38c]
xor ebx, ebx
cmp word [esp + 0x38c], bp
mov edi, esi
je 0x10074bdc
mov edi, edi
cmp ebx, ecx
jae 0x10074bdc
movzx eax, word [esi + 2]
cmp ax, 0x20
jne 0x10074b9d
push str._p:_
lea ecx, [esp + 0x44]
mov word [esi + 2], bp
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push edi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x101246c4
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov ecx, dword [esp + 0x2c]
add esi, 4
mov edi, esi
add ebx, 2
jmp 0x10074ba8
cmp ax, bp
je 0x10074baf
add esi, 2
add ebx, 1
cmp word [esi], bp
jne 0x10074b50
jmp 0x10074bdc
push str._p:_
lea ecx, [esp + 0x44]
mov word [esi + 2], bp
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push edi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x101246c4
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x28], ebp
mov eax, dword [esp + 0x44]
je 0x10074c0d
cmp dword [esp + 0x58], 8
jae 0x10074bf5
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x59c]
push ecx
push str._f:__s___d:__s___s
jmp 0x10074c2e
cmp dword [esp + 0x58], 8
jae 0x10074c18
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x59c]
push ecx
push str._r__f:__s___d:__s___s
lea edx, [esp + 0x7ac]
push edx
call dword [sym.imp.MSVCR80.dll__swprintf]
add esp, 0x14
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10074c84
cmp dword [esp + 0x70], 6
jae 0x10074c84
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ecx
push ebp
push eax
lea ecx, [esp + 0x194]
push ecx
lea eax, [esp + 0x7b0]
push eax
jmp 0x10074cd7
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
push ebx
push ecx
push edx
lea ecx, [esp + 0x190]
push ecx
lea edx, [esp + 0x7ac]
push edx
mov ecx, edi
call eax
mov esi, eax
cmp esi, ebp
jne 0x10074cdd
cmp dword [ebx], ebp
jne 0x10074cdd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi]
mov edx, dword [edx + 8]
push ebx
push eax
push ebp
push ecx
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x7b0]
push ecx
mov ecx, edi
call edx
mov esi, eax
cmp dword [esp + 0x20], ebp
jne 0x10074ce8
mov esi, 1
lea ecx, [esp + 0x40]
mov dword [esp + 0xdc4], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
jmp 0x1007499d