Function at 0x7d240a40
Capabilities:
Encode data using xor
Hash data with crc32
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x484
lea eax, [esp + 0x74]
push ebx
push esi
push edi
push 0x208
push 0
push eax
call sub.ntdll.dll_memset
mov ecx, dword [0x7d2b7324]
lea edx, [esp + 0x8c]
add esp, 0xc
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x7d240a72
lea edi, [esp + 0x80]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d240a90
mov ecx, 7
lea eax, [esp + 0x80]
mov esi, str.Snapshots.ini
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call sym.SbieDll.dll_SbieDll_TranslateNtToDosPath
lea eax, [esp + 0x80]
mov word [esp + 0x30], 0
push eax
push 0x11
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 0x7d2990cc
push str.Snapshot
push str.Current
movaps xmmword [esp + 0x28], xmm0
movaps xmmword [esp + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x7d240df3
push 0x3c
call fcn.7d2217b2
push 0x3c
mov ebx, eax
push 0
push ebx
mov dword [0x7d2ddb04], ebx
call sub.ntdll.dll_memset
lea ecx, [esp + 0x1c]
mov edx, ebx
mov eax, ecx
add esp, 0xc
sub edx, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x7d240b21
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d240b40
sub ecx, edx
mov dword [0x7d2ddb08], 1
sar ecx, 1
mov dword [ebx + 0x24], ecx
nop dword [eax]
cmp dword [0x7d2ddb0c], 0
mov esi, dword [ebx + 0x24]
jne 0x7d240c20
xor edi, edi
mov ecx, edi
mov eax, edi
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
and dl, 1
cmove eax, ecx
mov dword [edi*4 + 0x7d2ddb10], eax
inc edi
cmp edi, 0x100
jl 0x7d240b72
mov dword [0x7d2ddb0c], 1
lea edi, [ebx + esi*2]
or eax, 0xffffffff
mov esi, ebx
cmp ebx, edi
jae 0x7d240c47
nop dword [eax]
movsx ecx, byte [esi]
inc esi
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x7d2ddb10]
cmp esi, edi
jb 0x7d240c30
not eax
lea edx, [esp + 0x10]
mov dword [ebx + 0x28], eax
mov esi, edx
movups xmm0, xmmword [str.Snapshot_]
mov eax, dword [0x7d29bc2c]
mov dword [esp + 0x5c], eax
movups xmmword [esp + 0x4c], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x70], xmm0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d240c74
lea edi, [esp + 0x4c]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d240c90
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [0x7d2dda54], al
je 0x7d240d6a
mov ecx, dword [str.snapshot_]
lea edx, [esp + 0x288]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x7d240cc5
mov edx, ebx
mov esi, ebx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x7d240ce0
lea edi, [esp + 0x288]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d240d00
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x288]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x7d240d24
mov eax, dword [0x7d2991ac]
mov dword [edi], eax
lea edi, [esp + 0x288]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x7d240d41
lea eax, [esp + 0x288]
mov ecx, 7
push eax
lea eax, [ebx + 0x30]
mov esi, str.FilePaths.dat
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.7d221d8e
lea eax, [esp + 0x80]
push eax
push 0x10
lea eax, [esp + 0x18]
push eax
push 0x7d2990cc
push str.Parent
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x10], 0
je 0x7d240df3
push 0x3c
call fcn.7d2217b2
push 0x3c
push 0
push eax
mov dword [ebx + 0x2c], eax
call sub.ntdll.dll_memset
mov edx, dword [ebx + 0x2c]
lea ecx, [esp + 0x1c]
add esp, 0xc
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x7d240db4
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7d240dd0
mov eax, dword [ebx + 0x2c]
sub ecx, edx
sar ecx, 1
inc dword [0x7d2ddb08]
mov dword [eax + 0x24], ecx
mov ebx, dword [ebx + 0x2c]
jmp 0x7d240b60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret