joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485624
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x671c79
call fcn.005f14f9
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 0x48571b
cmp edi, dword [ebx + 0xc]
jge 0x48571b
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x48567b
cmp edi, dword [esi + 8]
jl 0x485709
cmp dword [ebp + 0xc], 0
je 0x485709
xor edi, edi
jmp 0x4856ad
xor edi, edi
push 0x10
mov dword [ebp - 4], edi
call fcn.00484ffc
mov esi, eax
test esi, esi
je 0x485695
mov dword [esi], vtable.CThreadData.0
jmp 0x485697
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.00421677
cmp dword [esi + 0xc], 0
pop ecx
pop ecx
jne 0x4856c9
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x4856d5
push 2
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x485742
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.00602a90
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 0x48571b
cmp edi, dword [esi + 8]
jge 0x48571b
mov eax, dword [ebp + 0xc]
mov dword [ecx + edi*4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.005f145e
ret 8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041ee55
int3

Function at 0x4864d7
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x671eaa
call fcn.005f1490
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004025f0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x486539
call fcn.00439787
cmp eax, 1
jne 0x486539
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0040a4be
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402f98
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00406421
inc esi
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push esi
test ecx, ecx
je 0x48654b
call fcn.00449444
jmp 0x486551
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00406421
mov eax, esi
call fcn.005f145e
ret 0xc
Function at 0x48669c
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x671f40
call fcn.005f1490
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004025f0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4866fa
call fcn.00439787
cmp eax, 1
jne 0x4866fa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0040a4be
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402f98
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406421
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00406421
mov eax, esi
call fcn.005f145e
ret 0x10

Function at 0x486721
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x671f72
call fcn.005f1490
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.004025f0
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x48677f
call fcn.00439787
cmp eax, 1
jne 0x48677f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0040a4be
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402f98
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406421
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00406421
mov eax, esi
call fcn.005f145e
ret 0x14

Function at 0x48bcad
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 0x48bcd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x48bcdd
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
leave
ret
lea ecx, [esi + 0xc]
call fcn.004030d5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0048b02a
int3

Function at 0x48bda1
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x48bde8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x48bdf7
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x48bdf7
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x68dd90]
call edi
jmp 0x48bdf9
cmp dword [esi + 4], ebx
je 0x48bdf7
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48c02e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
jne 0x48c03f
xor eax, eax
jmp 0x48c05b
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 0x48c060
mov eax, dword [ebp - 4]
pop esi
leave
ret 8
lea ecx, [esi + 0xc]
call fcn.004030d5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0048b02a
int3

Function at 0x48c13b
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 [0x68dd90]
mov ecx, edi
call esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x48c16e
pop edi
pop esi
pop ebp
ret 8
lea ecx, [edi + 0xc]
call fcn.004030d5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0048b02a
int3

Function at 0x48c242
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 0x48c26d
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 0x48c273
cmp dword [ebp - 4], esi
jne 0x48c28a
pop edi
pop esi
leave
ret 8
lea ecx, [edi + 0xc]
call fcn.004030d5
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
call fcn.0048b02a
lea ecx, [edi + 0xc]
call fcn.004030d5
push eax
push 0xffffffffffffffff
push 0xd
call fcn.0048abfb
int3

Function at 0x48e660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0xc8], 0
jne 0x48e724
cmp dword [edi + 0xb8], 0
je 0x48e724
push esi
call fcn.00439739
push 5
push dword [edi + 0xb8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48e723
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48e723
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48e723
push ebx
call fcn.00439739
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x48e722
push 0x10
call fcn.004399fa
pop ecx
mov ecx, dword [ebx]
push esi
push eax
mov dword [ebp - 4], eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x68dd90]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0xcc]
mov eax, dword [ebp - 4]
mov dword [edi + 0xc8], eax
test ecx, ecx
je 0x48e71c
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x68dd90]
mov ecx, ebx
call esi
push 0x10
push dword [edi + 0xcc]
call fcn.005f0565
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [edi + 0xcc], eax
pop ebx
pop esi
mov eax, dword [edi + 0xc8]
pop edi
leave
ret
Function at 0x495160
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x71c1c0]
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 [0x7495e8]
mov dword [ebp - 0x20], ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edi
test eax, eax
jne 0x4951b9
push 0x693f14
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4951de
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 [0x7495e8], eax
jmp 0x4951c2
push eax
call dword [sym.imp.KERNEL32.dll_DecodePointer]
mov esi, eax
test esi, esi
je 0x4951de
mov eax, dword [ebp - 0x18]
mov ecx, esi
push eax
push edi
push ebx
push dword [ebp + 8]
call dword [0x68dd90]
call esi
jmp 0x495320
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.0049563b
lea eax, [ebp - 0x14]
push eax
call fcn.006107d6
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax]
push edi
call fcn.0063f7ef
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.0049563b
lea eax, [ebp - 0x14]
push eax
call fcn.006107d6
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.0063f7ef
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.0049563b
lea eax, [ebp - 0x14]
push eax
call fcn.006107d6
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.0063f7ef
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.0049563b
lea eax, [ebp - 0x14]
push eax
call fcn.006107d6
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.0063f7ef
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push 7
push eax
add edi, esi
inc dword [ebx]
push 0x800
call fcn.0049563b
add esp, 0x44
lea eax, [ebp - 0x14]
push eax
call fcn.006107d6
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.0063f7ef
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.005f1450
leave
ret
Function at 0x49badb
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 0x49baf4
call fcn.00439739
mov esi, dword [eax + 0xc]
push 0x6a0944
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x49bb36
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x49bb36
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x49bb36
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049bb3f
jmp 0x49bb38
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4c9ea2
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4c9fe8
mov ecx, 0x71b8ac
call fcn.0048545b
mov esi, eax
test esi, esi
je 0x4c9fdd
xor eax, eax
cmp word [esi + 8], ax
jne 0x4c9fa7
push 0x69fac0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x4c9f63
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [ebp + 0x10]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x11
jne 0x4c9f29
push str.MS_UI_Gothic
call fcn.004ca039
pop ecx
test eax, eax
je 0x4c9f29
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 0x4c9f44
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 0x4c9f63
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 0x4c9f69
push ebx
push edi
push eax
call fcn.00495c66
add esp, 0xc
jmp 0x4c9f69
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.00421677
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 0x4c9fe2
mov eax, dword [edi]
push eax
mov eax, dword [eax - 0xc]
inc eax
push eax
push ecx
call fcn.00439142
mov ax, word [ebx]
add esp, 0xc
mov word [esi + 8], ax
xor eax, eax
jmp 0x4c9faa
mov ebx, dword [ebp + 0xc]
mov edi, dword [esi + 4]
test edi, edi
je 0x4c9fb8
push edi
call fcn.0060fe00
pop ecx
mov ecx, dword [ebp + 8]
push eax
push edi
call fcn.004065bc
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.0041ee2b
call fcn.0041ee55
int3
Function at 0x4d3e85
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x71c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x4d3eb1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x4d3edc
cmp dword [0x749d74], 0
jne 0x4d3edc
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4d3ed8
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4d3ed8
push edi
call fcn.00642d80
pop ecx
jmp 0x4d3f51
mov eax, edi
jmp 0x4d3f51
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 0x4d3f60
push esi
call fcn.00447a28
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.005f1450
leave
ret 4
call fcn.0041ee2b
int3
Function at 0x4dfd33
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 0x4dfe91
push esi
push edi
push 0x6a23c4
call fcn.00444538
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x4dfdcc
mov edi, dword [ebx + 0x168]
jmp 0x4dfdb8
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 0x4dfdb8
push esi
call fcn.0042920a
push eax
push 0x71b8b0
call fcn.00444499
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x4dfdb8
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x68dd90]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x4dfdb8
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x4dfd67
lea ecx, [ebx + 0x164]
call fcn.004e08fb
jmp 0x4dfe8f
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4dfe8f
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.004426e0
mov edi, dword [eax]
test edi, edi
jne 0x4dfdf8
xor esi, esi
jmp 0x4dfdfb
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 0x4dfe7f
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4dfe7f
cmp dword [ebp - 0x10], 0
jne 0x4dfe54
push edi
push 0x71b8b0
call fcn.00444499
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x68dd90]
mov ecx, edi
call esi
push eax
push 0x6a5fc8
call fcn.00444499
pop ecx
pop ecx
test eax, eax
je 0x4dfe7f
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.004deaa2
test eax, eax
jne 0x4dfe7f
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.004dc880
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x4dfde3
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4e3500
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 0x4e354d
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0060fe00
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x4e3544
mov edx, ecx
movsx ecx, byte [esi + edi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4e3532
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call fcn.0041ee2b
int3

Function at 0x4e3dc7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
push edi
mov esi, ecx
jne 0x4e3dd8
xor eax, eax
jmp 0x4e3e1e
cmp dword [ebp + 8], 0
je 0x4e3e24
push dword [esi + 0x14]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00611893
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4e3e04
push dword [esi + 0x14]
call fcn.0064375d
pop ecx
test eax, eax
je 0x4e3e29
push dword [esi + 0x14]
call fcn.00643789
pop ecx
test eax, eax
je 0x4e3e1c
push dword [esi + 0x14]
call fcn.004e3a7d
pop ecx
jmp 0x4e3e29
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
call fcn.0041ee2b
lea ecx, [esi + 0xc]
call fcn.004030d5
mov esi, eax
call fcn.0060fc4c
push esi
push dword [eax]
push 1
call fcn.0048abfb
int3

Function at 0x4e5fef
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x71c1c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.00641bb4
mov edi, eax
pop ecx
test edi, edi
je 0x4e609c
push edi
call fcn.0060fe00
pop ecx
add eax, edi
je 0x4e6092
push ebx
xor ebx, ebx
push esi
push eax
push edi
mov byte [eax], bl
call fcn.0063fc38
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x110]
push eax
push 8
push ebx
push edi
push SysReAllocStringLen
call fcn.00486602
test eax, eax
jne 0x4e6090
push 0x105
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push dword [ebp - 0x110]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4e6090
push ebx
push edi
push SysReAllocStringLen
call fcn.004864d7
push 0x5c
push edi
call fcn.00610f22
pop ecx
pop ecx
test eax, eax
jne 0x4e6026
pop esi
pop ebx
push edi
call fcn.0062ce17
xor eax, eax
pop ecx
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005f1450
leave
ret 4
Function at 0x4e8c7a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x234
mov eax, 0x67797b
call fcn.005f14c3
mov ebx, ecx
mov dword [ebp - 0x224], ebx
and dword [ebp - 0x228], 0
call fcn.00439739
push 0
mov ecx, dword [eax + 4]
call fcn.0044859e
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 [0x68dd90]
mov ecx, ebx
call esi
push 0x2001f
lea ecx, [ebp - 0x234]
push dword [eax]
push edi
call fcn.0040f738
mov ecx, dword [ebp - 0x21c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00406421
test esi, esi
jne 0x4e8e6c
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.00602a90
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 0x4e8e08
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc ebx
mov byte [ebp - 0x218], 0
call fcn.00602a90
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.0040f82c
test eax, eax
jne 0x4e8df3
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ecx + 4]
call fcn.004e77ce
mov esi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.0060fe00
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004065bc
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 0x4e8d60
test edi, edi
je 0x4e8e2a
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 [0x68dd90]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x240]
push dword [eax]
call fcn.004e7fe8
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00406421
jmp 0x4e8e72
mov edi, dword [ebp - 0x234]
test edi, edi
je 0x4e8e7d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x240]
call fcn.0040eef6
mov eax, dword [ebp - 0x228]
call fcn.005f1472
ret
Function at 0x5219bc
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 0x521a5b
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x521a57
mov eax, dword [eax + 0x20]
test eax, eax
je 0x521a57
cmp dword [ebx], eax
jne 0x521a57
mov eax, dword [ebx + 4]
sub eax, 1
je 0x521a31
sub eax, 1
je 0x521a01
sub eax, 1
jne 0x521a57
mov edi, 0x428e
jmp 0x521a36
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x521a36
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x68dd90]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x521a36
add edi, 3
jmp 0x521a36
mov edi, 0x3ea0
push edi
mov ecx, 0x74aaf8
call fcn.00404263
test eax, eax
je 0x521a5b
mov eax, dword [0x74aaf8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x521a50
call fcn.0041ee2b
int3