Function at 0x412fc0
Capabilities:
Delete registry value
Get disk information
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x445a41
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x220
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, dword [esp + 0x244]
cmp eax, ebx
push edi
je 0x41303b
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.SaveUserName
push str.SOFTWAREYahooMiniMsgr
push SysReAllocStringLen
mov dword [esp + 0x28], 1
call ebp
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 1
push str.UserName
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
call ebp
jmp 0x413074
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push str.SaveUserName
push str.SOFTWAREYahooMiniMsgr
push SysReAllocStringLen
mov dword [esp + 0x28], ebx
call ebp
push str.UserName
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
cmp dword [esp + 0x244], ebx
je 0x4132d4
cmp esi, ebx
je 0x413307
cmp dword [esp + 0x24c], ebx
je 0x413307
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413307
mov ecx, 0x40
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push 4
push edx
stosw word es:[edi], ax
push 4
push str.AutoLogin
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
stosb byte es:[edi], al
mov dword [esp + 0x28], 1
call ebp
push esi
push 0x456084
lea eax, [esp + 0x30]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 1
push str.UserName
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
call ebp
lea ecx, [esp + 0x1c]
call fcn.0041e5c0
mov edx, dword [0x456050]
mov eax, esi
shr eax, 0x10
mov dword [esp + 0x238], ebx
mov dword [esp + 0x14], edx
jne 0x41314f
and esi, 0xffff
lea ecx, [esp + 0x14]
push esi
call fcn.00404a40
jmp 0x413195
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
cmp edi, ebx
je 0x413195
lea ecx, [edi + 0xd]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebx
je 0x413195
mov dword [eax], 1
mov byte [eax + edi + 0xc], bl
mov ecx, edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
add eax, 0xc
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x456050]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x12c]
push 0x104
lea edx, [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x2c]
push ebx
push eax
push ebx
push ebx
push 0x457604
mov byte [esp + 0x258], 2
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push ecx
push 0x456a0c
push edx
call fcn.00409280
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004047d0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041e6c0
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x250]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041e5d0
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push str.PassWord
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
call ebp
lea eax, [esp + 0x28]
push eax
call fcn.0041e6c0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x456054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 4
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x413293
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x413293
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x456054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4132be
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4132be
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x238], 0xffffffff
call fcn.0040ad60
jmp 0x413307
lea eax, [esp + 0x10]
push 4
push eax
push 4
push str.AutoLogin
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
mov dword [esp + 0x28], ebx
call ebp
push str.PassWord
push str.SOFTWAREYahooMiniMsgrAutoLogin
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret