joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bdd0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
push 0xffffffffffffffff
push 0x482d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
push str.mep.exe
lea ecx, [esp + 0x20]
xor bl, bl
mov dword [esp + 0x18], edi
call fcn.0044c460
mov ebp, dword [esp + 0x30]
cmp ebp, edi
mov dword [esp + 0x28], edi
je 0x45bebb
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
push edi
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
cmp eax, edi
jne 0x45be3b
xor bl, bl
jmp 0x45bebb
cmp dword [esp + 0x18], 0
mov esi, dword [esp + 0x14]
jbe 0x45bebb
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0x34]
call fcn.0044c460
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00454f50
add esp, 8
test al, al
mov eax, dword [esp + 0x30]
jne 0x45be97
add eax, 0xfffffff0
add esi, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45be8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 1
cmp edi, dword [esp + 0x18]
jb 0x45be46
jmp 0x45bebb
mov ecx, dword [esi + 4]
add eax, 0xfffffff0
mov dword [ebp], ecx
mov bl, 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45bebb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45bed1
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45bef9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x463d60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x483618
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0fe0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4a5a34]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a5a34
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
cmp byte [esi + 0x284], 0
mov dword [esp + 0x28], 0
jne 0x463dc9
mov ecx, esi
call fcn.00462320
cmp byte [esi + 0x29e], 1
jne 0x463e12
mov ecx, esi
call fcn.00453fb0
jmp 0x463e12
push 0xffffffffffffffff
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.UPDATE
call fcn.0044c460
push ecx
mov eax, esp
mov dword [esp + 0x2c], esp
push str.mepSender.exe
lea ecx, [esi + 0x28c]
push ecx
push eax
mov byte [esp + 0x44], 1
call fcn.00457f10
mov edx, dword [esi + 0x27c]
add esp, 0xc
push edx
mov ecx, esi
mov byte [esp + 0x3c], 0
call fcn.004589b0
lea ecx, [esp + 0x14]
call fcn.0044c970
movzx eax, byte [esi + 0x286]
movzx ecx, byte [esi + 0x284]
movzx edx, byte [esi + 0x285]
push eax
push ecx
push edx
push str.RCVUPREQ
lea eax, [esp + 0x24]
push str._s__d__d__d
push eax
call fcn.00448fb0
mov ebp, dword [esp + 0x2c]
add esp, 0x18
push 0xffffffffffffffff
push 0
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push ebp
call fcn.0044c830
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [esp + 0x28], esp
push str.mepSender.exe
lea edi, [esi + 0x28c]
push edi
push ecx
mov byte [esp + 0x44], 2
call fcn.00457f10
mov edx, dword [esi + 0x27c]
add esp, 0xc
push edx
mov ecx, esi
mov byte [esp + 0x3c], 0
call fcn.004589b0
push str.UpdateList
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00457f10
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463edb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x463ee6
mov byte [esi + 0x284], 0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x463f08
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x464860
Capabilities:
Accept command line arguments

Disassembly:
push ecx
call fcn.00453f10
test al, al
je 0x464892
push 0x200
push 0
push 0x4a2c70
call fcn.0046e670
add esp, 0xc
push str.MyEPSON_Connect_Service
push 0x200
push 0x4a2c70
call fcn.00449460
cmp byte [0x4a62ec], 0
je 0x4648a2
or eax, 0xffffffff
pop ecx
ret 0x10
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp]
push ecx
push eax
mov ecx, 0x4a2c30
call fcn.0045c280
cmp al, 1
jne 0x4648d5
mov edx, dword [esp + 0x14]
push edx
mov ecx, 0x4a2c30
call fcn.004646e0
pop ecx
ret 0x10
mov eax, dword [esp]
pop ecx
ret 0x10

Function at 0x46d626
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a0fe0]
jne 0x46d630
repz ret
jmp fcn.0047181b

Function at 0x471011
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4a12b8]
je 0x47102c
inc edi
cmp edi, 0x17
jb 0x47101d
cmp edi, 0x17
jae 0x4711ac
push ebp
push 3
call fcn.00477df2
cmp eax, 1
pop ecx
je 0x471178
push 3
call fcn.00477df2
test eax, eax
pop ecx
jne 0x471060
cmp dword [0x4a1000], 1
je 0x471178
cmp ebx, 0xfc
je 0x4711ab
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4a4f78
push ebp
call fcn.00472d44
add esp, 0xc
test eax, eax
je 0x471096
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd7f
add esp, 0x14
push 0x104
mov esi, 0x4a4f91
push esi
push 0
mov byte [0x4a5095], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4710da
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00472d44
add esp, 0xc
test eax, eax
je 0x4710da
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0046dd7f
add esp, 0x14
push esi
call fcn.00472db0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x47111f
push esi
call fcn.00472db0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4a528c
push 0x493b30
sub ecx, eax
push ecx
push eax
call fcn.00475384
add esp, 0x14
test eax, eax
je 0x47111f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd7f
add esp, 0x14
jmp 0x471121
xor esi, esi
push 0x48d1b8
push ebx
push ebp
call fcn.00477d81
add esp, 0xc
test eax, eax
je 0x471141
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd7f
add esp, 0x14
push dword [edi*8 + 0x4a12bc]
push ebx
push ebp
call fcn.00477d81
add esp, 0xc
test eax, eax
je 0x471163
push esi
push esi
push esi
push esi
push esi
call fcn.0046dd7f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00477bc4
add esp, 0xc
jmp 0x4711ab
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4711ab
cmp ebp, 0xffffffff
je 0x4711ab
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4a12bc]
push dword [esi]
call fcn.00472db0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x477bc4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00473f2e
xor ebx, ebx
cmp dword [0x4a5954], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x477c9a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x477d7a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x477d7a
push eax
call fcn.00473ec0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a5954], eax
call esi
push eax
call fcn.00473ec0
mov dword [esp], 0x48db04
push edi
mov dword [0x4a5958], eax
call esi
push eax
call fcn.00473ec0
mov dword [0x4a595c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046f8b7
test eax, eax
pop ecx
pop ecx
je 0x477c68
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046dd7f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x477c9a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00473ec0
cmp eax, ebx
pop ecx
mov dword [0x4a5964], eax
je 0x477c9a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00473ec0
pop ecx
mov dword [0x4a5960], eax
mov eax, dword [0x4a5960]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x477d1f
cmp dword [0x4a5964], ecx
je 0x477d1f
push eax
call fcn.00473f37
push dword [0x4a5964]
mov esi, eax
call fcn.00473f37
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x477d1f
cmp edi, ebx
je 0x477d1f
call esi
cmp eax, ebx
je 0x477cec
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x477cec
test byte [ebp - 0x18], 1
jne 0x477d1f
lea eax, [ebp - 0x10]
push eax
call fcn.0046f8ee
test eax, eax
pop ecx
je 0x477d07
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0046dd7f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x477d16
or dword [ebp + 0x10], 0x200000
jmp 0x477d5a
or dword [ebp + 0x10], 0x40000
jmp 0x477d5a
mov eax, dword [0x4a5958]
cmp eax, dword [ebp - 8]
je 0x477d5a
push eax
call fcn.00473f37
cmp eax, ebx
pop ecx
je 0x477d5a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x477d5a
mov eax, dword [0x4a595c]
cmp eax, dword [ebp - 8]
je 0x477d5a
push eax
call fcn.00473f37
cmp eax, ebx
pop ecx
je 0x477d5a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a5954]
call fcn.00473f37
cmp eax, ebx
pop ecx
je 0x477d7a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x477d7c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47e60c
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047eca1
Function at 0x47eca1
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a0fe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x218], ebx
jne 0x47ecd5
push 0xd
pop eax
jmp 0x47eec9
test byte [edi + 4], 5
push esi
je 0x47ee84
cmp dword [edi + 0x18], ebx
je 0x47ee84
cmp dword [edi], ebx
je 0x47ee9b
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0046e670
add esp, 0xc
cmp dword [edi + 0x20], 1
jne 0x47ed6b
lea eax, [edi + 0x24]
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.0047eb0c
test eax, eax
jne 0x47ed5c
lea eax, [ebp - 0x240]
lea esi, [ebp - 0x22c]
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x22c], 0xc
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x228], eax
call fcn.0047e863
test eax, eax
jne 0x47edd3
mov dword [ebp - 0x210], 0xd
jmp 0x47ee84
push 1
push 0x23
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x47ed90
mov dword [ebp - 0x210], 0x10b
jmp 0x47ee84
cmp dword [edi + 0x20], 2
lea eax, [ebp - 0x20c]
jne 0x47edbe
push str.EPSONPRINTER_
mov esi, 0x104
push esi
push eax
call fcn.0047eb8a
test eax, eax
jne 0x47ed5c
lea eax, [edi + 0x24]
push eax
push esi
lea eax, [ebp - 0x20c]
jmp 0x47edc8
push str.EPSONPRINTEREPAUDF01.AUD
push 0x104
push eax
call fcn.0047eb8a
jmp 0x47ed21
mov dword [ebp - 0x214], 0xa
test byte [edi + 4], 4
jne 0x47edf2
mov eax, edi
call fcn.0047ea66
test eax, eax
je 0x47ee79
push ebx
push 2
push 2
lea eax, [ebp - 0x22c]
push eax
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47ee44
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_Sleep]
add dword [ebp - 0x214], 0xa
cmp dword [ebp - 0x214], 0xd2
jb 0x47eddd
mov dword [ebp - 0x210], 0x3f5
jmp 0x47ee79
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x47ee72
test byte [edi + 4], 4
jne 0x47ee72
push ebx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [edi + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47ee72
mov dword [ebp - 0x210], 0x3f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebp - 0x22c]
call fcn.0047e9b3
mov eax, dword [edi]
cmp eax, ebx
je 0x47ee9b
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
cmp dword [edi + 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
je 0x47eeba
push dword [edi + 0x1c]
push 0
call ebx
push eax
call esi
and dword [edi + 0x18], 0
push edi
push 0
call ebx
push eax
call esi
mov eax, dword [ebp - 0x210]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0046d626
leave
ret 4
Function at 0x48065b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4a0fe0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0048059a
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0046e670
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4806aa
cmp dword [ebp - 0x1c], 5
jb 0x4806c2
jmp 0x4806be
cmp dword [ebp - 0x10], 1
jne 0x4806c2
cmp dword [ebp - 0x1c], 4
ja 0x4806be
jne 0x4806c2
cmp dword [ebp - 0x18], 0
jbe 0x4806c2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x48e770
call fcn.00453280
test eax, eax
jge 0x4806e3
mov byte [0x4a62ec], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0046d626
add ebp, 0x78
leave
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x77fd2507
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x79e51faa
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x411900
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x490d1b
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.0048596d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x411982
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004836e7
mov eax, dword [eax]
push 0x560cf4
push eax
call fcn.004757e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00485bf8
test bl, bl
je 0x411982
push 0x560cf4
lea ecx, [esp + 0xc]
call fcn.00485f88
push 0x560d00
lea ecx, [esp + 0xc]
call fcn.00485f88
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 0x4119be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00485bf8
jmp 0x411a89
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 0x411a42
lea edx, [esp + 0x7c]
push 0x560cfc
push edx
call fcn.004757e4
add esp, 8
test eax, eax
je 0x411a42
lea eax, [esp + 0x7c]
push 0x560cf8
push eax
call fcn.004757e4
add esp, 8
test eax, eax
je 0x411a42
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 0x4119d2
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.00485bf8
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 0x412290
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 0x4122f2
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 0x412300
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x490d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x570aac]
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 0x412438
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412366
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485bf8
xor eax, eax
jmp 0x4124af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00485d35
push esi
lea ecx, [esp + 0xc]
call fcn.00485fc4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x560d34
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41248d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00412290
test eax, eax
jne 0x41248d
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.00412290
test eax, eax
jne 0x41248d
lea eax, [esp + 0x14]
push 0x560d10
push eax
call fcn.00476860
mov esi, eax
add esp, 8
test esi, esi
jne 0x41246c
lea ecx, [esp + 0x14]
push 0x560d0c
push ecx
call fcn.004767e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41246c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41246f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485ce5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41237e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00485bf8
xor eax, eax
jmp 0x4124af
mov byte [esi], 0
push 0x560d08
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.00485bf8
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 0x422ff0
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 0x42305e
cmp si, 0x69
ja 0x42305e
add esi, 0xffd0
cmp si, 0x11
je 0x42302e
push 0x11
call edi
test ax, ax
jge 0x42302e
or esi, 0x2000
cmp si, 0x10
je 0x423043
push 0x10
call edi
test ax, ax
jge 0x423043
or esi, 0x4000
cmp si, 0x12
je 0x423058
push 0x12
call edi
test ax, ax
jge 0x423058
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42306b
mov esi, 0xbd
jmp 0x42301f
cmp si, 0x6e
jne 0x423078
mov esi, 0xbe
jmp 0x42301f
cmp si, 0x6f
jne 0x423019
mov esi, 0xbf
jmp 0x42301f

Function at 0x424990
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x581278]
xor edx, edx
cmp eax, edx
jne 0x4249b6
xor eax, eax
mov byte [eax + 0x581178], al
inc eax
cmp eax, 0x100
jl 0x42499e
mov dword [0x581278], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x581178
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x424a47
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 0x424a1a
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 0x4249e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x424ac0
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 0x424b13
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 0x424afa
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