Function at 0x43f740
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov eax, 0x5c9b08
call fcn.005496a0
mov dword [ebp - 0x40], 3
lea edx, [ebp + 0x18]
lea eax, [ebp + 0x18]
call fcn.00549a1c
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.00549a1c
inc dword [ebp - 0x40]
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00549a1c
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 0x14
mov edx, 0x5c7fca
lea eax, [ebp - 4]
call fcn.005499e4
inc dword [ebp - 0x40]
mov word [ebp - 0x4c], 8
mov word [ebp - 0x4c], 0x20
mov word [ebp - 0x4c], 0x2c
lea eax, [ebp - 0x10]
call fcn.00401fbc
push eax
inc dword [ebp - 0x40]
mov edx, 0x5c7fcb
lea eax, [ebp - 0xc]
call fcn.005499e4
inc dword [ebp - 0x40]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
call fcn.00401fbc
push eax
inc dword [ebp - 0x40]
call fcn.0043cae8
pop ecx
lea eax, [ebp - 8]
pop edx
pop ecx
call fcn.00549c60
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
call fcn.00401fbc
push eax
inc dword [ebp - 0x40]
mov edx, 0x5c7fd1
lea eax, [ebp - 0x14]
call fcn.005499e4
inc dword [ebp - 0x40]
lea edx, [ebp - 0x14]
pop ecx
pop eax
call fcn.00549c60
lea ecx, [ebp - 0x18]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Inifiles_TIniFile_]
call fcn.0043eb44
mov dword [ebp - 0x60], eax
dec dword [ebp - 0x40]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x4c], 0x38
mov edx, 0x5c7fde
lea eax, [ebp - 0x1c]
call fcn.005499e4
inc dword [ebp - 0x40]
push dword [eax]
lea eax, [ebp - 0x20]
call fcn.00401fbc
push eax
inc dword [ebp - 0x40]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
call dword [ebx]
lea edx, [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00549c38
dec dword [ebp - 0x40]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x4c], 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x43f90b
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov word [ebp - 0x4c], 0x50
mov edx, 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x4c], 0x44
cmp word [ebp - 0x4a], 0
je 0x43f913
ret
lea eax, [ebp - 4]
call fcn.004053e4
test al, al
je 0x43fa5d
lea edx, [ebp + 0x18]
lea eax, [ebp - 4]
call fcn.00549c38
call sub.kernel32.dll_GetVersion
mov dword [ebp - 0x64], eax
mov word [ebp - 0x4c], 8
mov dl, byte [ebp - 0x64]
and dl, 0xff
xor ecx, ecx
mov cl, dl
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 6
jae 0x43fa5d
lea eax, [ebp + 0x14]
push eax
lea edx, [ebp + 0x10]
push edx
push dword [ebp + 0xc]
call fcn.0043f35c
add esp, 0xc
test al, al
je 0x43fa5d
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Registry_TRegistry_]
call sub.rtl60.bpl__Registry_TRegistry__bctr_qqrv
mov dword [ebp - 0x6c], eax
call fcn.0043d4ec
mov edx, eax
mov eax, dword [ebp - 0x6c]
call fcn.00549950
mov ecx, dword [ebp - 0x6c]
mov byte [ecx + 0xc], 1
mov word [ebp - 0x4c], 0x5c
lea eax, [ebp - 0x2c]
call fcn.00401fbc
push eax
inc dword [ebp - 0x40]
call fcn.0043d4f8
pop ecx
lea edx, [ebp - 0x2c]
mov edx, dword [edx]
mov cl, 1
mov eax, dword [ebp - 0x6c]
call sub.rtl60.bpl__Registry_TRegistry_OpenKey_qqrx17System_AnsiStringo
dec dword [ebp - 0x40]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x4c], 0x68
mov word [ebp - 0x4c], 0x74
lea eax, [ebp - 0x30]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x40]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x6c]
call sub.rtl60.bpl__Registry_TRegistry_ReadString_qqrx17System_AnsiString
lea edx, [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.00549c38
dec dword [ebp - 0x40]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00549c08
push dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0043fd94
add esp, 0x10
mov word [ebp - 0x4c], 8
jmp 0x43fa30
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
je 0x43fa5d
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov word [ebp - 0x4c], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x4c], pe_nt_image_headers32
mov word [ebp - 0x4c], 0x98
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.00549c38
mov eax, dword [ebp + 8]
mov word [ebp - 0x4c], 0xa4
push eax
dec dword [ebp - 0x40]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x40]
lea eax, [ebp + 0x18]
mov edx, 2
call fcn.00549c08
pop eax
mov word [ebp - 0x4c], 0x98
inc dword [ebp - 0x40]
mov edx, dword [ebp - 0x5c]
mov dword fs:[0], edx
mov edi, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
mov esp, ebp
pop ebp
ret