Function at 0x4029e0
Capabilities:
Create directory
Get disk size
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42d9ad
push eax
mov dword fs:[0], esp
sub esp, 0x2b0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x9bc]
lea edi, [esi + 0x9bc]
mov ecx, edi
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.0041e912
push eax
mov ecx, esi
call fcn.004069a0
cmp eax, 1
jne 0x402a8e
push eax
push 0x5c
lea ecx, [esp + 0x3c]
call fcn.0041b612
lea ecx, [esp + 0x40]
push 1
push ecx
mov ecx, edi
mov dword [esp + 0x2d0], 0
call fcn.0041b6ff
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
push edx
push eax
call fcn.0040d7a5
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne bl
call fcn.0041e52e
or ebp, 0xffffffff
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c8], ebp
call fcn.0041e52e
test bl, bl
je 0x402a9d
push 0x43a10c
mov ecx, edi
call fcn.0041e8be
jmp 0x402a9d
push 0x43a10c
mov ecx, edi
call fcn.0041e8be
or ebp, 0xffffffff
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebp
jne 0x402ced
mov eax, dword [esp + 0x2d0]
test eax, eax
je 0x402b1e
push str.MAKE_FOLDER_CONF
lea eax, [esp + 0x24]
push str.INSTALL
push eax
mov ecx, esi
call fcn.00402890
mov edi, dword [esi + 0x50]
mov dword [esp + 0x2c8], 1
call fcn.0042ba6e
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push 0x24
push edi
mov edx, dword [eax + 0x1c]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
mov dword [esp + 0x2c8], ebp
lea ecx, [esp + 0x20]
je 0x402b19
call fcn.0041e52e
mov eax, 1
jmp 0x403565
call fcn.0041e52e
mov ebx, 1
mov dword [esp + 0x40], ebx
lea eax, [esi + 0x9bc]
lea ecx, [esp + 0x20]
push eax
call fcn.0041e2a3
push 0x43a2b4
lea ecx, [esp + 0x24]
mov dword [esp + 0x2cc], 2
call fcn.0041b7f3
mov edi, eax
cmp edi, ebp
je 0x402ca9
add edi, 2
lea ecx, [esp + 0x38]
push edi
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], edi
call fcn.0041b646
test ebx, ebx
mov byte [esp + 0x2c8], 3
jle 0x402c18
mov eax, dword [esp + 0x38]
xor edi, edi
mov ebp, dword [eax - 8]
test ebp, ebp
jle 0x402c12
mov dl, byte [eax + edi]
mov byte [esp + 0x3c], dl
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
cmp eax, 1
mov eax, dword [esp + 0x38]
jne 0x402bb1
add edi, 2
jmp 0x402bb8
cmp byte [eax + edi], 0x5c
je 0x402bbe
inc edi
cmp edi, ebp
jge 0x402c12
jmp 0x402b91
cmp edi, ebp
jge 0x402c12
cmp edi, 0xffffffff
je 0x402c15
mov edx, dword [esp + 0x34]
inc edi
lea ecx, [esp + 0x48]
push edi
add edx, edi
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], edx
call fcn.0041b646
lea edx, [esp + 0x48]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x2cc], 4
call fcn.0041e61b
lea ecx, [esp + 0x48]
mov byte [esp + 0x2c8], 3
call fcn.0041e52e
dec ebx
test ebx, ebx
jle 0x402c15
jmp 0x402b80
or edi, 0xffffffff
or ebp, 0xffffffff
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c8], 2
call fcn.0041e52e
cmp edi, ebp
je 0x402ca9
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x18]
dec eax
push eax
push ecx
lea ecx, [esi + 0x9bc]
call fcn.0041b77b
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x2cc], 5
call fcn.0041e61b
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 2
call fcn.0041e52e
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, ebp
jne 0x402ca9
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x402ccb
call fcn.0042ba6e
mov ebp, dword [eax + 4]
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041e2a3
mov ecx, ebp
call fcn.00401500
or ebp, 0xffffffff
mov ebx, dword [esp + 0x40]
lea ecx, [esp + 0x20]
inc ebx
mov dword [esp + 0x2c8], ebp
mov dword [esp + 0x40], ebx
call fcn.0041e52e
cmp edi, ebp
je 0x402ced
jmp 0x402b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x2100
mov ecx, esi
call fcn.00406500
mov dword [esp + 0x2c8], ebp
lea ecx, [esp + 0x20]
jmp 0x40355e
mov eax, dword [esi + 0xa00]
mov edi, 1
cmp eax, edi
jne 0x402d13
mov ecx, esi
call fcn.00407570
test eax, eax
jne 0x402d13
mov ecx, esi
call fcn.00406810
jmp 0x403563
mov dword [esi + 0xcd54], 0
mov eax, dword [0x43ab24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c8], 6
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c8], 8
mov bl, 0xa
cmp edi, 1
jne 0x402d5c
lea eax, [esp + 0x14]
push str.DATA_PATH
push eax
call fcn.0041bb34
add esp, 8
jmp 0x402d6f
push edi
lea ecx, [esp + 0x18]
push str.DATA_PATH_d
push ecx
call fcn.0041bb34
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov eax, dword [edx - 8]
push eax
call fcn.0041e912
push eax
lea eax, [esp + 0x1c]
push str.INSTALL
push eax
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2cc], 9
call fcn.0041e61b
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], 8
call fcn.0041e52e
mov ecx, dword [esp + 0x24]
push 0x43c424
push ecx
call fcn.0040d7a5
add esp, 8
test eax, eax
je 0x402e7b
lea edx, [esp + 0x24]
lea eax, [esp + 0x40]
push edx
push 0x43a150
push eax
call fcn.0041e7eb
push str..
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x2d4], bl
call fcn.0041e777
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2cc], 0xb
call fcn.0041e61b
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c8], bl
call fcn.0041e52e
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c8], 8
call fcn.0041e52e
mov eax, dword [esi + 0xcd54]
lea edx, [esp + 0x64]
shl eax, 4
push edx
lea edx, [esp + 0x2c]
lea ecx, [eax + esi + 0xcd58]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
call fcn.0041e2a3
mov ecx, esi
call fcn.004036b0
cmp eax, ebp
je 0x402f3c
mov edx, dword [esi + 0xcd54]
add edx, eax
inc edi
cmp edi, 5
mov dword [esi + 0xcd54], edx
jle 0x402d43
push str.UNINSTALL_FILE
lea eax, [esp + 0x30]
push str.UNINSTALL
push eax
mov ecx, esi
call fcn.00402890
mov edx, dword [esi + 0xcd54]
lea ecx, [esp + 0x2c]
shl edx, 4
push ecx
mov byte [esp + 0x2cc], 0xc
lea ecx, [edx + esi + 0xcd58]
call fcn.0041e61b
mov eax, dword [0x43ab24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x7c]
mov byte [esp + 0x2c8], 0xe
push eax
push ecx
call edi
cmp eax, ebp
jne 0x402fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x402f01
mov ecx, esi
call fcn.00407af0
cmp edi, 2
jne 0x402f5c
push str.ERR_MES_FILE_NOT_EXIST
lea edx, [esp + 0x1c]
push str.ERROR
push edx
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0xf
call fcn.0041e61b
mov byte [esp + 0x2c8], 0xe
lea ecx, [esp + 0x18]
jmp 0x402f90
mov ecx, esi
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x403531
mov ecx, esi
call fcn.00407af0
jmp 0x403531
push str.ERR_MES_ERROR_OCCURRED
lea eax, [esp + 0x1c]
push str.ERROR
push eax
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x10
call fcn.0041e61b
mov byte [esp + 0x2c8], 0xe
lea ecx, [esp + 0x18]
call fcn.0041e52e
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0041e2a3
mov ecx, esi
call fcn.004068b0
jmp 0x4034fe
mov eax, dword [esi + 0xcd54]
mov ecx, dword [esp + 0x7c]
shl eax, 4
push str.docsetup.eif
mov dword [eax + esi + 0xcd5c], ecx
mov edx, dword [esi + 0xcd54]
mov eax, dword [esp + 0x9c]
add edx, 0xcd6
shl edx, 4
mov dword [edx + esi], eax
mov ecx, dword [esi + 0xcd54]
mov edx, dword [esp + 0xa0]
shl ecx, 4
mov dword [ecx + esi + 0xcd64], edx
mov eax, dword [esi + 0xcd54]
inc eax
mov dword [esi + 0xcd54], eax
shl eax, 4
lea ecx, [eax + esi + 0xcd58]
call fcn.0041e66b
mov eax, dword [esi + 0xcd54]
lea ecx, [esp + 0x7c]
shl eax, 4
push ecx
mov eax, dword [eax + esi + 0xcd58]
push eax
call edi
cmp eax, ebp
jne 0x4030e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x403056
mov ecx, esi
call fcn.00407af0
cmp edi, 2
jne 0x403091
push str.ERR_MES_FILE_NOT_EXIST
lea edx, [esp + 0x1c]
push str.ERROR
push edx
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x11
call fcn.0041e61b
mov byte [esp + 0x2c8], 0xe
lea ecx, [esp + 0x18]
jmp 0x4030c5
push str.ERR_MES_ERROR_OCCURRED
lea eax, [esp + 0x1c]
push str.ERROR
push eax
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x12
call fcn.0041e61b
mov byte [esp + 0x2c8], 0xe
lea ecx, [esp + 0x18]
call fcn.0041e52e
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0041e2a3
mov ecx, esi
call fcn.004068b0
jmp 0x4034fe
mov eax, dword [esi + 0xcd54]
mov ecx, dword [esp + 0x7c]
shl eax, 4
push str.ICON_NAME
push str.INSTALL
mov dword [eax + esi + 0xcd5c], ecx
mov edx, dword [esi + 0xcd54]
mov eax, dword [esp + 0xa0]
add edx, 0xcd6
shl edx, 4
mov dword [edx + esi], eax
mov ecx, dword [esi + 0xcd54]
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x4c]
shl ecx, 4
push eax
mov dword [ecx + esi + 0xcd64], edx
mov edx, dword [esi + 0xcd54]
inc edx
mov ecx, esi
mov dword [esi + 0xcd54], edx
call fcn.00402890
mov edx, dword [esi + 0xcd54]
lea ecx, [esp + 0x44]
shl edx, 4
mov bl, 0x13
push ecx
lea ecx, [edx + esi + 0xcd58]
mov byte [esp + 0x2cc], bl
call fcn.0041e61b
mov eax, dword [esi + 0xcd54]
lea ecx, [esp + 0x7c]
shl eax, 4
push ecx
mov eax, dword [eax + esi + 0xcd58]
push eax
call edi
cmp eax, ebp
jne 0x403233
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x4031b0
mov ecx, esi
call fcn.00407af0
cmp edi, 2
jne 0x4031ea
push str.ERR_MES_FILE_NOT_EXIST
lea edx, [esp + 0x1c]
push str.ERROR
push edx
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x14
call fcn.0041e61b
mov byte [esp + 0x2c8], bl
lea ecx, [esp + 0x18]
jmp 0x40321d
push str.ERR_MES_ERROR_OCCURRED
lea eax, [esp + 0x1c]
push str.ERROR
push eax
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x15
call fcn.0041e61b
mov byte [esp + 0x2c8], bl
lea ecx, [esp + 0x18]
call fcn.0041e52e
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
jmp 0x4034e1
mov eax, dword [esi + 0xcd54]
mov ecx, dword [esp + 0x7c]
shl eax, 4
mov dword [eax + esi + 0xcd5c], ecx
mov edx, dword [esi + 0xcd54]
mov eax, dword [esp + 0x98]
add edx, 0xcd6
shl edx, 4
mov dword [edx + esi], eax
mov ecx, dword [esi + 0xcd54]
mov edx, dword [esp + 0x9c]
xor eax, eax
shl ecx, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [ecx + esi + 0xcd64], edx
mov edx, dword [esi + 0xcd54]
inc edx
mov edi, edx
mov dword [esi + 0xcd54], edx
cmp edi, eax
jle 0x4032c9
lea edx, [esi + 0xcd64]
mov eax, dword [edx - 4]
mov ebx, dword [edx]
shl eax, 0x20
xor ecx, ecx
xor ebp, ebp
add eax, ebx
mov ebx, dword [esp + 0x1c]
adc ecx, ebp
mov ebp, dword [esp + 0x18]
add ebp, eax
adc ebx, ecx
add edx, 0x10
dec edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
jne 0x40329a
mov bl, 0x13
or ebp, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [esi + 0x9bc]
push 0
push 0
test edi, edi
push 0
je 0x40336a
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.0040dc6f
push 0
push 0
lea edx, [esp + 0x68]
push 0x43a10c
lea eax, [esp + 0x1dc]
push edx
push eax
call fcn.0040dbde
add esp, 0x28
lea ecx, [esp + 0x74]
lea edx, [esp + 0x6c]
lea eax, [esp + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x1c4]
push eax
push ecx
call edi
test eax, eax
jne 0x403360
mov ecx, esi
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x40334f
mov ecx, esi
call fcn.00407af0
push 0x2ff0
mov ecx, esi
call fcn.00406500
jmp 0x4034ed
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
jmp 0x4033d3
lea edx, [esp + 0x44]
push edx
push eax
call fcn.0040dc6f
push 0
push 0
lea eax, [esp + 0x54]
push 0x43a10c
lea ecx, [esp + 0x1dc]
push eax
push ecx
call fcn.0040dbde
add esp, 0x28
lea edx, [esp + 0x68]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x1c8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x403486
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mul dword [esp + 0x58]
push 0
push ecx
push edx
push eax
call fcn.0040ddc0
cmp edx, dword [esp + 0x1c]
ja 0x403409
jb 0x4033e1
cmp eax, dword [esp + 0x18]
ja 0x403409
mov ecx, esi
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x4033f8
mov ecx, esi
call fcn.00407af0
push 0x2120
mov ecx, esi
call fcn.00406500
jmp 0x4034ed
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 0xe
call fcn.0041e52e
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c8], 0xd
call fcn.0041e52e
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c8], 0xc
call fcn.0041e52e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 8
call fcn.0041e52e
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c8], 7
call fcn.0041e52e
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c8], 6
call fcn.0041e52e
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c8], ebp
call fcn.0041e52e
xor eax, eax
jmp 0x403565
mov ecx, esi
call fcn.00406810
cmp dword [esi + 0xa00], 1
jne 0x40349d
mov ecx, esi
call fcn.00407af0
push str.ERR_MES_ERROR_OCCURRED
lea edx, [esp + 0x1c]
push str.ERROR
push edx
mov ecx, esi
call fcn.00402890
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2cc], 0x16
call fcn.0041e61b
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c8], bl
call fcn.0041e52e
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0041e2a3
mov ecx, esi
call fcn.004068b0
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 0xe
call fcn.0041e52e
lea ecx, [esp + 0x30]
mov byte [esp + 0x2c8], 0xd
call fcn.0041e52e
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c8], 0xc
call fcn.0041e52e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c8], 8
call fcn.0041e52e
lea ecx, [esp + 0x28]
mov byte [esp + 0x2c8], 7
call fcn.0041e52e
lea ecx, [esp + 0x24]
mov byte [esp + 0x2c8], 6
call fcn.0041e52e
mov dword [esp + 0x2c8], ebp
lea ecx, [esp + 0x14]
call fcn.0041e52e
mov eax, ebp
mov ecx, dword [esp + 0x2c0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2bc
ret 4