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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x5e1040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
movaps xmmword [esp + 0x6c], xmm0
push edi
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov byte [esp + 0xa0], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
jbe 0x405a5f
mov eax, dword [eax]
push ecx
push eax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00405110
lea eax, [esp + 0x18]
mov ecx, esi
push eax
lea eax, [esp + 0x74]
push eax
call fcn.004051e0
xor esi, esi
lea edi, [esp + 0x80]
nop word [eax + eax]
movzx eax, byte [esp + esi + 0x70]
push eax
push 0x5d0284
push edi
call fcn.004050b0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x405a90
movups xmm0, xmmword [esp + 0x80]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xb8]
lea edx, [ecx + 1]
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [esp + 0xc8], xmm0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405af0
sub ecx, edx
lea eax, [esp + 0xb8]
push ecx
push eax
mov ecx, esi
call fcn.004040d0
mov ecx, dword [esp + 0xdc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 8
Function at 0x406b50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
xor eax, eax
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x64], eax
mov eax, 5
mov word [ebp - 0x3c], ax
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x68], 0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x3a], xmm0
movlpd qword [ebp - 0x32], xmm0
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
push 0x5d07dc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00403790
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x406c02
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403790
push 1
push 0x5d07e0
lea ecx, [ebp - 0x28]
call fcn.00403790
cmp dword [esi + 0x10], 0
lea edi, [esi + 0x10]
je 0x406c48
push 1
push 0x5d07e4
lea ecx, [ebp - 0x28]
call fcn.00403790
cmp dword [esi + 0x14], 7
jbe 0x406c3d
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x28]
push esi
call fcn.00403790
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x406c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
or esi, 0xffffffff
jmp 0x406c95
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x406ccb
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x406cc1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406cea
push ecx
push edx
call fcn.004224f3
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0x10
call fcn.0054c0bc
int3
Function at 0x406cf0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x406d2d
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0xc
push esi
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x406daf
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x406d5a
mov eax, dword [edi]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.005584f4
add esp, 8
test eax, eax
jne 0x406d9d
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x406d97
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x406d9d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x406d50
push ebx
call esi
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406f60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x406f95
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4070cd
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x406fae
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 2
push 0x5d0b88
push ecx
call fcn.00403ac0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40707b
cmp dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
cmovb eax, dword [esi + 0x10]
mov ecx, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jbe 0x406ff0
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x407023
lea ecx, [ebp - 0x28]
call fcn.00406f60
test eax, eax
je 0x407045
cmp dword [esi + 0x14], 7
jbe 0x40702b
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407097
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407097
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40707b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x407071
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070d4
push ecx
push edx
call fcn.004224f3
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x4070cd
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4070c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4070d4
push ecx
push edx
call fcn.004224f3
add esp, 8
mov eax, 1
jmp 0x40707d
call fcn.0054c0bc
int3
Function at 0x4073b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, edx
mov dword [ebp - 0x10], eax
push edi
mov edi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 7
jbe 0x4073e2
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push 0x2001f
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40742c
cmp dword [esi + 0x14], 7
jbe 0x407405
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x40744a
cmp dword [edi + 0x14], 7
jbe 0x407434
mov edi, dword [edi]
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebx]
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407458
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004224b5
mov esp, ebp
pop ebp
ret
Function at 0x408ad0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push ebx
push 0x408bf0
push 0
push 0
call fcn.0055a10d
lea esi, [ebx + 4]
add esp, 0x18
mov dword [ebp - 0x18], esi
mov edi, eax
mov dword [ebp - 0x28], edi
test esi, esi
je 0x408b32
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408f20
mov dword [eax], edi
lea edi, [ebx + 0x24]
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x408b5e
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408f20
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebx + 0x44]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x408b8a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x5c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408f20
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebx + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test eax, eax
je 0x408bb5
push eax
call ebx
test edi, edi
je 0x408bbc
push edi
call ebx
test esi, esi
je 0x408bc3
push esi
call ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret 8
Function at 0x408cf0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
lea eax, [ebx + 4]
test eax, eax
je 0x408d0a
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push edi
push ecx
lea ecx, [ebx + 0x1c]
call fcn.00409af0
mov esi, dword [ebp - 8]
cmp byte [esi + 0xd], 0
jne 0x408d9e
mov eax, dword [edi]
cmp eax, dword [esi + 0x10]
jb 0x408d9e
cmp esi, dword [ebx + 0x1c]
je 0x408d9e
cmp byte [ebp + 0xc], 0
je 0x408d42
push 0
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 8]
mov ecx, esi
cmp byte [edx + 0xd], 0
je 0x408d72
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x408d8a
nop
cmp esi, dword [eax + 8]
jne 0x408d8a
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x408d60
jmp 0x408d8a
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
jne 0x408d8a
nop word [eax + eax]
mov eax, dword [edx]
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x408d80
push ecx
lea ecx, [ebx + 0x1c]
call fcn.00409690
push 0x18
push eax
call fcn.004224f3
add esp, 8
lea edi, [ebx + 0x24]
test edi, edi
je 0x408dac
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.00409af0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xd], 0
jne 0x408de7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x10]
jb 0x408de7
cmp ecx, dword [ebx + 0x3c]
je 0x408de7
push ecx
lea ecx, [ebx + 0x3c]
call fcn.00409270
push 0x18
push eax
call fcn.004224f3
add esp, 8
lea esi, [ebx + 0x44]
test esi, esi
je 0x408df5
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x5c]
call fcn.00409af0
mov ecx, dword [ebp - 8]
cmp byte [ecx + 0xd], 0
jne 0x408e30
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x10]
jb 0x408e30
cmp ecx, dword [ebx + 0x5c]
je 0x408e30
push ecx
lea ecx, [ebx + 0x5c]
call fcn.00409270
push 0x18
push eax
call fcn.004224f3
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x408e3d
push esi
call ebx
test edi, edi
je 0x408e44
push edi
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
add eax, 4
je 0x408e51
push eax
call ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408e60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0xc], ebx
lea eax, [ebx + 4]
test eax, eax
je 0x408e86
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebx + 0x1c]
add ebx, 0x1c
mov edi, dword [esi]
mov dword [ebp - 8], edi
cmp edi, esi
je 0x408eba
push 0
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.00402e40
mov esi, dword [ebx]
mov edi, dword [ebp - 8]
cmp edi, esi
jne 0x408e95
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x408ee3
push dword [edi + 8]
mov ecx, ebx
push ebx
call fcn.00409020
mov eax, edi
mov edi, dword [edi]
push 0x18
push eax
call fcn.004224f3
add esp, 8
cmp byte [edi + 0xd], 0
je 0x408ec3
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
add eax, 4
je 0x408f04
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004224b5
mov esp, ebp
pop ebp
ret
Function at 0x409c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x504c
call fcn.00578400
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x504c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5048], eax
cmp byte [edi + 0x20], 0
je 0x409e29
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 4]
mov ecx, edi
push esi
call fcn.00409c00
mov ecx, dword [edi + 0x1c]
shl ecx, 0xa
cmp eax, ecx
jbe 0x409ce9
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x409ce2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 7
lea ebx, [esi + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x5020], 0
movups xmmword [ebp - 0x5040], xmm0
movups xmmword [ebp - 0x5030], xmm0
jbe 0x409d0f
mov esi, dword [esi]
lea eax, [ebp - 0x5040]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [ebx], 7
lea ecx, [edi + 4]
mov esi, eax
mov dword [ebp - 0x5044], 0
jbe 0x409d35
mov ecx, dword [ecx]
push 0x5d1eec
push ecx
lea eax, [ebp - 0x5044]
push eax
call fcn.0054b602
mov eax, dword [ebp - 0x5044]
add esp, 0xc
test eax, eax
je 0x409e1f
test esi, esi
jne 0x409d79
push eax
push 2
lea eax, [ebp - 0x500c]
mov word [ebp - 0x500c], 0xfeff
push 1
push eax
call fcn.0054be4d
add esp, 0x10
push 0x5000
lea eax, [ebp - 0x5008]
push 0
push eax
call fcn.00547c40
add esp, 0xc
lea eax, [ebp + 0x18]
mov edx, 0x2800
push eax
push ecx
push dword [ebp + 0x14]
lea ecx, [ebp - 0x5008]
push 0xffffffffffffffff
call fcn.00406e00
add esp, 0x10
lea eax, [ebp - 0x501c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x5008]
push eax
mov eax, dword [ebp - 0x5048]
push dword [eax]
movzx eax, word [ebp - 0x5010]
push dword [ebp - 0x504c]
push eax
movzx eax, word [ebp - 0x5012]
push eax
movzx eax, word [ebp - 0x5014]
push eax
movzx eax, word [ebp - 0x5016]
push eax
movzx eax, word [ebp - 0x501a]
push eax
movzx eax, word [ebp - 0x501c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d___s__d__s_r_n
push dword [ebp - 0x5044]
call fcn.00409b40
add esp, 0x2c
push dword [ebp - 0x5044]
call fcn.0054b86c
add esp, 4
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004224b5
mov esp, ebp
pop ebp
ret
Function at 0x409e40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5e1040]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x5e2298], 0
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x48], eax
je 0x409fbb
push 0x5e229c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5e227c
mov ecx, 0x5e2278
call fcn.00409c00
mov ecx, dword [0x5e2294]
shl ecx, 0xa
cmp eax, ecx
jbe 0x409ead
cmp dword [0x5e2290], 7
mov eax, 0x5e227c
cmova eax, dword [0x5e227c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [0x5e2290], 7
lea ecx, [ebp - 0x40]
push ecx
mov eax, 0x5e227c
mov dword [ebp - 0x20], 0
cmova eax, dword [0x5e227c]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [0x5e2290], 7
mov ecx, 0x5e227c
push 0x5d1f50
cmova ecx, dword [0x5e227c]
mov edi, eax
push ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
call fcn.0054b602
mov eax, dword [ebp - 0x44]
add esp, 0xc
test eax, eax
je 0x409fb0
test edi, edi
jne 0x409f33
push eax
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], 0xfeff
push 1
push eax
call fcn.0054be4d
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x48]
push dword [eax]
movzx eax, word [ebp - 0x10]
push ebx
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d___s__d_
push dword [ebp - 0x44]
call fcn.00409b40
mov ecx, esi
add esp, 0x28
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409f76
push dword [ebp - 0x44]
sub ecx, edx
sar ecx, 1
push 1
lea eax, [ecx + ecx]
push eax
push esi
call fcn.0054be4d
push dword [ebp - 0x44]
push 1
push 4
push 0x5d1fa8
call fcn.0054be4d
push dword [ebp - 0x44]
call fcn.0054b86c
add esp, 0x24
push 0x5e229c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004224b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x419da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b2ad
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
push 0xb0
mov dword [edi + 4], 0
call fcn.004224c3
mov edx, dword [ebp + 0x10]
mov esi, eax
mov dword [edi + 4], esi
xorps xmm0, xmm0
add esp, 4
mov ecx, dword [edx]
mov dword [esi + 0x10], ecx
mov eax, dword [edx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x18], eax
xor eax, eax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
movups xmm0, xmmword [edx + 0xc]
movups xmmword [esi + 0x1c], xmm0
movq xmm0, qword [edx + 0x1c]
movq qword [esi + 0x2c], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0xf
mov byte [edx + 0xc], 0
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
movups xmm0, xmmword [edx + 0x24]
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [edx + 0x34]
movq qword [esi + 0x44], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0xf
mov byte [edx + 0x24], 0
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
movups xmm0, xmmword [edx + 0x3c]
movups xmmword [esi + 0x4c], xmm0
movq xmm0, qword [edx + 0x4c]
movq qword [esi + 0x5c], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x4c], 0
mov dword [edx + 0x50], 0xf
mov byte [edx + 0x3c], 0
movups xmmword [esi + 0x64], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
movups xmm0, xmmword [edx + 0x54]
movups xmmword [esi + 0x64], xmm0
movq xmm0, qword [edx + 0x64]
movq qword [esi + 0x74], xmm0
xorps xmm0, xmm0
mov dword [edx + 0x64], 0
mov dword [edx + 0x68], 0xf
mov byte [edx + 0x54], 0
movups xmmword [esi + 0x7c], xmm0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
movups xmm0, xmmword [edx + 0x6c]
movups xmmword [esi + 0x7c], xmm0
movq xmm0, qword [edx + 0x7c]
movq qword [esi + 0x8c], xmm0
mov dword [edx + 0x7c], 0
mov dword [edx + 0x80], 7
mov word [edx + 0x6c], ax
mov eax, dword [edx + 0x84]
mov dword [esi + 0x94], eax
mov eax, dword [edx + 0x88]
mov dword [esi + 0x98], eax
mov eax, dword [edx + 0x8c]
mov dword [esi + 0x9c], eax
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xa0], eax
mov eax, dword [edx + 0x94]
mov dword [esi + 0xa4], eax
mov eax, dword [edx + 0x98]
mov dword [esi + 0xa8], eax
mov al, byte [edx + 0x9c]
mov byte [esi + 0xac], al
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov eax, dword [edi + 4]
mov dword [eax + 4], ecx
mov eax, dword [edi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi + 4]
mov byte [eax + 0xc], 0
mov eax, dword [edi + 4]
mov byte [eax + 0xd], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423073
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4230b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4230b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4230b2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4230b2
cmp dword [ecx + 0x74], 0xe
jbe 0x4230b2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4264e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x426501
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x426519
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x426531
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x426547
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42655f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret