Function at 0x42c715
Capabilities:
Check os version

Disassembly:
mov eax, 0x4719e7
call fcn.0045454c
sub esp, 0x940
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042b545
test eax, eax
je 0x42cc6e
mov ecx, esi
call fcn.0042c345
and dword [ebp - 0x20], 0
mov dword [esi + 0xb04], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi + 0x268]
movzx eax, word [eax + 0x48]
push eax
call fcn.0043621d
pop ecx
lea eax, [ebp - 0xd]
pop ecx
push 1
lea ecx, [ebp - 0x70]
pop ebx
push ebx
push eax
push 0x48df68
call fcn.00401889
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
mov edi, 0x4765fc
jne 0x42c785
mov eax, edi
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x268]
mov dword [ebp - 0x14], 0x2e8
movzx eax, word [eax + 0x48]
push eax
lea eax, [ebp - 0x18]
push 0x48e424
push eax
call fcn.0040a580
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x70]
call fcn.00401093
mov eax, dword [esi + 0x268]
push ebx
movzx eax, word [eax + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
jne 0x42c817
mov ecx, dword [esi + 0x268]
mov ax, word [ecx + 0x48]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00417edd
mov ecx, dword [ebp - 0x68]
mov eax, 0x4b8
test ecx, ecx
mov dword [ebp - 4], ebx
mov dword [0x498470], eax
jne 0x42c7fd
mov ecx, 0x476650
push ecx
push eax
call fcn.004350e5
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x70]
call fcn.00402424
jmp 0x42cc6e
mov eax, dword [esi + 0x268]
cmp dword [eax + 0x5c], ebx
jbe 0x42cc4c
mov eax, dword [esi + 0x14]
cmp eax, 5
je 0x42cc4c
mov ebx, 0x400
lea eax, [ebp - 0x94c]
push ebx
push 0
push eax
call fcn.00454c00
lea eax, [ebp - 0x94c]
push 0xa
push eax
mov eax, dword [esi + 0x268]
movzx eax, word [eax + 0x48]
push eax
call fcn.00455f84
mov eax, dword [0x496b78]
add esp, 0x18
test eax, eax
jne 0x42c86d
mov eax, edi
push eax
lea eax, [ebp - 0x94c]
push eax
call fcn.00454cbf
lea eax, [ebp - 0x94c]
pop ecx
mov edi, 0x4765e0
pop ecx
test eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], 0x4765d8
lea eax, [ebp - 0x94c]
jne 0x42c8a0
mov eax, 0x4947d8
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004011a9
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 2
call fcn.00401a19
push eax
mov ecx, esi
call fcn.0042ce9d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
call fcn.00401093
cmp dword [ebp - 0x14], 0
je 0x42ca01
cmp byte [0x4943b8], 0
jne 0x42c8f1
cmp byte [0x498ba8], 0
je 0x42c962
lea eax, [ebp - 0xd]
push 1
push eax
push 0x48df68
lea ecx, [ebp - 0x70]
call fcn.00401889
mov eax, 0x48e3e8
mov dword [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0x48], edi
test ecx, ecx
mov dword [ebp - 0x28], 0x4765d8
jne 0x42c925
mov eax, 0x4947d8
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004011a9
lea eax, [ebp - 0x70]
push 0x2fc
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00465520
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401093
push 6
lea eax, [ebp - 0x7c]
pop edi
lea ecx, [esi + 4]
push ebx
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
call fcn.0040aea8
mov ecx, eax
call fcn.00402dad
mov ecx, dword [eax]
mov dword [ebp - 4], 5
mov byte [eax + 4], 1
call fcn.00403dc2
mov eax, dword [eax]
lea ecx, [ebp - 0x94c]
push ecx
push 0x497c70
push eax
call fcn.004358f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00402ebf
mov ecx, esi
call fcn.0042d369
test eax, eax
je 0x42cc6e
lea eax, [ebp - 0x70]
push edi
push eax
mov ecx, esi
call fcn.0040a474
mov eax, dword [eax + 8]
mov dword [ebp - 4], edi
test eax, eax
jne 0x42c9dc
mov eax, 0x476650
push 1
mov ecx, esi
pop edi
push edi
push eax
push 0x48e3c8
call fcn.0042d928
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402424
mov dword [esi + 0x3c], edi
jmp 0x42cc4c
cmp byte [esi + 0x264], 0
je 0x42cae5
lea eax, [ebp - 0x94c]
mov edi, 0x476628
mov ebx, 0x476620
mov dword [ebp - 0xa4], edi
test eax, eax
mov dword [ebp - 0x84], ebx
lea eax, [ebp - 0x94c]
jne 0x42ca39
mov eax, 0x4947d8
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403cfd
lea eax, [esi + 0x56]
mov dword [ebp - 4], 7
test eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], ebx
jne 0x42ca64
mov eax, 0x4947d8
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00403cfd
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x48]
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 8
call fcn.0040fa6a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00402424
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00402424
lea eax, [ebp - 0x70]
push 0
push eax
push 6
mov ecx, esi
call fcn.0040a3f7
mov eax, dword [ebp - 0x68]
test eax, eax
jne 0x42cac0
mov eax, 0x476650
push 1
push eax
push 0x48e3c8
mov ecx, esi
call fcn.0042d928
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402424
mov edi, 0x4765e0
jmp 0x42cbad
mov ecx, esi
call fcn.0042cdfd
test al, al
je 0x42cb4a
mov ecx, esi
call fcn.0042cd8f
test al, al
je 0x42cb4a
lea eax, [ebp - 0x7c]
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 4]
mov dword [ebp - 0x14], 6
call fcn.0040aea8
mov ecx, eax
call fcn.00402dad
mov ecx, dword [eax]
mov dword [ebp - 4], 0xc
mov byte [eax + 4], 1
call fcn.00403dc2
push dword [eax]
lea eax, [ebp - 0x94c]
mov ecx, esi
push eax
call fcn.0042ccd1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00402ebf
jmp 0x42cbad
lea eax, [ebp - 0x94c]
mov dword [ebp - 0xa4], 0x476628
test eax, eax
mov dword [ebp - 0x84], 0x476620
lea eax, [ebp - 0x94c]
jne 0x42cb73
mov eax, 0x4947d8
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403cfd
lea eax, [ebp - 0xa4]
push 0
push eax
push 6
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0040a3f7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00402424
cmp byte [0x4943b8], 0
jne 0x42cbc3
cmp byte [0x498ba8], 0
je 0x42cc4c
lea eax, [ebp - 0x1a]
push 1
push eax
push 0x48df68
lea ecx, [ebp - 0xf4]
call fcn.00401889
mov eax, 0x48e364
mov dword [ebp - 4], 0xe
mov ecx, eax
mov dword [ebp - 0xcc], edi
test ecx, ecx
mov dword [ebp - 0xac], 0x4765d8
jne 0x42cc00
mov eax, 0x4947d8
lea ecx, [ebp - 0x19]
push 0
push ecx
push eax
lea ecx, [ebp - 0xcc]
call fcn.004011a9
lea eax, [ebp - 0xf4]
push 0x323
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 0xf
call fcn.00465520
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xe
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf4]
call fcn.00401093
mov ecx, esi
call fcn.0042c4ce
test eax, eax
je 0x42cc6e
push 0x44f
mov ecx, esi
call fcn.0042ce26
mov ecx, esi
call fcn.0042d7fa
test eax, eax
jne 0x42cc72
xor eax, eax
jmp 0x42ccc2
push esi
push 0x451
lea ecx, [ebp - 0x14c]
call fcn.004182b0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0x10
call fcn.0041b91b
test eax, eax
jne 0x42cc9d
xor esi, esi
jmp 0x42ccb1
mov eax, dword [ebp - 0x140]
mov dword [esi + 0xb0c], eax
call fcn.0041732e
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14c]
call fcn.00418305
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret