joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4491a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f4408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x44924a
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x449231
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x449231
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x449260
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4492c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4494d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4495c4
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocStringLen
mov ecx, edi
call fcn.00449260
test eax, eax
jne 0x4495c4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocStringLen
mov ecx, edi
call fcn.00449260
test eax, eax
jne 0x4495c4
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x449595
lea eax, [esp + 0x10]
push 0x5284f0
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x449595
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x449598
mov byte [esi], 0
push 0x5238f8
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4497d0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f44ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push edi
lea eax, [esp + 4]
push 1
push eax
call fcn.0040dc50
add esp, 8
xor ecx, ecx
mov dword [esp + 0x22c], 0
mov dword [esp + 0x11], ecx
mov byte [esp + 0x10], 0
mov dword [esp + 0x15], ecx
mov dword [esp + 0x19], ecx
mov word [esp + 0x1d], cx
mov byte [esp + 0x1f], cl
mov ecx, dword [0x536d10]
call fcn.004e6330
mov edx, eax
mov eax, dword [esp + 0x234]
mov dword [esp + 0x20], eax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
mov dword [esp + 8], 0x1ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x10], edx
xor eax, eax
pop edi
mov cl, byte [eax + 0x52f634]
mov dl, byte [esp + eax + 0xc]
xor dl, cl
mov byte [esp + eax + 0xc], dl
inc eax
cmp eax, 0x10
jl 0x44985e
lea edx, [esp + 4]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x28]
push 4
push edx
call fcn.00463d30
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0040c0d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esp, 0x20
push eax
push ecx
push str.InstallApp
push str.SYSTEM
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x228], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x449ad0
Capabilities:
Access peb ldr_data
Create process on windows
Create process suspended
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f4530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 1
mov ebp, ecx
push eax
call fcn.0040dae0
add esp, 8
push str.HaoZip_Tiny.exe
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x84], 0
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x30]
push edx
mov dword [esp + 0x30], 0x44
push 0x5286d4
push 0xa4
rep stosd dword es:[edi], eax
mov dword [esp + 0x64], 1
mov word [esp + 0x68], ax
call fcn.0040c1a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x449c50
push 0
push 0
push 0x528690
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push str.cmd__c__
push ecx
call sub.MFC42.DLL_operator_3
push 0x5234a4
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x84], 3
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x449c45
mov edx, dword [esp + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0xc]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x70
ret
Function at 0x44b9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f46b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 8], al
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.0044bad0
test al, al
jne 0x44ba57
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x44ba42
mov al, byte [ecx - 1]
cmp al, bl
je 0x44ba38
cmp al, 0xff
je 0x44ba38
dec al
pop esi
mov byte [ecx - 1], al
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0044eb70
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
push ecx
mov ecx, esi
call fcn.0044c290
mov ecx, eax
call fcn.0044f040
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.0044eec0
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x44baae
mov al, byte [ecx - 1]
cmp al, bl
je 0x44baa4
cmp al, 0xff
je 0x44baa4
dec al
mov byte [ecx - 1], al
jmp 0x44baae
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x28]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x44c060
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f472b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x34]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], ebx
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
push eax
push ebx
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x44]
add esi, 0x30
cmp eax, ebx
mov dword [esp + 0x28], edx
je 0x44c15f
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
cmp eax, edx
je 0x44c15f
lea ecx, [eax + 0x20]
cmp ecx, edx
jne 0x44c11c
mov dword [esp + 0x40], eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x34], 2
je 0x44c10f
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0044e250
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.0044d430
jmp 0x44c18a
mov edi, eax
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x34], 3
je 0x44c18a
mov eax, dword [esp + 0xc]
mov edx, edi
mov dword [edx], eax
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edi + 0xc]
mov dword [edx + 8], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [esp + 0x28]
mov dword [edi + 0x1c], edx
jmp 0x44c18a
mov ecx, esi
call fcn.0044d430
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ecx
lea eax, [ecx + 0x20]
mov dword [esi + 0x1c], eax
cmp ecx, ebx
mov byte [esp + 0x34], 1
je 0x44c18a
lea edx, [esp + 0xc]
push edx
call fcn.0044e250
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x1c]
inc edx
cmp eax, ebx
mov dword [esi + 0x2c], edx
je 0x44c1b6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x44c1ad
cmp al, 0xff
je 0x44c1ad
dec al
mov byte [ecx], al
jmp 0x44c1b6
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x452e10
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f4e5c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], esi
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x378], 0
call fcn.0040dae0
add esp, 8
push 0x524458
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x37c], 1
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x370], 3
call sub.MFC42.DLL_CString::CString
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x169]
mov byte [esp + 0x168], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x4f
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 0
rep stosd dword es:[edi], eax
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
lea edx, [esp + 0x10]
push 0x529764
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
cmp ebp, 0xffffffff
je 0x453003
test ebp, ebp
je 0x453003
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edx, [esp + 0x54]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator_3
test byte [esp + 0x28], 0x10
je 0x452fef
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_3
call fcn.0040bc40
add esp, 4
test eax, eax
je 0x452fef
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 8]
cmp eax, 4
jl 0x452fef
cmp eax, 0xb
jg 0x452fef
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push str.UserData.ini
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x37c], 4
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push eax
lea eax, [esp + 0x16c]
push 0x200
push eax
push 0x5307a8
push str.UserId
push str.LOGIN
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x370], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x168]
push ecx
push edx
call edi
add esp, 8
test eax, eax
jne 0x452fef
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
push eax
push 0
mov edx, dword [ecx + 0x168]
push 0x14a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x28]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x452f02
lea ecx, [esp + 0x10]
mov byte [esp + 0x370], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x370], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x368]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x368
ret
Function at 0x4568d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f5308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xd4]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::MakeLower
push 0x5307a8
push 0x5243e4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
push 0x52966c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x45696b
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
push 0x529edc
push eax
call sub.MFC42.DLL_operator_3
push 0x529e94
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0x40
push 0x52347c
push eax
mov ecx, edi
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xc]
push edx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x456a2d
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x28]
mov eax, dword [eax - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x10]
push eax
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
push 0xffffffffffffffff
neg esi
sbb esi, esi
lea ecx, [esp + 0x2c]
inc esi
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x456a40
push 0x10
push 0x529e30
push 0x529e4c
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x456a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ebx
push eax
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x456af7
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ebx
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call sub.MFC42.DLL_AfxGetEmptyString
mov esi, dword [esp + 0x11c]
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esi], eax
call sub.MFC42.DLL_CString::operator_3
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4
Function at 0x456b30
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f5333
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x31c
push ebx
push esi
push edi
lea eax, [esp + 0xc]
xor ebx, ebx
push 1
push eax
mov dword [esp + 0x338], ebx
call fcn.0040dc50
add esp, 8
xor ecx, ecx
mov byte [esp + 0x330], 1
mov dword [esp + 0x19], ecx
mov byte [esp + 0x18], bl
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
mov word [esp + 0x25], cx
mov byte [esp + 0x27], cl
mov ecx, dword [0x536d10]
call fcn.004e6330
mov esi, eax
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x129]
mov byte [esp + 0x128], bl
mov dl, byte [esp + 0x338]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x33c]
push 0xff
lea ecx, [esp + 0x2d]
push eax
push ecx
mov dword [esp + 0x20], 0x1ff
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov dword [esp + 0x18], esi
xor eax, eax
mov dl, byte [eax + 0x52f634]
mov cl, byte [esp + eax + 0x18]
xor cl, dl
mov byte [esp + eax + 0x18], cl
inc eax
cmp eax, 0x10
jl 0x456bf4
mov eax, dword [esp + 0x33c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x12c]
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
push edx
inc eax
push ecx
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00463d30
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x13c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0040c0d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add esp, 0x20
push eax
push ecx
push str.HomePage
push str.SYSTEM
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x330], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x33c]
mov dword [esp + 0x330], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x328
ret 8
Function at 0x459b70
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f586b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push edi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
mov al, 0xd8
mov cl, 0xae
mov byte [esp + 0xd], al
mov byte [esp + 0xf], al
mov al, 0x28
mov byte [esp + 0xa], cl
mov byte [esp + 0x1a], al
mov byte [esp + 0x1e], cl
mov byte [esp + 0x24], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0x52f634
push 0x20
push edx
mov dword [esp + 0x14c], 0
mov byte [esp + 0x1c], 0x25
mov byte [esp + 0x1d], 0xd3
mov byte [esp + 0x1f], 0x32
mov byte [esp + 0x20], 0x15
mov byte [esp + 0x22], 0x12
mov byte [esp + 0x24], 0xc9
mov byte [esp + 0x25], 0x78
mov byte [esp + 0x26], 0xea
mov byte [esp + 0x27], 0x81
mov byte [esp + 0x28], 0x8f
mov byte [esp + 0x29], 0x53
mov byte [esp + 0x2a], 0xcf
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x3b
mov byte [esp + 0x2d], 0x5d
mov byte [esp + 0x2f], 0xaf
mov byte [esp + 0x30], 0x51
mov byte [esp + 0x31], 0x27
mov byte [esp + 0x33], 0x13
mov byte [esp + 0x34], 0x40
mov byte [esp + 0x35], 0xf6
mov byte [esp + 0x36], 0x7d
mov byte [esp + 0x37], 0x5a
mov byte [esp + 0x39], 0xeb
mov byte [esp + 0x3a], 0xaa
mov byte [esp + 0x3b], 0xe1
mov dword [esp + 0x40], 0x100
call fcn.00463fd0
add esp, 0x14
test eax, eax
pop edi
lea eax, [esp + 0x2c]
jne 0x459c89
mov eax, str.sh_wnst
push eax
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_3
push 0x52435c
push 0x524358
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Replace
push str.utdo
push 0x52434c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Replace
lea eax, [esp]
push 0x5238e8
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret