Function at 0x770640
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne reloc.KERNEL32.dll_DeviceIoControl
xor eax, eax
jmp GetStringTypeA
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
not ecx
cmp esi, 0x17
jb DefineDosDeviceA
test bl, 3
je 0x77031b
movzx edx, byte [ebx]
movzx eax, cl
shr ecx, 8
inc ebx
xor eax, edx
xor ecx, dword [eax*4 + 0xb49048]
dec esi
je 0x77031b
mov eax, ebx
and eax, 3
jne 0x7702fe
mov edx, 0xcccccccd
mov eax, esi
xor ecx, dword [ebx]
mul edx
shr edx, 4
lea eax, [edx*4]
mov edi, edx
dec edi
lea eax, [eax + eax*4]
mov dword [esp + 0x18], edi
jne 0x770360
mov dword [esp + 0xc], 0
mov dword [esp + 8], GetFileInformationByHandle
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x7704c3
lea edx, [edx + edx*4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp], TlsSetValue
mov dword [esp + 8], 0
mov dword [esp + TlsGetValuexc], 0
lea eax, [ebx + edx*4 - 0x14]
mov dword [esp + 0x10], eax
movzx ebp, ch
movzx edx, cl
mov ebp, dword [ebp*4 + 0xb49848]
xor ebp, dword [edx*4 + 0xb49448]
mov edx, ecx
shr ecx, 0x18
shr edx, 0xe
and edx, 0x3fc
xor ebp, dword [edx + 0xb49c48]
xor ebp, dword [ecx*4 + 0xb4a048]
mov ecx, dword [esp + 8]
xor ecx, dword [ebx + 4]
movzx edx, ch
movzx eax, cl
mov edi, ecx
shr ecx, 0x18
mov edx, dword [edx*4 + 0xb49848]
shr edi, 0xe
and edi, 0x3fc
xor edx, dword [eax*4 + 0xb49448]
mov eax, ebx
mov ebx, dword [esp + 0xc]
xor edx, dword [edi + 0xb49c48]
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0xb4a048]
movzx ecx, bl
mov dword [esp + 8], edx
movzx edx, bh
mov edx, dword [edx*4 + 0xb49848]
xor edx, dword [ecx*4 + 0xb49448]
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb49c48]
xor edx, dword [ebx*4 + 0xb4a048]
mov ebx, dword [esp]
xor ebx, dword [eax + 0xc]
mov dword [esp + 0xc], edx
movzx edx, bh
movzx ecx, bl
mov edx, dword [edx*4 + 0xb49848]
xor edx, dword [ecx*4 + 0xb49448]
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb49c48]
xor edx, dword [ebx*4 + 0xb4a048]
mov ebx, eax
mov eax, dword [esp + 4]
xor eax, dword [ebx + 0x10]
mov dword [esp], edx
movzx edx, ah
movzx ecx, al
mov edx, dword [edx*4 + 0xb49848]
xor edx, dword [ecx*4 + 0xb49448]
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb49c48]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb4a048]
mov ecx, ebp
xor ecx, dword [ebx + 0x14]
add ebx, 0x14
dec dword [esp + 0x18]
mov dword [esp + 4], edx
jne reloc.KERNEL32.dll_GetLogicalDrives
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub esi, eax
call fcn.00770600
mov ecx, dword [esp + 8]
xor ecx, eax
xor ecx, dword [ebx + 4]
call fcn.00770600
mov ecx, dword [esp + 0xc]
xor ecx, eax
xor ecx, dword [ebx + 8]
call fcn.00770600
mov ecx, dword [esp]
xor ecx, eax
xor ecx, dword [ebx + 0xc]
call fcn.00770600
mov ecx, dword [esp + 4]
xor ecx, eax
xor ecx, dword [ebx + 0x10]
call fcn.00770600
mov ecx, eax
add ebx, 0x14
cmp esi, 8
jb 0x7705d2
lea eax, [esi - 8]
mov dword [esp + 4], ebx
mov edx, eax
and edx, 0xfffffff8
lea edi, [edx + 8]
mov dword [esp], edi
movzx edi, byte [ebx]
movzx ebp, cl
shr ecx, 8
add esi, 0xfffffff8
xor ebp, edi
xor ecx, dword [ebp*4 + 0xb49048]
movzx ebp, byte [ebx + 1]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 2]
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 3]
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 4]
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 5]
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 6]
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 7]
add ebx, 8
xor ecx, dword [edi*4 + 0xb49048]
movzx edi, cl
shr ecx, 8
xor edi, ebp
xor ecx, dword [edi*4 + 0xb49048]
cmp esi, 7
ja GetEnvironmentStringsW
mov ebx, dword [esp + 4]
sub eax, edx
mov esi, eax
add ebx, dword [esp]
test esi, esi
jne 0x7705da
mov eax, ecx
jmp 0x7705f4
mov eax, ecx
movzx edx, byte [ebx]
movzx ecx, cl
shr eax, 8
inc ebx
xor ecx, edx
xor eax, dword [ecx*4 + 0xb49048]
dec esi
mov ecx, eax
jne reloc.KERNEL32.dll_VirtualFree
not eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp GetComputerNameW