Function at 0x408360
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43b37c
mov eax, dword fs:[0]
push eax
sub esp, 0xaa8
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0xaa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
xor eax, esp
push eax
lea eax, [esp + 0xabc]
mov dword fs:[0], eax
mov esi, dword [esp + 0xacc]
mov dword [esp + 0x2c], esi
call fcn.00411c35
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4083c2
push 0x80004005
call fcn.004011d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x104
lea ecx, [esp + 0x244]
push ebx
push ecx
mov dword [esp + 0xad0], ebx
call fcn.00420a40
lea edx, [esp + 0x24c]
add esp, 0xc
mov eax, esi
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x408400
lea eax, [esp + 0x240]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x408412
mov edx, dword [str.ldcab.ini]
mov ecx, dword [0x43db6c]
mov dword [eax], edx
mov dx, word [0x43db70]
mov dword [eax + 4], ecx
mov cl, byte [0x43db72]
mov word [eax + 8], dx
lea edx, [esp + 0x240]
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 + 0x18]
push str.DoUDiskCompress_FileTotal__d_
push eax
mov dword [esp + 0x3c], esi
call fcn.00401f40
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ebx
push ecx
mov ecx, 0x44d3c9
call fcn.0040bc50
push 0x208
lea edx, [esp + 0x8b4]
push ebx
push edx
call fcn.00420a40
add esp, 0xc
lea eax, [esp + 0x240]
push eax
push 0x208
lea ecx, [esp + 0x8b8]
push ecx
push 0x43d840
push str.DstPath
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x8b0]
push edx
lea eax, [esp + 0x18]
push str.DoUDiskCompress_DstPath__s_
push eax
call fcn.00401f40
mov edi, dword [esp + 0x20]
add esp, 0xc
push ebx
push edi
mov ecx, 0x44d3c9
call fcn.0040bc50
cmp esi, 1
mov dword [esp + 0x24], 1
jl 0x4088e0
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x348]
push str.File__d
push edx
call fcn.00420ba5
push 0x208
lea eax, [esp + 0x4b8]
push ebx
push eax
call fcn.00420a40
add esp, 0x18
lea ecx, [esp + 0x240]
push ecx
push 0x208
lea edx, [esp + 0x4b0]
push edx
push 0x43d840
push str.SrcFilePath
lea eax, [esp + 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x208
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00420a40
add esp, 0xc
xor eax, eax
jmp 0x408570
mov cl, byte [esp + eax + 0x8b0]
mov byte [esp + eax + 0x38], cl
inc eax
cmp cl, bl
jne 0x408570
lea edi, [esp + 0x38]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x408585
mov dx, word [0x43d584]
lea eax, [esp + 0x4a8]
push eax
lea ecx, [esp + 0x2c]
mov word [edi], dx
call fcn.00402d40
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0xacc], 1
call fcn.00409220
mov eax, dword [eax]
add esp, 8
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4085c6
lea edi, [esp + 0x38]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4085d6
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x34]
and ecx, 3
add eax, 0xfffffff0
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40860c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0xac4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408633
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push pe_nt_image_headers32
xor eax, eax
lea ecx, [esp + 0x6b4]
push ebx
push ecx
mov word [esp + 0x24], ax
mov byte [esp + 0x26], al
call fcn.00420a40
push pe_nt_image_headers32
lea edx, [esp + 0x7c0]
push ebx
push edx
call fcn.00420a40
push pe_nt_image_headers32
lea eax, [esp + 0x3c4]
push ebx
push eax
call fcn.00420a40
lea ecx, [esp + 0x3cc]
push ecx
lea edx, [esp + 0x7d8]
push edx
lea eax, [esp + 0x6dc]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00421327
add esp, 0x38
call fcn.00411c35
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4083b8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xac4], 2
call fcn.00411c35
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x4083b8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebx
push 0x43d840
lea ecx, [esp + 0x24]
mov byte [esp + 0xacc], 3
call fcn.00401960
lea eax, [esp + 0x3a8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x408712
sub eax, ecx
push eax
lea ecx, [esp + 0x3ac]
push ecx
lea ecx, [esp + 0x28]
call fcn.00401960
push 0x43d840
push 0x43dbe0
lea ecx, [esp + 0x28]
call fcn.00401a70
mov ebp, dword [esp + 0x20]
push 0x43d840
push ebp
call fcn.0041fc9b
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x408785
push ebp
lea edx, [esp + 0x7b4]
push edx
lea eax, [esp + 0x6b8]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push str._s_s_s__s_
push edx
call fcn.00401f40
add esp, 0x18
jmp 0x4087a8
lea eax, [esp + 0x38]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x408790
sub eax, edx
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
call fcn.00401960
push 0x208
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00420a40
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
push eax
lea edx, [esp + 0x48]
push esi
push edx
call fcn.00420dd0
lea eax, [esp + 0x50]
add esp, 0x18
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x4087d3
mov ecx, dword [str..Ldu]
mov dl, byte [0x43dbd0]
mov dword [eax], ecx
mov byte [eax + 4], dl
mov eax, dword [esi - 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push str.DoUDiskCompress_szDstFile__s__Length__d_
push ecx
call fcn.00401f40
mov edi, dword [esp + 0x24]
add esp, 0x10
push ebx
push edi
mov ecx, 0x44d3c9
call fcn.0040bc50
lea edx, [esp + 0x4a8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x40886c
lea eax, [esp + 0x4a8]
push eax
lea ecx, [esp + 0x18]
push str.DoUDiskCompress_PathIsDirectory__s_
push ecx
call fcn.00401f40
mov edi, dword [esp + 0x20]
add esp, 0xc
push ebx
push edi
mov ecx, 0x44d3c9
call fcn.0040bc50
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4b0]
push ecx
call fcn.00406c10
jmp 0x408883
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x4b0]
push ecx
call fcn.004068a0
lea eax, [ebp - 0x10]
add esp, 0xc
mov byte [esp + 0xac4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4088aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0xac4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4088cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jle 0x4084fc
lea eax, [edi - 0x10]
mov dword [esp + 0xac4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408907
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xabc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xaa4]
xor ecx, esp
call fcn.0041eff4
add esp, 0xab4
ret