Function at 0x413fe6
Capabilities:
Check os version

Disassembly:
mov eax, 0x428ca1
call fcn.0041d0a0
sub esp, 0xf04
push ebx
push esi
mov esi, ecx
push edi
push esi
push 0x44f
lea ecx, [ebp - 0x2c]
call fcn.004125f4
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00412637
test eax, eax
je 0x4144de
cmp dword [0x434a6c], ebx
jne 0x4144de
push esi
push 0x452
lea ecx, [ebp - 0x1c]
call fcn.00404a99
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00404adc
test eax, eax
je 0x4144d3
cmp dword [0x434a6c], ebx
jne 0x4144d3
cmp dword [esi + 0x14b8], ebx
lea edi, [esi + 0x14b8]
lea eax, [esi + 0x290c]
mov ecx, esi
push eax
jne 0x414097
call fcn.00413b32
push eax
lea eax, [esi + 0x10ac]
push dword [esi + 0xa8]
push eax
push edi
push 0x64
push 0xbba
push dword [esi + 0x37a0]
call fcn.0040a4f5
jmp 0x4140c3
call fcn.00413b32
push eax
lea eax, [esi + 0x10ac]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x64
push 0xbba
push dword [esi + 0x37a0]
call fcn.0040a4f5
mov ecx, dword [edi]
mov dword [0x43549c], ecx
cmp eax, ebx
jne 0x4144d3
lea edi, [esi + 0x37b8]
push 0x64
push edi
push str.PASSWORD
push 0x42f478
call fcn.00417a5b
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x41418c
push edi
lea ecx, [ebp - 0x108]
call fcn.00412727
cmp dword [0x435d5c], ebx
mov byte [ebp - 4], 2
jne 0x41414b
cmp dword [0x435d58], ebx
jne 0x41414b
push 0x4339f0
lea ecx, [ebp - 0x108]
call fcn.0041283b
test al, al
jne 0x41417d
push dword [esi + 0x37a0]
lea ecx, [ebp - 0x108]
call fcn.00412810
cmp byte [ebp - 0x100], bl
je 0x41417d
or dword [0x435d54], 0xffffffff
jmp 0x414169
push 0x4339f0
lea ecx, [ebp - 0x108]
call fcn.0041283b
test al, al
jne 0x41417d
mov dword [0x435d54], 0x4b9
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.004127cf
jmp 0x41434f
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 1
call fcn.004127cf
mov ecx, esi
call fcn.00413ced
test eax, eax
je 0x4144d3
cmp dword [0x435d5c], ebx
jne 0x414260
cmp dword [esi + 0x14b4], ebx
jne 0x414260
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x507]
mov byte [ebp - 0x508], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
push dword [0x43549c]
call fcn.00414e52
test eax, eax
jne 0x41423c
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
push ebx
call fcn.00414e52
test eax, eax
jne 0x41423c
mov ecx, esi
call fcn.0041472a
test eax, eax
je 0x414215
push 1
push ebx
push ebx
push ebx
push dword [0x42970c]
mov ecx, esi
call fcn.00414a6c
jmp 0x414238
push dword [0x42970c]
lea eax, [ebp - 0x508]
push 0x435954
push eax
call fcn.00416d15
lea eax, [ebp - 0x508]
push eax
call fcn.00416eba
test eax, eax
je 0x414260
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.00401087
cmp eax, ebx
jne 0x414260
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00414f67
mov dword [ebp - 0x10], eax
jmp 0x414263
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push dword [0x43549c]
call fcn.0041747a
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
jne 0x4142b6
lea eax, [ebp - 0x60c]
push eax
push dword [0x43549c]
call fcn.004176e6
pop ecx
mov eax, 0x4b8
pop ecx
mov dword [0x435d54], eax
lea ecx, [ebp - 0x60c]
push ecx
push eax
call fcn.004164c8
pop ecx
pop ecx
jmp 0x41434f
lea edi, [esi + 0xcac]
push 0x400
push ebx
push edi
call fcn.0041cbb0
add esp, 0xc
cmp dword [esi + 0x10ac], 1
jbe 0x4143ef
cmp dword [esi + 0x14bc], 5
je 0x4143ef
push 0x400
lea eax, [ebp - 0x508]
push ebx
push eax
call fcn.0041cbb0
lea eax, [ebp - 0x508]
push 0xa
push eax
push dword [esi + 0x14b8]
call fcn.0041e419
push dword [0x42f2f8]
lea eax, [ebp - 0x508]
push eax
call fcn.0041ca70
add esp, 0x20
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
call fcn.00414747
test eax, eax
je 0x414388
lea eax, [ebp - 0x508]
push eax
push 0x432dac
push edi
call fcn.00416d15
mov ecx, esi
call fcn.004149fa
test eax, eax
jne 0x41436d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00404ad1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041262c
xor eax, eax
jmp 0x4144ee
push 1
push edi
push str._LangTransform
mov ecx, esi
call fcn.00414cd7
mov dword [esi + 0xa0], 1
jmp 0x4143ef
cmp byte [esi + 0x3212], bl
je 0x4143b3
lea eax, [ebp - 0x508]
push eax
lea eax, [esi + 0x3213]
push eax
push edi
call fcn.00416d15
push 1
push edi
push str._LangTransform
mov ecx, esi
call fcn.00414cd7
mov ecx, esi
call fcn.004146b9
test al, al
je 0x4143da
mov ecx, esi
call fcn.00414680
test al, al
je 0x4143da
lea eax, [ebp - 0x508]
push edi
push eax
mov ecx, esi
call fcn.004145f9
jmp 0x4143ef
lea eax, [ebp - 0x508]
mov ecx, esi
push eax
call fcn.00413b32
push eax
push edi
call fcn.00416d15
cmp dword [ebp - 0x10], ebx
mov edi, 0x3e8
jne 0x41444b
lea eax, [ebp - 0x710]
push 0x104
push eax
push 0x3e9
push dword [0x429714]
lea ecx, [esi + 0x3318]
push dword [0x429708]
call fcn.0040545b
push 4
mov edi, eax
call fcn.0041c6a8
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x41443f
mov ecx, eax
call fcn.00409d8c
jmp 0x414441
xor eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x3368], eax
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x3368]
push edi
push esi
push dword [esi + 0x37a0]
call fcn.00409db8
lea eax, [ebp - 0xb10]
push 0x400
push eax
push 0x44e
call fcn.004165a8
add esp, 0xc
lea eax, [ebp - 0xb10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4144c2
mov edi, 0x42e224
lea eax, [ebp - 0xb10]
push edi
push eax
call fcn.0041e090
pop ecx
cmp eax, ebx
pop ecx
je 0x4144c2
inc eax
inc eax
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4144c2
push edi
push dword [ebp - 0x10]
call fcn.0041e090
pop ecx
cmp eax, ebx
pop ecx
jne 0x4144fd
mov eax, 0x486
push eax
mov dword [0x435d54], eax
call fcn.004164c8
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00404ad1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041262c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x94]
push eax
push 1
call fcn.00417778
pop ecx
lea eax, [ebp - 0x94]
pop ecx
push eax
lea eax, [esi + 0x4ac]
push eax
lea eax, [ebp - 0xb10]
push eax
lea eax, [ebp - 0xf10]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xf10]
mov ecx, esi
push eax
call fcn.00414707
mov ecx, dword [esi + 0x3368]
mov edi, 0x3e8
push edi
call fcn.0040a095
test eax, eax
je 0x414568
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00404ad1
push 1
pop esi
jmp 0x4144e0
push 0x44f
mov ecx, esi
call fcn.004146e2
mov ecx, esi
call fcn.00414c9b
test eax, eax
je 0x4144d3
mov ecx, dword [esi + 0x3368]
push edi
call fcn.0040a095
test eax, eax
jne 0x414555
push esi
push 0x451
lea ecx, [ebp - 0x7c]
call fcn.0040b3ae
mov ecx, dword [esi + 0x3368]
push edi
mov byte [ebp - 4], 4
call fcn.0040a095
test eax, eax
jne 0x4145e8
cmp dword [0x434a6c], ebx
jne 0x4145e8
lea ecx, [ebp - 0x7c]
call fcn.0040c6c0
test eax, eax
jne 0x4145da
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.0040b403
jmp 0x4144d3
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x37ac], eax
call fcn.00409e1f
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.0040b403
jmp 0x414555