joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44669c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x446823
je 0x44684a
sub eax, 0xa1
je 0x44684a
sub eax, 1
je 0x44684a
dec eax
sub eax, 1
je 0x44684a
sub eax, 1
je 0x44684a
dec eax
sub eax, 1
je 0x44684a
sub eax, 1
je 0x44684a
sub eax, 0x58
jne 0x446888
cmp dword [edi + 0xc0], 0xffffffff
je 0x44684a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x44684a
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x446778
sub eax, 1
jne 0x44684a
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x446767
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
test eax, eax
jne 0x4467c4
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x44673d
jmp 0x4468a2
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x4468a2
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
test eax, eax
jne 0x4467c4
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x44678f
jmp 0x4468a2
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
mov ecx, eax
call fcn.0041c63b
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x4468a2
sub eax, 0x200
je 0x44684a
sub eax, 1
je 0x44684a
sub eax, 1
je 0x44684a
dec eax
sub eax, 1
je 0x44684a
sub eax, 1
je 0x44684a
dec eax
sub eax, 1
je 0x44684a
sub eax, 1
jne 0x446888
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x446869
cmp dword [eax + 0x20], ebx
je 0x446869
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x446888
cmp dword [eax + 0x20], ebx
je 0x446888
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x4468a7
lea eax, [edi + 0x2250]
test eax, eax
je 0x44689e
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x4468a7
xor eax, eax
inc eax
jmp 0x4468af
push esi
mov ecx, edi
call fcn.004403c1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x46639e
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov edx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
inc eax
push edi
xor edi, edi
mov dword [ebp - 8], edx
inc edi
mov dword [ebp - 4], eax
lea ebx, [ecx + 0xc]
cmp dword [ecx + 8], edi
jle 0x46641a
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4663df
mov eax, dword [edx + 0x10]
cmp dword [eax + edi*8 + 4], esi
je 0x4663df
mov eax, dword [ebx]
cmp dword [eax + edi*4], 0
je 0x46640d
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x466410
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x466407
mov eax, dword [eax]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, dword [ebp - 0xc]
call esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
and dword [eax + edi*4], 0
mov eax, dword [ebp - 4]
inc edi
cmp edi, dword [ecx + 8]
jl 0x4663c3
test eax, eax
je 0x466461
lea esi, [edx + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
add ecx, 0x14
push edi
call fcn.00466692
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
mov eax, dword [ebp - 8]
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4666e4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x593b70
call fcn.00559fe8
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x1c]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
test edi, edi
jle 0x4667db
cmp edi, dword [ebx + 0xc]
jge 0x4667db
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x46673b
cmp edi, dword [esi + 8]
jl 0x4667c9
cmp dword [ebp + 0xc], 0
je 0x4667c9
xor edi, edi
jmp 0x46676d
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.0046618e
mov esi, eax
test esi, esi
je 0x466755
mov dword [esi], vtable.CThreadData.0
jmp 0x466757
mov esi, edi
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [esi + eax], ecx
mov dword [ebx + 0x14], esi
push 4
push dword [ebx + 0xc]
call fcn.004113dc
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x466789
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x466795
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x466802
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push edi
push eax
call fcn.00566f00
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esi + 8], eax
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4667db
cmp edi, dword [esi + 8]
jge 0x4667db
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00559f4c
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00410077
int3

Function at 0x4678aa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x4678d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4678da
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.004026bb
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00467495
int3

Function at 0x467bb5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x467bc6
xor eax, eax
jmp 0x467be2
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x467be7
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.004026bb
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00467495
int3
Function at 0x467c59
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp + 8]
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x467c8c
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.004026bb
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00467495
int3

Function at 0x467d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
je 0x467d8b
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x467d91
cmp dword [ebp - 4], esi
jne 0x467da8
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.004026bb
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.00467495
lea ecx, [edi + 0xc]
call fcn.004026bb
push eax
push 0xffffffffffffffff
push 0xd
call fcn.004670eb
int3
Function at 0x46b44b
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x604180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x62edf8]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x46b4a4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x46b4c9
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x62edf8], eax
jmp 0x46b4ad
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x46b4c9
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x5a4a38]
call esi
jmp 0x46b60b
and dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.0046b7c2
lea eax, [ebp - 0x14]
push eax
call fcn.0056a8d2
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.0057886c
mov eax, dword [ebp - 0x20]
lea edi, [esi + 1]
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0046b7c2
lea eax, [ebp - 0x14]
push eax
call fcn.0056a8d2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
sub ecx, edi
push ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + edi*2]
push ecx
call fcn.0057886c
mov eax, dword [ebp - 0x20]
add esp, 0x38
add edi, esi
inc dword [eax]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
lea eax, [ebp - 0x14]
push 7
push eax
push ebx
call fcn.0046b7c2
lea eax, [ebp - 0x14]
push eax
call fcn.0056a8d2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.0057886c
mov eax, dword [ebp - 0x20]
add edi, esi
push 7
and ebx, 0x3ff
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0046b7c2
lea eax, [ebp - 0x14]
push eax
call fcn.0056a8d2
lea esi, [eax + 1]
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.0057886c
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.0046b7c2
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.0056a8d2
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x1c]
sub ecx, edi
push ecx
lea ecx, [eax + edi*2]
push ecx
call fcn.0057886c
mov ecx, dword [ebp - 0x1c]
lea eax, [edi + esi]
add esp, 0x10
xor edx, edx
inc dword [ebx]
mov word [ecx + eax*2 + 2], dx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00559f3e
leave
ret
Function at 0x47057b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x470594
call fcn.00423e0f
mov esi, dword [eax + 0xc]
push 0x5b5124
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4705d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4705d6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4705d6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004705df
jmp 0x4705d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x49b4b3
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x49b5f9
mov ecx, 0x6038a4
call fcn.0046653d
mov esi, eax
test esi, esi
je 0x49b5ee
xor eax, eax
cmp word [esi + 8], ax
jne 0x49b5b8
push 0x5b4a7c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x49b574
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x49b53a
push str.MS_UI_Gothic
call fcn.0049b637
pop ecx
test eax, eax
je 0x49b53a
mov eax, edi
neg eax
push 0xfc11
sbb eax, eax
and eax, 0xe
add eax, 0x3ee
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x49b555
neg edi
push 5
sbb edi, edi
and edi, 0xe
add edi, 0x3ee
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49b574
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
je 0x49b57a
push ebx
push edi
push eax
call fcn.0046bbee
add esp, 0xc
jmp 0x49b57a
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
push 1
mov eax, dword [eax - 0xc]
inc eax
push eax
call fcn.004113dc
pop ecx
pop ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x49b5f3
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.00423a0a
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x49b5bb
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x49b5c9
push edi
call fcn.005788d0
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004048a3
movzx ecx, word [esi + 8]
mov edx, 0xffff
xor eax, eax
mov word [ebx], cx
pop edi
cmp cx, dx
pop esi
setne al
pop ebx
pop ebp
ret 0xc
call fcn.0041005d
call fcn.00410077
int3
Function at 0x4a2bef
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x604180]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x4a2c1b
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4a2c46
cmp dword [0x62f56c], 0
jne 0x4a2c46
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4a2c42
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4a2c42
push edi
call fcn.00579e9c
pop ecx
jmp 0x4a2cbb
mov eax, edi
jmp 0x4a2cbb
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4a2cca
push esi
call fcn.0042caf7
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push esi
push 1
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00559f3e
leave
ret 4
call fcn.0041005d
int3
Function at 0x4adc68
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x4addc6
push esi
push edi
push 0x5b6ba4
call fcn.0042b498
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4add01
mov edi, dword [ebx + 0x168]
jmp 0x4adced
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4adced
push esi
call fcn.00416dcf
push eax
push 0x6038a8
call fcn.0042b3f9
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4adced
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4adced
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4adc9c
lea ecx, [ebx + 0x164]
call fcn.004ae7a7
jmp 0x4addc4
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4addc4
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0042998b
mov edi, dword [eax]
test edi, edi
jne 0x4add2d
xor esi, esi
jmp 0x4add30
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4addb4
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4addb4
cmp dword [ebp - 0x10], 0
jne 0x4add89
push edi
push 0x6038a8
call fcn.0042b3f9
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, edi
call esi
push eax
push 0x5ba120
call fcn.0042b3f9
pop ecx
pop ecx
test eax, eax
je 0x4addb4
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.004acbb3
test eax, eax
jne 0x4addb4
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004aad1b
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4add18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4b0d32
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4b0d7f
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.005788d0
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x4b0d76
mov edx, ecx
movsx ecx, byte [esi + edi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4b0d64
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.0041005d
int3

Function at 0x4b13f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
mov esi, ecx
jne 0x4b1407
xor eax, eax
jmp 0x4b144d
cmp dword [ebp + 8], 0
je 0x4b1453
push dword [esi + 0x14]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0056b5cb
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4b1433
push dword [esi + 0x14]
call fcn.0057a3bc
pop ecx
test eax, eax
je 0x4b1458
push dword [esi + 0x14]
call fcn.0057a3e8
pop ecx
test eax, eax
je 0x4b144b
push dword [esi + 0x14]
call fcn.004b10d8
pop ecx
jmp 0x4b1458
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
call fcn.0041005d
lea ecx, [esi + 0xc]
call fcn.004026bb
mov esi, eax
call fcn.0056a78a
push esi
push dword [eax]
push 1
call fcn.004670eb
int3
Function at 0x4b31fb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x597c45
call fcn.00559fb1
mov ebx, ecx
mov dword [ebp - 0x224], ebx
and dword [ebp - 0x228], 0
call fcn.00423e0f
push 0
mov ecx, dword [eax + 4]
call fcn.0042d234
mov edi, eax
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebx]
mov byte [ebp - 4], 1
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call dword [0x5a4a38]
mov ecx, ebx
call esi
push 0x2001f
lea ecx, [ebp - 0x234]
push dword [eax]
push edi
call fcn.00409e46
mov ecx, dword [ebp - 0x21c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.004047a1
test esi, esi
jne 0x4b33ed
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.00566f00
mov edi, dword [ebp - 0x234]
lea eax, [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x114]
push eax
push ecx
jmp 0x4b3389
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc ebx
mov byte [ebp - 0x218], 0
call fcn.00566f00
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00409ef3
test eax, eax
jne 0x4b3374
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ecx + 4]
call fcn.004b1d68
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.005788d0
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004048a3
mov dword [ebp - 0x228], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4b32e1
test edi, edi
je 0x4b33ab
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x234], edi
mov ebx, dword [ebp - 0x224]
and dword [ebp - 0x230], 0
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
call dword [0x5a4a38]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x240]
push dword [eax]
call fcn.004b2582
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.004047a1
jmp 0x4b33f3
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x4b33fe
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.00409b20
mov eax, dword [ebp - 0x228]
call fcn.00559f60
ret
Function at 0x4e4c8d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4e4d2c
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4e4d28
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4e4d28
cmp dword [ebx], eax
jne 0x4e4d28
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4e4d02
sub eax, 1
je 0x4e4cd2
sub eax, 1
jne 0x4e4d28
mov edi, 0x428e
jmp 0x4e4d07
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4e4d07
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x5a4a38]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4e4d07
add edi, 3
jmp 0x4e4d07
mov edi, 0x3ea0
push edi
mov ecx, 0x6302f0
call fcn.0040333e
test eax, eax
je 0x4e4d2c
mov eax, dword [0x6302f0]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4e4d21
call fcn.0041005d
int3