Function at 0x412aa0
Capabilities:
Get disk information
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x445a11
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, 0x45db14
push ebx
push ebp
push esi
push edi
test eax, eax
jne 0x412acc
xor ebp, ebp
jmp 0x412ad9
push 0x45db14
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
mov ebx, dword [esp + 0x450]
push ebp
mov ecx, ebx
call fcn.00404630
test eax, eax
je 0x412b0e
mov edi, dword [ebx]
mov ecx, ebp
mov edx, ecx
mov esi, 0x45db14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov dword [eax - 8], ebp
mov ecx, dword [ebx]
mov byte [ecx + ebp], 0
mov edx, 0x45db14
test edx, edx
jne 0x412b1b
xor ebp, ebp
jmp 0x412b28
push 0x45db14
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
mov ebx, dword [esp + 0x454]
push ebp
mov ecx, ebx
call fcn.00404630
test eax, eax
je 0x412b5d
mov edi, dword [ebx]
mov ecx, ebp
mov eax, ecx
mov esi, 0x45db14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov byte [edx + ebp], 0
mov ebp, dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.SaveUserName
mov esi, 4
mov ebx, 1
push str.SOFTWAREYahooMiniMsgr
push SysReAllocStringLen
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
jne 0x412ef7
cmp dword [esp + 0x1c], ebx
jne 0x412ef7
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.UserName
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], ebx
call ebp
lea eax, [esp + 0x30]
test eax, eax
jne 0x412bf8
xor ebx, ebx
jmp 0x412c05
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov edi, dword [esp + 0x450]
push ebx
mov ecx, edi
call fcn.00404630
test eax, eax
je 0x412c45
mov edi, dword [edi]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x450]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax]
mov esi, 4
mov dword [ecx - 8], ebx
mov edx, dword [eax]
mov byte [edx + ebx], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
push str.AutoLogin
mov esi, 1
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
mov dword [esp + 0x34], esi
call ebp
test eax, eax
jne 0x412ef7
cmp dword [esp + 0x1c], esi
jne 0x412ef7
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x239]
mov byte [esp + 0x238], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
stosb byte es:[edi], al
call fcn.0041e5c0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x238]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
push str.PassWord
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
mov dword [esp + 0x460], 0
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x30], esi
call ebp
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x412ee3
lea edi, [esp + 0x238]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x412ee3
mov eax, dword [0x456050]
lea ecx, [esp + 0x30]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x412d90
lea edx, [esp + 0x30]
shr edx, 0x10
jne 0x412d59
xor eax, eax
lea ecx, [esp + 0x30]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00404a40
jmp 0x412d90
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x412d90
push edi
lea ecx, [esp + 0x14]
call fcn.004044c0
test eax, eax
je 0x412d90
mov ecx, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x456050]
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x33c]
push 0x104
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
push 0
push ecx
push 0
push 0
push 0x457604
mov byte [esp + 0x468], 2
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push edx
push 0x456a0c
push eax
call fcn.00409280
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004047d0
mov edx, dword [esp + 0x10]
push 0x104
lea eax, [esp + 0x138]
push edx
lea ecx, [esp + 0x240]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0041e620
lea edx, [esp + 0x134]
test edx, edx
jne 0x412e25
xor ebp, ebp
jmp 0x412e35
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
mov ebx, dword [esp + 0x454]
push ebp
mov ecx, ebx
call fcn.00404630
test eax, eax
je 0x412e6c
mov edi, dword [ebx]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov dword [eax - 8], ebp
mov ecx, dword [ebx]
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x412e9d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x412e9d
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x412ec8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x412ec8
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x448], 0xffffffff
call fcn.0040ad60
mov eax, 1
jmp 0x412ef9
lea ecx, [esp + 0x24]
mov dword [esp + 0x448], 0xffffffff
call fcn.0040ad60
xor eax, eax
mov ecx, dword [esp + 0x440]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x43c
ret