Function at 0x10074730
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x1013ea1c
mov eax, dword fs:[0]
push eax
sub esp, 0xda8
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xda0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10170024]
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.10113870
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 0x1014be14
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 0x100748b3
cmp ebx, ebp
je 0x1007486c
test bl, 0x21
jne 0x1007486c
test ebx, 0xa0200
je 0x100748b3
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x104]
xor esi, esi
call edx
test eax, eax
jle 0x100748b3
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.1002f730
test eax, eax
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
jne 0x100748f7
mov eax, dword [edx + 0x104]
add esi, 1
call eax
cmp esi, eax
jl 0x10074880
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.1012d370
add esp, 0xdb4
ret 0x1c
mov eax, dword [edx + 4]
push esi
call eax
mov esi, eax
cmp esi, ebp
je 0x100748b3
cmp dword [esi + 0x10c0], ebp
je 0x100748b3
mov eax, dword [esp + 0xdd0]
sub eax, 1
je 0x10074989
sub eax, 1
jne 0x100748b3
cmp dword [esi + 0x10c4], ebp
je 0x100748b3
lea ecx, [esi + 0x10d4]
mov eax, 0x400
lea edx, [esp + 0x594]
call fcn.100040e0
lea ecx, [esi + 0x12dc]
mov eax, 0x400
lea edx, [esp + 0x184]
call fcn.100040e0
lea ecx, [esi + 0x14e4]
mov eax, 0x400
lea edx, [esp + 0x38c]
call fcn.100040e0
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 0x100749f8
cmp dword [esi + 0x173c], ebp
je 0x100748b3
lea ecx, [esi + 0x174c]
mov eax, 0x400
lea edx, [esp + 0x594]
call fcn.100040e0
lea ecx, [esi + 0x1954]
mov eax, 0x400
lea edx, [esp + 0x184]
call fcn.100040e0
lea ecx, [esi + 0x1b5c]
mov eax, 0x400
lea edx, [esp + 0x38c]
call fcn.100040e0
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.100650b0
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 0x10074a47
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
cmp ecx, ebp
mov dword [esp + 0x2c], ecx
je 0x10074b10
lea esi, [esp + 0x38c]
xor ebx, ebx
cmp word [esp + 0x38c], bp
mov edi, esi
je 0x10074b0c
mov edi, edi
cmp ebx, ecx
jae 0x10074b0c
movzx eax, word [esi + 2]
cmp ax, 0x20
jne 0x10074acd
push str._p:_
lea ecx, [esp + 0x44]
mov word [esi + 2], bp
call dword [0x101464cc]
push edi
lea ecx, [esp + 0x44]
call dword [0x101464cc]
push 0x101529fc
lea ecx, [esp + 0x44]
call dword [0x101464cc]
mov ecx, dword [esp + 0x2c]
add esi, 4
mov edi, esi
add ebx, 2
jmp 0x10074ad8
cmp ax, bp
je 0x10074adf
add esi, 2
add ebx, 1
cmp word [esi], bp
jne 0x10074a80
jmp 0x10074b0c
push str._p:_
lea ecx, [esp + 0x44]
mov word [esi + 2], bp
call dword [0x101464cc]
push edi
lea ecx, [esp + 0x44]
call dword [0x101464cc]
push 0x101529fc
lea ecx, [esp + 0x44]
call dword [0x101464cc]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x28], ebp
mov eax, dword [esp + 0x44]
je 0x10074b3d
cmp dword [esp + 0x58], 8
jae 0x10074b25
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 0x10074b5e
cmp dword [esp + 0x58], 8
jae 0x10074b48
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 0x10074bb4
cmp dword [esp + 0x70], 6
jae 0x10074bb4
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 0x10074c07
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 0x10074c0d
cmp dword [ebx], ebp
jne 0x10074c0d
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 0x10074c18
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 0x100748cd