joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427f50
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push esi
push eax
push 0x45baa8
push 1
push 0
push 0x45ba98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x428092
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x45bab8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
mov eax, dword [esp + 4]
test esi, esi
jge 0x427fa7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0x10
mov ecx, dword [esp + 0x218]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
mov esi, eax
test esi, esi
jge 0x427fdb
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x21c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
test esi, esi
jge 0x428013
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x224]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jge 0x42804b
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0x10
mov eax, dword [esp + 0x220]
lea edx, [esp + 0xc]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 0x210
ret 0x10
Function at 0x42b0c0
Capabilities:
Delete file
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450be8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x10], esp
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0044b6f4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0044b6f4
mov byte [ebp - 4], 3
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 0xc]
push str.UPGRADE
push 0x4677fc
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x42b19d
push str.Vrjscgf0hyg
lea ecx, [ebp - 0x18]
call fcn.0044b82c
push 0x475270
lea ecx, [ebp - 0x14]
call fcn.0044b81a
lea eax, [ebp - 0x18]
push eax
call fcn.00406660
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFile::Open
mov edi, eax
test edi, edi
jne 0x42b1de
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x34]
push 0
push 0
lea ecx, [ebp - 0x34]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFile::Flush
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CFile::Close
mov ecx, dword [ebp - 0x14]
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x42b23e
push ebx
mov dword [ebp - 4], 2
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c060
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x42c074
pop ecx
ret
mov eax, dword [esp]
test al, 2
je 0x42c083
mov eax, 1
pop ecx
ret
test al, 1
je 0x42c08e
mov eax, 1
pop ecx
ret
test al, 8
je 0x42c096
xor eax, eax
pop ecx
ret
and eax, 0xff
shr eax, 2
and eax, 1
pop ecx
ret
Function at 0x42c0b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x450ce8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea ecx, [esp + 4]
call fcn.0044b6f4
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0
call fcn.0044b6f4
lea ecx, [esp]
mov byte [esp + 0x14], 1
call fcn.0044b6f4
push str.Vrjscgf0hyg
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.0044b82c
call fcn.0042b0c0
push 0x475270
lea ecx, [esp + 8]
call fcn.0044b81a
lea eax, [esp]
push eax
call fcn.00406660
add esp, 4
lea ecx, [esp]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
push str.0Wshtdeg_Qtrugfu.__._t
lea ecx, [esp + 4]
call fcn.0044b82c
lea edx, [esp]
push edx
call fcn.00406660
mov eax, dword [esp + 4]
add esp, 4
lea ecx, [esp + 8]
push str.test.exe
push eax
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esp, 0xc
push 5
push 0
push edx
push eax
push 0x466178
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x42c390
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x42c411
mov eax, dword [0x468ec0]
cmp eax, 1
je 0x42c411
cmp eax, 4
je 0x42c411
mov eax, dword [esp + 8]
lea ecx, [esi + 4]
push eax
mov dword [0x468ec0], 1
call fcn.0044b81a
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esi + 0x10]
call fcn.0044b81a
mov edx, dword [esp + 0x10]
push 0
push 4
push 0
push 0
push esi
push 0x42cb00
mov dword [esi + 0xc], edx
call sub.MFC42.DLL_AfxBeginThread
mov esi, eax
test esi, esi
je 0x42c407
mov eax, dword [0x468ebc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 0xc
mov dword [0x468ec0], 0
pop esi
ret 0xc
Function at 0x42f6e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x124
lea eax, [esp + 0x10]
mov dword [esp], 3
push eax
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42f730
cmp dword [esp + 0x20], 1
jne 0x42f714
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42f730
lea ecx, [esp]
push 0
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [esp]
add esp, 0x124
ret
lea edx, [esp + 4]
push edx
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f7a0
lea eax, [esp + 8]
lea ecx, [esp + 0xa4]
push eax
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push str.WheelScrollLines
push eax
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f795
push 0xa
lea ecx, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov dword [esp], eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x124
ret
Function at 0x439e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x451758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebp
call fcn.0044b6f4
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.0044b6f4
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0044b6f4
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x20], 2
test ebx, ebx
jge 0x439f17
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
push esi
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], 5
lea edi, [eax + 4]
mov al, byte [edi + 4]
test al, al
je 0x439fde
mov ecx, dword [0x4740fc]
xor eax, eax
mov ax, word [edi]
cmp eax, ecx
jge 0x439fde
mov edx, dword [0x475db8]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea eax, [edx + ecx*4 + 0x10]
lea ecx, [esp + 0x18]
push eax
push str.__s_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
mov al, byte [edi + 5]
xor esi, esi
test al, al
jbe 0x439fd3
lea ebp, [edi + 6]
push ebp
lea eax, [esp + 0x18]
push 0x467ab8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator
xor edx, edx
inc esi
mov dl, byte [edi + 5]
cmp esi, edx
jge 0x439fc3
push 0x2c
lea ecx, [esp + 0x14]
call fcn.0044bac6
xor eax, eax
add ebp, 0xb
mov al, byte [edi + 5]
cmp esi, eax
jl 0x439f8d
mov ebp, dword [esp + 0x1c]
push 0x5d
lea ecx, [esp + 0x14]
call fcn.0044bac6
mov eax, dword [esp + 0x30]
add edi, 0x48
dec eax
mov dword [esp + 0x30], eax
jne 0x439f31
mov eax, dword [esp + 0x3c]
pop edi
test eax, eax
pop esi
je 0x43a011
push 0
push 0
push 0
push 0
push 0x468158
push ebx
push 1
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertItem
lea ecx, [ebx + 1]
lea edx, [esp + 0xc]
push ecx
push 0x466be0
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, ebp
push eax
push 1
push ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
mov ecx, dword [esp + 8]
push ecx
push 2
push ebx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x30]
mov ecx, ebp
push edx
push 0
push 0
push 0
push 0
push 4
push 0
push ebx
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x440320
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4524a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0044b6f4
mov esi, dword [0x468ecc]
mov dword [esp + 0x1c], 0
test esi, esi
je 0x4403a5
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, esi
mov esi, dword [esi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.0044b81a
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
add esp, 8
test eax, eax
push edi
jne 0x440391
mov ecx, ebp
call fcn.00440100
test eax, eax
jne 0x4403bf
jmp 0x4403a1
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.004401f0
test eax, eax
jne 0x4403bf
test esi, esi
jne 0x440361
mov edx, dword [esp + 0x28]
push 1
push 0
push 0
mov eax, dword [edx]
push eax
push 0x4676b8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x444d60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], esp
call fcn.0042d0c0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::CFile
xor edi, edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.0044b6f4
push str.Common_FilesSystemOle_DB_
lea eax, [ebp - 0x20]
push 0x47527c
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0044b81a
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push str.mstalk.dll
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x14]
push edi
push 0x8000
push ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::Open
cmp eax, edi
jne 0x444e2d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
push edi
push edi
lea ecx, [ebp - 0x30]
call dword [edx + 0x30]
lea eax, [ebp - 0x40]
push 0x10
push eax
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFile::Read
lea ecx, [ebp - 0x30]
mov esi, eax
call sub.MFC42.DLL_CFile::GetLength
sub eax, esi
lea ecx, [ebp - 0x30]
mov ebx, eax
call sub.MFC42.DLL_CFile::Close
cmp esi, 0x10
je 0x444e64
mov dword [ebp - 0x18], edi
lea edx, [ebp - 0x3a]
mov ecx, 0x467f58
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x444e88
mov ecx, 3
mov edi, str.helper
lea esi, [ebp - 0x40]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x444e8c
xor ecx, ecx
jmp 0x444e8f
mov ecx, dword [ebp - 0x18]
mov eax, 0xa2c2a87d
mul ebx
mov eax, dword [ebp - 0x38]
sub ebx, edx
shr ebx, 1
add ebx, edx
shr ebx, 8
cmp ebx, eax
jne 0x444eaa
test ecx, ecx
jne 0x444ee6
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bcb8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 1
jmp 0x444eb4
Function at 0x444f10
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x452f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0044b6f4
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call fcn.0044b6f4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.0044b6f4
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0044b6f4
push 0x466188
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.0044b82c
push str.0s0eucvlmlmn0h0v0kp_
lea ecx, [esp + 0x10]
call fcn.0044b82c
lea eax, [esp + 0xc]
push eax
call fcn.00406660
lea ecx, [esp + 0x18]
push ecx
call fcn.00406660
add esp, 8
lea ecx, [esp + 0xc]
push 0x473962
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
push 0
push edx
push eax
push 0x466178
push 0
call esi
push 0x473962
lea ecx, [esp + 0xc]
call fcn.0044b82c
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x44503d
push 0x467f78
lea edx, [esp + 0x20]
push 0x47527c
push edx
call sub.MFC42.DLL_operator
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.0044b81a
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4450f7
mov ecx, edi
call fcn.00445150
test eax, eax
je 0x4450f7
push 0x473518
call fcn.0040e470
add esp, 4
lea ecx, [esp + 8]
push str.Vrjscgf0hyg
call fcn.0044b82c
call fcn.0042b0c0
push 0x475270
lea ecx, [esp + 0x14]
call fcn.0044b81a
lea ecx, [esp + 8]
push ecx
call fcn.00406660
add esp, 4
lea edx, [esp + 8]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator
push str.0Wshtdeg_Pvkft_
lea ecx, [esp + 0x10]
call fcn.0044b82c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0xc]
push str._.1ld___
push eax
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x18]
push ecx
call fcn.00406660
add esp, 0x10
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 5
push 0
push eax
push ecx
push 0x466178
push 0
call esi
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x447a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push edi
mov esi, ecx
mov eax, dword [eax]
mov edi, dword [eax - 8]
test edi, edi
mov dword [esp + 0xc], edi
je 0x447b1a
push ebx
push ebp
lea ebx, [esi + 0x870]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ecx, ecx
xor ebp, ebp
test edi, edi
jle 0x447ad8
mov dl, byte [ebx + ebp]
cmp dl, 0xd
je 0x447ac7
cmp dl, 0xa
je 0x447ac7
mov al, dl
shr al, 6
shl dl, 2
or al, dl
xor al, 0x6a
mov byte [esp + 0x10], al
mov edi, dword [esp + 0x10]
and edi, 0xff
cmp edi, 0x8f
ja case.0x447a8f.2
xor edx, edx
mov dl, byte [edi + 0x447b30]
jmp dword [edx*4 + 0x447b24]
mov byte [esi + ecx + 0xa0], 0x52
inc ecx
add al, 0x20
mov byte [esi + ecx + 0xa0], al
jmp 0x447ace
mov byte [esi + ecx + 0xa0], 0x56
inc ecx
sub al, 0x20
mov byte [esi + ecx + 0xa0], al
jmp 0x447ace
mov byte [ecx + esi + 0xa0], al
jmp 0x447ace
mov byte [ecx + esi + 0xa0], dl
mov eax, dword [esp + 0x14]
inc ecx
inc ebp
cmp ebp, eax
jl 0x447a58
mov byte [ecx + esi + 0xa0], 0
add esi, 0xa0
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0044b82c
mov eax, dword [esp + 0x20]
pop ebp
test eax, eax
pop ebx
je 0x447b0f
push 0x26
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::Insert
pop edi
pop esi
add esp, 8
ret 8
push 0x21
push 0
mov ecx, esi
call sub.MFC42.DLL_CString::Insert
pop edi
pop esi
add esp, 8
ret 8

Function at 0x4489a0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
je 0x448a03
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x448a03
lea ecx, [esi + 0x3c]
push edi
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4489fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4489fa
mov edx, dword [esi + 0x4c]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
not eax
and eax, edi
pop edi
pop esi
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
ret 8
xor eax, eax
pop esi
ret 8

Function at 0x448a10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
je 0x448a98
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x448a98
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x448a98
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], eax
cmp ecx, eax
jge 0x448a50
mov eax, ecx
mov dword [esp + 4], eax
lea ecx, [esi + 0x28]
lea edx, [esp + 4]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x448a8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x448a98
mov edx, dword [esi + 0x38]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x448a98
mov eax, dword [esp + 4]
pop esi
add esp, 0x14
ret 8
xor eax, eax
pop esi
add esp, 0x14
ret 8
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call fcn.00401980
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret

Function at 0x4010c1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
xor esi, esi
push edi
push esi
push dword [esp + 0x14]
push esi
push 0x8000040
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
je 0x4010fc
push esi
push esi
push esi
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, esi
jne 0x40112a
push 0x40
push 0x101000
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40112a
push esi
mov eax, 0x401130
push esi
push eax
push eax
push 0x80030008
call fcn.00401057
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
ret