Function at 0x43a350
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4414f7
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x455028]
xor eax, esp
mov dword [esp + 0x328], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x344]
mov dword fs:[0], eax
mov eax, dword [esp + 0x354]
mov esi, dword [esp + 0x358]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x364]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], ecx
call fcn.004337a0
xor edi, edi
mov dword [esp + 0x34c], edi
cmp esi, edi
je 0x43abc6
mov ecx, dword [esp + 0x35c]
mov eax, dword [esp + 0x360]
mov edx, ecx
or edx, eax
je 0x43abc6
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edi
cmp eax, edi
jb 0x43a3fe
ja 0x43a419
cmp ecx, 0x1f
ja 0x43a419
lea esi, [esp + 0x74]
call fcn.0042cea0
mov eax, dword [esp + 0x74]
push eax
jmp 0x43abd4
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov dl, byte [ebp + esi]
add ebp, esi
cmp dl, 0xe5
je 0x43ab03
test dl, dl
je 0x43a3fe
mov al, byte [ebp + 0xb]
and al, 0x3f
cmp al, 0xf
jne 0x43a53d
mov al, dl
movzx edx, al
and edx, 0x3f
jne 0x43a44c
mov dword [esp + 0x18], edi
jmp 0x43ab03
test al, 0x40
je 0x43a475
xor eax, eax
movzx esi, ax
mov eax, esi
shl esi, 0x10
mov ecx, 0x82
lea edi, [esp + 0x12c]
or eax, esi
rep stosd dword es:[edi], eax
mov cl, byte [ebp + 0xd]
stosw word es:[edi], ax
mov byte [esp + 0x17], cl
jmp 0x43a485
lea eax, [edx + 1]
cmp eax, ebx
jne 0x43a443
mov cl, byte [esp + 0x17]
cmp cl, byte [ebp + 0xd]
jne 0x43a443
movzx ecx, word [ebp + 3]
mov dword [esp + 0x18], edx
imul edx, edx, 0xd
sub edx, 0xd
mov eax, edx
movzx edx, word [ebp + 1]
mov word [esp + eax*2 + 0x12c], dx
movzx edx, word [ebp + 5]
mov word [esp + eax*2 + 0x12e], cx
movzx ecx, word [ebp + 7]
inc eax
mov word [esp + eax*2 + 0x12e], dx
movzx edx, word [ebp + 9]
inc eax
mov word [esp + eax*2 + 0x12e], cx
movzx ecx, word [ebp + 0xe]
inc eax
mov word [esp + eax*2 + 0x12e], dx
movzx edx, word [ebp + 0x10]
inc eax
mov word [esp + eax*2 + 0x12e], cx
movzx ecx, word [ebp + 0x12]
inc eax
mov word [esp + eax*2 + 0x12e], dx
movzx edx, word [ebp + 0x14]
inc eax
mov word [esp + eax*2 + 0x12e], cx
movzx ecx, word [ebp + 0x16]
inc eax
mov word [esp + eax*2 + 0x12e], dx
movzx edx, word [ebp + 0x18]
inc eax
mov word [esp + eax*2 + 0x12e], cx
movzx ecx, word [ebp + 0x1c]
inc eax
inc eax
mov word [esp + eax*2 + 0x12c], dx
movzx edx, word [ebp + 0x1e]
inc eax
mov word [esp + eax*2 + 0x12c], cx
mov word [esp + eax*2 + 0x12e], dx
jmp 0x43ab03
cmp ebx, 1
je 0x43a54e
xor eax, eax
mov word [esp + 0x12c], ax
jmp 0x43a57b
mov ecx, ebp
xor al, al
mov esi, 0xb
mov bl, al
shl bl, 7
shr al, 1
add bl, al
add bl, byte [ecx]
dec esi
inc ecx
mov al, bl
cmp si, di
jne 0x43a557
cmp al, byte [esp + 0x17]
je 0x43a57b
xor ecx, ecx
mov word [esp + 0x12c], cx
movzx eax, byte [ebp + 1]
movzx ecx, byte [ebp + 2]
movzx dx, dl
mov word [esp + 0x112], ax
movzx eax, byte [ebp + 4]
mov word [esp + 0x110], dx
movzx edx, byte [ebp + 3]
mov word [esp + 0x118], ax
movzx eax, byte [ebp + 7]
mov word [esp + 0x114], cx
movzx ecx, byte [ebp + 5]
mov word [esp + 0x116], dx
movzx edx, byte [ebp + 6]
mov word [esp + 0x11e], ax
mov dword [esp + 0x18], edi
mov word [esp + 0x11a], cx
mov word [esp + 0x11c], dx
mov eax, 7
jmp 0x43a5f0
mov ecx, 0x20
cmp word [esp + eax*2 + 0x110], cx
jne 0x43a60e
dec eax
cmp eax, edi
jg 0x43a5f0
cmp word [esp + eax*2 + 0x110], cx
je 0x43a60f
inc eax
movzx dx, byte [ebp + 9]
movzx si, byte [ebp + 8]
mov ecx, 0x2e
lea ebx, [esp + eax*2 + 0x110]
mov word [ebx], cx
lea ecx, [esp + eax*2 + 0x114]
mov dword [esp + 0x3c], ecx
mov word [ecx], dx
movzx cx, byte [ebp + 0xa]
lea edi, [esp + eax*2 + 0x116]
mov word [esp + eax*2 + 0x112], si
mov word [edi], cx
cmp cx, 0x20
je 0x43a65f
xor edx, edx
mov word [esp + eax*2 + 0x118], dx
jmp 0x43a682
cmp dx, 0x20
je 0x43a66c
xor eax, eax
mov word [edi], ax
jmp 0x43a682
cmp si, 0x20
je 0x43a67d
mov edx, dword [esp + 0x3c]
xor ecx, ecx
mov word [edx], cx
jmp 0x43a682
xor eax, eax
mov word [ebx], ax
cmp word [esp + 0x110], 5
jne 0x43a69a
mov ecx, 0xe5
mov word [esp + 0x110], cx
mov al, byte [ebp + 0xb]
and al, 0x18
cmp al, 8
jne 0x43a6e6
lea edx, [esp + 0x110]
push 0x2e
push edx
call dword [sym.imp.MSVCR90.dll_wcschr]
add esp, 8
test eax, eax
je 0x43ab03
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x43a6c3
sub ecx, esi
lea edx, [eax + 2]
push edx
sar ecx, 1
push ecx
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
jmp 0x43ab03
cmp al, 0x18
je 0x43ab03
mov ecx, 0x44a7e0
lea eax, [esp + 0x110]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a726
test dx, dx
je 0x43a722
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a726
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a700
xor eax, eax
jmp 0x43a72b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ab03
mov ecx, 0x44c2e4
lea eax, [esp + 0x110]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a766
test dx, dx
je 0x43a762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a766
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a740
xor eax, eax
jmp 0x43a76b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43ab03
lea esi, [esp + 0x44]
call fcn.004380b0
mov esi, dword [esp + 0x30]
movzx eax, byte [esi + 0x1d]
movzx ecx, word [esi + 0x1b]
imul eax, ecx
cmp word [esp + 0x12c], 0
mov dword [esp + 0x60], eax
jne 0x43a7eb
mov ecx, 0x44a7e0
lea eax, [esp + 0x110]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43a7cc
test dx, dx
je 0x43a7c8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43a7cc
add eax, 4
add ecx, 4
test dx, dx
jne 0x43a7a6
xor eax, eax
jmp 0x43a7d1
sbb eax, eax
sbb eax, 0xffffffff
lea ecx, [esp + 0x44]
test eax, eax
jne 0x43a7e1
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
jmp 0x43a7fd
lea edx, [esp + 0x110]
push edx
jmp 0x43a7f7
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
movzx eax, word [ebp + 0x14]
movzx edx, word [ebp + 0x1a]
mov ecx, dword [ebp + 0x1c]
shl eax, 0x10
or eax, edx
cdq
mov dword [esp + 0x9c], ecx
lea ecx, [esp + 0xf4]
mov dword [esp + 0xa0], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x350], 1
call dword [0x444294]
push 0x445b18
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.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 + 0x44]
push ecx
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP90.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__]
cmp dword [esp + 0x10c], 8
mov eax, dword [esp + 0xf8]
jae 0x43a88b
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
movzx dx, byte [ebp + 0xd]
movzx eax, word [ebp + 0xe]
movzx ecx, word [ebp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
movzx ebx, dx
lea edx, [esp + 0xec]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x43a8c2
xor ebx, ebx
xor ecx, ecx
jmp 0x43a906
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x43a8e0
xor ecx, ecx
jmp 0x43a904
mov edi, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
movzx eax, bx
imul eax, eax, 0x186a0
cdq
add edi, eax
mov eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
adc ecx, edx
xor ebx, ebx
mov dword [esp + 0xa4], eax
movzx eax, word [ebp + 0x16]
lea edx, [esp + 0xe4]
mov dword [esp + 0xa8], ecx
movzx ecx, word [ebp + 0x18]
push edx
push eax
push ecx
call edi
test eax, eax
jne 0x43a930
xor ecx, ecx
jmp 0x43a95c
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x43a94e
xor ecx, ecx
jmp 0x43a95c
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0xdc]
mov dword [esp + 0xac], eax
movzx eax, word [ebp + 0x12]
push edx
push ebx
push eax
mov dword [esp + 0xbc], ecx
call edi
test eax, eax
jne 0x43a982
xor ecx, ecx
jmp 0x43a9ae
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
jne 0x43a9a0
xor ecx, ecx
jmp 0x43a9ae
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd8]
movzx edx, byte [ebp + 0xb]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xb8], ecx
mov ecx, 0x7ffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x43a9e5
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], edx
jmp 0x43a9e9
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
push esi
call fcn.0043ac20
movzx ecx, byte [esi + 0x1d]
movzx edx, word [esi + 0x1b]
mov eax, dword [esp + 0x64]
imul ecx, edx
imul ecx, eax
add dword [esi + 0x220], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
adc dword [esi + 0x224], ebx
test byte [esp + 0x5c], 0x10
jne 0x43aa47
cmp dword [esp + 0x8c], 1
mov dword [esp + 0x68], 2
ja 0x43aa4b
mov dword [esp + 0x68], ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x220]
mov edx, dword [esi + 0x224]
mov edi, dword [esi + 0x228]
mov ebp, dword [esi + 0x22c]
test eax, eax
je 0x43aa82
mov ebx, dword [esi + 8]
push ebx
lea ebx, [esp + 0x48]
push ebx
push edx
push ecx
push ebp
push edi
call eax
cmp eax, 0xffffffff
je 0x43ab57
test byte [esp + 0x5c], 0x10
je 0x43aaee
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push ecx
mov ecx, esi
call edx
cmp dword [esp + 0x10c], 8
mov edi, eax
mov eax, dword [esp + 0xf8]
jae 0x43aabe
lea eax, [esp + 0xf8]
mov edx, dword [esp + 0xc8]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xc8]
push edx
push ecx
push edi
push eax
mov ecx, esi
call fcn.0043a350
push edi
cmp eax, 0xffffffff
je 0x43ab9b
call sub.mfc90u.dll_delete__
add esp, 4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x34c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add ebp, 0x20
mov edi, 0
adc eax, edi
mov ecx, ebp
add ecx, 0x1f
mov dword [esp + 0x28], eax
adc eax, edi
mov dword [esp + 0x24], ebp
cmp eax, dword [esp + 0x360]
jb 0x43a411
ja 0x43a3fe
cmp ecx, dword [esp + 0x35c]
jb 0x43a411
lea esi, [esp + 0x74]
call fcn.0042cea0
mov eax, dword [esp + 0x74]
push eax
jmp 0x43abd4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x34c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [esp + 0x74]
call fcn.0042cea0
mov edx, dword [esp + 0x74]
push edx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or eax, 0xffffffff
jmp 0x43abf2
call sub.mfc90u.dll_delete__
add esp, 4
lea ecx, [esp + 0xf4]
mov byte [esp + 0x34c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea edi, [esp + 0x44]
call fcn.00433810
or eax, 0xffffffff
jmp 0x43abf2
lea esi, [esp + 0x74]
call fcn.0042cea0
mov ecx, dword [esp + 0x74]
push ecx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x344]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x328]
xor ecx, esp
call fcn.0043ec6a
add esp, 0x33c
ret 0x14