joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e7a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x45000]
push edi
or ebp, 0xffffffff
jmp 0x44e7c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44e7c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44e7b8
mov eax, 1
add ebx, ebx
jne 0x44e7db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44e7d0
jne 0x44e7ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44e7d0
xor ecx, ecx
sub eax, 3
jb 0x44e800
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44e872
mov ebp, eax
add ebx, ebx
jne 0x44e80b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x44e818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44e83c
inc ecx
add ebx, ebx
jne 0x44e828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44e81d
jne 0x44e839
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44e81d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44e85c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44e84d
jmp 0x44e7be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44e85c
add edi, ecx
jmp 0x44e7be
pop esi
lea edi, [esi + 0x4c000]
mov eax, dword [edi]
or eax, eax
je 0x44e8bb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x509f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x50a64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44e879
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x50a6c]
or eax, eax
je 0x44e8b5
mov dword [ebx], eax
add ebx, 4
jmp 0x44e896
call dword [esi + 0x50a68]
mov ebp, dword [esi + 0x50a70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44e8ef
sub esp, 0xffffff80
jmp 0x406dc0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406510
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x416180]
cmp ax, 0xcb
je 0x40660c
cmp ax, 0xcc
je 0x40660c
mov edx, dword [0x41b580]
test edx, edx
je 0x406542
mov eax, dword [0x41b420]
call edx
mov ebx, eax
jmp 0x406547
mov ebx, 0x41b424
cmp word [0x41b410], 0
jle 0x40656a
mov eax, 0x41b3f0
call fcn.00406780
mov eax, ebx
call fcn.004060f0
mov eax, ebx
call fcn.00406160
mov edi, dword [ebx]
jmp 0x40658a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x406585
mov edx, edi
mov eax, ebx
call fcn.004055c0
jmp 0x406588
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x406570
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x41b410], 0
jle 0x40660c
mov edx, 0x41b330
mov eax, ebx
call fcn.004056f0
mov edi, eax
test edi, edi
je 0x4065df
mov eax, dword [0x41b3c4]
mov dword [edi + 0xc], eax
cmp dword [0x41b3c4], 0
je 0x4065d4
mov eax, dword [0x41b3c4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x41b3c4], eax
sub word [0x41b410], 1
cmp word [0x41b410], 0
sete bl
mov eax, 0x41b3f0
call fcn.00406790
test bl, bl
je 0x40660c
mov eax, 0x41b3f0
call fcn.00406770
pop edi
pop esi
pop ebx
ret
Function at 0x407c80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x114], 0
mov dword [0x41b240], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov eax, ebp
mov edx, 0
call fcn.00407e60
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x41b240]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402430
call sub.kernel32.dll_GetCommandLineA
mov dword [0x4161f0], eax
mov esi, dword [0x4161f0]
jmp 0x407e20
add esi, 1
movzx eax, byte [esi]
sub eax, 1
cmp eax, 0x20
jb 0x407d10
cmp byte [esi], 0
je 0x407e29
mov byte [ebp - 0x10c], 0
mov edi, esi
mov dword [ebp - 0x110], 0
jmp 0x407d85
mov al, byte [esi]
cmp al, 1
jb 0x407d7b
sub al, 0x20
jbe 0x407d4c
sub al, 2
je 0x407d5f
jmp 0x407d7b
mov al, byte [ebp - 0x10c]
test al, al
je 0x407d8a
add dword [ebp - 0x110], 1
jmp 0x407d82
cmp byte [esi + 1], 0x22
je 0x407d76
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x407d82
add esi, 1
jmp 0x407d82
add dword [ebp - 0x110], 1
add esi, 1
cmp byte [esi], 0
jne 0x407d3c
test dword [ebp - 0x114], 0xffffffff
je 0x407e19
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
mov eax, ebp
call fcn.00407e60
mov byte [ebp - 0x10c], 0
mov esi, edi
mov eax, dword [0x41b240]
mov edx, dword [ebp - 0x114]
mov ebx, dword [eax + edx*4]
jmp 0x407e11
mov al, byte [esi]
cmp al, 1
jb 0x407e07
sub al, 0x20
jbe 0x407dd8
sub al, 2
je 0x407deb
jmp 0x407e07
mov al, byte [ebp - 0x10c]
test al, al
je 0x407e16
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
jmp 0x407e0e
cmp byte [esi + 1], 0x22
je 0x407e02
mov al, byte [ebp - 0x10c]
test al, al
sete byte [ebp - 0x10c]
jmp 0x407e0e
add esi, 1
jmp 0x407e0e
mov al, byte [esi]
mov byte [ebx], al
add ebx, 1
add esi, 1
cmp byte [esi], 0
jne 0x407dc8
mov byte [ebx], 0
add dword [ebp - 0x114], 1
cmp byte [esi], 0
jne 0x407d13
mov ebx, dword [ebp - 0x114]
mov dword [0x41b230], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x41b240
call fcn.00406370
mov eax, dword [0x41b240]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x40a21c
mov eax, 0x41b2d0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a230
and eax, 0x10
jne 0x40a230
mov al, 1
jmp 0x40a232
mov al, 0
leave
ret

Function at 0x40c580
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
and dword [ebx + 0x24], 0xefffffff
test dl, dl
je 0x40c598
or dword [ebx + 0x24], 0x10000000
mov byte [ebx + 0x35], dl
cmp dword [ebx + 0x1c], 0
je 0x40c5cf
test dl, dl
je 0x40c5b9
mov eax, ebx
call dword [0x416570]
push 5
push dword [ebx + 0x1c]
call sub.user32.dll_ShowWindow
jmp 0x40c5cf
mov byte [ebx + 0x49], 0
push 0
push dword [ebx + 0x1c]
call sub.user32.dll_ShowWindow
mov eax, ebx
call dword [0x416570]
pop ebx
leave
ret
Function at 0x40fb80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, eax
mov dword [ebp - 0x2c], 0
mov eax, 1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0xc]
call fcn.00404770
call fcn.004053c0
push eax
test eax, eax
jne 0x40fc01
mov eax, esi
mov edx, 0
call fcn.00403e60
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x40fc01
push 0xd
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x40fbfc
push 0xd
call sub.user32.dll_GetClipboardData
mov ebx, eax
test ebx, ebx
je 0x40fbfc
push ebx
call sub.kernel32.dll_GlobalLock
test eax, eax
je 0x40fbfc
lea edx, [ebp - 0x2c]
call fcn.00403e10
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.00403e60
push ebx
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
call fcn.004049f0
lea eax, [ebp - 0x2c]
call fcn.00403d70
pop eax
test eax, eax
je 0x40fc18
call fcn.00404b20
pop esi
pop ebx
leave
ret

Function at 0x4146a0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov cl, 0
mov edx, 0x58
call fcn.00402920
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x401000
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebx + 0x4b4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x40116a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0x4b4], eax
test eax, eax
je 0x40116a
push eax
call fcn.00403c64
add esp, 4
mov dword [ebx + 0x4b0], eax
test eax, eax
je 0x40116a
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebx + 0x4b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x40116a
mov edx, dword [ebx + 0x4b0]
mov ecx, 0x3e
push edi
lea edi, [ebx + 0x48]
movups xmm0, xmmword [edx]
movups xmmword [ebx + 4], xmm0
movups xmm0, xmmword [edx + 0x10]
movups xmmword [ebx + 0x14], xmm0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ebx + 0x24], xmm0
movups xmm0, xmmword [edx + 0x30]
movups xmmword [ebx + 0x34], xmm0
mov eax, dword [ebx + 0x40]
lea esi, [eax + edx]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0xf8]
movzx eax, word [ebx + 0x4e]
mov dword [ebx + 0x4b8], eax
mov dword [ebx], ecx
lea eax, [eax + eax*4]
shl eax, 3
push eax
lea eax, [ecx + edx]
push eax
lea eax, [ebx + 0x140]
push eax
call fcn.00402580
add esp, 0xc
mov dword [ebp + 8], 0
cmp dword [ebx + 0x4b8], 0
jbe 0x401161
lea eax, [ebx + 0x460]
lea edi, [ebx + 0x150]
mov dword [ebp - 4], eax
nop
mov esi, dword [ebx + 0x84]
xor edx, edx
mov eax, dword [edi]
div esi
test edx, edx
lea ecx, [eax + 1]
cmove ecx, eax
imul ecx, esi
push ecx
call fcn.00403c64
mov esi, dword [ebp - 4]
mov ecx, eax
mov dword [esi], ecx
push dword [edi]
mov eax, dword [edi + 4]
add eax, dword [ebx + 0x4b0]
push eax
push ecx
call fcn.00402580
mov eax, dword [ebp + 8]
lea edi, [edi + 0x28]
inc eax
add esi, 4
add esp, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], esi
cmp eax, dword [ebx + 0x4b8]
jb 0x401110
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4011b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x41b904], eax
push 0x40
push 0x3000
push 0x1000
push 0
mov eax, dword [0x41b8f4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
add edx, 0x30
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 0xa
mov ecx, dword [0x41b904]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], 0xa
push 0
push 0xc
push 0x4141d0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x41b8f4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
add edx, 1
push edx
mov eax, dword [0x41b8f4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
add edx, 6
push edx
mov eax, dword [0x41b8f4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0xc], 1
cmp byte [ebp - 1], 0
jne 0x401274
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
push 0
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x41b8f4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0x41b908
mov ecx, dword [0x41b8f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
push eax
call fcn.00401370
add esp, 0xc
test eax, eax
jne 0x4012f3
push str.Failed_to_Load_DLL_
call fcn.00401960
add esp, 4
xor eax, eax
jmp 0x40136b
cmp dword [0x41b9b8], 0
jne 0x40130d
push str.Failed_to_Load_DLL_
call fcn.00401960
add esp, 4
xor eax, eax
jmp 0x40136b
push 0x41b908
mov ecx, dword [0x41b8f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x24]
mov dword [0x41b9c0], edx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x41b908
mov eax, dword [0x41b8f8]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.DLL_Loaded__n
call fcn.00401960
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x401370
Capabilities:
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x4013a6
push 0x41b908
mov eax, dword [0x41b8f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ecx, dword [ebp + 0x10]
mov dword [0x41b9c0], ecx
push 0x41b908
mov edx, dword [0x41b8f8]
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push 0
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x41b8f4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 2
push 0x414204
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x41b8f4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [0x41b8f8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x41b908
mov eax, dword [0x41b8f8]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x401431
cmp dword [ebp + 0xc], 1
jne 0x40141b
push 0
push 2
push 0x414204
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x41b8f4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x41b9c0]
cmp eax, dword [ebp + 8]
jne 0x401427
jmp 0x401431
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4013e6
mov ecx, dword [0x41b8f8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x41b908
mov edx, dword [0x41b8f8]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x401458
xor eax, eax
jmp 0x401476
push 0
push 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x41b8f4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40ee10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47037b
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.00464d2d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ee92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004624fd
mov eax, dword [eax]
push 0x4e11f4
push eax
call fcn.004552e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00464fb8
test bl, bl
je 0x40ee92
push 0x4e11f4
lea ecx, [esp + 0xc]
call fcn.00465348
push 0x4e4d6c
lea ecx, [esp + 0xc]
call fcn.00465348
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 0x40eece
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00464fb8
jmp 0x40ef99
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 0x40ef52
lea edx, [esp + 0x7c]
push 0x4e4d68
push edx
call fcn.004552e4
add esp, 8
test eax, eax
je 0x40ef52
lea eax, [esp + 0x7c]
push 0x4e4d64
push eax
call fcn.004552e4
add esp, 8
test eax, eax
je 0x40ef52
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 0x40eee2
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.00464fb8
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 0x40f790
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 0x40f7f2
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 0x40f800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4703fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4eb234]
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 0x40f938
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40f866
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464fb8
xor eax, eax
jmp 0x40f9af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004650f5
push esi
lea ecx, [esp + 0xc]
call fcn.00465384
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 0x40f98d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040f790
test eax, eax
jne 0x40f98d
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 accept
mov ecx, edi
call fcn.0040f790
test eax, eax
jne 0x40f98d
lea eax, [esp + 0x14]
push 0x4e4d80
push eax
call fcn.00456320
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f96c
lea ecx, [esp + 0x14]
push 0x4e4d7c
push ecx
call fcn.004562a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40f96c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40f96f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004650a5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40f87e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00464fb8
xor eax, eax
jmp 0x40f9af
mov byte [esi], 0
push 0x4e4d78
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.00464fb8
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 0x421210
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 0x42127e
cmp si, 0x69
ja 0x42127e
add esi, 0xffd0
cmp si, 0x11
je 0x42124e
push 0x11
call edi
test ax, ax
jge 0x42124e
or esi, 0x2000
cmp si, 0x10
je 0x421263
push 0x10
call edi
test ax, ax
jge 0x421263
or esi, 0x4000
cmp si, 0x12
je 0x421278
push 0x12
call edi
test ax, ax
jge 0x421278
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42128b
mov esi, 0xbd
jmp 0x42123f
cmp si, 0x6e
jne 0x421298
mov esi, 0xbe
jmp 0x42123f
cmp si, 0x6f
jne 0x421239
mov esi, 0xbf
jmp 0x42123f

Function at 0x422a40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4fb968]
xor edx, edx
cmp eax, edx
jne 0x422a66
xor eax, eax
mov byte [eax + 0x4fb868], al
inc eax
cmp eax, 0x100
jl 0x422a4e
mov dword [0x4fb968], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4fb868
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422af7
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 0x422aca
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 0x422a98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422b70
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 0x422bc3
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 0x422baa
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