joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470090
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x470215
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42f7fc]
call fcn.0042f900
mov ebx, eax
mov edx, 0x80000001
mov eax, ebx
call fcn.0042f9a0
mov al, byte [esi + 0x270]
push eax
mov ecx, 0x47022c
mov edx, 0x470248
mov eax, ebx
call fcn.00430130
lea eax, [ebp - 0xc]
lea edx, [esi + 0x24]
mov ecx, 0x40
call fcn.00404890
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00406820
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004048a8
mov eax, dword [ebp - 4]
push eax
mov ecx, 0x470268
mov edx, 0x470248
mov eax, ebx
call fcn.0042fe4c
lea eax, [ebp - 0x18]
lea edx, [esi + 0x64]
mov ecx, pe_nt_image_headers32
call fcn.00404890
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00406820
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004048a8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, 0x470278
mov edx, 0x470248
mov eax, ebx
call fcn.0042fe4c
mov al, byte [esi + 0x164]
push eax
mov ecx, 0x470288
mov edx, 0x470248
mov eax, ebx
call fcn.00430130
mov eax, dword [esi + 0x26c]
push eax
mov ecx, 0x47029c
mov edx, 0x470248
mov eax, ebx
call fcn.0042fffc
cmp byte [esi + 0x164], 0
je 0x4701bd
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00402ed4
lea eax, [ebp - 0x1c]
mov edx, 0x4702b0
call fcn.004048e8
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, 0x4702bc
mov edx, 0x4702cc
mov eax, ebx
call fcn.0042fe4c
jmp 0x4701ce
mov ecx, 0x4702bc
mov edx, 0x4702cc
mov eax, ebx
call fcn.004301ec
mov eax, ebx
call fcn.004037d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47021c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404644
lea eax, [ebp - 0x14]
call fcn.00404d00
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404644
lea eax, [ebp - 8]
call fcn.00404d00
lea eax, [ebp - 4]
call fcn.00404620
ret

Function at 0x4702fc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffff7c
mov ebx, eax
mov dword [esp], 0x80
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409a34
add esp, 0x84
pop ebx
ret
Function at 0x471e78
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x471f1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404ae0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x471f09
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404c6c
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404ae0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x471f09
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x471f30
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x471f09
cmp dword [ebp - 8], 0x34
jne 0x471f09
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471f26
lea eax, [ebp - 0x10]
call fcn.00404620
ret

Function at 0x4723b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x472430
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4820f8]
cmp dword [eax], 2
jne 0x472404
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404e20
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404ed0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x47241a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472437
lea eax, [ebp - 4]
call fcn.00404d00
ret
Function at 0x47256c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x472586
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 1], 1
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
call fcn.00404620
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00404ae0
mov edx, eax
mov eax, ebx
call fcn.004722a0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4726c1
xor eax, eax
push ebp
push 0x4726ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00404ae0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47268e
mov bx, word [0x4726e0]
cmp byte [ebp + 0x10], 0
je 0x472611
mov ax, word [0x4726e4]
or ax, bx
mov ebx, eax
mov eax, dword [ebp - 0xc]
cmp eax, 0xf
ja 0x47261c
bt ebx, eax
jb 0x472627
mov edx, edi
mov eax, esi
call fcn.004721a4
mov edx, dword [ebp - 0x10]
shr edx, 0
inc edx
mov eax, dword [ebp + 0xc]
call fcn.00404c6c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, edi
call fcn.00404ae0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47267d
mov eax, dword [ebp + 0xc]
call fcn.00404620
cmp byte [ebp + 8], 0
je 0x472672
mov edx, edi
mov eax, esi
call fcn.00472168
jmp 0x47267d
mov byte [ebp - 1], 0
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
dec edx
shr edx, 0
mov eax, dword [ebp + 0xc]
call fcn.00404c6c
jmp 0x4726a3
cmp byte [ebp + 8], 0
je 0x47269f
mov edx, edi
mov eax, esi
call fcn.00472168
jmp 0x4726a3
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4726d4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [ebp + 8], 0
je 0x4726d0
mov eax, esi
call fcn.0047213c
jmp 0x4726d4
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4726e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00404ae0
mov edx, eax
mov eax, ebx
call fcn.004722a0
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x472753
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404ae0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x472ca8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472ed0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, 0x9c
call fcn.004031c8
lea eax, [ebp - 0xc4]
xor ecx, ecx
mov edx, 0x24
call fcn.004031c8
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xc4]
call fcn.00473398
cmp byte [0x481520], 0
je 0x472d50
call fcn.004731dc
cmp eax, 6
jl 0x472d50
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x472e5b
cmp byte [ebp - 6], 1
jne 0x472d34
mov bl, 1
jmp 0x472e5b
mov ax, word [ebp - 8]
and ax, 2
cmp ax, 2
jne 0x472d49
mov bl, 7
jmp 0x472e5b
mov bl, 2
jmp 0x472e5b
cmp byte [0x481524], 0
je 0x472d9e
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x472e5b
mov al, byte [ebp - 6]
add al, 0xfe
sub al, 2
jae 0x472d97
mov ax, word [ebp - 8]
test al, 0x80
je 0x472d85
mov bl, 6
jmp 0x472e5b
test al, 2
je 0x472d90
mov bl, 3
jmp 0x472e5b
mov bl, 2
jmp 0x472e5b
mov bl, 5
jmp 0x472e5b
cmp byte [0x481530], 0
jne 0x472db9
cmp byte [0x48152c], 0
jne 0x472db9
cmp byte [0x481534], 0
je 0x472e16
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x472e5b
mov al, byte [ebp - 6]
mov edx, eax
add dl, 0xfe
sub dl, 2
jae 0x472e0e
mov ax, word [ebp - 8]
mov edx, eax
and dx, 0x80
cmp dx, 0x80
jne 0x472df0
mov bl, 6
jmp 0x472e5b
mov edx, eax
and dx, 2
cmp dx, 2
jne 0x472e00
mov bl, 7
jmp 0x472e5b
cmp ax, 0x400
jne 0x472e0a
mov bl, 8
jmp 0x472e5b
mov bl, 2
jmp 0x472e5b
cmp al, 1
jne 0x472e5b
mov bl, 5
jmp 0x472e5b
cmp byte [0x481528], 0
jne 0x472e31
cmp byte [0x481538], 0
jne 0x472e31
cmp byte [0x48153c], 0
je 0x472e5b
lea eax, [ebp - 0xa0]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x472e5b
cmp byte [ebp - 6], 1
jne 0x472e5b
mov ax, word [ebp - 8]
and ax, 0x200
cmp ax, 0x200
jne 0x472e59
mov bl, 4
jmp 0x472e5b
mov bl, 5
test bl, bl
jne 0x472eba
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x472ee8
mov edx, 0x472efc
mov eax, 0x80000002
call fcn.004728d4
mov edx, 0x472f34
mov eax, dword [ebp - 4]
call fcn.00408bb0
test eax, eax
jne 0x472e8e
mov bl, 1
jmp 0x472eba
mov edx, 0x472f44
mov eax, dword [ebp - 4]
call fcn.00408bb0
test eax, eax
jne 0x472ea3
mov bl, 3
jmp 0x472eba
mov edx, 0x472f58
mov eax, dword [ebp - 4]
call fcn.00408bb0
test eax, eax
jne 0x472eb8
mov bl, 2
jmp 0x472eba
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472ed7
lea eax, [ebp - 4]
call fcn.00404620
ret
Function at 0x473398
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
push 0x473414
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x473405
xor edx, edx
push ebp
push 0x4733fe
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x473424
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
test eax, eax
je 0x4733e1
push ebx
call eax
mov byte [ebp - 1], 1
jmp 0x4733e7
push ebx
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47340b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
push ebx
call sub.kernel32.dll_GetSystemInfo
mov al, byte [ebp - 1]
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47345c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47361c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.004031c8
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x48193c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x481940], eax
mov eax, dword [ebp - 0x24]
mov dword [0x481944], eax
mov eax, dword [0x4820f8]
cmp dword [eax], 2
sete byte [0x48150c]
push 0x473628
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00471e48
cmp byte [0x48150c], 0
jne 0x4734e8
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00471e78
test al, al
je 0x4734e8
mov eax, dword [ebp - 0x4c]
mov dword [0x494798], eax
jmp 0x4734ef
xor eax, eax
mov dword [0x494798], eax
call fcn.00472abc
and eax, 0x7f
cmp eax, 0x10
ja case.0x473500.0
jmp dword [eax*4 + 0x473507]
mov byte [0x4814f8], 1
jmp case.0x473500.0
mov byte [0x4814fc], 1
jmp case.0x473500.0
mov byte [0x481500], 1
jmp case.0x473500.0
mov byte [0x481504], 1
jmp case.0x473500.0
mov byte [0x481508], 1
jmp case.0x473500.0
mov byte [0x481510], 1
mov byte [0x481514], 1
jmp case.0x473500.0
mov byte [0x481510], 1
mov byte [0x481518], 1
jmp case.0x473500.0
mov byte [0x481510], 1
mov byte [0x481518], 1
mov byte [0x48151c], 1
jmp case.0x473500.0
mov byte [0x481520], 1
jmp case.0x473500.0
mov byte [0x481524], 1
jmp case.0x473500.0
mov byte [0x481528], 1
jmp case.0x473500.0
mov byte [0x48152c], 1
jmp case.0x473500.0
mov byte [0x481530], 1
jmp case.0x473500.0
mov byte [0x481534], 1
jmp case.0x473500.0
mov byte [0x481538], 1
jmp case.0x473500.0
mov byte [0x48153c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473623
lea eax, [ebp - 4]
call fcn.00404620
ret
Function at 0x47f16c
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47f174
push ebx
push esi
push edi
mov ebx, eax
mov esi, 0x494930
xor eax, eax
push ebp
push 0x47f31d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
push 0x494828
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
mov edx, 0x494828
mov ecx, 0x105
call fcn.00404890
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, 0x47f334
call fcn.0040492c
lea eax, [ebp - 8]
mov edx, 0x494828
mov ecx, 0x105
call fcn.00404890
lea eax, [ebp - 8]
mov edx, 0x47f34c
call fcn.004048e8
mov eax, dword [ebp - 8]
call fcn.00404ae0
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x47f27c
call sub.kernel32.dll_GetLastError
mov edi, eax
push 0x15
lea edx, [ebp - 0xc]
mov eax, 0x47f360
call fcn.0045d794
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0040c57c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0x47f370
call fcn.0045d794
mov eax, dword [ebp - 0x2c]
mov ecx, 1
pop edx
call fcn.0040a558
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x47f384
call fcn.00404f4c
mov eax, dword [ebp - 0x10]
call fcn.00404ed0
push eax
push 0
call sub.user32.dll_MessageBoxW
cmp eax, 2
jne 0x47f27c
call fcn.00404484
push 0
mov eax, esi
call fcn.00404b38
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x481e74]
mov eax, dword [eax]
call fcn.0045b84c
mov eax, dword [ebp - 0x30]
call fcn.00404ae0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x47f1f5
test bl, bl
je 0x47f2bd
mov eax, esi
mov edx, 0x47f3d4
call fcn.004048e8
jmp 0x47f2c9
mov eax, esi
mov edx, 0x47f3e4
call fcn.004048e8
push 5
mov eax, esi
call fcn.00404b38
push eax
call sub.kernel32.dll_WinExec
call fcn.00404484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f324
lea eax, [ebp - 0x30]
call fcn.00404620
lea eax, [ebp - 0x2c]
call fcn.00404d00
lea eax, [ebp - 0x28]
call fcn.00404620
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404d18
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404644
ret
Function at 0x4117f8
Capabilities:
Authenticate hmac

Disassembly:
imul ebx, esp, 0xffffff9d
mov bh, 0xdc
jp 0x4117ac
cmp eax, 0xce3b8ef
stc
sbb al, 0x2c
mov eax, dword [ebx - 0x2b]
mov ah, 0x8c
stc
push esp
mov esi, 0x148e5026
xchg edi, eax
push esp
loopne 0x4117a9
mov al, 0xf9
add byte [ecx], al
pop es
and bh, bl
mov ebx, 0x3dd4faec
out dx, eax
mov fs, ebx
add al, 0xfa
in al, dx
xor al, 0xcb
add al, 0xcd
cmp al, 0xd7
and dword [eax], edi
mul byte [edx + edi*8 - 0x38]
add dword [ecx - 0x2d], eax
xor byte [ecx + 0x410210b0], ah
adc eax, 0x88006fbf
cli
das
retf
sahf
inc edi
adc al, 0x87
jnp 0x41182b
xchg ebx, eax
cwde
sbb al, 0x97
std
dec ebp
aam 0x5c
cmp al, 0xfa
imul esi, dword [edx + 2], 0x3ed268f8
inc esi
inc esp
sti
imul esp, ecx, 0xfc70809f
xchg ebx, eax
invalid
loopne 0x4117ae
aam 0xc5
loope 0x4118a9
test al, 0x5c
sub dword [esi + edi*2 + 0x51027ba6], 0x8e2d3887
test dword [esi - 0x7e], eax
stosb byte es:[edi], al
pushal
cmp byte [edi + eax*4], 0xc5
loope 0x411806
xor dword [esi - 0x30e32f50], 0xe0827177
xchg byte [eax - 0x80], cl
xchg ebx, esp
jno 0x411893
and byte [ecx + 0x40528378], al
or byte [edx + eax*4 - 0x1b], 0x71
cmp al, 0xe
pop eax
and byte [eax + esi - 0xc231d8d], 0x38
sbb al, 0x87
sahf
and dword [esi + 0x70cad682], 0x8cc71e38
sbb dword [eax - 0x7e7f7d48], 0x3cf182a0
iretd
invalid
invalid
Function at 0x424d20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc3eb
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.004bcbbb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424da2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ba22d
mov eax, dword [eax]
push 0x516298
push eax
call fcn.00498f94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bce46
test bl, bl
je 0x424da2
push 0x516298
lea ecx, [esp + 0xc]
call fcn.004bd222
push 0x519e14
lea ecx, [esp + 0xc]
call fcn.004bd222
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 0x424dde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bce46
jmp 0x424ea9
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 0x424e62
lea edx, [esp + 0x7c]
push 0x519e10
push edx
call fcn.00498f94
add esp, 8
test eax, eax
je 0x424e62
lea eax, [esp + 0x7c]
push 0x519e0c
push eax
call fcn.00498f94
add esp, 8
test eax, eax
je 0x424e62
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 0x424df2
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.004bce46
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 0x4256a0
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 0x425702
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 0x425710
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cc46b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x553a18]
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 0x425848
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x425776
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bce46
xor eax, eax
jmp 0x4258bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004bcfcf
push esi
lea ecx, [esp + 0xc]
call fcn.004bd25e
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 0x42589d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004256a0
test eax, eax
jne 0x42589d
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 bind
mov ecx, edi
call fcn.004256a0
test eax, eax
jne 0x42589d
lea eax, [esp + 0x14]
push 0x519e28
push eax
call fcn.0049a150
mov esi, eax
add esp, 8
test esi, esi
jne 0x42587c
lea ecx, [esp + 0x14]
push 0x519e24
push ecx
call fcn.0049a0d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42587c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42587f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004bcf7f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42578e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004bce46
xor eax, eax
jmp 0x4258bf
mov byte [esi], 0
push 0x519e20
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.004bce46
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 0x438440
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 0x4384ae
cmp si, 0x69
ja 0x4384ae
add esi, 0xffd0
cmp si, 0x11
je 0x43847e
push 0x11
call edi
test ax, ax
jge 0x43847e
or esi, 0x2000
cmp si, 0x10
je 0x438493
push 0x10
call edi
test ax, ax
jge 0x438493
or esi, 0x4000
cmp si, 0x12
je 0x4384a8
push 0x12
call edi
test ax, ax
jge 0x4384a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4384bb
mov esi, 0xbd
jmp 0x43846f
cmp si, 0x6e
jne 0x4384c8
mov esi, 0xbe
jmp 0x43846f
cmp si, 0x6f
jne 0x438469
mov esi, 0xbf
jmp 0x43846f

Function at 0x439c70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5657d8]
xor edx, edx
cmp eax, edx
jne 0x439c96
xor eax, eax
mov byte [eax + 0x5656d8], al
inc eax
cmp eax, 0x100
jl 0x439c7e
mov dword [0x5657d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5656d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x439d27
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 0x439cfa
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 0x439cc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x439da0
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 0x439df3
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 0x439dda
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