joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403430
Capabilities:
Terminate process

Disassembly:
mov eax, 0x211c
call fcn.00406160
push ebx
push ebp
push esi
push edi
push str.psapi.dll
call sub.MFC42.DLL_AfxLoadLibrary
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
je 0x4035fc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumProcesses
push edi
call esi
push str.EnumProcessModules
push edi
mov ebx, eax
call esi
push str.GetModuleFileNameExA
push edi
mov ebp, eax
call esi
push str.GetModuleBaseNameA
push edi
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x4035e9
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4035e9
test eax, eax
je 0x4035e9
test ebp, ebp
je 0x4035e9
lea eax, [esp + 0x10]
lea ecx, [esp + 0x112c]
push eax
push 0x1000
push ecx
call ebx
test eax, eax
jne 0x4034d7
push edi
call sub.MFC42.DLL_AfxFreeLibrary
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x211c
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
shr eax, 2
mov dword [esp + 0x10], eax
je 0x4035d3
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edi, [esp + 0x112c]
mov edx, dword [edi]
push edx
push 0
push 0x410
call ebx
mov esi, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x130]
push 0x1000
push ecx
push esi
call ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x12c]
shr edx, 2
mov dword [esp + 0x20], edx
lea edx, [esp + 0x28]
push 0x104
push edx
push eax
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x403574
mov edx, dword [esp + 0x12c]
lea ecx, [esp + 0x28]
push 0x104
push ecx
push edx
push esi
call dword [esp + 0x34]
lea eax, [esp + 0x28]
push str.winwps32.exe
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x4035ad
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4034fd
mov edi, dword [esp + 0x18]
push edi
call sub.MFC42.DLL_AfxFreeLibrary
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x211c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x112c]
push edx
push 0
push 1
call ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esp + 0x18]
push edi
call sub.MFC42.DLL_AfxFreeLibrary
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x211c
ret
push edi
call sub.MFC42.DLL_AfxFreeLibrary
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x211c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x211c
ret
Function at 0x403a60
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4068c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
push 0x6e
mov dword [esp + 0x14], esi
call fcn.00405e1c
lea eax, [esi + 0x90]
mov dword [esp + 0x18], ebx
push eax
mov dword [esi], 0x407a78
call fcn.00405530
add esp, 4
lea edi, [esi + 0x194]
push edi
call fcn.00405620
add esp, 4
mov dword [0x40a748], ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [eax + esi + 0x193], bl
push 0x40a324
mov dword [esi + 0x4c0], ebx
mov dword [esi + 0x4c4], ebx
call sub.MFC42.DLL_AfxLoadLibrary
cmp eax, ebx
mov dword [esi + 0x4c8], eax
jne 0x403af6
push 0xffffffffffffffff
push ebx
push 0x24
call sub.MFC42.DLL_AfxMessageBox
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret
Function at 0x404440
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, dword [esp + 0x118]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x404479
xor eax, eax
pop ebp
pop ebx
add esp, 0x10c
ret
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, 0x104
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push 0
push eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x4044bf
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00404440
add esp, 8
test eax, eax
jne 0x404486
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
pop esi
test eax, eax
sete cl
pop edi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10c
ret

Function at 0x404ad0
Capabilities:
Get disk size

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x118
lea eax, [esp]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov al, byte [esp + 0x14]
mov dl, 0x5c
cmp al, dl
jne 0x404b27
cmp byte [esp + 0x15], dl
jne 0x404b27
mov cl, byte [esp + 0x16]
lea eax, [esp + 0x16]
test cl, cl
mov dword [esp], eax
je 0x404b1f
cmp cl, dl
je 0x404b1f
inc eax
mov dword [esp], eax
mov cl, byte [eax]
test cl, cl
jne 0x404b10
cmp byte [eax], 0
je 0x404b2f
inc eax
jmp 0x404b2b
lea eax, [esp + 0x14]
mov dword [esp], eax
mov cl, byte [eax]
test cl, cl
je 0x404b44
cmp cl, dl
je 0x404b44
inc eax
mov dword [esp], eax
mov cl, byte [eax]
test cl, cl
jne 0x404b35
cmp byte [eax], 0
je 0x404b51
inc eax
mov dword [esp], eax
mov byte [eax], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x404b80
or eax, 0xffffffff
add esp, 0x118
ret 4
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
imul eax, dword [esp + 8]
push 0x400
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add esp, 0x118
ret 4
Function at 0x4053e0
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x406ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x10]
mov eax, dword [edi]
mov ebp, dword [eax - 8]
call fcn.00405f2a
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::Empty
xor esi, esi
test ebp, ebp
jle 0x405483
mov ecx, dword [esp + 0xc]
mov al, byte [esi + ecx]
cmp al, 0x3b
je 0x40545c
cmp al, 0x2f
je 0x40545c
cmp al, 0x3f
je 0x40545c
cmp al, 0x3a
je 0x40545c
cmp al, 0x40
je 0x40545c
cmp al, 0x3d
je 0x40545c
cmp al, 0x26
je 0x40545c
push eax
mov ecx, edi
call fcn.00405f1e
jmp 0x40547e
movsx edx, al
push edx
lea eax, [esp + 0x24]
push str.___02X
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
inc esi
cmp esi, ebp
jl 0x40542f
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x10
ret

Function at 0x405530
Capabilities:
Terminate process

Disassembly:
push ecx
mov al, byte [0x40a928]
test al, al
je 0x40554c
mov eax, dword [esp + 8]
push 0x40a928
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop ecx
ret
lea ecx, [esp]
push esi
push ecx
call fcn.004055b0
add esp, 4
test eax, eax
jne 0x405570
push 0xffffffffffffffff
push eax
push 0x22
call sub.MFC42.DLL_AfxMessageBox
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0xc]
and edx, 0xffff
push edx
push str.wps_04x
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov byte [esi + 8], 0
push str..rtp
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
push 0x40a928
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
pop ecx
ret

Function at 0x4055b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 4]
mov dword [esp], 4
push eax
push 1
push 0
push str.SOFTWAREKingsoftWPS2000
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405610
lea ecx, [esp]
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.Version
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405610
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret
Function at 0x405620
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.SOFTWAREKingsoftWPS2000
push 0x80000002
mov dword [esp + 0x1c], 0x103
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405699
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405699
lea edx, [esp + 0x10]
push 0x40a138
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [esp + 0x118]
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi], 0
jne 0x4056ac
push 0xffffffffffffffff
push 0
push 0x22
call sub.MFC42.DLL_AfxMessageBox
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
add esp, 0x110
ret
Function at 0x406290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408000
push 0x406490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x40baf8], 0xffffffff
mov dword [0x40bafc], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40baec]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40bae8]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40baf4], ecx
call fcn.00406480
mov eax, dword [0x40a620]
test eax, eax
jne 0x406321
push 0x4043b0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00406460
push 0x40a018
push 0x40a014
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x40bae4]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x40bae0]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x40a010
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [edx]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x40642f
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x406395
cmp al, 0x22
jne 0x406387
cmp byte [esi], 0x22
jne 0x40639e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x4063ae
cmp al, 0x20
ja 0x4063ae
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40639e
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4063cf
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4063d4
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x406414
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40639e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40642f
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x402ee4
pop dword [ebp - 0x3c]
mov eax, 0x32981f84
sub eax, 0x3257f0a0
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x7da5a56b
sub dword [ebp - 0x4c], 0x2f536020
mov dword [ebp - 0x48], 0xcc068e45
add dword [ebp - 0x48], 0x662cbe00
mov dword [ebp - 0x44], 0x55b45a2a
sub dword [ebp - 0x44], 0x96815fc
mov dword [ebp - 0x40], 0x467c7f5a
add dword [ebp - 0x40], 0xb98380a6
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x41f78903
add eax, 0xbe48f801
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe1c0c766
add dword [ebp - 0x4c], 0x92b1a1f0
mov dword [ebp - 0x48], 0x48cf3b2e
add dword [ebp - 0x48], 0xf89d2647
mov dword [ebp - 0x44], 0x31801226
sub dword [ebp - 0x44], 0xce10a5ba
mov dword [ebp - 0x40], 0x5840ecf4
sub dword [ebp - 0x40], 0x5840ecf4
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39277
push 0
call eax
mov ecx, 0x5079
mov edi, eax
mov ebx, 0x74b93981
add ebx, 0x8b8daa7f
add ebx, dword [ebp - 0x3c]
mov esi, 0x3202b188
xor dword [ebp - 8], 0xacc50887
mov edx, dword [ebx]
add dword [ebp - 0x28], ebx
xor edx, esi
sub dword [ebp - 0x38], 0x18bd99fb
mov dword [edi], edx
xor dword [ebp - 0x28], 0xcfd32651
add edi, 0x9e91a072
sub edi, 0x9e91a06e
add ebx, 0x2ee98e3d
add ebx, 0xd11671c7
loop 0x402ff5
add eax, 0xd2c5d8cd
add eax, 0x2d3b5bea
xor ebx, ebx
add ebx, eax
add eax, 0xb1ab6899
add eax, 0x4e54976c
mov ecx, 0x62120772
add ecx, 0x9e2df88e
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x407e30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47611b
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.004689b3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407eb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004663da
mov eax, dword [eax]
push 0x491210
push eax
call fcn.00458574
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468c3e
test bl, bl
je 0x407eb2
push 0x491210
lea ecx, [esp + 0xc]
call fcn.0046901a
push 0x494d70
lea ecx, [esp + 0xc]
call fcn.0046901a
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 0x407eee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468c3e
jmp 0x407fb9
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 0x407f72
lea edx, [esp + 0x7c]
push 0x494d6c
push edx
call fcn.00458574
add esp, 8
test eax, eax
je 0x407f72
lea eax, [esp + 0x7c]
push 0x494d68
push eax
call fcn.00458574
add esp, 8
test eax, eax
je 0x407f72
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 0x407f02
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.00468c3e
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 0x4087b0
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 0x408812
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 0x408820
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47619b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49c38c]
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 0x408958
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408886
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468c3e
xor eax, eax
jmp 0x4089cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468dc7
push esi
lea ecx, [esp + 0xc]
call fcn.00469056
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x494da8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4089ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004087b0
test eax, eax
jne 0x4089ad
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.004087b0
test eax, eax
jne 0x4089ad
lea eax, [esp + 0x14]
push 0x494d84
push eax
call fcn.00459650
mov esi, eax
add esp, 8
test esi, esi
jne 0x40898c
lea ecx, [esp + 0x14]
push 0x494d80
push ecx
call fcn.004595d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40898c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40898f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468d77
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40889e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468c3e
xor eax, eax
jmp 0x4089cf
mov byte [esi], 0
push 0x494d7c
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.00468c3e
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 0x418e10
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 0x418e7e
cmp si, 0x69
ja 0x418e7e
add esi, 0xffd0
cmp si, 0x11
je 0x418e4e
push 0x11
call edi
test ax, ax
jge 0x418e4e
or esi, 0x2000
cmp si, 0x10
je 0x418e63
push 0x10
call edi
test ax, ax
jge 0x418e63
or esi, 0x4000
cmp si, 0x12
je 0x418e78
push 0x12
call edi
test ax, ax
jge 0x418e78
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x418e8b
mov esi, 0xbd
jmp 0x418e3f
cmp si, 0x6e
jne 0x418e98
mov esi, 0xbe
jmp 0x418e3f
cmp si, 0x6f
jne 0x418e39
mov esi, 0xbf
jmp 0x418e3f

Function at 0x41a530
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ad1a8]
xor edx, edx
cmp eax, edx
jne 0x41a556
xor eax, eax
mov byte [eax + 0x4ad0a8], al
inc eax
cmp eax, 0x100
jl 0x41a53e
mov dword [0x4ad1a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ad0a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41a5e7
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 0x41a5ba
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 0x41a588
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41a660
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 0x41a6b3
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 0x41a69a
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
Function at 0x4210f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x421288
cmp ebp, ebx
jle 0x421288
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x42114e
dec eax
or eax, 0xfffffff8
inc eax
je 0x421155
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x421164
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42116b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046897f
add esp, 4
cmp eax, ebx
je 0x42118c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046897f
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42127e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x421265
mov al, byte [edx]
cmp al, 0xc0
jbe 0x421251
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x421246
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x421254
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x421254
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4211f0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4211e1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret