joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10125980
Capabilities:
Generate random numbers via winapi
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x80
call fcn.1005d3c0
mov eax, dword [0x101c10e0]
xor eax, esp
mov dword [esp + 0x7c], eax
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x101259fc
lea eax, [esp + 0x38]
push eax
push 0x40
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x101259f0
mov eax, 8
call fcn.1005d3c0
movsd xmm0, qword [0x101a1f38]
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.100b7410
add esp, 0x10
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0xf0000040
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10125a60
lea eax, [esp + 0x38]
push eax
push 0x40
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x10125a54
mov eax, 8
call fcn.1005d3c0
movsd xmm0, qword [0x101a1f38]
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.100b7410
add esp, 0x10
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [0x101c5984], 0
je 0x10125aa9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x10125a7f
mov dword [0x101c5984], eax
jmp 0x10125aa9
mov eax, 8
call fcn.1005d3c0
xorps xmm0, xmm0
lea eax, [esp + 0x18]
movsd qword [esp], xmm0
push 8
push eax
call fcn.100b7410
add esp, 0x10
cmp dword [0x101c5984], 0
jne 0x10125ad4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 8], eax
mov eax, 8
call fcn.1005d3c0
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movsd qword [esp], xmm0
push 4
push eax
call fcn.100b7410
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.1005d3c0
movsd xmm0, qword [0x10166960]
lea eax, [esp + 0x20]
movsd qword [esp], xmm0
push 0x20
push eax
call fcn.100b7410
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
mov eax, 8
call fcn.1005d3c0
movsd xmm0, qword [0x10166960]
lea eax, [esp + 0x14]
movsd qword [esp], xmm0
push 4
push eax
call fcn.100b7410
mov ecx, dword [esp + 0x8c]
add esp, 0x10
xor ecx, esp
mov eax, 1
call fcn.1005cef4
mov esp, ebp
pop ebp
ret
Function at 0x1012bd40
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x11c
call fcn.1005d3c0
mov eax, dword [0x101c10e0]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x124]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [esp + 0xdc], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [esp + 0xcc], xmm0
mov byte [esp + 0xcc], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0xeb], al
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1012e860
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xd4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xdc], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xe0], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xe4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xe8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xec], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xf0], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xf4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0x120], edx
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.1012c4c0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xe0]
push eax
push eax
call fcn.1012c740
lea eax, [esp + 0xe8]
push eax
push esi
call fcn.1012df90
mov ecx, dword [esp + 0x140]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.1005cef4
add esp, 0x11c
ret
Function at 0x10140c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1005d3c0
mov eax, dword [0x101c10e0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x10140e55
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x10140de5
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.101406c0
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x10140d80
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x10140e3c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1005cef4
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005cef4
add esp, 0x28
ret
Function at 0x4074ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41bdf8
cmp edx, dword [eax]
je 0x4074cf
add eax, 8
inc ecx
cmp eax, 0x41be88
jl 0x4074c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41bdf8]
jne 0x4075fd
mov eax, dword [0x41c1ac]
cmp eax, 1
je 0x4075d7
test eax, eax
jne 0x407500
cmp dword [0x41bd48], 1
je 0x4075d7
cmp edx, 0xfc
je 0x4075fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407537
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407b60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407cd0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40757a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407cd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a428
push edi
call fcn.00409070
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407b60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407b70
lea eax, [ebp - 0xa0]
push 0x40a408
push eax
call fcn.00407b70
push dword [esi + 0x41bdfc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407b70
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408fe1
add esp, 0x2c
pop edi
jmp 0x4075fd
lea eax, [ebp + 8]
lea esi, [esi + 0x41bdfc]
push 0
push eax
push dword [esi]
call fcn.00407cd0
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 0x40ed63
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x40eae0
sub ebx, ebx
add edi, 0x840c125b
call fcn.0040ed9f
xor dword [eax], esi
add ebx, ebx
add eax, 1
or ebx, edi
or edi, edi
cmp eax, ecx
jne fcn.0040ed63
push 0xf638f2fc
pop ebx
ret
Function at 0x40f760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484ea8
call fcn.0040f6f0
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413650
push esi
call fcn.004111dc
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f820
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f850
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f7b4
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.004149c2
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x427c2a
push edi
call fcn.0040f5c0
cmp eax, ebx
je 0x427c34
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414a46
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f813
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00414d04
add esp, 0x10
push 0x395eafe8
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afef
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x427c60
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00414fe2
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f813

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x410570
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x497520]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x497520]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x497518], eax
call esi
mov edx, dword [0x497518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x497514], eax
call esi
mov eax, dword [0x497518]
push 0
push eax
call esi
pop esi
ret

Function at 0x410ab0
Capabilities:
Log keystrokes

Disassembly:
push ebx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], 5
mov dword [esi + 4], 5
mov word [esi + 8], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov word [esi + 0x18], bx
push ebx
mov dword [esi + 0x1a], ebx
mov word [esi + 0x1e], bx
push 0x5b
mov dword [esi + 0xc], 4
call edi
push ebx
push 0x10
mov byte [esi + 0x29], al
call edi
push ebx
push 0xa0
mov byte [esi + 0x26], al
call edi
push ebx
push 0xa1
mov byte [esi + 0x27], al
call edi
push ebx
push 0x11
mov byte [esi + 0x28], al
call edi
push ebx
push 0x12
mov byte [esi + 0x24], al
call edi
pop edi
mov byte [esi + 0x25], al
pop ebx
ret
Function at 0x452719
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
push 4
mov edi, 1
lea ecx, [ebp - 0xc]
push edi
push ecx
call fcn.00414d04
add esp, 0x10
push 0x266e32d9
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.0044afef
lea eax, [ebp - 0xc]
push 0x48815c
push eax
mov byte [ebp - 8], 0
call fcn.00414d30
add esp, 8
test eax, eax
jne 0x4528af
mov ecx, dword [esi]
add dword [ebp - 4], edi
push ecx
push edi
lea edx, [ebp + 8]
push 4
push edx
call fcn.00414d04
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push eax
xor edi, 0x402b7afa
lea ebx, [edi + edi]
push ebx
lea ecx, [ebp - 0x220]
push 1
push ecx
call fcn.00414d04
add esp, 0x20
add edi, 0x1c1a6bc7
push edi
push ebx
lea edx, [ebp - 0x220]
push edx
call fcn.0044afef
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x430]
xor eax, eax
push edx
mov word [ebp + ebx - 0x220], ax
call fcn.00411567
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00414d04
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edx
xor edi, 0xcc955ea7
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.00414d04
add esp, 0x28
add edi, 0xbba0c2ae
push edi
push ebx
lea ecx, [ebp - 0x220]
push ecx
call fcn.0044afef
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
xor edx, edx
push ecx
mov word [ebp + ebx - 0x220], dx
call fcn.00411567
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x430]
push edi
push edx
call fcn.0041313c
add esp, 0x10
test eax, eax
je 0x4528a4
push 0x488150
push edi
call fcn.0041313c
add esp, 8
test eax, eax
jne 0x452864
cmp dword [ebp - 4], eax
je 0x4528a4
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.004150d1
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.00414d04
mov eax, dword [ebp - 0x10]
xor eax, 0x87bc
mov dword [ebp - 0x10], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.004150d1
add esp, 0x1c
jmp 0x45272f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4528bd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x684
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
xor ecx, ecx
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov word [ebp - 0x44c], cx
mov ecx, dword [esi]
push eax
xor edx, edx
push ecx
mov word [ebp - 0x242], dx
mov dword [ebp - 4], 1
call fcn.004150d1
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea edx, [ebp - 0x680]
push edx
push eax
push esi
call fcn.00452719
test eax, eax
je 0x452956
mov eax, 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi]
push ecx
push 1
lea edx, [ebp + 0x17]
push 1
push edx
call fcn.00414d04
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.00414d04
mov edx, dword [esi]
mov edi, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
push 4
push eax
xor edi, 0x87bc
call fcn.00414d04
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
push edx
push 1
lea eax, [ebp + 8]
xor ecx, 0x87bc
push 4
push eax
mov dword [ebx], ecx
call fcn.00414d04
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
add esp, 0x40
push 1
xor eax, 0xa685
push 0x10
push ecx
mov dword [ebp - 8], eax
call fcn.004150d1
mov edx, dword [ebx]
add esp, 0xc
push edx
call fcn.004135bb
add esp, 4
push edi
mov dword [ebp + 0xc], eax
call fcn.004135bb
add esp, 4
mov ebx, eax
mov eax, dword [esi]
push eax
push 1
push edi
push ebx
call fcn.00414d04
mov ecx, dword [esi + 8]
add esp, 0x10
add ecx, 0xd535e82a
push ecx
push edi
push ebx
call fcn.0044afef
push edi
push ebx
lea edx, [ebp - 4]
push edx
call fcn.00432229
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x452a36
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413748
add esp, 4
push ebx
call fcn.00413748
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x17], 1
jne 0x452aa5
xor eax, eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x1c], eax
mov eax, 1
xor edx, edx
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x458], eax
mov word [ebp - 0x44c], dx
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x470]
xor ecx, ecx
push eax
mov word [ebp - 0x242], cx
mov dword [ebp - 0x46c], ebx
mov dword [ebp - 0x470], edx
call fcn.0044b1a9
push ebx
call fcn.00413748
jmp 0x452ab1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413748
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
add esp, 4
pop edi
pop esi
mov dword [edx], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x414fb0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415158
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
inc byte [esi + ebx]
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xaa
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xcf
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x77
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5a
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x73
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd5
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc6
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x5c
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x69
add esp, 0x40
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xfa
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xc9
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xed
push str.Protocol_of_Mind
push 0x4d24a8
call fcn.0040349f
push eax
call fcn.004013a7
dec byte [esi + ebx]
add esp, 0x30
inc esi
cmp esi, edi
jb 0x414fd0
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x453329
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45333a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405920
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c7e2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c7f3
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c6c9
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe9
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c81b
push ebx
push esi
push edi
call fcn.00405713
add esp, 0xc
push 0
call fcn.00406262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x49ad81
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d0034]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49adcc
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049b243
test al, al
jne 0x49adc6
sub edx, 2
cmp edx, edi
jne 0x49adac
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49adee
lea eax, [edi + 2]
cmp edx, eax
je 0x49adee
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049a97a
add esp, 0x10
jmp 0x49aee8
push esi
lea ecx, [ebp - 0x255]
call fcn.0049b243
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49ae31
push dword [ebp - 0x25c]
jmp 0x49adde
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49ae6e
cmp word [ebp - 0x226], 0
je 0x49ae8f
cmp word [ebp - 0x226], ax
jne 0x49ae6e
cmp word [ebp - 0x224], 0
je 0x49ae8f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049a97a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49aedb
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49ae48
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49aec3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49aee8
push 0x49a362
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040555b
add esp, 0x10
jmp 0x49aeb8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403044
leave
ret

Function at 0x408933
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x4085d8
and esi, esi
sub eax, eax
call fcn.0040895a
xor dword [edx], ecx
mov eax, eax
add edx, 1
sub eax, 0x5e78d132
cmp edx, edi
jne fcn.00408933
add eax, eax
or eax, eax
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret