joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4556d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x455703
push esi
call fcn.004587d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4556fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x455789
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455772
mov eax, dword [esi + 8]
test eax, eax
je 0x455727
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45576e
cmp eax, 2
je 0x455772
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45571a
cmp eax, 3
je 0x45574d
cmp eax, 1
jne 0x45571a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45571a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45571a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004557b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x455798
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004557b0
add esp, 4
pop esi
ret

Function at 0x462230
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4622d3
test eax, eax
jbe 0x4622d3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4622d3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46227e
xor esi, esi
jmp 0x462284
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4622af
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00463d50
add esi, eax
push esi
mov ebx, esi
call fcn.00463d50
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x462290
pop ebp
test edi, edi
pop edi
jne 0x4622d3
test ebx, ebx
je 0x4622d3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00472510
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x462415
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46252d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46252d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048346d
mov esi, eax
test esi, esi
je 0x46252d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46252d
mov ecx, esi
call fcn.00462380
cmp edi, eax
jge 0x46252d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4624b3
mov dword [esp + 0x34], 1
jmp 0x46250e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46252d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00460c20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4827f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0048c9af
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x482829
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0048283c
pop edi
pop esi
pop ebx
ret 8

Function at 0x483e10
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x483e48
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00481e59
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00481e31
jmp 0x483e54
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x485703
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x485745
call fcn.0048c9af
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x485745
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48573c
xor eax, eax
jmp 0x48574d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00485753
pop edi
pop esi
pop ebx
ret 4

Function at 0x48cedf
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48cf0d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48cf2b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048ce45
jmp 0x48cf2b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48cf2b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048ce45
test edi, edi
mov eax, edi
jne 0x48cf15
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4038a0
Capabilities:
Delete file

Disassembly:
push ebp
push ebx
mov ebp, ecx
mov eax, dword [ebp + 0x2b0]
test eax, eax
je 0x4038b6
push eax
call dword [ebp + 0x2a8]
pop ecx
mov eax, dword [ebp + 0x2b4]
test eax, eax
je 0x4038c8
push eax
call dword [ebp + 0x2a8]
pop ecx
xor eax, eax
mov dword [ebp + 0x2b0], eax
mov dword [ebp + 0x2b4], eax
mov byte [ebp + 0x20], al
call dword [ebp + 0x290]
test eax, eax
je 0x403916
push dword [ebp + 0x1c4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
mov ebx, 0
movsx eax, byte [ebp + 0x1c8]
setne bl
test eax, eax
je 0x403911
add ebp, 0x1c8
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, ebx
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x403ae8
Capabilities:
Enumerate files on windows

Disassembly:
test dword [0x4b63ec], 0xffffff80
jne 0x403b10
test dword [0x4b63ec], 0xffffffff
jne 0x403b10
call fcn.00490ee4
jmp fcn.00403ae8
push edi
push esi
push ebx
sub esp, 0x244
lea eax, [esp]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x403bff
lea eax, [esp]
push 0x5c
push eax
call fcn.00486200
add esp, 8
test eax, eax
je 0x403bff
mov byte [eax], 0
lea edi, [esp]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x403b60
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x403b58
cmp byte [esp + eax - 1], 0x5c
je 0x403b83
lea edi, [esp]
mov edx, 0x4b8148
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x403b79
lea edi, [esp]
mov edx, 0x4b814c
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x403b95
lea edx, [esp]
lea eax, [esp + 0x104]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403bff
xor ebx, ebx
lea edx, [esp + 0x130]
push edx
push 0
push 0x143
push dword [esp + 0x260]
call dword [sym.imp.USER32.dll_SendMessageA]
inc ebx
lea edx, [esp + 0x104]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x403bba
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
add esp, 0x244
pop ebx
pop esi
pop edi
ret 4
xor eax, eax
add esp, 0x244
pop ebx
pop esi
pop edi
ret 4
Function at 0x404784
Capabilities:
Read .ini file

Disassembly:
push ecx
push 8
push dword [esp + 0xc]
push 0x4b82cc
push 0x4b82c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
ret 8
Function at 0x407ce8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ebx
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x1c], eax
push eax
push edx
call fcn.00406cfc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00406bf4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00406ca0
mov edx, dword [ebp + 8]
lea eax, [edx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x14]
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
lea eax, [edx + 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x2c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
lea ebx, [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00406c4c
mov dword [ebp - 4], 1
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
push eax
push edx
call fcn.00406cfc
mov dword [ebp - 4], 2
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00406bf4
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00406ca0
lea edx, [ebp - 0x40]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push eax
push edx
call fcn.00406c4c
mov dword [ebp - 4], 3
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push eax
push edx
call fcn.00406cfc
mov dword [ebp - 4], 4
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00406bf4
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00406ca0
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 8]
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
push edx
push ebx
call fcn.00406c4c
mov dword [ebp - 4], 5
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
push eax
push edx
call fcn.00406cfc
mov dword [ebp - 4], 6
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00406bf4
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00406ca0
mov eax, 1
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
push eax
push eax
push edx
call fcn.00406d48
mov eax, 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push eax
push eax
push edx
call fcn.00406d48
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x10], 0
mov edx, 0
setle dl
cmp dword [esi + 0x14], 0
mov eax, 0
setle al
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x40]
push eax
push edx
push ebx
call fcn.00406d48
mov edx, esi
mov eax, dword [edx + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x20], eax
mov ecx, dword [edx + 0x14]
mov dword [ebx + 0x24], ecx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00406ca0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00406ca0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00406ca0
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x408280
Capabilities:
Find taskbar

Disassembly:
push esi
call fcn.0045b2e8
cmp eax, 4
jne 0x408292
mov eax, 1
pop ecx
ret
call fcn.0045b2e8
cmp eax, 5
je 0x40828b
call fcn.00465cb4
test eax, eax
jne 0x4082c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4a3b90
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40831a
xor eax, eax
pop ecx
ret
push 0
push 0x4b86e0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x4082ee
mov dword [esp], 0
lea edx, [esp]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp]
test eax, eax
jne 0x4082f2
xor eax, eax
pop ecx
ret
push eax
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x4a3b94], eax
test eax, eax
je 0x4082ee
push 0x4a3b90
push 0x2000000
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, 2
pop ecx
ret
Function at 0x410c80
Capabilities:
Encode data using xor

Disassembly:
test dword [0x4b63ec], 0xffffff80
jne 0x410ca8
test dword [0x4b63ec], 0xffffffff
jne 0x410d48
call fcn.00490ee4
jmp fcn.00410c80
push edi
push ebp
sub esp, 8
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
push 1
push ebp
call fcn.00401504
add esp, 8
mov eax, dword [esp + 0x18]
lea edx, [eax - 8]
test edx, edx
jle 0x410d01
mov dword [esp], ebx
lea eax, [edx + edi]
mov ebx, eax
mov dword [esp + 4], esi
mov esi, edx
push ebx
push ebx
call fcn.00401d40
add esp, 8
movq mm0, qword [ebx]
pxor mm0, qword [esi + edi - 8]
movq qword [ebx], mm0
emms
add ebx, 0xfffffff8
add esi, 0xfffffff8
test esi, esi
jg 0x410cd9
mov ebx, dword [esp]
mov esi, dword [esp + 4]
push edi
push edi
call fcn.00401d40
movzx eax, byte [ebp]
xor byte [edi], al
movzx edx, byte [ebp + 1]
xor byte [edi + 1], dl
movzx ecx, byte [ebp + 2]
xor byte [edi + 2], cl
movzx eax, byte [ebp + 3]
xor byte [edi + 3], al
movzx eax, byte [ebp + 4]
xor byte [edi + 4], al
movzx eax, byte [ebp + 5]
xor byte [edi + 5], al
movzx eax, byte [ebp + 6]
xor byte [edi + 6], al
movzx eax, byte [ebp + 7]
xor byte [edi + 7], al
add esp, 0x10
pop ebp
pop edi
ret
push edi
push ebp
sub esp, 8
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push 1
push edi
call fcn.00401504
add esp, 8
mov eax, dword [esp + 0x18]
lea edx, [eax - 8]
test edx, edx
jle 0x410ddf
lea eax, [edx + ebp]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov edi, eax
mov ebx, edx
push edi
push edi
call fcn.00401d40
add esp, 8
movzx ecx, byte [ebx + ebp - 8]
xor byte [ebx + ebp], cl
movzx ecx, byte [ebx + ebp - 7]
xor byte [ebx + ebp + 1], cl
movzx ecx, byte [ebx + ebp - 6]
xor byte [ebx + ebp + 2], cl
movzx ecx, byte [ebx + ebp - 5]
xor byte [ebx + ebp + 3], cl
movzx ecx, byte [ebx + ebp - 4]
xor byte [ebx + ebp + 4], cl
movzx ecx, byte [ebx + ebp - 3]
xor byte [ebx + ebp + 5], cl
movzx ecx, byte [ebx + ebp - 2]
xor byte [ebx + ebp + 6], cl
movzx ecx, byte [ebx + ebp - 1]
xor byte [ebx + ebp + 7], cl
add edi, 0xfffffff8
add ebx, 0xfffffff8
test ebx, ebx
jg 0x410d79
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp]
mov esi, dword [esp + 4]
push ebp
push ebp
call fcn.00401d40
movzx eax, byte [edi]
xor byte [ebp], al
movzx edx, byte [edi + 1]
xor byte [ebp + 1], dl
movzx ecx, byte [edi + 2]
xor byte [ebp + 2], cl
movzx eax, byte [edi + 3]
xor byte [ebp + 3], al
movzx eax, byte [edi + 4]
xor byte [ebp + 4], al
movzx eax, byte [edi + 5]
xor byte [ebp + 5], al
movzx eax, byte [edi + 6]
xor byte [ebp + 6], al
movzx eax, byte [edi + 7]
xor byte [ebp + 7], al
add esp, 0x10
pop ebp
pop edi
ret
Function at 0x41df4c
Capabilities:
Clear file content
Timestomp file

Disassembly:
push edi
push ebx
sub esp, 0x18
mov ebx, ecx
movzx eax, byte [ebx + 0x2f1]
test eax, eax
jne 0x41df64
add esp, 0x18
pop ebx
pop edi
ret
mov byte [ebx + 0x2f1], 0
push dword [ebx + 0x2d8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [ebx + 0x2d8]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea edi, [ebx + 0x2bc]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x41df9b
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x41df93
test eax, eax
je 0x41e023
push edi
call fcn.00486e35
lea edx, [ebx + 0x2bf]
mov word [esp + 6], ax
push edx
call fcn.00486e35
lea edx, [ebx + 0x2c2]
mov word [esp + 0xe], ax
push edx
call fcn.00486e35
lea edx, [ebx + 0x2c7]
mov word [esp + 0xc], ax
push edx
call fcn.00486e35
lea edx, [ebx + 0x2ca]
mov word [esp + 0x18], ax
push edx
call fcn.00486e35
add esp, 0x14
xor edx, edx
mov word [esp + 0xa], ax
lea eax, [esp]
lea edi, [esp + 0x10]
mov word [esp + 0xe], dx
mov word [esp + 0xc], dx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x10]
push eax
push eax
push eax
push dword [ebx + 0x2d8]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebx + 0x2d8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x178]
mov ecx, ebx
push eax
call fcn.0041e068
mov eax, dword [ebx + 0x2d4]
test eax, eax
je 0x41e04e
push eax
call fcn.00485bcc
pop ecx
mov eax, dword [ebx + 0x2d0]
test eax, eax
je 0x41e05f
push eax
call fcn.00485bcc
pop ecx
add esp, 0x18
pop ebx
pop edi
ret

Function at 0x41e068
Capabilities:
Delete file

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x310
mov ebp, ecx
movzx eax, byte [ebp + 0x2f0]
test eax, eax
jne 0x41e15a
push 0x5c
mov eax, dword [esp + 0x328]
push eax
call fcn.00486200
push 9
inc eax
push 0x4bb0c0
push eax
call fcn.00486ab0
add esp, 0x14
test eax, eax
jne 0x41e15a
lea esi, [esp]
mov edi, dword [esp + 0x324]
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41e0b5
lea eax, [esp]
push 0x5c
push eax
call fcn.00486200
lea ebx, [eax + 1]
mov dword [esp + 0x314], eax
push 0x2d
push ebx
call fcn.00486b00
add esp, 0x10
inc eax
lea esi, [esp + 0x208]
mov edi, eax
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41e0e9
lea eax, [esp + 0x208]
push 0x2e
push eax
call fcn.00486200
add esp, 8
test ebx, ebx
mov byte [eax], 0
je 0x41e117
mov eax, dword [esp + 0x30c]
mov byte [eax + 1], 0
lea edi, [esp]
lea edx, [esp + 0x208]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x41e12b
lea edx, [esp]
mov eax, dword [esp + 0x324]
mov ecx, dword [ebp + 0x174]
push eax
push edx
call fcn.0046aa4c
mov eax, dword [esp + 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
add esp, 0x310
pop ebx
pop ebp
pop esi
pop edi
ret 4
Function at 0x41e65c
Capabilities:
Read file on windows

Disassembly:
test dword [0x4b63ec], 0xffffff80
jne 0x41e684
test dword [0x4b63ec], 0xffffffff
jne 0x41e764
call fcn.00490ee4
jmp fcn.0041e65c
push edi
push esi
push ebp
push ebx
sub esp, 0xc
mov esi, dword [esp + 0x20]
mov dword [esp + 8], 0
push 0x2000
call fcn.00485d1c
pop ecx
mov ebp, eax
test ebp, ebp
je 0x41e747
xor eax, eax
xor edi, edi
xor ebx, ebx
mov dword [esp], edi
mov edi, eax
lea edx, [esp + 8]
push 0
push edx
push 0x2000
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e6e6
mov edx, dword [esp + 8]
mov ecx, 1
cmp edx, 0
mov edx, dword [esp]
cmovne edx, ecx
mov dword [esp], edx
jmp 0x41e6f4
cmp dword [esp + 8], 0
jne 0x41e6f4
mov edi, 1
jmp 0x41e723
xor edx, edx
push edx
push edx
push edx
call fcn.0046c858
mov dword [esp + 0x10], eax
push dword [esp + 0x14]
push ebp
push eax
call fcn.0046c858
add esp, 0x18
mov dword [esp + 4], eax
mov ecx, ebx
mov edx, dword [esp + 4]
add ecx, dword [esp + 0x24]
mov dword [ecx], edx
add ebx, 4
test edi, edi
je 0x41e6b7
mov edi, dword [esp]
xor edx, edx
push edx
push edx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
call fcn.00485bcc
pop ecx
and edi, 0xff
test edi, edi
je 0x41e756
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov eax, ebx
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
push edi
push esi
push ebp
push ebx
sub esp, 0xc
mov esi, dword [esp + 0x20]
mov dword [esp + 8], 0
push 0x2000
call fcn.00485d1c
pop ecx
mov ebp, eax
test ebp, ebp
je 0x41e81b
xor eax, eax
xor edi, edi
xor ebx, ebx
mov dword [esp], edi
mov edi, eax
lea edx, [esp + 8]
push 0
push edx
push 0x2000
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41e7c0
cmp dword [esp + 8], 0
je 0x41e7ce
mov edx, 1
mov dword [esp], edx
jmp 0x41e7ce
cmp dword [esp + 8], 0
jne 0x41e7ce
mov edi, 1
jmp 0x41e7fd
xor edx, edx
push edx
push edx
push edx
call fcn.0046c858
mov dword [esp + 0x10], eax
push dword [esp + 0x14]
push ebp
push eax
call fcn.0046c858
add esp, 0x18
mov dword [esp + 4], eax
mov ecx, ebx
add ecx, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov dword [ecx], edx
add ebx, 4
test edi, edi
je 0x41e797
mov edi, dword [esp]
xor edx, edx
push edx
push edx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
call fcn.00485bcc
pop ecx
test edi, edi
je 0x41e82a
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
mov eax, ebx
add esp, 0xc
pop ebx
pop ebp
pop esi
pop edi
ret 0xc
Function at 0x41ef20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4951ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x14], ecx
call dword [eax + 0x24]
mov dword [ebp - 0x28], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0x44e]
test edx, edx
je 0x41f069
movzx edx, byte [eax + 0x44d]
test edx, edx
mov byte [eax + 0x44e], 0
jne 0x41efae
mov byte [ebp - 0x33], 6
mov eax, 7
lea edx, [ebp - 0x34]
mov byte [ebp - 0x34], al
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xe8]
push eax
push 0xc
push edx
call fcn.00467d18
jmp 0x41efce
mov eax, 7
lea edx, [ebp - 0x34]
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 0x34], al
mov ecx, dword [ebx + 0xe8]
mov byte [ebp - 0x33], al
push eax
push 0xc
push edx
call fcn.00467d18
mov eax, ebx
push dword [eax + 0x438]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov eax, dword [eax + 0x2d0]
test eax, eax
je 0x41efef
push eax
call fcn.00485bcc
pop ecx
mov eax, ebx
mov eax, dword [eax + 0x2d4]
test eax, eax
je 0x41f002
push eax
call fcn.00485bcc
pop ecx
push 0x5c
mov eax, ebx
add eax, 0x2f2
mov dword [ebp - 0x14], eax
push eax
call fcn.00486200
push 9
inc eax
push 0x4bb0c0
push eax
call fcn.00486ab0
add esp, 0x14
test eax, eax
jne 0x41f048
push 0x2c
mov eax, dword [ebp - 0x14]
push eax
call fcn.00486200
add esp, 8
test eax, eax
je 0x41f03e
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41f371
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
sub esp, 0x100
mov edi, eax
lea edx, [esp]
push edx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edx, edi
and edx, 0xff
movzx ecx, byte [esp + edx]
test cl, 1
jne 0x41f39d
add esp, 0x100
pop edi
ret
xor edx, edx
push edx
push 1
push edx
push edi
call dword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
push edx
push 3
push edx
push edi
call dword [sym.imp.USER32.dll_keybd_event]
add esp, 0x100
pop edi
ret