joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51bdc8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x592a80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050fc6b
and dword [ebp - 0x14], 0
cmp dword [0x59bd18], 0
mov dword [ebp - 0x18], eax
jne 0x51be7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51bf23
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5680a8
push ebx
call edi
test eax, eax
je 0x51bf23
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x568098
push ebx
mov dword [0x59bd18], eax
call edi
push eax
call esi
push 0x568084
push ebx
mov dword [0x59bd1c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x59bd20], eax
call edi
push eax
call esi
mov dword [0x59bd28], eax
test eax, eax
je 0x51be7b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x59bd24], eax
mov eax, dword [0x59bd24]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51bed4
cmp dword [0x59bd28], ecx
je 0x51bed4
push eax
call esi
push dword [0x59bd28]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51bed4
test ebx, ebx
je 0x51bed4
call edi
test eax, eax
je 0x51becb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51becb
test byte [ebp - 8], 1
jne 0x51bed4
or dword [ebp + 0x10], 0x200000
jmp 0x51bf07
mov eax, dword [0x59bd1c]
cmp eax, dword [ebp - 0x18]
je 0x51bf07
push eax
call esi
test eax, eax
je 0x51bf07
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51bf07
mov eax, dword [0x59bd20]
cmp eax, dword [ebp - 0x18]
je 0x51bf07
push eax
call esi
test eax, eax
je 0x51bf07
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x59bd18]
call esi
test eax, eax
je 0x51bf23
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51bf25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050876f
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x4099c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x40]
push 4
push str.EULA
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.00405a70
mov byte [ebp - 4], 1
call fcn.0044e700
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0044e130
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x409a49
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406d90
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push str.explorer
push 0x61edec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409a80
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
Function at 0x418660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x64106c]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push edi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x41870f
cmp word [esp + 0x20], 0
je 0x41870f
sub esp, 8
lea eax, [esp + 0x28]
mov edx, esp
mov dword [edx], eax
cmp word [esp + 0x28], 0
jne 0x4186d3
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00419a20
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4186e0
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00419a20
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
call fcn.00405130
lea eax, [esp + 8]
push eax
call fcn.00418560
add esp, 4
mov ecx, esi
test al, al
je 0x418737
lea eax, [esp + 8]
push eax
call fcn.00405150
jmp 0x41874e
sub esp, 8
mov eax, esp
mov dword [eax], 0x61fd44
mov dword [eax + 4], 3
call fcn.00419a20
lea ecx, [esp + 8]
call fcn.00405040
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
Function at 0x41c7b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push edi
mov dword [ebp - 0x24], 0
mov edi, dword [0xa3c1b4]
call fcn.00405130
mov edx, 0x61ffb8
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41c7e2
sub edx, ecx
lea eax, [ebp - 0x20]
sar edx, 1
mov ecx, esi
push edx
push 0x61ffb8
push eax
call fcn.0041ea30
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x41c83c
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.0041c0a0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x20]
call fcn.00405040
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004c21c3
mov esp, ebp
pop ebp
ret 4

Function at 0x41f660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x64106c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
mov edi, ecx
mov ebx, dword [0xa3c1b4]
mov ecx, ebx
push 0x62195c
call fcn.0041c330
test al, al
jne 0x41f6ab
push str.vmodule
mov ecx, ebx
call fcn.0041c330
test al, al
je 0x41f73b
cmp dword [0xa3c1b8], 0
je 0x41f6c2
cmp byte [0xa3c2e8], 0
jne 0x41f7f9
int3
mov eax, dword [0xa3c1d4]
push 0x10
mov dword [0xa3c1b8], eax
call fcn.004c21d4
mov esi, eax
mov dword [esp + 0x10], str.vmodule
push ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 7
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x20], 0x62195c
push eax
mov ecx, ebx
mov dword [esp + 0x28], 1
call fcn.0041c3e0
add esp, 4
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041c3e0
push eax
mov ecx, esi
call fcn.00428450
lea ecx, [esp + 0x1c]
mov dword [0xa3c1d4], eax
call fcn.004051e0
lea ecx, [esp + 0x34]
call fcn.004051e0
mov eax, dword [edi]
mov dword [0xa271ac], eax
test al, 1
jne 0x41f75a
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
mov eax, dword [0xa3c1cc]
test eax, eax
je 0x41f774
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0xa3c1cc], 0
mov edx, dword [0xa3c1d0]
test edx, edx
jne 0x41f797
push 0x18
call fcn.004c21d4
add esp, 4
mov ecx, eax
call fcn.00405130
mov edx, eax
mov dword [0xa3c1d0], edx
mov esi, dword [edi + 4]
cmp word [esi], 0
jne 0x41f7a4
xor ecx, ecx
jmp 0x41f7bf
mov ecx, esi
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f7b0
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00405a70
cmp dword [edi + 0xc], 0
jne 0x41f7e2
mov eax, dword [0xa3c1d0]
cmp dword [eax + 0x14], 8
jb 0x41f7db
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0041f520
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
push 1
call fcn.0050e303
int3
Function at 0x421c70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x54], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
sub esp, 8
mov edi, ecx
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x421ca5
mov ecx, dword [eax]
jmp 0x421ca7
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x50]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00419a20
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.00405150
lea ecx, [ebp - 0x50]
call fcn.00405040
push ecx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0041c940
push 0x3c
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0050b8e0
add esp, 0xc
mov dword [ebp - 0x90], 0x3c
mov dword [ebp - 0x8c], 0x40
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
cmp dword [ebp - 0xc], 8
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [ebp - 0x7c], eax
mov eax, 5
cmovne eax, ecx
mov dword [ebp - 0x84], 0x61fe9c
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x421d7d
lea ecx, [edi + 4]
mov byte [edi], al
push eax
mov dword [ecx], eax
call fcn.00419020
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
jne 0x421dad
cmp byte [0xa3c2e8], 0
je 0x421dac
jmp 0x421dd0
cmp byte [esi], 0
je 0x421d8d
push 0xffffffffffffffff
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp - 0x58]
lea ecx, [edi + 4]
mov byte [edi], 0
push esi
mov dword [ecx], 0
call fcn.00419020
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, eax
jmp 0x421d70
int3
lea ecx, [ebp - 0x20]
call fcn.00405040
lea ecx, [ebp - 0x38]
call fcn.00405040
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
push 1
call fcn.0050e303
int3
Function at 0x46fd45
Capabilities:
Check for peb beingdebugged flag
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
call dword [sym.imp.USER32.dll_BlockInput]
xor ebx, ebx
mov byte [ebp - 0x229], bl
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x46fd80
mov byte [ebp - 0x229], 0
jmp 0x46fd87
mov byte [ebp - 0x229], 1
cmp byte [ebp - 0x229], bl
je 0x46fdfd
push 0x208
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0050b8e0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xa
mov edx, 0x61789c
lea ecx, [ebp - 0x228]
call fcn.0046b36e
pop ecx
cmp dword [eax + 0x14], 8
jb 0x46fdcf
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x228]
call fcn.00405040
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46fdfd
xor al, al
jmp 0x46fe06
push ebx
call dword [sym.imp.USER32.dll_BlockInput]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004c21c3
mov esp, ebp
pop ebp
ret
Function at 0x48a3a2
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x260
mov eax, 0x5e1f51
call fcn.004c281e
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0050b8e0
add esp, 0xc
cmp dword [ebp + 8], 0xffffffff
je 0x48a3e0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x26c]
call fcn.00404f90
push 0xfde9
lea edx, [ebp - 0x26c]
lea ecx, [ebp - 0x248]
call fcn.00419490
pop ecx
mov dword [ebp - 4], esi
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00405040
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004050d0
push 0x61ed04
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 1
call fcn.004050d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.0046cf13
pop ecx
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00405080
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 2
call fcn.00405040
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00405040
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x268]
lea esi, [ebp - 0x230]
mov byte [ebp - 0x261], 0x5c
cmovae esi, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
push eax
mov byte [ebp - 0x262], 0x2f
call fcn.004059f0
lea edx, [ebp - 0x261]
lea ecx, [ebp - 0x262]
push dword [eax]
push esi
call fcn.0046e477
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
pop ecx
cmovae eax, dword [ebp - 0x230]
pop ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x230]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
inc bl
call fcn.00405040
mov al, bl
call fcn.004c27c8
ret 8
Function at 0x4da67d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4da6a3
call fcn.004d0e7f
jmp 0x4da6cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004d035b
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4da6cf
push 1
push ecx
push ecx
push eax
push 0x61edec
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc

Function at 0x4dded9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x4ddf3a
sub eax, 1
je 0x4ddf1c
sub eax, 3
je 0x4ddf1c
test dword [edi + 0x370], 0x2000
je 0x4ddf55
push esi
call fcn.0051668f
pop ecx
test eax, eax
jne 0x4ddf55
cmp esi, 0x2d
je 0x4ddf55
cmp esi, 0x2e
je 0x4ddf55
cmp esi, 0x2c
je 0x4ddf55
jmp 0x4ddf70
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4ddf55
test dword [edi + 0x370], 0x1000
jmp 0x4ddf53
test byte [edi + 0x374], 0x80
jne 0x4ddf55
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4ddf70
mov eax, dword [edi + 0x380]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4de1dd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x2c]
push edi
push esi
call fcn.004cd023
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 0x2c], 0x5eb408
mov dword [ebp - 0x24], 0x5ed3c4
mov byte [ebp - 4], bl
mov dword [ebp - 0xc], edi
call dword [eax + 0x94]
cmp byte [ebp - 4], bl
jne 0x4de246
cmp edi, 0xd
jne 0x4de24b
test dword [esi + 0x370], 0x1000
jne 0x4de24b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4de24b
mov dword [esi + 0x10], ebx
jmp 0x4de265
mov eax, dword [esi + 0x380]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4e02ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0050b8e0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x4e0347
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x4e035b
cmp byte [ebp - 6], 1
jne 0x4e035b
cmp dword [ebp - 0x11c], 6
jne 0x4e035b
xor eax, eax
inc eax
jmp 0x4e035d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004c21c3
mov esp, ebp
pop ebp
ret

Function at 0x4e3378
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x624fc4
push dword [ebp + 8]
call fcn.005149de
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4e33d5
push ebx
push edi
push esi
call fcn.00513aed
push eax
call fcn.005268cd
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x4e33b4
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4e33ca
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.005144b1
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.00513787
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x4e7bf2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x210]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4e7c98
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x4e7c60
mov ecx, edi
call fcn.004e8f7b
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x4e7c3b
cmp si, bx
jge 0x4e7c98
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.004d04e3
test bx, bx
je 0x4e7cd7
mov ecx, edi
call fcn.004ce3e8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4eba17
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x4eba24
xor eax, eax
jmp 0x4eba52
push dword [ecx + 4]
call fcn.004e6f1a
pop ecx
test eax, eax
je 0x4eba3f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x4eba20
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4

Function at 0x4ebb74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.004eba17
test eax, eax
je 0x4ebba9
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.004eb5ac
xor eax, eax
inc eax
jmp 0x4ebca6
push esi
push dword [ebx + 4]
call fcn.004e6f1a
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x4ebc53
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x4ebc53
cmp edi, 0x25
je 0x4ebbe3
cmp edi, 0x27
je 0x4ebbf1
cmp edi, 0x26
je 0x4ebbe3
cmp edi, 0x28
jne 0x4ebc53
cmp edi, 0x27
je 0x4ebbf1
cmp edi, 0x28
je 0x4ebbf1
push 2
jmp 0x4ebbf3
push 3
pop edi
jmp 0x4ebc01
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4ebc3d
push edi
mov ecx, esi
call fcn.004cec17
mov esi, eax
test esi, esi
jne 0x4ebbf6
mov ecx, dword [ebp - 4]
cmp edi, 3
setne al
push eax
call fcn.004ce90c
mov ecx, eax
jmp 0x4ebc30
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4ebc3d
push edi
mov ecx, esi
call fcn.004cec17
mov esi, eax
test esi, esi
jne 0x4ebc22
jmp 0x4ebc4e
push 1
mov ecx, esi
call fcn.004ceb4b
push eax
mov ecx, ebx
call fcn.004ebf30
xor eax, eax
inc eax
jmp 0x4ebca5
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.004edb5f
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.004ebcfa
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.00401a70
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4