joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d38
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push edi
push eax
xor edi, edi
mov ebx, 0xf013f
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
call esi
test eax, eax
jne 0x424e10
lea eax, [ebp - 8]
push eax
push ebx
push edi
push str.SoftWare
push dword [ebp - 4]
call esi
test eax, eax
je 0x424d91
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424e10
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
je 0x424db5
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424e06
push edi
lea eax, [ebp - 0x10]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x424dd3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424e01
push dword [ebp + 0x18]
call fcn.004977dc
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x18]
push 1
push edi
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0xc]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424e17
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424ed4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x424e75
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424ed3
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x424e9b
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x424ed1
push dword [ebp + 0x14]
call fcn.004977dc
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425020
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.004134a0
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.0048cfa0
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.0049df1a
push 0x800
lea eax, [ebp - 0x1028]
push esi
push eax
call fcn.0048cfa0
push str.LittlePicture
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.00424fe4
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0048cfa0
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.0048cfa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
pop ecx
test eax, eax
je 0x42527f
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0048d8ea
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x42527f
lea eax, [ebp - 0x20c]
push eax
call fcn.004977dc
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0049df1a
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.00424fe4
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.0041c481
push esi
call fcn.00493bdf
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.0049caf4
add esp, 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x42527f
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [edi]
mov eax, dword [edi + 0x10]
push dword [edi + 4]
inc eax
push dword [edi + 8]
push dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.00425002
xor eax, eax
add esp, 0x28
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x51e938
push eax
cmovne esi, ebx
call fcn.0049cff2
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42527f
test esi, esi
jne 0x425225
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.0049dd0b
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.004977dc
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.0049dd0b
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.0049dd0b
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.0049dd0b
push edi
call fcn.0049cdc5
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413012
mov esp, ebp
pop ebp
ret
Function at 0x42c890
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
lea ecx, [ebx + 0x65c]
call fcn.004264a0
mov edi, dword [ebp + 8]
test eax, eax
jle 0x42c8eb
nop
push esi
lea ecx, [ebx + 0x65c]
mov byte [ebp + 0xb], 0
call fcn.00425da0
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x42ca39
lea ecx, [ebx + 0x65c]
inc esi
call fcn.004264a0
cmp esi, eax
jl 0x42c8b0
sub edi, 0x100
je 0x42c9c2
sub edi, 4
je 0x42c957
sub edi, 2
jne 0x42c9b7
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp + 8], eax
call fcn.004943c4
mov ecx, dword [ebx + 0x554]
lea edx, [ebp + 8]
add esp, 4
mov word [ebp + 8], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push edx
push 0x42edf0
call dword [eax + 0x130]
mov esi, eax
test esi, esi
je 0x42c9b7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xfc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x558], 0
je 0x42c9b7
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0xc], xmm0
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 0x568]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x56c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 6
mov dword [ebp - 0x10], eax
call fcn.0046c790
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x558]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x42c9b7
mov ecx, dword [ebx + 0x558]
test ecx, ecx
je 0x42ca20
mov eax, dword [ecx]
mov eax, dword [eax + 0xcc]
call eax
test al, al
je 0x42ca20
mov ecx, dword [ebx + 0x558]
mov eax, dword [ecx]
mov eax, dword [eax + 0xd8]
call eax
test al, al
je 0x42ca20
mov ecx, dword [ebx + 0x558]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.0048d0fa
add esp, 8
test eax, eax
je 0x42ca20
mov ecx, dword [ebx + 0x558]
call fcn.0044f690
test al, al
jne 0x42c9b7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, ebx
setns al
movzx eax, al
push eax
call fcn.0042ddc0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42db10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
mov esi, dword [ebp + 8]
cmp eax, ecx
je 0x42db41
cmp esi, dword [edi + 0x558]
je 0x42db41
cmp byte [edi + 0x5bd], 0
jne 0x42db41
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x558]
cmp esi, eax
je 0x42dc36
test eax, eax
je 0x42dbad
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], 0x14
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x558]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x558]
mov ecx, edi
call fcn.0042d5b0
mov dword [edi + 0x558], 0
test esi, esi
je 0x42dc36
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x42dc36
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xcc]
call eax
test al, al
je 0x42dc36
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xd8]
call eax
test al, al
je 0x42dc36
xorps xmm0, xmm0
mov dword [edi + 0x558], esi
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x558]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x558]
mov ecx, edi
call fcn.0042d5b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x451a50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x724], 0
je 0x451ac0
cmp dword [ebp + 8], 0x100
jne 0x451ab0
cmp word [ebp + 0xc], 0xd
jne 0x451ab0
cmp byte [esi + 0x72a], 0
je 0x451a8e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x451ab0
cmp byte [esi + 0x72b], 0
jne 0x451ab0
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x451aa9
push 0
push 0
push 0
push str.return
push esi
call fcn.0042d5b0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x724]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x451e40
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x451e6e
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
test eax, eax
jne 0x451e87
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
push eax
mov dword [ebp - 4], 0
call fcn.00413046
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx]
je 0x451ec3
push esi
call fcn.00451e30
add esp, 4
xor esi, esi
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x451ed0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
call fcn.0042a2d0
push eax
lea ecx, [ebp - 0x94]
call fcn.00425a70
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.00425dd0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00426460
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x451fa4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
test eax, eax
je 0x451fa4
push eax
mov dword [ebp - 0x98], 0
call fcn.00413046
add esp, 4
mov esi, eax
lea eax, [ebp - 0x98]
push 0
push eax
push dword [ebx]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx]
je 0x451fa6
push esi
call fcn.00451e30
add esp, 4
xor esi, esi
lea ecx, [ebp - 0x94]
call fcn.00425c60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413012
mov esp, ebp
pop ebp
ret
Function at 0x451fd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a2c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x451fef
pop edi
pop ebp
ret
push ebx
push edi
call fcn.0042a2c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push edi
test ebx, ebx
jne 0x452010
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop edi
pop ebp
ret
call fcn.0042a2c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x45200a
push esi
push eax
call fcn.00413046
add esp, 4
mov esi, eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
call fcn.0048ca20
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x452270
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x45236a
movzx eax, word [ebx]
test ax, ax
je 0x45236a
push edi
mov edi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x4522b0
cmp ax, 0x5c
jne 0x4522b2
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4522a4
cmp edi, ebx
je 0x4522ff
sub edi, ebx
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push ebx
push eax
call fcn.0049c3b6
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45237a
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00452270
add esp, 8
lea ecx, [ebp - 0x414]
sub ecx, esi
nop word [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x452310
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x452322
lea edi, [ebp - 0x414]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x452340
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413012
mov esp, ebp
pop ebp
ret
call fcn.00413172
int3
Function at 0x452a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x452ae9
cmp dword [esi + 4], 0xffffffff
jne 0x452ae9
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x452a80
cmp dword [ebp + 0x10], 1
mov eax, dword [0x519bc4]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x452ab3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x452ab3
pop edi
mov eax, 0x2000000
pop esi
pop ebp
ret 0xc
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004553e0
add esp, 0x10
test eax, eax
jne 0x452ad3
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
push eax
call fcn.00455c90
add esp, 4
mov dword [esi], eax
mov eax, dword [0x55e868]
pop edi
pop esi
pop ebp
ret 0xc
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x455520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x45555e
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455552
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x45556f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0048ca20
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x455750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x45575e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x45581d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
sub edi, 1
jne 0x455776
pop edi
test esi, esi
je 0x45583b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x521c68]
sub esi, 1
jne 0x455821
not eax
pop esi
pop ebp
ret
Function at 0x4670c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517485
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x55509c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
mov word [edi], 0x101
lea ecx, [edi + 0x78]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 5
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 5
mov dword [edi + 0x1c], 1
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x10
mov dword [edi + 0x2c], 0x19
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 2
mov dword [edi + 0x38], 0x3c
mov dword [edi + 0x3c], 0x16
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
movsd qword [edi + 0x50], xmm0
mov dword [edi + 0x58], 2
mov dword [edi + 0x5c], 2
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xff000000
call fcn.00425ad0
push 0
lea ecx, [edi + 0x100]
mov dword [ebp - 4], 0
push 4
mov dword [edi + 0xfc], 0
mov dword [ebp - 0x14], ecx
call fcn.00425c20
push 0
lea ecx, [edi + 0x110]
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x14], ecx
call fcn.00425c20
push 0
lea ecx, [edi + 0x120]
mov byte [ebp - 4], 2
push 0x84
mov dword [ebp - 0x14], ecx
call fcn.00425c20
push 0x526c5c
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 3
call fcn.00425d20
mov ecx, edi
mov dword [edi + 0x68], 5
mov dword [edi + 0x6c], 5
mov dword [edi + 0x70], 5
mov dword [edi + 0x74], 5
call fcn.0045e870
push eax
mov ecx, edi
call fcn.00468190
push eax
mov ecx, edi
call fcn.004681a0
push eax
mov ecx, edi
call fcn.00468260
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46c790
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x46c7b5
or esi, 1
push 1
call edi
test ax, ax
jns 0x46c7c1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x46c7cd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x46c7d9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x46cb80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x38], 0
je 0x46cbee
cmp dword [esi + 0x30], 0
je 0x46cbee
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004b5360
mov ebx, esp
test ebx, ebx
je 0x46cbee
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x30]
push ebx
add ecx, 0x3f4
call fcn.00425d20
mov ecx, dword [esi + 0x30]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042d5b0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413012
mov esp, ebp
pop ebp
ret 0x10