Function at 0x402600
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43ea7c
mov eax, dword fs:[0]
push eax
sub esp, 0xbb4
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0xbb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0xbc8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
call fcn.004133f1
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40265d
push 0x80004005
call fcn.00409d60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x208
lea ecx, [esp + 0x6b8]
push ebx
push ecx
mov dword [esp + 0xbdc], ebx
call fcn.00424c40
lea edx, [esp + 0x6c0]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x402695
lea eax, [esp + 0x6b4]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4026a7
mov edx, dword [str.ldcab.ini]
mov ecx, dword [0x447890]
mov dword [eax], edx
mov dx, word [0x447894]
mov dword [eax + 4], ecx
mov cl, byte [0x447896]
mov word [eax + 8], dx
lea edx, [esp + 0x6b4]
push edx
push ebx
push str.FileTotal
push str.CabFile
mov byte [eax + 0xa], cl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
lea eax, [esp + 0x1c]
push str.DoUDiskCompress_FileTotal__d_
push eax
mov dword [esp + 0x40], esi
call fcn.00409670
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
push ecx
push 0x453d09
call fcn.0040d390
push 0x208
lea edx, [esp + 0x9c0]
push ebx
push edx
call fcn.00424c40
add esp, 0xc
lea eax, [esp + 0x6b4]
push eax
push 0x208
lea ecx, [esp + 0x9c4]
push ecx
push 0x448368
push str.DstPath
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x9bc]
push edx
lea eax, [esp + 0x1c]
push str.DoUDiskCompress_DstPath__s_
push eax
call fcn.00409670
mov edi, dword [esp + 0x24]
add esp, 0xc
push ebx
push edi
push 0x453d09
call fcn.0040d390
cmp esi, 1
mov dword [esp + 0x28], 1
jl 0x402b7b
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x248]
push str.File__d
push edx
call fcn.004217fd
add esp, 0xc
push 0x208
lea eax, [esp + 0x3b0]
push ebx
push eax
call fcn.00424c40
add esp, 0xc
lea ecx, [esp + 0x6b4]
push ecx
push 0x208
lea edx, [esp + 0x3b4]
push edx
push 0x448368
push str.SrcFilePath
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x208
lea ecx, [esp + 0x40]
push ebx
push ecx
call fcn.00424c40
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x9bc]
mov byte [esp + eax + 0x3c], cl
inc eax
cmp cl, bl
jne 0x402803
lea edi, [esp + 0x3c]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x402818
mov dx, word [0x4478d8]
lea eax, [esp + 0x3ac]
push eax
lea ecx, [esp + 0x30]
mov word [edi], dx
call fcn.004098c0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xbd4], 1
call fcn.0040a5c0
mov eax, dword [eax]
add esp, 4
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402858
lea edi, [esp + 0x3c]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x402868
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x38]
and ecx, 3
add eax, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40289e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbd0], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x100
xor eax, eax
lea ecx, [esp + 0x5b8]
push ebx
push ecx
mov word [esp + 0x28], ax
mov byte [esp + 0x2a], al
call fcn.00424c40
add esp, 0xc
push 0x100
lea edx, [esp + 0x8c0]
push ebx
push edx
call fcn.00424c40
add esp, 0xc
push 0x100
lea eax, [esp + 0x2b0]
push ebx
push eax
call fcn.00424c40
add esp, 0xc
lea ecx, [esp + 0x2ac]
push ecx
lea edx, [esp + 0x8c0]
push edx
lea eax, [esp + 0x5bc]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00422057
add esp, 0x14
call fcn.004133f1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x402653
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xbd0], 2
call fcn.004133f1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x402653
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push ebx
push 0x448368
lea ecx, [esp + 0x28]
mov byte [esp + 0xbd8], 3
call fcn.00409c70
lea eax, [esp + 0x2ac]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4029b0
sub eax, ecx
push eax
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00409c70
push 0x447920
lea edx, [esp + 0x28]
push edx
call fcn.00408da0
mov ebp, dword [esp + 0x24]
push 0x448368
push ebp
call fcn.00422dad
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x402a1f
push ebp
lea eax, [esp + 0x8c0]
push eax
lea ecx, [esp + 0x5bc]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push str._s_s_s__s_
push eax
call fcn.00409670
add esp, 0x18
jmp 0x402a3e
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402a26
sub eax, edx
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.00409c70
push 0x208
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00424c40
mov esi, dword [esp + 0x2c]
mov eax, dword [esi - 0xc]
add esp, 0xc
push eax
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00429730
lea eax, [esp + 0x48]
add esp, 0xc
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x402a70
mov ecx, dword [str..Ldu]
mov dl, byte [0x447934]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esi - 0xc]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push str.DoUDiskCompress_szDstFile__s__Length__d_
push ecx
call fcn.00409670
mov edi, dword [esp + 0x28]
add esp, 0x10
push ebx
push edi
push 0x453d09
call fcn.0040d390
lea edx, [esp + 0x3ac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x402b08
lea eax, [esp + 0x3ac]
push eax
lea ecx, [esp + 0x1c]
push str.DoUDiskCompress_PathIsDirectory__s_
push ecx
call fcn.00409670
mov edi, dword [esp + 0x24]
add esp, 0xc
push ebx
push edi
push 0x453d09
call fcn.0040d390
mov edx, dword [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3b4]
call fcn.00403220
jmp 0x402b1e
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x3b4]
call fcn.00402eb0
lea eax, [ebp - 0x10]
add esp, 8
mov byte [esp + 0xbd0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xbd0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
inc eax
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
jle 0x402791
lea eax, [edi - 0x10]
mov dword [esp + 0xbd0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xbc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbb0]
xor ecx, esp
call fcn.0042179d
add esp, 0xbc0
ret