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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d873b
mov eax, dword fs:[0]
push eax
mov eax, 0x42f4
call fcn.004a2a10
mov eax, dword [0x5060c0]
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 - 0x42a4], edx
mov esi, ecx
push 0x4018
lea eax, [ebp - 0x4260]
mov dword [ebp - 0x42a0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4264], 0
push 0
push eax
movq qword [ebp - 0x429c], xmm0
call fcn.004a4300
push 0x4c
lea eax, [ebp - 0x42fc]
mov dword [ebp - 0x4300], 0
push 0
push eax
call fcn.004a4300
add esp, 0x18
mov dword [ebp - 0x4294], 0xffffffff
xor eax, eax
mov dword [ebp - 0x426c], 0x471020
xor edi, edi
mov dword [ebp - 0x4280], eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x4270], edi
push esi
mov dword [ebp - 0x4274], edi
mov dword [ebp - 0x42a8], eax
mov dword [ebp - 0x4268], 0x471040
mov dword [ebp - 0x42b0], 0x471020
mov dword [ebp - 0x42ac], 0x471040
call fcn.00425cf0
lea edx, [ebp - 0x230]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x248]
call fcn.0046daa0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x46dd0b
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46dd01
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e399
push ecx
push edx
call fcn.004a23b3
add esp, 8
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x234], 0xf
push 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
cmova 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 - 0x4298], eax
cmp eax, 0xffffffff
je 0x46dd6a
xor ebx, ebx
jmp 0x46dd6e
call esi
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x234]
cmp ecx, 0xf
jbe 0x46ddaf
mov edx, dword [ebp - 0x248]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46dda5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46e39e
push ecx
push edx
call fcn.004a23b3
add esp, 8
test ebx, ebx
jne 0x46e234
lea eax, [ebp - 0x42a0]
mov dword [ebp - 0x42a0], 0x470f70
mov dword [ebp - 0x429c], 0x470f90
xor edx, edx
mov dword [ebp - 0x4264], 0x4710c0
mov dword [ebp - 0x4260], 0x471120
mov dword [ebp - 0x425c], 0x471130
mov dword [ebp - 0x4258], 0x471180
mov dword [ebp - 0x4254], eax
mov dword [ebp - 0x424c], ebx
mov dword [ebp - 0x4250], ebx
nop dword [eax]
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 + 0x51c020], eax
inc edx
cmp edx, 0x100
jb 0x46de10
cmp edx, 0x800
jae 0x46ded6
mov ecx, dword [edx*4 + 0x51bc20]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x51c020]
mov dword [edx*4 + 0x51c020], ecx
inc edx
cmp edx, 0x800
jb 0x46deb2
mov dword [0x51b694], 0x471f70
call fcn.00472100
test eax, eax
jne 0x46def3
mov dword [0x51b694], 0x472010
lea ecx, [ebp - 0x4300]
call fcn.0046e6d0
lea eax, [ebp - 0x42b0]
push eax
lea eax, [ebp - 0x426c]
push eax
lea edx, [ebp - 0x4264]
call fcn.00470650
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46df36
lea edx, [ebp - 0x426c]
lea ecx, [ebp - 0x4300]
call fcn.0046e740
jmp 0x46e234
xor eax, eax
mov dword [ebp - 0x4278], ebx
mov dword [ebp - 0x4288], eax
cmp dword [ebp - 0x42e4], eax
jbe 0x46e202
mov eax, dword [ebp - 0x42f0]
add eax, 0x19
mov dword [ebp - 0x427c], eax
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a4300
push dword [ebp - 0x42a4]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b8ee5
mov ebx, dword [ebp - 0x4288]
xor eax, eax
mov dword [ebp - 0x428c], eax
add esp, 0x18
mov dword [ebp - 0x4284], eax
mov eax, dword [ebp - 0x42c0]
mov esi, dword [eax + ebx*4 + 4]
sub esi, dword [eax + ebx*4]
cmp esi, dword [ebp - 0x4274]
jbe 0x46dff7
push edi
call fcn.004a79e0
add esp, 4
mov dword [ebp - 0x4274], esi
add esi, esi
je 0x46e21f
push esi
call fcn.004aee46
mov edi, eax
add esp, 4
mov dword [ebp - 0x4270], edi
test edi, edi
je 0x46e221
mov eax, dword [ebp - 0x42c0]
mov edx, dword [eax + ebx*4 + 4]
mov ecx, dword [eax + ebx*4]
sub edx, ecx
jmp 0x46e004
mov edx, dword [eax + ebx*4 + 4]
mov ecx, dword [eax + ebx*4]
sub edx, ecx
test edi, edi
je 0x46e025
mov eax, dword [ebp - 0x42bc]
lea esi, [eax + ecx*2]
test edx, edx
je 0x46e025
mov ecx, edi
sub esi, edi
mov ax, word [ecx + esi]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x46e015
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [ebp - 0x427c]
cmp byte [esi], 0
jne 0x46e094
lea eax, [ebp - 0x42b0]
push eax
lea eax, [ebp - 0x426c]
push eax
lea eax, [ebp - 0x4284]
push eax
lea eax, [ebp - 0x428c]
push eax
lea eax, [ebp - 0x42a8]
push eax
lea eax, [ebp - 0x4280]
push eax
lea eax, [ebp - 0x4294]
push eax
push ebx
lea edx, [ebp - 0x4264]
lea ecx, [ebp - 0x4300]
call fcn.00470c90
mov ebx, eax
add esp, 0x20
mov dword [ebp - 0x4278], ebx
test ebx, ebx
jne 0x46e1fc
mov ax, word [ebp - 0x218]
xor edi, edi
test ax, ax
je 0x46e105
xor ecx, ecx
movzx edx, ax
lea esi, [ebp - 0x218]
nop dword [eax]
movzx eax, dx
cmp eax, 0x2f
je 0x46e0c2
mov edx, 0x2f2f
cmp ax, dx
jne 0x46e0e9
cmp ecx, 0x208
jae 0x46e3a3
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 0x46e0b0
mov esi, dword [ebp - 0x427c]
cmp byte [esi], 0
mov edi, dword [ebp - 0x4274]
mov ebx, dword [ebp - 0x4270]
push 0
je 0x46e12a
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x46e1ca
push 0x80
xor eax, eax
push 2
push eax
push eax
mov dword [ebp - 0x4278], eax
lea eax, [ebp - 0x218]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x46e160
mov dword [ebp - 0x4278], 1
jmp 0x46e1c4
push 0
lea eax, [ebp - 0x4290]
mov dword [ebp - 0x4290], 0
push eax
push dword [ebp - 0x4284]
mov eax, dword [ebp - 0x428c]
add eax, dword [ebp - 0x4280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4284]
mov dword [ebp - 0x4270], ebx
mov dword [ebp - 0x4274], edi
cmp dword [ebp - 0x4290], eax
je 0x46e1bd
mov dword [ebp - 0x4278], 1
mov dword [ebp - 0x4270], ebx
mov dword [ebp - 0x4274], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x427c]
mov ebx, dword [ebp - 0x4278]
mov edi, dword [ebp - 0x4270]
test ebx, ebx
jne 0x46e1fc
mov eax, dword [ebp - 0x4288]
add esi, 0x20
inc eax
mov dword [ebp - 0x427c], esi
mov dword [ebp - 0x4288], eax
cmp eax, dword [ebp - 0x42e4]
jb 0x46df60
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x4280]
cmp eax, 0x471040
jne 0x46e228
call fcn.004a79e0
add esp, 4
jmp 0x46e234
xor edi, edi
mov ebx, 1
jmp 0x46e1fc
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42d0]
cmp eax, 0x471040
jne 0x46e251
call fcn.004a79e0
add esp, 4
jmp 0x46e25d
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42cc]
cmp eax, 0x471040
jne 0x46e27a
call fcn.004a79e0
add esp, 4
jmp 0x46e286
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c8]
cmp eax, 0x471040
jne 0x46e2a3
call fcn.004a79e0
add esp, 4
jmp 0x46e2af
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c4]
cmp eax, 0x471040
jne 0x46e2cc
call fcn.004a79e0
add esp, 4
jmp 0x46e2d8
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42c0]
cmp eax, 0x471040
jne 0x46e2f5
call fcn.004a79e0
add esp, 4
jmp 0x46e301
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
mov eax, dword [ebp - 0x4268]
push dword [ebp - 0x42bc]
cmp eax, 0x471040
jne 0x46e31e
call fcn.004a79e0
add esp, 4
jmp 0x46e32a
lea ecx, [ebp - 0x426c]
push ecx
call eax
add esp, 8
lea edx, [ebp - 0x426c]
mov dword [ebp - 0x42bc], 0
lea ecx, [ebp - 0x4300]
mov dword [ebp - 0x42b8], 0
call fcn.0046e550
lea ecx, [ebp - 0x4300]
call fcn.0046e6d0
push edi
call fcn.004a79e0
mov eax, dword [ebp - 0x4298]
add esp, 4
cmp eax, 0xffffffff
je 0x46e37b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x46e37b
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.004a2700
mov esp, ebp
pop ebp
ret
call fcn.004a78df
call fcn.004a78df
call fcn.004a2930
int3