joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4227b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebp, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 8], edi
je 0x40da74
mov ecx, esi
call fcn.0040dc10
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
push edi
push 1
push edi
mov dword [esi], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call ebx
cmp eax, edi
mov dword [esi + 0x1c], eax
je 0x40db84
push edi
push edi
push 1
push edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call ebx
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x40db84
lea ebx, [esi + 4]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
mov ebx, dword [ebx]
push edi
push 0x40000080
push 3
push edi
push edi
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
or ebx, 0xffffffff
mov dword [esi], eax
cmp eax, ebx
je 0x40dbcb
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov ecx, dword [esi]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov edx, dword [esi]
push 0x800
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_SetupComm]
mov eax, 0x4b00
xor edx, edx
div ebp
mov ecx, dword [esi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
push ebp
mov ecx, esi
call fcn.0040df40
cmp eax, edi
je 0x40db99
mov eax, dword [0x430ba8]
push 0x42ea78
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40dbdc
mov eax, 1
mov dword [esi + 8], eax
mov ecx, dword [0x431934]
cmp ecx, edi
jne 0x40dba9
mov dword [0x431934], eax
jmp 0x40da68
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40dbee
mov edx, dword [esi]
mov dword [esi + 8], edi
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
jmp 0x40dbcb
lea eax, [esp + 0x38]
push eax
push edi
push esi
push 0x40de20
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x34], eax
jne 0x40dbdc
mov ecx, esi
call fcn.0040dc10
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40dbee
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], ebx
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x40dc50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x40dc66
xor eax, eax
pop esi
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push edi
lea edi, [esi + 0x20]
lea eax, [esp + 0x24]
push edi
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40dcf2
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x40dcd7
mov edx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x24]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40dcf2
call ebp
cmp eax, 0x3e4
jne 0x40dcdf
mov ecx, dword [esi]
lea eax, [esp + 0x24]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40dcaf
mov eax, dword [esp + 0x24]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret 8
mov dword [esp + 0x24], 0
mov ecx, dword [esi]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x24]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret 8

Function at 0x40dd00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ClearCommError]
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
mov edx, dword [esi]
push eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x40ddb9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea edi, [esi + 0xc]
lea eax, [esp + 0x10]
push edi
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ddb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x40dd9e
mov edx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x10]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40ddb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x40dda6
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x40dd72
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dword [esp + 0x10], 0
mov ecx, dword [esi]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x415560
Capabilities:
Access peb ldr_data
Create pipe
Create process on windows
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x423267
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 0
call fcn.00421016
mov ebx, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], ebx
call fcn.00421016
push 0x104
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov dword [0x430528], 0xc
mov dword [0x430530], ebx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
push 0x430528
push 0x43059c
push 0x4305a0
mov dword [0x430590], eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4155f8
push str.Stdout_pipe_creation_failed_n
mov ecx, edi
call fcn.00416a20
push str.NEMERIX
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
push 3
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x38], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x42ffb0
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x43192c]
mov byte [esp + 0x38], 3
call fcn.0040ce90
test eax, eax
jne 0x41566d
push eax
push eax
push str.Resource_Load_Fail
call sub.MFC42.DLL_AfxMessageBox
mov esi, dword [esp + 0x34]
push str.error
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], ebx
jmp 0x415776
mov ecx, dword [0x431a20]
lea edx, [esp + 0x10]
push ecx
push str.mode__d_6
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x43191c]
push eax
push ecx
lea edx, [esp + 0x20]
push 0x42e1cc
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x28]
add esp, 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x43059c]
mov ecx, dword [0x4305ac]
push 0x430580
push 0x430538
push 0
push 0
push 8
mov dword [0x430578], eax
mov dword [0x430574], eax
mov eax, dword [0x430564]
push ebx
push 0x430528
push 0x430528
or ah, 1
push esi
push 0
mov dword [0x430528], 0xc
mov dword [0x430530], ebx
mov dword [0x430538], 0x44
mov dword [0x430570], ecx
mov dword [0x430564], eax
mov word [0x430568], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41574f
push 0xa5
mov ecx, 0x431104
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [0x431104]
push 0
push 0
push edx
call sub.MFC42.DLL_AfxMessageBox
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push str.error
jmp 0x415767
push 0
push 0
push 0
push 0
push edi
push 0x4157c0
call sub.MFC42.DLL_AfxBeginThread
push 0x42f518
mov esi, dword [esp + 0x38]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
Function at 0x419900
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], eax
mov eax, dword [0x430be0]
push 0x42f82c
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
pop edi
jne 0x41995d
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.c:program_filesPcManager_JYPcManager_JYVerManager.exe_chtechN
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x54
ret
lea edx, [esp]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push str.c:program_filesPcManager_JYPcManager_JYVerManager.exe_chtechS
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x54
ret
Function at 0x41b300
Capabilities:
Delete file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x423f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call fcn.00421016
mov ebx, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], ebx
call fcn.00421016
mov eax, dword [0x43191c]
lea ecx, [esp + 0xc]
push eax
push str._s_tempreadset.dat
push ecx
mov byte [esp + 0x12c], 2
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x18]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0x80
push 3
push 0
push 0
lea ecx, [esp + 0x2c]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x41b3c0
push eax
push eax
push str.Cant_Open_File
mov dword [0x4324b0], eax
call sub.MFC42.DLL_AfxMessageBox
mov esi, dword [esp + 0x128]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], ebx
jmp 0x41b40c
lea eax, [esp + 0x14]
push 0
push eax
push 0x10
push 0x4306d8
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4306d8
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x128]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x41b690
Capabilities:
Get common file path
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x423fb2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 1
mov dword [0x430e34], 1
call fcn.00421016
lea eax, [esp + 0x24]
mov byte [esp + 0x134], 2
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xc]
call fcn.00421016
lea ecx, [esp + 8]
mov byte [esp + 0x134], 3
call fcn.00421016
push str.Sirf
push 0x417
mov ecx, esi
mov byte [esp + 0x13c], 4
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 8]
push ecx
push 0x417
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x148]
lea edx, [esp + 0x144]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x144], 5
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x14c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x148], 6
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 4
push ecx
mov ecx, dword [0x43192c]
call fcn.0040b300
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x41b85c
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
test esi, esi
jne 0x41b7d1
xor eax, eax
jmp 0x41b7d4
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x78]
mov dword [edi], eax
mov edx, dword [esi + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x80]
mov dword [esi + 0x7c], eax
lea eax, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esi + 0x84]
call sub.MFC42.DLL_CString::Empty
push 0
push 4
push 0
push 0
push edi
push 0x41c210
call sub.MFC42.DLL_AfxBeginThread
test eax, eax
mov dword [esi + 0x74], eax
je 0x41b843
push 1
mov ecx, esi
mov dword [eax + 0x28], 0
call fcn.00416a20
mov esi, dword [esi + 0x74]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41b869
push 0xffffffffffffffff
push 0x10
push 0xb6
call sub.MFC42.DLL_AfxMessageBox_1
push 0
mov ecx, esi
call fcn.00416a20
jmp 0x41b869
mov edx, dword [esi + 0x8c]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 8]
mov byte [esp + 0x134], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x13c]
mov byte [esp + 0x134], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x140]
mov dword [esp + 0x134], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x12c]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x130
ret 0xc
Function at 0x40ab50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4729bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004671f8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40abd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00464e0d
mov eax, dword [eax]
push 0x5731d0
push eax
call fcn.004572b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00467483
test bl, bl
je 0x40abd2
push 0x5731d0
lea ecx, [esp + 0xc]
call fcn.00467813
push 0x576d58
lea ecx, [esp + 0xc]
call fcn.00467813
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40ac0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00467483
jmp 0x40acd9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40ac92
lea edx, [esp + 0x7c]
push 0x576d54
push edx
call fcn.004572b4
add esp, 8
test eax, eax
je 0x40ac92
lea eax, [esp + 0x7c]
push 0x576d50
push eax
call fcn.004572b4
add esp, 8
test eax, eax
je 0x40ac92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ac22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00467483
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b4d0
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 0x40b532
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 0x40b540
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x472a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57db88]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b678
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b5a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467483
xor eax, eax
jmp 0x40b6ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004675c0
push esi
lea ecx, [esp + 0xc]
call fcn.0046784f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b6cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040b4d0
test eax, eax
jne 0x40b6cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0040b4d0
test eax, eax
jne 0x40b6cd
lea eax, [esp + 0x14]
push 0x576d6c
push eax
call fcn.004582f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b6ac
lea ecx, [esp + 0x14]
push 0x576d68
push ecx
call fcn.00458270
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b6ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b6af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00467570
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b5be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00467483
xor eax, eax
jmp 0x40b6ef
mov byte [esi], 0
push 0x576d64
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00467483
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41d140
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41d1ae
cmp si, 0x69
ja 0x41d1ae
add esi, 0xffd0
cmp si, 0x11
je 0x41d17e
push 0x11
call edi
test ax, ax
jge 0x41d17e
or esi, 0x2000
cmp si, 0x10
je 0x41d193
push 0x10
call edi
test ax, ax
jge 0x41d193
or esi, 0x4000
cmp si, 0x12
je 0x41d1a8
push 0x12
call edi
test ax, ax
jge 0x41d1a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41d1bb
mov esi, 0xbd
jmp 0x41d16f
cmp si, 0x6e
jne 0x41d1c8
mov esi, 0xbe
jmp 0x41d16f
cmp si, 0x6f
jne 0x41d169
mov esi, 0xbf
jmp 0x41d16f

Function at 0x41e860
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58e278]
xor edx, edx
cmp eax, edx
jne 0x41e886
xor eax, eax
mov byte [eax + 0x58e178], al
inc eax
cmp eax, 0x100
jl 0x41e86e
mov dword [0x58e278], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58e178
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41e917
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41e8ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41e8b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41e990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41e9e3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41e9ca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret