joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4937e8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.00403b24
ret

Function at 0x493bd4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x493e4b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x493e60
call fcn.00493a3c
lea eax, [ebp - 0x3f0]
call fcn.00405410
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.004058a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x493e0c
xor eax, eax
push ebp
push 0x493e05
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x493ea0
call fcn.00493a3c
mov eax, dword [ebp - 0x408]
call fcn.004058a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x493cd7
push ebp
mov eax, 0x493ecc
call fcn.00493b2c
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x40c]
mov eax, 0x493ed8
call fcn.00493a3c
mov eax, dword [ebp - 0x40c]
call fcn.004058a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x493d61
push dword [ebp - 0x3f0]
push 0x493f00
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405680
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004057a4
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x414]
mov eax, 0x493f0c
call fcn.00493a3c
mov eax, dword [ebp - 0x414]
call fcn.004058a0
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x493deb
push dword [ebp - 0x3f0]
push 0x493f00
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405680
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.004057a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493e0c
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.00405464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493e52
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405434
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405434
ret
Function at 0x497f98
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
xor eax, eax
push ebp
push 0x4980d9
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4980a9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004058a0
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a42c
test al, al
jne 0x498019
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403880
lea eax, [ebp - 0x1d0]
call fcn.0040361c
call fcn.004030b8
push dword [0x5a3e9c]
push 0x4980f0
push dword [0x5a3ea0]
push 0x4980f0
push dword [0x5a3ea4]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004057a4
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.0049c040
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405bc0
call fcn.00403f78
call fcn.004030b8
lea eax, [ebp - 0x1d0]
call fcn.00403948
call fcn.004030b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4980b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4980e0
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405434
lea eax, [ebp - 4]
call fcn.00405410
ret
Function at 0x499884
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4999ec
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004990f4
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00499114
mov ebx, eax
jmp 0x4999be
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405680
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a9c0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004096e8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004096e8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405838
je 0x49999e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405680
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004096e8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004096e8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405838
jne 0x4999b3
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00499134
mov ebx, eax
test ebx, ebx
jne 0x4998ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4999f3
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405434
lea eax, [ebp - 4]
call fcn.00405410
ret
Function at 0x499d9b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x499df5
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x499df0
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x499def
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x499dbc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49acc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
xor eax, eax
push ebp
push 0x49ad9a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x49adb0
mov edx, dword [ebp - 4]
call fcn.00405728
mov eax, dword [ebp - 8]
call fcn.004058a0
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x49ad0a.0
jmp dword [eax*4 + 0x49ad11]
mov eax, ebx
mov edx, 0x49adbc
call fcn.00405464
jmp 0x49ad7f
mov eax, ebx
mov edx, 0x49add0
call fcn.00405464
jmp 0x49ad7f
mov eax, ebx
mov edx, 0x49ade0
call fcn.00405464
jmp 0x49ad7f
mov eax, ebx
mov edx, 0x49adf4
call fcn.00405464
jmp 0x49ad7f
mov eax, ebx
mov edx, 0x49ae04
call fcn.00405464
jmp 0x49ad7f
mov eax, ebx
mov edx, 0x49ae18
call fcn.00405464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ada1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405434
ret
Function at 0x49ce04
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405890
mov eax, dword [ebp - 8]
call fcn.00405890
xor eax, eax
push ebp
push 0x49cfce
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x49cf96
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x418010]
call fcn.0041c908
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49ce9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040a42c
test al, al
je 0x49ce92
mov eax, dword [ebp - 8]
call fcn.004058a0
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.00405608
mov eax, dword [ebp - 0x1c]
call fcn.004058a0
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49cea6
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004058a0
push eax
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
push 1
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x418010]
call fcn.0041c908
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49cf85
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, 2
mov edx, 0xfffffffc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x14]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c680
mov edx, dword [ebp - 0x14]
add edx, 8
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.0041c680
mov edx, dword [ebp - 0x14]
add edx, 8
add edx, dword [ebp - 0x18]
neg edx
mov cx, 2
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0x18]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0041c6f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cf8c
mov eax, dword [ebp - 0x10]
call fcn.00404530
mov eax, dword [ebp - 0xc]
call fcn.00404530
ret
Function at 0x4026f1
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7c0
push ebx
push esi
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, ebx
call fcn.0041019c
cmp eax, 0x3f6
jae 0x402933
lea eax, [ebp - 0x40]
mov ecx, 0x3c
xor edx, edx
call fcn.00410114
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x5c0
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x22
jne 0x40273e
lea edx, [ebx + 1]
jmp 0x402740
mov edx, ebx
mov dword [ebp - 0x30], edx
xor eax, eax
jmp 0x402797
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x22
jne 0x40276a
jmp 0x402763
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402763
mov byte [ebx + eax], 0x20
jmp 0x40276a
inc eax
cmp byte [ebx + eax], 0
jne 0x402753
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x20
je 0x40277f
xor edx, edx
mov dl, byte [ebx + eax + 1]
cmp edx, 0x2f
jne 0x402796
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x20
jne 0x40278d
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [ebp - 0x2c], eax
jmp 0x40279d
inc eax
cmp byte [ebx + eax], 0
jne 0x402747
cmp byte [0x415d0a], 0
je 0x4027ad
mov dword [ebp - 0x2c], 0x415d0a
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x30]
call fcn.00406430
mov esi, eax
test esi, esi
je 0x4027d9
mov edx, str..inf
mov eax, esi
call fcn.00410298
test eax, eax
jne 0x4027d9
mov dword [ebp - 0x34], str.Install
xor edx, edx
mov eax, dword [ebp - 0x30]
call fcn.00407148
mov byte [ebp - 2], al
cmp byte [ebp - 2], 0
je 0x402803
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x30]
call fcn.00407214
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x30], ecx
cmp byte [ebp - 1], 0
je 0x402842
cmp byte [ebp - 2], 0
jne 0x402842
lea eax, [ebp - 0x840]
mov edx, dword [ebp - 0x30]
call fcn.00410218
mov edx, str..exe
lea eax, [ebp - 0x840]
call fcn.004102e0
lea eax, [ebp - 0x840]
xor edx, edx
call fcn.00407148
test al, al
je 0x402933
lea ecx, [ebp - 0x40]
push ecx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x402872
and dword [ebp - 0x3c], 0xfffffbff
mov dword [ebp - 0x30], ebx
lea edx, [ebp - 0x40]
push edx
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x402933
xor ebx, ebx
cmp byte [0x415900], 0
jne 0x40288b
cmp byte [ebp - 1], 0
je 0x4028d4
cmp dword [0x41618c], 0
je 0x4028a3
push dword [0x41618c]
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x4028a7
xor eax, eax
jmp 0x4028ac
mov eax, 1
test eax, eax
je 0x4028bf
push 0
push dword [0x41618c]
call sub.USER32.DLL_ShowWindow
mov bl, 1
push 0x7d0
push dword [ebp - 8]
call sub.USER32.DLL_WaitForInputIdle
mov eax, dword [ebp - 8]
call fcn.00402939
push dword [ebp - 8]
call sub.KERNEL32.DLL_W3Q
test esi, esi
je 0x4028f0
mov edx, str..exe
mov eax, esi
call fcn.00410298
test eax, eax
je 0x402922
cmp byte [0x415900], 0
je 0x40290b
cmp byte [ebp - 1], 0
jne 0x40290b
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x402922
cmp byte [ebp - 1], 0
mov edx, 0xc8
jne 0x40291c
add edx, 0x320
push edx
call sub.KERNEL32.DLL_Sleep
test bl, bl
je 0x402933
push 1
push dword [0x41618c]
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402969
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
lea eax, [ebp - 0x400]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x415044], 0
jne 0x402a05
lea eax, [ebp - 0x400]
call fcn.004060f4
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.004102bc
test eax, eax
jne 0x402a05
push 0x415248
call sub.KERNEL32.DLL_SetCurrentDirectoryA
lea eax, [ebp - 0x400]
call fcn.0041019c
mov byte [ebp + eax - 0x3ff], 0
lea eax, [ebp - 0x420]
mov ecx, 0x1e
xor edx, edx
call fcn.00410114
mov dword [ebp - 0x41c], 3
mov word [ebp - 0x410], 0x14
lea eax, [ebp - 0x400]
mov dword [ebp - 0x418], eax
lea edx, [ebp - 0x420]
push edx
call sub.SHELL32.DLL_SHFileOperationA
mov esp, ebp
pop ebp
ret

Function at 0x402b04
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
mov ebx, eax
cmp byte [0x415908], 0
je 0x402b7f
cmp byte [0x417644], 0
je 0x402b7f
lea edx, [ebp - 0x408]
mov eax, 0x417644
call fcn.00402ac9
lea ecx, [ebp - 8]
lea eax, [ebp - 4]
push ecx
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x402b7f
mov eax, ebx
call fcn.0041019c
inc eax
lea edx, [ebp - 0x408]
push eax
push ebx
push 1
push 0
push edx
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402b84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
mov ebx, eax
cmp byte [0x415908], 0
je 0x402c01
lea edx, [ebp - 0x40c]
mov eax, ebx
call fcn.00402ac9
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402c01
mov dword [ebp - 8], 0x400
lea eax, [ebp - 8]
lea edx, [ebp - 0x80c]
push eax
push edx
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x40c]
push ecx
push 0
push eax
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x402bf9
lea edx, [ebp - 0x80c]
mov eax, ebx
call fcn.00410218
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b890
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x468eeb
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.0045d706
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b912
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b57d
mov eax, dword [eax]
push 0x4911c0
push eax
call fcn.0044e3e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d991
test bl, bl
je 0x40b912
push 0x4911c0
lea ecx, [esp + 0xc]
call fcn.0045dd21
push 0x494d3c
lea ecx, [esp + 0xc]
call fcn.0045dd21
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 0x40b94e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d991
jmp 0x40ba19
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 0x40b9d2
lea edx, [esp + 0x7c]
push 0x494d38
push edx
call fcn.0044e3e4
add esp, 8
test eax, eax
je 0x40b9d2
lea eax, [esp + 0x7c]
push 0x494d34
push eax
call fcn.0044e3e4
add esp, 8
test eax, eax
je 0x40b9d2
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 0x40b962
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.0045d991
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 0x40c210
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 0x40c272
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 0x40c280
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49b1f0]
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 0x40c3b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40c2e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d991
xor eax, eax
jmp 0x40c42f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045dace
push esi
lea ecx, [esp + 0xc]
call fcn.0045dd5d
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 0x40c40d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040c210
test eax, eax
jne 0x40c40d
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.0040c210
test eax, eax
jne 0x40c40d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044f420
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3ec
lea ecx, [esp + 0x14]
push 0x494d4c
push ecx
call fcn.0044f3a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c3ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40c3ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045da7e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40c2fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d991
xor eax, eax
jmp 0x40c42f
mov byte [esi], 0
push 0x494d48
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.0045d991
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 0x41ea80
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 0x41eaee
cmp si, 0x69
ja 0x41eaee
add esi, 0xffd0
cmp si, 0x11
je 0x41eabe
push 0x11
call edi
test ax, ax
jge 0x41eabe
or esi, 0x2000
cmp si, 0x10
je 0x41ead3
push 0x10
call edi
test ax, ax
jge 0x41ead3
or esi, 0x4000
cmp si, 0x12
je 0x41eae8
push 0x12
call edi
test ax, ax
jge 0x41eae8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41eafb
mov esi, 0xbd
jmp 0x41eaaf
cmp si, 0x6e
jne 0x41eb08
mov esi, 0xbe
jmp 0x41eaaf
cmp si, 0x6f
jne 0x41eaa9
mov esi, 0xbf
jmp 0x41eaaf

Function at 0x4201a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ab858]
xor edx, edx
cmp eax, edx
jne 0x4201c6
xor eax, eax
mov byte [eax + 0x4ab758], al
inc eax
cmp eax, 0x100
jl 0x4201ae
mov dword [0x4ab858], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ab758
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x420257
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 0x42022a
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 0x4201f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4202d0
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 0x420323
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 0x42030a
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