Function at 0x4084f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569070
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.ValidateOSBeforeExtraction
lea ecx, [ebp - 0x14]
call fcn.00404670
mov ecx, 0x5e3c90
mov dword [ebp - 4], 0
call fcn.00425db0
test eax, eax
jne 0x4089a0
push eax
mov ecx, 0x5e3e98
call fcn.004360c0
mov ecx, 0x5e3c90
mov dword [edi + 0x224], eax
call fcn.00425ac0
cmp eax, 1
jne 0x4089b8
push 0
push 0
mov ecx, 0x5e3c90
call fcn.00426ef0
push eax
mov eax, dword [edi + 0x224]
push eax
mov ecx, 0x5e3c6c
call fcn.00423ec0
cmp dword [edi + 0x224], 0x12e
jne 0x4085a8
mov ecx, dword [ebp - 0x14]
push str.Current_operating_system_not_supported
push ecx
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
push 0x580060
lea ecx, [ebp - 0x10]
call fcn.00404670
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x5e3c90
mov byte [ebp - 4], 1
call fcn.004261a0
mov esi, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov ebx, 0x400
sub eax, ebx
or eax, ecx
mov byte [ebp - 4], 2
jge 0x4085f2
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], ebx
jge 0x408601
push 0x80070057
call fcn.00401330
push esi
push ebx
push edx
push 0x580060
mov dword [edx - 0xc], ebx
mov ecx, dword [ebp - 0x10]
push 0x580e50
xor eax, eax
push 0x580e40
mov word [ecx + 0x800], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40864b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0054d87f
add esp, 8
test eax, eax
js 0x4085f7
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx - 8]
jg 0x4085f7
mov dword [ecx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
lea eax, [ebp - 0x10]
push eax
push 0x580348
call fcn.00401b00
add esp, 8
test al, al
je 0x40897b
push 0x580060
lea ecx, [ebp - 0x20]
mov dword [edi + 0xd8], 1
call fcn.00404670
cmp dword [edi + 0x224], 0x12e
jne 0x408958
lea ecx, [ebp - 0x18]
call fcn.00401fd0
mov ecx, dword [0x5e3eb4]
mov eax, dword [ecx - 0xc]
mov byte [ebp - 4], 4
test eax, eax
je 0x408709
push 0x5e3eb4
push 0x5803dc
call fcn.00401b00
add esp, 8
test al, al
je 0x4086f1
push 0x5803dc
lea ecx, [ebp - 0x18]
call fcn.00403fc0
jmp 0x408709
mov edx, dword [0x5e3eb4]
push edx
lea eax, [ebp - 0x18]
push str.SP_s
push eax
call fcn.00403430
add esp, 0xc
mov eax, dword [0x5e3e9c]
add eax, 0xfffffff0
push eax
call fcn.00401e40
lea esi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x1c], esi
mov eax, dword [esi - 0xc]
push 2
add eax, 0xfffffffe
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004030d0
push eax
push 0x580e2c
call fcn.00401b00
mov bl, al
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408768
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x408781
push 0x580e1c
push 0x580e2c
lea ecx, [ebp - 0x1c]
call fcn.00402a70
mov esi, dword [ebp - 0x1c]
mov ecx, edi
call fcn.00401560
cmp eax, 0x1fe
jne 0x408948
mov ecx, 0x5e3c6c
call fcn.00423850
push eax
mov ecx, 0x5e3c90
call fcn.00426ed0
mov ecx, 0x5e3c90
call fcn.00426ef0
or dword [0x5dd660], 1
je 0x4087ef
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5e3c90
call fcn.004276d0
push eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], 6
call fcn.00426ef0
push eax
mov ecx, 0x5e3c90
call fcn.004265f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402000
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x5e3c90
call fcn.004276d0
push eax
mov ecx, 0x5e3c90
mov byte [ebp - 4], 7
call fcn.00426ef0
push eax
mov ecx, 0x5e3c90
call fcn.004265f0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402000
mov eax, dword [ebp - 0x14]
push str.Operating_System_will_be_validated_before_extraction
push eax
mov ebx, 8
push ebx
push 0x5e3e78
call fcn.0042b490
mov ecx, dword [ebp - 0x14]
push str.Confirming_from_user_:
push ecx
push ebx
push 0x5e3e78
call fcn.0042b490
add esp, 0x20
push 0x1a2
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x5e3c90
call fcn.00426f10
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x5e3ea0]
push eax
push ecx
push esi
lea edx, [ebp - 0x20]
push str._s__s__s
push edx
mov byte [ebp - 4], bl
call fcn.00403430
lea eax, [ebp - 0x18]
push eax
push 0x5803dc
call fcn.00401b00
add esp, 0x1c
test al, al
je 0x4088d5
push 0x1a6
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x5e3c90
call fcn.00426f10
mov edx, dword [eax]
mov eax, dword [0x5e3ea0]
push edx
push eax
push esi
lea ecx, [ebp - 0x20]
push str._s__s__s
push ecx
mov byte [ebp - 4], 9
call fcn.00403430
add esp, 0x14
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00402000
mov edx, dword [ebp - 0x20]
push edx
push 0x580d58
lea ecx, [ebp - 0x24]
call fcn.00402a70
mov eax, dword [ebp - 0x24]
push 0x30
push 4
push eax
call fcn.0045148c
cmp eax, 7
jne 0x408929
mov ecx, dword [ebp - 0x14]
push str.User_confirmed_to_cancel_the_extraction
push ecx
push ebx
push 0x5e3e78
call fcn.0042b490
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x580060
call fcn.00404670
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
call fcn.00407d10
mov edx, dword [ebp - 0x14]
push str.User_confirmed_to_continue_the_extraction
push edx
push ebx
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00402000
lea ecx, [ebp - 0x1c]
call fcn.00402000
lea ecx, [ebp - 0x18]
call fcn.00402000
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40897b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4089b8
mov ecx, dword [ebp - 0x14]
push str.NoOSCheck_is_set
push ecx
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4089de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret