Function at 0x422740
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b87e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5e2500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x30]
call fcn.00401fd0
mov dword [ebp - 4], 0
push str.ValidatePathAndSpaceAvailable
lea ecx, [ebp - 0x34]
call fcn.00404670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401fd0
mov byte [ebp - 4], 2
push 0x585f0c
lea ecx, [ebp - 0x14]
call fcn.00404670
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.Validating_the_Extract_path_:__s
lea ecx, [ebp - 0x34]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
lea ecx, [ebp - 0x20]
call fcn.00401fd0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x6c]
add ecx, 0x1c
call fcn.004018f0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x20]
call fcn.004025f0
push eax
push 0x585f54
push str.ExtractPathMaxLength
push 0x585f84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00401cf0
mov dword [ebp - 0x10], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea edx, [ebp - 0x20]
push edx
call fcn.004025c0
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x5e3e60
call fcn.0042f3b0
mov ecx, dword [ebp + 8]
call fcn.00402df0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403d00
mov ecx, dword [ebp + 8]
call fcn.00403640
push eax
mov ecx, dword [ebp + 8]
call fcn.00403d00
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004025c0
mov byte [ebp - 4], 5
push 0x585f94
mov ecx, dword [ebp + 8]
call fcn.00403fc0
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x5e3e60
call fcn.004312c0
lea ecx, [ebp - 0x28]
call fcn.00401ce0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, 1
cmp dword [ebp - 0x24], eax
jge 0x4229dd
lea ecx, [ebp - 0x3c]
call fcn.00401fd0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
push 0x585f98
lea ecx, [ebp - 0x28]
call fcn.00401eb0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x4229cc
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.004030d0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00403d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.00402000
lea ecx, [ebp - 0x3c]
call fcn.00403640
push 0
push 0x585f9c
lea ecx, [ebp - 0x3c]
call fcn.00401eb0
test eax, eax
jne 0x422987
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00402f10
lea ecx, [ebp - 0x3c]
call fcn.00402df0
lea edx, [ebp - 0x3c]
push edx
push 0x585fa0
lea eax, [ebp - 0x50]
push eax
call fcn.0041bfd0
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00402000
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.004037c0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403d00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call fcn.00402000
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00402000
jmp 0x4228a2
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov edx, dword [ebp + 8]
push edx
call fcn.004025c0
mov dword [ebp - 0x8c], eax
mov ecx, 0x5e3e60
call fcn.00433e00
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x422a4a
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.004025c0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.004232d0
mov dword [ebp - 0x38], 0xffffffff
jmp 0x422bd9
cmp dword [ebp - 0x10], 0
je 0x422ab6
mov ecx, dword [ebp + 8]
call fcn.00401ce0
cmp eax, dword [ebp - 0x10]
jle 0x422ab6
mov ecx, dword [ebp - 0x20]
push ecx
push str.Extract_path_length_exceeded._Maximum_path_length_is_:__s
lea ecx, [ebp - 0x34]
call fcn.004018f0
push eax
push 0
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov dword [ebp - 0x2c], 0xce
mov edx, dword [ebp + 0xc]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
mov eax, dword [ebp + 8]
push eax
call fcn.004025c0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.004232d0
mov dword [ebp - 0x38], 0xffffffff
jmp 0x422bd9
lea ecx, [ebp - 0x44]
call fcn.00401fd0
mov byte [ebp - 4], 0xa
push 0
push 0x400
lea ecx, [ebp - 0x44]
call fcn.004025f0
push eax
push 0x400
mov ecx, dword [ebp + 8]
call fcn.004018f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call fcn.00401cf0
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403d00
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str.Checking_the_space_availability_in_:__s
lea ecx, [ebp - 0x34]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004025c0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.00422c40
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x422b7c
cmp dword [ebp + 0xc], 1
jne 0x422b73
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.004018f0
push eax
call fcn.0045148c
mov dword [ebp - 0x38], 0xffffffff
jmp 0x422bcd
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x5e3e60
call fcn.004312c0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.00403d00
mov eax, dword [ebp - 0x6c]
add eax, 8
push eax
mov ecx, 0x5e3c90
call fcn.0042a870
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0x585fa4
lea ecx, [ebp - 0x34]
call fcn.004018f0
push eax
push 8
push 0x5e3e78
call fcn.0042b490
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.00402000
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00402000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402000
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00402000
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00402000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402000
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10