Function at 0x468020
Capabilities:
Create directory
Encode data using xor
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf30d
mov eax, dword fs:[0]
push eax
mov eax, 0x4118
call fcn.0049d6f0
mov eax, dword [0x4fe0a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x46890b
test edi, edi
je 0x46890b
cmp word [esi], 0
je 0x46890b
cmp word [edi], 0
je 0x46890b
push 0x401c
lea eax, [ebp - 0x408c]
mov dword [ebp - 0x40bc], 0
xorps xmm0, xmm0
push 0
push eax
movq qword [ebp - 0x40c4], xmm0
call fcn.0049edc0
push 0x50
lea eax, [ebp - 0x4124]
push 0
push eax
call fcn.0049edc0
add esp, 0x18
mov dword [ebp - 0x4090], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40b0], 0
mov dword [ebp - 0x40cc], 0xffffffff
mov dword [ebp - 0x40a0], 0
push esi
mov dword [ebp - 0x40c8], 0
mov dword [ebp - 0x40ac], 0x46b6b0
mov dword [ebp - 0x40a8], 0x46b6d0
mov dword [ebp - 0x40d4], 0x46b6b0
mov dword [ebp - 0x40d0], 0x46b6d0
call fcn.00426900
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00467ef0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x468168
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46815e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46892c
push edx
push ecx
call fcn.0049cf67
add esp, 8
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x5c], 0x10
push 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x2c], 7
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40bc], eax
cmp eax, 0xffffffff
je 0x4681b5
xor ebx, ebx
jmp 0x4681b9
call esi
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4681f4
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4681ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468931
push edx
push ecx
call fcn.0049cf67
add esp, 8
test ebx, ebx
jne 0x4688d0
lea eax, [ebp - 0x40c4]
mov dword [ebp - 0x40c4], 0x46b600
mov dword [ebp - 0x40c0], 0x46b620
xor edx, edx
mov dword [ebp - 0x408c], 0x46b750
mov dword [ebp - 0x4088], 0x46b7b0
mov dword [ebp - 0x4084], 0x46b7c0
mov dword [ebp - 0x4080], 0x46b810
mov dword [ebp - 0x407c], eax
mov dword [ebp - 0x4074], ebx
mov dword [ebp - 0x4078], ebx
mov ecx, edx
mov eax, edx
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [edx*4 + 0x513e60], eax
inc edx
cmp edx, 0x100
jb 0x468252
cmp edx, 0x800
jae 0x468324
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [edx*4 + 0x513a60]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x513e60]
mov dword [edx*4 + 0x513e60], ecx
inc edx
cmp edx, 0x800
jb 0x468300
mov dword [0x513504], 0x46c5b0
call fcn.0046c740
mov ecx, dword [0x513504]
test eax, eax
mov edx, 0x46c650
cmove ecx, edx
mov dword [0x513504], ecx
lea ecx, [ebp - 0x4124]
call fcn.00468de0
lea eax, [ebp - 0x40d4]
push eax
lea eax, [ebp - 0x40ac]
push eax
lea edx, [ebp - 0x408c]
call fcn.0046acb0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46838c
lea edx, [ebp - 0x40ac]
lea ecx, [ebp - 0x4124]
call fcn.00468e50
jmp 0x4688d0
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4094], ebx
call fcn.00426900
mov dword [ebp - 4], 3
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
cmp esi, 8
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4683dc
cmp esi, 8
lea eax, [ebp - 0x40]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x2f
je 0x4683dc
push 1
push 0x4e71e4
lea ecx, [ebp - 0x40]
call fcn.00468950
xor edi, edi
mov dword [ebp - 0x4098], edi
cmp dword [ebp - 0x4108], edi
jbe 0x4687a2
mov eax, dword [ebp - 0x4114]
add eax, 0x19
mov dword [ebp - 0x409c], eax
nop
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00452980
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40e4]
mov dword [ebp - 0x40b4], 0
mov dword [ebp - 0x40a4], 0
mov esi, dword [eax + edi*4 + 4]
sub esi, dword [eax + edi*4]
cmp esi, dword [ebp - 0x40b0]
jbe 0x468485
push dword [ebp - 0x4090]
call fcn.004a1bcc
add esp, 4
mov dword [ebp - 0x40b0], esi
add esi, esi
je 0x468745
push esi
call fcn.004a6e55
mov edi, eax
add esp, 4
mov dword [ebp - 0x4090], edi
test edi, edi
je 0x46874f
mov eax, dword [ebp - 0x4098]
mov edx, dword [ebp - 0x40e4]
mov ecx, dword [edx + eax*4]
mov edx, dword [edx + eax*4 + 4]
sub edx, ecx
jmp 0x468498
mov edx, dword [eax + edi*4 + 4]
mov ecx, dword [eax + edi*4]
sub edx, ecx
mov edi, dword [ebp - 0x4090]
test edi, edi
je 0x4684c0
mov eax, dword [ebp - 0x40e0]
lea esi, [eax + ecx*2]
test edx, edx
je 0x4684c0
mov ecx, edi
sub esi, edi
nop dword [eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x4684b0
mov ecx, edi
mov dword [ebp - 0x58], 0
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4684e0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.00426a30
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00468950
mov eax, dword [ebp - 0x409c]
cmp byte [eax], 0
jne 0x46857a
lea eax, [ebp - 0x40d4]
push eax
lea eax, [ebp - 0x40ac]
push eax
lea eax, [ebp - 0x40a4]
push eax
lea eax, [ebp - 0x40b4]
push eax
lea eax, [ebp - 0x40c8]
push eax
lea eax, [ebp - 0x40a0]
push eax
lea eax, [ebp - 0x40cc]
push eax
push dword [ebp - 0x4098]
lea edx, [ebp - 0x408c]
lea ecx, [ebp - 0x4124]
call fcn.0046b2f0
mov ebx, eax
add esp, 0x20
mov dword [ebp - 0x4094], ebx
test ebx, ebx
jne 0x4687c6
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov edx, dword [ebp - 0x28]
mov ebx, 0x2f2f
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [esi + eax], 0
lea eax, [ebp - 0x28]
je 0x4685f7
cmp ecx, 8
cmovae eax, edx
cmp word [esi + eax], 0x2f
je 0x4685b6
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [esi + eax], bx
jne 0x4685f2
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
xor ecx, ecx
push ecx
mov word [esi + eax], cx
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, 0x5c
cmovae eax, dword [ebp - 0x28]
mov word [esi + eax], cx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
add esi, 2
jmp 0x468587
mov esi, dword [ebp - 0x409c]
mov ebx, dword [ebp - 0x4094]
push 0
cmp byte [esi], 0
je 0x46861c
cmp ecx, 8
cmovae eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x46869d
mov edi, dword [ebp - 0x40b4]
cmp ecx, 8
push 0x80
cmovae eax, edx
add edi, dword [ebp - 0x40a0]
push 2
xor ebx, ebx
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x468659
mov ebx, 1
mov dword [ebp - 0x4094], ebx
jmp 0x468697
push 0
lea eax, [ebp - 0x40b8]
mov dword [ebp - 0x40b8], ebx
push eax
push dword [ebp - 0x40a4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x40a4]
cmp dword [ebp - 0x40b8], eax
mov eax, 1
push esi
cmovne ebx, eax
mov dword [ebp - 0x4094], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x409c]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
test ebx, ebx
jne 0x468809
cmp edx, 8
jb 0x4686e3
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4686d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
push edx
push ecx
call fcn.0049cf67
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x468721
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468717
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
push edx
push ecx
call fcn.0049cf67
add esp, 8
mov edi, dword [ebp - 0x4098]
add esi, 0x20
inc edi
mov dword [ebp - 0x409c], esi
mov dword [ebp - 0x4098], edi
cmp edi, dword [ebp - 0x4108]
jb 0x468400
jmp 0x4687a2
mov dword [ebp - 0x4090], 0
mov ebx, 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x468792
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
push edx
push ecx
call fcn.0049cf67
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x40a8]
push dword [ebp - 0x40a0]
cmp eax, 0x46b6d0
jne 0x468881
call fcn.004a1bcc
add esp, 4
jmp 0x46888d
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x468754
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4687fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
push edx
push ecx
call fcn.0049cf67
add esp, 8
jmp 0x468754
cmp edx, 8
jb 0x468840
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
push edx
push ecx
call fcn.0049cf67
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x468792
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x468788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x468936
jmp 0x468788
lea ecx, [ebp - 0x40ac]
push ecx
call eax
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
cmp esi, 8
jb 0x4688ca
mov edx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, edx
cmp esi, 0x1000
jb 0x4688c0
mov edx, dword [edx - 4]
add esi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46893b
push esi
push edx
call fcn.0049cf67
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x40ac]
lea ecx, [ebp - 0x4124]
call fcn.00468e50
push dword [ebp - 0x4090]
call fcn.004a1bcc
mov eax, dword [ebp - 0x40bc]
add esp, 4
cmp eax, 0xffffffff
je 0x468907
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x468907
call esi
mov eax, ebx
jmp 0x468910
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d3dd
mov esp, ebp
pop ebp
ret
call fcn.004a1aef
call fcn.004a1aef
call fcn.004a1aef
call fcn.004a1aef
int3