Function at 0x4076a0
Capabilities:
Encode data using xor
Get disk information
Get memory capacity
Query or enumerate registry value

Disassembly:
sub esp, 0x1f8
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 8]
push edi
push eax
push 0xf003f
mov edi, ecx
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainRegistration4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
mov byte [edi + 0x2d0], 1
mov dword [esp + 0x28], 0x32
mov dword [esp + 0x2c], 3
call esi
test eax, eax
je 0x407708
mov ecx, dword [edi + 0x1c]
push 0
push 0x3e8
push 0xfa3
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.Code
push edx
call ebp
test eax, eax
je 0x407752
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push 0xfa3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainRegistration4
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x40779f
mov eax, dword [esp + 0x10]
push 0
push 0x3e8
push 0xfa3
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret
lea edx, [esp + 0x14]
lea eax, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.Serial
push edx
call ebp
test eax, eax
je 0x4077e7
mov eax, dword [esp + 0x10]
push 0
push 0x3e8
push 0xfa3
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret
mov edx, dword [esp + 0xc]
push edx
call edi
cmp dword [esp + 0x14], 0x32
je 0x407819
mov eax, dword [esp + 0x10]
push 0
push 0x3e8
push 0xfa3
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret
push ebx
xor eax, eax
lea edx, [esp + 0xa0]
mov cl, byte [eax + 0x459d60]
mov bl, byte [edx]
xor cl, bl
add edx, 2
mov byte [esp + eax + 0x4c], cl
mov byte [esp + eax + 0xd4], cl
inc eax
cmp eax, 0x19
jb 0x407823
lea edx, [esp + 0x2c]
mov byte [esp + 0xed], 0
push edx
mov dword [esp + 0x30], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [esp + 0x108]
push 0x80
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x19c]
push 0x80
push ecx
push 0x459be8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0x34]
mov eax, dword [0x459d80]
mov ecx, dword [esp + 0x20]
add eax, edx
mov edx, dword [0x459d84]
push eax
movsx eax, byte [0x459d88]
add edx, ecx
mov ecx, dword [0x459d7c]
push edx
push eax
push ecx
lea edx, [esp + 0x90]
push str._08X_1X_08X_08X
push edx
call fcn.00415ed1
add esp, 0x18
xor esi, esi
mov al, byte [esp + esi + 0x80]
push eax
call fcn.00407670
movsx ecx, byte [eax + 0x459c5c]
add esp, 4
inc esi
mov dl, byte [ecx + 0x459c5c]
cmp esi, 0x19
mov byte [esp + esi + 0x4b], dl
jb 0x4078cf
mov byte [esp + 0x65], 0
lea esi, [esp + 0x4c]
lea eax, [esp + 0xd4]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40792e
test cl, cl
je 0x40792a
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40792e
add eax, 2
add esi, 2
test cl, cl
jne 0x407906
xor eax, eax
jmp 0x407933
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x14]
pop ebx
jne 0x40794a
mov byte [eax + 0x2d0], 2
mov byte [eax + 0x2d1], 0xc
mov eax, dword [eax + 0x1c]
push 0
push 0x3e8
push 0xfa3
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
add esp, 0x1f8
ret