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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc8eb
mov eax, dword fs:[0]
push eax
mov eax, 0x42f0
call fcn.0049acf0
mov eax, dword [0x4fa0a8]
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 dword [ebp - 0x429c], edx
mov esi, ecx
push 0x401c
lea eax, [ebp - 0x4264]
mov dword [ebp - 0x4290], 0
xorps xmm0, xmm0
push 0
push eax
movq qword [ebp - 0x4298], xmm0
call fcn.0049c3c0
push 0x50
lea eax, [ebp - 0x42fc]
push 0
push eax
call fcn.0049c3c0
xor edi, edi
mov dword [ebp - 0x42a4], 0xffffffff
mov ecx, esi
mov dword [ebp - 0x230], edi
add esp, 0x18
mov dword [ebp - 0x4278], edi
xor eax, eax
mov dword [ebp - 0x4284], edi
mov dword [ebp - 0x427c], edi
mov dword [ebp - 0x42a0], edi
lea edx, [ecx + 2]
mov dword [ebp - 0x426c], 0x46b3f0
mov dword [ebp - 0x4268], 0x46b410
mov dword [ebp - 0x42ac], 0x46b3f0
mov dword [ebp - 0x42a8], 0x46b410
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468135
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x230]
call fcn.00426980
lea edx, [ebp - 0x230]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00467f20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4681ad
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4681a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4687f8
push edx
push ecx
call fcn.0049a567
add esp, 8
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x234], 0x10
push 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x21c], 7
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4290], eax
cmp eax, 0xffffffff
je 0x46820c
xor ebx, ebx
jmp 0x468210
call esi
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x468251
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x468247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4687fd
push edx
push ecx
call fcn.0049a567
add esp, 8
test ebx, ebx
jne 0x46869e
lea eax, [ebp - 0x4298]
mov dword [ebp - 0x4298], 0x46b340
mov dword [ebp - 0x4294], 0x46b360
xor edx, edx
mov dword [ebp - 0x4264], 0x46b490
mov dword [ebp - 0x4260], 0x46b4f0
mov dword [ebp - 0x425c], 0x46b500
mov dword [ebp - 0x4258], 0x46b550
mov dword [ebp - 0x4254], eax
mov dword [ebp - 0x424c], ebx
mov dword [ebp - 0x4250], ebx
nop
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 + 0x50fd20], eax
inc edx
cmp edx, 0x100
jb 0x4682b0
cmp edx, 0x800
jae 0x468376
mov ecx, dword [edx*4 + 0x50f920]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x50fd20]
mov dword [edx*4 + 0x50fd20], ecx
inc edx
cmp edx, 0x800
jb 0x468352
mov dword [0x50f3c4], 0x46c2f0
call fcn.0046c480
mov ecx, dword [0x50f3c4]
test eax, eax
mov edx, 0x46c390
cmove ecx, edx
mov dword [0x50f3c4], ecx
lea ecx, [ebp - 0x42fc]
call fcn.00468b20
lea eax, [ebp - 0x42ac]
push eax
lea eax, [ebp - 0x426c]
push eax
lea edx, [ebp - 0x4264]
call fcn.0046a9f0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4683de
lea edx, [ebp - 0x426c]
lea ecx, [ebp - 0x42fc]
call fcn.00468b90
jmp 0x46869e
xor eax, eax
mov dword [ebp - 0x4270], eax
cmp dword [ebp - 0x42e0], eax
jbe 0x46866c
mov eax, dword [ebp - 0x42ec]
add eax, 0x19
mov dword [ebp - 0x4274], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049c3c0
push dword [ebp - 0x429c]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004adc5b
mov eax, dword [ebp - 0x4270]
add esp, 0x18
mov edx, dword [ebp - 0x42bc]
mov dword [ebp - 0x4288], 0
mov dword [ebp - 0x4280], 0
mov esi, dword [edx + eax*4 + 4]
sub esi, dword [edx + eax*4]
cmp esi, dword [ebp - 0x4284]
jbe 0x4684a4
push edi
call fcn.0049f1cc
add esp, 4
mov dword [ebp - 0x4284], esi
add esi, esi
je 0x468689
push esi
call fcn.004a4455
mov edi, eax
add esp, 4
mov dword [ebp - 0x4278], edi
test edi, edi
je 0x46868b
mov eax, dword [ebp - 0x4270]
mov edx, dword [ebp - 0x42bc]
mov ecx, dword [edx + eax*4]
mov edx, dword [edx + eax*4 + 4]
sub edx, ecx
jmp 0x4684b1
mov ecx, dword [edx + eax*4]
mov edx, dword [edx + eax*4 + 4]
sub edx, ecx
test edi, edi
je 0x4684d2
mov eax, dword [ebp - 0x42b8]
lea esi, [eax + ecx*2]
test edx, edx
je 0x4684d2
mov ecx, edi
sub esi, edi
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x4684c2
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [ebp - 0x4274]
cmp byte [esi], 0
jne 0x468541
lea eax, [ebp - 0x42ac]
push eax
lea eax, [ebp - 0x426c]
push eax
lea eax, [ebp - 0x4280]
push eax
lea eax, [ebp - 0x4288]
push eax
lea eax, [ebp - 0x42a0]
push eax
lea eax, [ebp - 0x427c]
push eax
lea eax, [ebp - 0x42a4]
push eax
mov eax, dword [ebp - 0x4270]
lea edx, [ebp - 0x4264]
push eax
lea ecx, [ebp - 0x42fc]
call fcn.0046b030
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x468666
mov ax, word [ebp - 0x218]
xor edi, edi
test ax, ax
je 0x4685b5
xor ecx, ecx
movzx edx, ax
lea esi, [ebp - 0x218]
nop word [eax + eax]
movzx eax, dx
cmp eax, 0x2f
je 0x468572
mov edx, 0x2f2f
cmp ax, dx
jne 0x468599
cmp ecx, 0x208
jae 0x468802
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
lea esi, [ebp - 0x218]
lea ecx, [edi + edi]
add esi, ecx
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x468560
mov esi, dword [ebp - 0x4274]
cmp byte [esi], 0
lea eax, [ebp - 0x218]
push 0
je 0x4685cb
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x46863a
mov edi, dword [ebp - 0x4288]
xor ebx, ebx
add edi, dword [ebp - 0x427c]
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4685fc
mov ebx, 1
jmp 0x468634
push 0
lea eax, [ebp - 0x428c]
mov dword [ebp - 0x428c], ebx
push eax
push dword [ebp - 0x4280]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4280]
cmp dword [ebp - 0x428c], eax
mov eax, 1
push esi
cmovne ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x4274]
mov edi, dword [ebp - 0x4278]
test ebx, ebx
jne 0x468666
mov eax, dword [ebp - 0x4270]
add esi, 0x20
inc eax
mov dword [ebp - 0x4274], esi
mov dword [ebp - 0x4270], eax
cmp eax, dword [ebp - 0x42e0]
jb 0x468401
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x427c]
cmp eax, 0x46b410
jne 0x468692
call fcn.0049f1cc
add esp, 4
jmp 0x46869e
xor edi, edi
mov ebx, 1
jmp 0x468666
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42cc]
cmp eax, 0x46b410
jne 0x4686bb
call fcn.0049f1cc
add esp, 4
jmp 0x4686c7
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c8]
cmp eax, 0x46b410
jne 0x4686e4
call fcn.0049f1cc
add esp, 4
jmp 0x4686f0
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c4]
cmp eax, 0x46b410
jne 0x46870d
call fcn.0049f1cc
add esp, 4
jmp 0x468719
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c0]
cmp eax, 0x46b410
jne 0x468736
call fcn.0049f1cc
add esp, 4
jmp 0x468742
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42bc]
cmp eax, 0x46b410
jne 0x46875f
call fcn.0049f1cc
add esp, 4
jmp 0x46876b
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42b8]
cmp eax, 0x46b410
jne 0x468788
call fcn.0049f1cc
add esp, 4
jmp 0x468794
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
lea edx, [ebp - 0x426c]
mov dword [ebp - 0x42b8], 0
lea ecx, [ebp - 0x42fc]
mov dword [ebp - 0x42b4], 0
call fcn.004689a0
push edi
call fcn.0049f1cc
mov eax, dword [ebp - 0x4290]
add esp, 4
cmp eax, 0xffffffff
je 0x4687da
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4687da
call esi
mov eax, ebx
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.0049a9dd
mov esp, ebp
pop ebp
ret
call fcn.0049f0ef
call fcn.0049f0ef
call fcn.0049ac0c
int3