Function at 0x4135cf
Capabilities:
Check os version

Disassembly:
mov eax, 0x427cba
call fcn.0041c160
mov eax, 0x1294
call fcn.0041c130
push ebx
push esi
mov esi, ecx
push edi
push esi
push 0x44f
lea ecx, [ebp - 0x30]
call fcn.00411d90
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00411dd3
test eax, eax
je 0x413a20
cmp dword [0x4338cc], ebx
jne 0x413a20
push esi
push 0x452
lea ecx, [ebp - 0x20]
call fcn.00404ae1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00404b24
test eax, eax
je 0x413a15
cmp dword [0x4338cc], ebx
jne 0x413a15
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x99b]
mov byte [ebp - 0x99c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, esi
stosb byte es:[edi], al
call fcn.00413c6c
test eax, eax
je 0x41366f
push 0x431c0c
jmp 0x413675
push dword [esi + 0x3684]
lea eax, [ebp - 0x99c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esi + 0x14b8], ebx
lea ecx, [esi + 0x290c]
lea edi, [esi + 0x14b8]
push ecx
lea ecx, [ebp - 0x99c]
lea eax, [esi + 0x10ac]
push ecx
jne 0x4136c0
push dword [esi + 0xa8]
push eax
push edi
push 0x64
push 0xbba
push dword [esi + 0x369c]
call fcn.0040a223
jmp 0x4136e0
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x64
push 0xbba
push dword [esi + 0x369c]
call fcn.0040a223
mov ecx, dword [edi]
mov dword [0x4342fc], ecx
cmp eax, ebx
jne 0x413a15
mov ecx, esi
call fcn.004132d6
test eax, eax
je 0x413a15
cmp dword [0x434bbc], ebx
jne 0x4137bc
cmp dword [esi + 0x14b4], ebx
jne 0x4137bc
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x497]
mov byte [ebp - 0x498], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x498]
mov ecx, esi
push eax
push dword [0x4342fc]
call fcn.0041425b
test eax, eax
jne 0x413798
lea eax, [ebp - 0x498]
mov ecx, esi
push eax
push ebx
call fcn.0041425b
test eax, eax
jne 0x413798
mov ecx, esi
call fcn.00413c6c
test eax, eax
je 0x413771
push 1
push ebx
push ebx
push ebx
push dword [0x4286e4]
mov ecx, esi
call fcn.00413eea
jmp 0x413794
push dword [0x4286e4]
lea eax, [ebp - 0x498]
push 0x4347b4
push eax
call fcn.00415ec8
lea eax, [ebp - 0x498]
push eax
call fcn.0041602a
test eax, eax
je 0x4137bc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00401087
cmp eax, ebx
jne 0x4137bc
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00414370
mov dword [ebp - 0x10], eax
jmp 0x4137bf
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push eax
push dword [0x4342fc]
call fcn.004165ea
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x413812
lea eax, [ebp - 0x59c]
push eax
push dword [0x4342fc]
call fcn.00416856
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x434bb4], eax
lea ecx, [ebp - 0x59c]
push ecx
push eax
call fcn.0041567b
pop ecx
pop ecx
jmp 0x4138ae
mov edi, 0x400
lea eax, [esi + 0xcac]
push edi
push ebx
push eax
call fcn.0041bc70
add esp, 0xc
cmp dword [esi + 0x10ac], 1
jbe 0x41392f
cmp dword [esi + 0x14bc], 5
je 0x41392f
push edi
lea eax, [ebp - 0x498]
push ebx
push eax
call fcn.0041bc70
lea eax, [ebp - 0x498]
push 0xa
push eax
push dword [esi + 0x14b8]
call fcn.0041d4bc
push dword [0x42e1fc]
lea eax, [ebp - 0x498]
push eax
call fcn.0041bb30
add esp, 0x20
lea eax, [ebp - 0x498]
mov ecx, esi
push eax
call fcn.00413c89
test eax, eax
je 0x4138ed
lea eax, [ebp - 0x498]
push eax
lea eax, [esi + 0xcac]
push 0x431c0c
push eax
call fcn.00415ec8
mov ecx, esi
call fcn.00413e78
test eax, eax
jne 0x4138cc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00404b19
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00411dc8
xor eax, eax
jmp 0x413a30
lea eax, [esi + 0xcac]
push 1
push eax
push str._LangTransform
mov ecx, esi
call fcn.004140e0
mov dword [esi + 0xa0], 1
jmp 0x41392f
mov ecx, esi
call fcn.00413bfb
test al, al
je 0x41391a
mov ecx, esi
call fcn.00413bc2
test al, al
je 0x41391a
lea eax, [esi + 0xcac]
mov ecx, esi
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00413b3b
jmp 0x41392f
lea eax, [ebp - 0x498]
push eax
lea eax, [esi + 0xcac]
push eax
call fcn.0041bb20
pop ecx
pop ecx
cmp dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0x3e8
jne 0x41398e
lea eax, [ebp - 0xea0]
push 0x104
push eax
push 0x3e9
push dword [0x4286ec]
lea ecx, [esi + 0x3214]
push dword [0x4286e0]
call fcn.00405355
push 4
mov dword [ebp - 0x14], eax
call fcn.0041b768
pop ecx
mov ecx, eax
mov dword [ebp - 0x34], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x413982
call fcn.00409aba
jmp 0x413984
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x3264], eax
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x3264]
push dword [ebp - 0x14]
push esi
push dword [esi + 0x369c]
call fcn.00409ae6
lea eax, [ebp - 0xd9c]
push edi
push eax
push 0x44e
call fcn.0041575b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0xc
lea eax, [ebp - 0xd9c]
push eax
call edi
test eax, eax
je 0x413a04
lea eax, [ebp - 0xd9c]
push 0x42d214
push eax
call fcn.0041d150
pop ecx
cmp eax, ebx
pop ecx
je 0x413a04
inc eax
inc eax
push eax
mov dword [ebp - 0x14], eax
call edi
test eax, eax
je 0x413a04
push 0x42d214
push dword [ebp - 0x14]
call fcn.0041d150
pop ecx
cmp eax, ebx
pop ecx
jne 0x413a3f
mov eax, 0x486
push eax
mov dword [0x434bb4], eax
call fcn.0041567b
pop ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00404b19
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00411dc8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x98]
push eax
push 1
call fcn.004168e8
pop ecx
lea eax, [ebp - 0x98]
pop ecx
push eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [ebp - 0xd9c]
push eax
lea eax, [ebp - 0x12a0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x12a0]
mov ecx, esi
push eax
call fcn.00413c49
mov ecx, dword [esi + 0x3264]
mov edi, 0x3e8
push edi
call fcn.00409dc3
test eax, eax
je 0x413aaa
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00404b19
push 1
pop esi
jmp 0x413a22
push 0x44f
mov ecx, esi
call fcn.00413c24
mov ecx, esi
call fcn.004140a4
test eax, eax
je 0x413a15
mov ecx, dword [esi + 0x3264]
push edi
call fcn.00409dc3
test eax, eax
jne 0x413a97
push esi
push 0x451
lea ecx, [ebp - 0x80]
call fcn.0040b0dc
mov ecx, dword [esi + 0x3264]
push edi
mov byte [ebp - 4], 3
call fcn.00409dc3
test eax, eax
jne 0x413b2a
cmp dword [0x4338cc], ebx
jne 0x413b2a
lea ecx, [ebp - 0x80]
call fcn.0040c0fe
test eax, eax
jne 0x413b1c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040b131
jmp 0x413a15
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x36a8], eax
call fcn.00409b4d
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040b131
jmp 0x413a97