Function at 0x4d8c20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658563
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x274]
push 0
push 0x1c
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor edi, edi
cmp word [ebp - 0x274], di
je 0x4d8c9c
nop
inc edi
cmp word [ebp + edi*2 - 0x274], 0
jne 0x4d8c90
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
add esp, 4
mov dword [ebp - 0x27c], edi
mov ebx, eax
mov dword [ebp - 0x278], edi
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x280], ebx
lea eax, [ebp - 0x274]
push ecx
push eax
push ebx
call fcn.005e0850
add esp, 0xc
mov byte [ebp - 4], 1
xor esi, esi
nop word [eax + eax]
inc esi
cmp word [esi*2 + str.Thorzip], 0
jne 0x4d8cf0
test esi, esi
je 0x4d8d28
lea ecx, [esi + edi]
mov eax, ecx
add ecx, 0x10
shr eax, 1
add eax, ecx
lea ecx, [ebp - 0x280]
and eax, 0xfffffff0
dec eax
push eax
call fcn.0049f070
mov edi, dword [ebp - 0x27c]
mov ebx, dword [ebp - 0x280]
lea eax, [esi*2 + 2]
push eax
lea eax, [ebx + edi*2]
push str.Thorzip
push eax
call fcn.005e0850
add esp, 0xc
add edi, esi
mov dword [ebp - 0x27c], edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4d8d5c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.UncompressCfg.data
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x28c]
call fcn.0049f250
add esp, 4
lea eax, [ebp - 0x64]
push 0x50
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x64]
push dword [ebp + 8]
push 0x6b51a0
push eax
call fcn.00485390
mov ebx, dword [ebp - 0x28c]
lea eax, [ebp - 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0xc
push ebx
push eax
push str.UpdateMode
push str.UncompressCfg
call edi
push 0x50
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x64]
push dword [ebp + 0xc]
push 0x6b51a0
push eax
call fcn.00485390
add esp, 0xc
lea eax, [ebp - 0x64]
push ebx
push eax
push str.OverwriteMode
push str.UncompressCfg
call edi
push 0x50
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x64]
push dword [ebp + 0x10]
push 0x6b51a0
push eax
call fcn.00485390
add esp, 0xc
lea eax, [ebp - 0x64]
push ebx
push eax
push str.ExtractFilePath
push str.UncompressCfg
call edi
push 0x50
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.005e0dd0
add esp, 0xc
lea eax, [ebp - 0x64]
push dword [ebp + 0x14]
push 0x6b51a0
push eax
call fcn.00485390
add esp, 0xc
lea eax, [ebp - 0x64]
push ebx
push eax
push str.DeleteMode
push str.UncompressCfg
call edi
push ebx
mov esi, 0x6ae17c
cmp byte [ebp + 0x18], 0
mov ecx, 0x6ad26c
mov eax, esi
cmove eax, ecx
push eax
push str.ExtractSingleDir
push str.UncompressCfg
call edi
cmp byte [ebp + 0x19], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.RemainBadFile
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1a], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.OpenPath
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1b], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.SkipEncriptPacket
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1c], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.SaveModifyTime
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1d], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.SaveCreateTimes
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1e], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.SaveRecentTime
push str.UncompressCfg
call edi
cmp byte [ebp + 0x1f], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.EnableExcludeList
push str.UncompressCfg
call edi
cmp byte [ebp + 0x20], 0
mov ecx, 0x6ad26c
push ebx
mov eax, esi
cmove eax, ecx
push eax
push str.EnableAlways
push str.UncompressCfg
call edi
push ebx
cmp byte [ebp + 0x21], 0
mov eax, 0x6ad26c
cmove esi, eax
push esi
push str.EnableExtractFileList
push str.UncompressCfg
call edi
push ebx
push dword [ebp + 0x24]
push str.ExcludeFileList
push str.UncompressCfg
call edi
push ebx
push dword [ebp + 0x30]
push str.ExtractFileList
push str.UncompressCfg
call edi
push ebx
call fcn.00545b61
add esp, 4
push dword [ebp - 0x280]
call fcn.00545b61
add esp, 4
push dword [ebp + 0x30]
call fcn.00545b61
add esp, 4
push dword [ebp + 0x24]
call fcn.00545b61
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret