joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cbfc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cda7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46cd88
mov dl, 1
mov eax, dword [0x418fa0]
call fcn.00403798
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046f8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46cd77
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045a8a0
test al, al
je 0x46cd6a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46cdb8
lea eax, [ebp - 0x254]
call fcn.00409cd4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46cd6a
xor eax, eax
push ebp
push 0x46cd63
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46cdf0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46cd4c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404968
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46cd4c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cd6a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46cc6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dc90
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cdae
lea eax, [ebp - 0x260]
call fcn.004046f8
ret

Function at 0x46d6f0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x48bbc8]
cmp byte [eax + 0xa5], 0
jne 0x46d761
cmp dword [0x48bbe0], 0
jne 0x46d722
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d6ac
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48bbe0], eax
cmp dword [0x48bbdc], 0
jne 0x46d73d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48bbdc], eax
cmp dword [0x48bbe4], 0
jne 0x46d761
push esp
push 0
push 0
push 0x46d650
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48bbe4], eax
pop edx
ret
Function at 0x46ddf4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48bbc8]
cmp dword [eax + 0x30], 0
je 0x46de9e
cmp dword [ebx + 0x94], 0
jne 0x46de98
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46dd84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46de98
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46de5e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46de98
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b2c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46de6d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e9fc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46ea31
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047e8
jmp 0x46ea3e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040474c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46fbf0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46fc31
mov eax, esi
call fcn.00455e24
test al, al
je 0x46fc31
mov eax, dword [ebx + 0x84]
call fcn.00455b20
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46fc31
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455b20
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x470e80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x470eb8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470e96
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470ea5
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470eb4
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4725e0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
cmp word [ebp + 0xa], 0
je 0x472611
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x472450]
call fcn.00472c78
mov ebx, eax
jmp 0x472613
xor ebx, ebx
test ebx, ebx
je 0x47261a
sub ebx, 0xffffffe4
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404bb8
push eax
mov eax, esi
call fcn.00404bb8
mov edi, eax
push edi
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x472648
push edi
call sub.wininet.dll_DeleteUrlCacheEntry
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x472b64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x472c3b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004031d8
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 5
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, esi
call fcn.00404bb8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
neg eax
push eax
push 0x472c54
push esi
push 0x472c74
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404a78
mov edx, dword [ebp - 0x5c]
pop eax
call fcn.00472308
test bl, bl
je 0x472c13
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472c42
lea eax, [ebp - 0x5c]
call fcn.004046f8
ret
Function at 0x472f34
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x47310d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x48a96c]
mov eax, dword [eax]
call fcn.0046f5a0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409404
mov edx, dword [ebp - 0xc]
mov eax, 0x48bc34
call fcn.0040474c
lea eax, [ebp - 8]
call fcn.00409624
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4730eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.004089e4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x24
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x472fc0
mov eax, 0x48bc38
mov edx, dword [ebp - 4]
call fcn.004048f0
jmp 0x472fcd
mov eax, 0x48bc38
mov edx, dword [ebp - 8]
call fcn.0040474c
mov eax, dword [ebp - 4]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x473004
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004048f0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00409404
mov edx, dword [ebp - 0x14]
mov eax, 0x48bc40
call fcn.0040474c
jmp 0x473011
mov eax, 0x48bc40
mov edx, dword [ebp - 8]
call fcn.0040474c
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x25
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x473035
mov eax, 0x48bc3c
mov edx, dword [ebp - 4]
call fcn.004048f0
jmp 0x473042
mov eax, 0x48bc3c
mov edx, dword [ebp - 8]
call fcn.0040474c
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x26
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x473066
mov eax, 0x48bc44
mov edx, dword [ebp - 4]
call fcn.004048f0
jmp 0x473073
mov eax, 0x48bc44
mov edx, dword [ebp - 8]
call fcn.0040474c
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0x2b
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x473097
mov eax, 0x48bc48
mov edx, dword [ebp - 4]
call fcn.004048f0
jmp 0x4730a4
mov eax, 0x48bc48
mov edx, dword [ebp - 8]
call fcn.0040474c
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 5
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x4730c8
mov eax, 0x48bc4c
mov edx, dword [ebp - 4]
call fcn.004048f0
jmp 0x4730d5
mov eax, 0x48bc4c
mov edx, dword [ebp - 8]
call fcn.0040474c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4730f2
mov eax, dword [ebp - 4]
call fcn.00402b1c
ret

Function at 0x485994
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc0
mov dword [esp + 4], edx
mov dword [esp], eax
mov esi, 0x1c
mov ebx, 0x48a354
lea edi, [esp + 8]
lea ebp, [esp + 0x24]
mov eax, dword [esp]
mov dl, byte [ebx]
call fcn.00485874
mov byte [edi], al
mov eax, dword [esp]
mov dl, byte [ebx + 0x1c]
call fcn.00485874
mov byte [ebp], al
inc ebp
inc edi
inc ebx
dec esi
jne 0x4859b4
xor esi, esi
mov ebx, dword [esp + 4]
push ebx
mov eax, esi
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
call fcn.00485924
inc esi
add ebx, 0x30
cmp esi, 0x10
jne 0x4859da
add esp, 0x40
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x485a38
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov dword [esp + 4], ecx
mov dword [esp], edx
xor esi, esi
xor edx, edx
mov dword [esp + 0xc], 0x48a40c
xor ecx, ecx
mov cl, byte [esi + 0x48a304]
mov ebx, dword [esp]
mov cl, byte [ebx + ecx]
xor cl, byte [eax + esi]
and ecx, 0xff
shl ecx, 5
inc esi
xor ebx, ebx
mov bl, byte [esi + 0x48a304]
mov edi, dword [esp]
mov bl, byte [edi + ebx]
xor bl, byte [eax + esi]
and ebx, 0xff
shl ebx, 3
add ecx, ebx
inc esi
xor ebx, ebx
mov bl, byte [esi + 0x48a304]
mov edi, dword [esp]
mov bl, byte [edi + ebx]
xor bl, byte [eax + esi]
and ebx, 0xff
shl ebx, 2
add ecx, ebx
inc esi
xor ebx, ebx
mov bl, byte [esi + 0x48a304]
mov edi, dword [esp]
mov bl, byte [edi + ebx]
xor bl, byte [eax + esi]
and ebx, 0xff
add ebx, ebx
add ecx, ebx
inc esi
xor ebx, ebx
mov bl, byte [esi + 0x48a304]
mov edi, dword [esp]
mov bl, byte [edi + ebx]
xor bl, byte [eax + esi]
and ebx, 0xff
add ecx, ebx
inc esi
xor ebx, ebx
mov bl, byte [esi + 0x48a304]
mov edi, dword [esp]
mov bl, byte [edi + ebx]
xor bl, byte [eax + esi]
and ebx, 0xff
shl ebx, 4
add ecx, ebx
inc esi
mov ebx, dword [esp + 0xc]
movzx ecx, byte [ebx + ecx]
mov dword [esp + 8], ecx
xor ecx, ecx
mov edi, 0x48a3cc
mov ebx, dword [esp + 8]
mov bl, byte [edi + ebx*4]
mov ebp, edx
shl ebp, 2
add ebp, ecx
mov byte [esp + ebp + 0x10], bl
inc ecx
inc edi
cmp ecx, 4
jne 0x485b0d
inc edx
add dword [esp + 0xc], 0x40
cmp edx, 8
jne 0x485a52
mov edx, 0x20
mov eax, 0x48a334
mov ecx, dword [esp + 4]
xor ebx, ebx
mov bl, byte [eax]
mov bl, byte [esp + ebx + 0x10]
mov byte [ecx], bl
inc ecx
inc eax
dec edx
jne 0x485b43
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x485b5c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff74
mov dword [esp + 4], edx
mov dword [esp], eax
lea edx, [esp + 0x2a]
mov eax, dword [esp]
mov ecx, 0x20
call fcn.00402d84
mov eax, dword [esp]
add eax, 0x20
lea edx, [esp + 0xa]
mov ecx, 0x20
call fcn.00402d84
mov word [esp + 8], 0x10
mov esi, dword [esp + 4]
lea edx, [esp + 0x6a]
lea eax, [esp + 0xa]
mov ecx, 0x20
call fcn.00402d84
lea ecx, [esp + 0x4a]
lea edx, [esp + 0xa]
mov eax, esi
call fcn.00485a38
mov di, 0x20
lea eax, [esp + 0x2a]
lea edx, [esp + 0x4a]
lea ecx, [esp + 0xa]
mov bl, byte [eax]
xor bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
inc eax
dec di
jne 0x485bcd
lea edx, [esp + 0x2a]
lea eax, [esp + 0x6a]
mov ecx, 0x20
call fcn.00402d84
add esi, 0x30
dec word [esp + 8]
jne 0x485b9c
mov edx, dword [esp]
lea eax, [esp + 0xa]
mov ecx, 0x20
call fcn.00402d84
mov edx, dword [esp]
add edx, 0x20
lea eax, [esp + 0x2a]
mov ecx, 0x20
call fcn.00402d84
add esp, 0x8c
pop edi
pop esi
pop ebx
ret
Function at 0x485e88
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x485f62
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x148]
mov ecx, ebx
mov edx, esi
call fcn.00404a04
mov eax, dword [ebp - 0x148]
call fcn.00404bb8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x485f41
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404968
mov eax, dword [ebp - 4]
mov edx, 0x485f78
call fcn.00404b04
je 0x485f24
mov eax, dword [ebp - 4]
mov edx, 0x485f84
call fcn.00404b04
je 0x485f24
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.00404a04
mov eax, dword [ebp - 4]
call fcn.00409330
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x485ede
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485f69
lea eax, [ebp - 0x148]
call fcn.004046f8
lea eax, [ebp - 4]
call fcn.004046f8
ret

Function at 0x4882b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x48837f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004857dc
mov edi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, edi
call fcn.004857fc
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x488362
lea eax, [ebp - 0x130]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404968
mov edx, dword [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.00408b68
test eax, eax
jne 0x48834f
mov eax, dword [ebp - 0x124]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
lea edx, [ebp - 0x12c]
mov eax, edi
call fcn.0048581c
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x488302
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488386
lea eax, [ebp - 0x130]
call fcn.004046f8
ret
Function at 0x4139d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4861eb
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.0047a53c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x413a52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00477bfd
mov eax, dword [eax]
push 0x56a224
push eax
call fcn.00469d04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047a7c7
test bl, bl
je 0x413a52
push 0x56a224
lea ecx, [esp + 0xc]
call fcn.0047ab57
push 0x56ddb0
lea ecx, [esp + 0xc]
call fcn.0047ab57
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 0x413a8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047a7c7
jmp 0x413b59
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 0x413b12
lea edx, [esp + 0x7c]
push 0x56ddac
push edx
call fcn.00469d04
add esp, 8
test eax, eax
je 0x413b12
lea eax, [esp + 0x7c]
push 0x56dda8
push eax
call fcn.00469d04
add esp, 8
test eax, eax
je 0x413b12
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 0x413aa2
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.0047a7c7
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 0x414350
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 0x4143b2
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 0x4143c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48626b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5746e4]
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 0x4144f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414426
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a7c7
xor eax, eax
jmp 0x41456f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047a904
push esi
lea ecx, [esp + 0xc]
call fcn.0047ab93
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x56dde8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41454d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00414350
test eax, eax
jne 0x41454d
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 0x80000000
mov ecx, edi
call fcn.00414350
test eax, eax
jne 0x41454d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0046ae10
mov esi, eax
add esp, 8
test esi, esi
jne 0x41452c
lea ecx, [esp + 0x14]
push 0x56ddc0
push ecx
call fcn.0046ad90
mov esi, eax
add esp, 8
test esi, esi
jne 0x41452c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41452f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047a8b4
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41443e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047a7c7
xor eax, eax
jmp 0x41456f
mov byte [esi], 0
push 0x56ddbc
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.0047a7c7
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 0x426450
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 0x4264be
cmp si, 0x69
ja 0x4264be
add esi, 0xffd0
cmp si, 0x11
je 0x42648e
push 0x11
call edi
test ax, ax
jge 0x42648e
or esi, 0x2000
cmp si, 0x10
je 0x4264a3
push 0x10
call edi
test ax, ax
jge 0x4264a3
or esi, 0x4000
cmp si, 0x12
je 0x4264b8
push 0x12
call edi
test ax, ax
jge 0x4264b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4264cb
mov esi, 0xbd
jmp 0x42647f
cmp si, 0x6e
jne 0x4264d8
mov esi, 0xbe
jmp 0x42647f
cmp si, 0x6f
jne 0x426479
mov esi, 0xbf
jmp 0x42647f

Function at 0x427d10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x584ee0]
xor edx, edx
cmp eax, edx
jne 0x427d36
xor eax, eax
mov byte [eax + 0x584de0], al
inc eax
cmp eax, 0x100
jl 0x427d1e
mov dword [0x584ee0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x584de0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x427dc7
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 0x427d9a
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 0x427d68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x427e40
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 0x427e93
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 0x427e7a
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