joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c011a
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x5cec61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x4c]
lea ebp, [esi + 4]
xor ebx, ebx
push eax
mov ecx, ebp
mov dword [esp + 0x48], ebx
call fcn.005980a0
mov ecx, dword [esp + 0x50]
push ebp
mov dword [esi + 0xc], ecx
mov edx, dword [str.COXInstanceManager_InstanceList_Mutex_]
lea eax, [esp + 0x54]
push edx
push eax
mov byte [esp + 0x50], 1
call fcn.0059833b
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x10]
mov byte [esp + 0x50], 2
call fcn.004eda93
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 4
call fcn.00598032
mov ecx, dword [str.COXInstanceManager_Additional_Mutex_]
push ebp
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0059833b
mov eax, dword [eax]
push ebx
push eax
push ebx
lea ecx, [esi + 0x18]
mov byte [esp + 0x50], 5
call fcn.004eda93
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 7
call fcn.00598032
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esi + 0x20], ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi], 0x5e5c50
mov dword [esi + 8], 0xfa8
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x34]
mov eax, edi
xor edx, edx
div ecx
mov eax, edi
test edx, edx
je 0x4c01f0
xor edx, edx
div ecx
add eax, ecx
jmp 0x4c01f4
xor edx, edx
div ecx
mov edi, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, edi
xor edx, edx
div ecx
mov eax, edi
test edx, edx
je 0x4c020e
xor edx, edx
div ecx
add eax, ecx
jmp 0x4c0212
xor edx, edx
div ecx
mov ecx, dword [esi + 8]
mov edi, eax
mov dword [esi + 0xc], eax
add edi, ecx
mov ecx, dword [str.COXInstanceManager_FileMap_]
push ebp
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0059833b
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x44], 8
push eax
push edi
push ebx
push 0x8000004
push ebx
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov dword [esi + 0x20], eax
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
cmp eax, ebx
jne 0x4c0268
mov ecx, esi
call fcn.004c0570
cmp dword [esp + 0x54], ebx
je 0x4c027b
call sub.kernel32.dll_GetCurrentProcessId
push eax
mov ecx, esi
call fcn.004c05d0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 7
call fcn.00598032
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc

Function at 0x4c0400
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
lea ecx, [esp]
push ecx
push 0x4c0760
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call dword [sym.imp.user32.dll_EnumWindows]
mov eax, dword [esp + 4]
add esp, 8
ret
Function at 0x4c0440
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4c0469
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4c0453
pop esi
ret
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push edx
push 0
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov dword [esi + 0x28], eax
pop esi
ret

Function at 0x4c0520
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4c052c
pop esi
ret
mov ecx, dword [esi + 8]
push ecx
push 0
push 0
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
xor edx, edx
mov dword [esi + 0x24], eax
test eax, eax
setne dl
mov eax, edx
pop esi
ret

Function at 0x4c1280
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4c34e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4c34eb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4c35ee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x62de34]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x62de34]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x62de34]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x62de34]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x62de34]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x62de34]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x62de34]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x62de34]
xor eax, edx
inc ecx
dec edi
jne 0x4c3506
pop edi
test esi, esi
je 0x4c3610
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x62de34]
xor eax, edx
inc ecx
dec esi
jne 0x4c35f2
pop esi
pop ebx
not eax
ret

Function at 0x4c6ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebp
mov ebp, ecx
push 0x10
call dword [sym.imp.user32.dll_GetAsyncKeyState]
and eax, 0xffff8000
test ax, ax
je 0x4c6bb9
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 0x9e8]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, dword [ebp + 0x9ec]
sub edi, eax
sub ebx, ecx
mov eax, edi
cdq
mov esi, eax
mov eax, ebx
xor esi, edx
sub esi, edx
cdq
mov ecx, eax
xor eax, eax
xor ecx, edx
sub ecx, edx
test edi, edi
setl al
dec eax
xor edx, edx
and eax, 2
dec eax
test ebx, ebx
setl dl
dec edx
mov dword [esp + 0x10], eax
and edx, 2
dec edx
mov edi, edx
mov edx, dword [ebp + 0x998]
cmp edx, 0xc
je 0x4c6b8d
cmp edx, 0xd
je 0x4c6b8d
cmp edx, 0xe
je 0x4c6b8d
cmp edx, 0xf
je 0x4c6b8d
cmp edx, 0x10
je 0x4c6b8d
cmp edx, 0x11
je 0x4c6b8d
cmp edx, 0x12
je 0x4c6b8d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jle 0x4c6b75
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jg 0x4c6b89
cmp esi, ecx
jle 0x4c6b81
mov eax, dword [esp + 0x10]
xor ecx, ecx
jmp 0x4c6b97
mov eax, dword [esp + 0x10]
xor esi, esi
jmp 0x4c6b97
mov eax, dword [esp + 0x10]
cmp esi, ecx
jle 0x4c6b95
mov esi, ecx
jmp 0x4c6b97
mov ecx, esi
imul eax, esi
imul edi, ecx
mov edx, dword [ebp + 0x9e8]
add eax, edx
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [ebp + 0x9ec]
add edi, eax
mov dword [edx + 4], edi
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 4
Function at 0x4ca460
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
xor eax, eax
push esi
mov esi, ecx
cmp dword [esi + 0x78], eax
jne 0x4ca474
pop esi
add esp, 0x28
ret 8
mov ecx, dword [esi + 0xa74]
push ebx
push edi
mov edi, dword [esp + 0x38]
cmp ecx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
jbe 0x4ca55c
push ebp
call fcn.004f7022
cdq
mov ecx, 0x168
idiv ecx
mov dword [esp + 0x3c], edx
fild dword [esp + 0x3c]
fmul qword [0x5e6860]
fstp qword [esp + 0x20]
call fcn.004f7022
xor edx, edx
mov dword [esp + 0x1c], 0
div dword [esp + 0x40]
mov dword [esp + 0x18], edx
fild qword [esp + 0x18]
fld qword [esp + 0x20]
fcos
fmul st(1)
call fcn.004f6200
fld qword [esp + 0x20]
fsin
mov edx, dword [edi]
mov ebx, eax
add ebx, edx
fmul st(1)
call fcn.004f6200
mov ecx, dword [edi + 4]
mov ebp, eax
mov eax, dword [esi + 0x9c8]
add ebp, ecx
test eax, eax
fstp st(0)
jne 0x4ca50b
push 2
call dword [sym.imp.user32.dll_GetKeyState]
test ah, 0x80
je 0x4ca513
mov eax, dword [esi + 0x9a8]
jmp 0x4ca519
mov eax, dword [esi + 0x9a0]
push 0
push eax
push 1
push ebp
push ebx
lea ecx, [esi + 0x5c]
call fcn.004e9a70
test eax, eax
je 0x4ca53c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 1
test eax, eax
jne 0x4ca544
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xa74]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4ca491
pop ebp
mov eax, dword [edi]
mov ebx, dword [esp + 0x3c]
mov dword [0x6409c8], eax
mov ecx, dword [edi + 4]
sub ecx, ebx
sub eax, ebx
mov dword [0x6409cc], ecx
push 0x6409c8
mov ecx, esi
mov dword [0x6409c8], eax
call fcn.004c4c30
push 0x6409c8
mov ecx, esi
call fcn.004c4df0
mov eax, dword [edi]
push 0x6409c0
mov dword [0x6409c0], eax
mov edi, dword [edi + 4]
add eax, ebx
add edi, ebx
mov ecx, esi
mov dword [0x6409c0], eax
mov dword [0x6409c4], edi
call fcn.004c4c30
push 0x6409c0
mov ecx, esi
call fcn.004c4df0
mov edx, dword [0x6409c8]
mov ecx, dword [0x6409c0]
mov eax, dword [0x6409cc]
mov dword [esp + 0x24], edx
mov edx, dword [0x6409c4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
call fcn.005aa0a2
push 1
push 1
push 1
push 1
lea ecx, [esp + 0x34]
call fcn.005aa0de
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x24]
push 0
push eax
push ecx
call dword [sym.imp.user32.dll_InvalidateRect]
mov eax, dword [esp + 0xc]
pop edi
pop ebx
pop esi
add esp, 0x28
ret 8
Function at 0x4cc830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5cf808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.0059bebe
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xc]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x50], edi
call dword [sym.imp.user32.dll_GetWindowRect]
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.0059bc78
mov eax, dword [esi + 0x798]
mov ebx, dword [sym.imp.user32.dll_OffsetRect]
cmp eax, edi
jle 0x4cc8c6
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ecx, esi
call dword [eax + 0xe0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
neg eax
neg ecx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call ebx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
call fcn.0059bac2
mov eax, dword [esi + 0x798]
inc edi
cmp edi, eax
jl 0x4cc888
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x14]
push ecx
call ebx
push 0xf
call dword [sym.imp.user32.dll_GetSysColor]
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.005a9eb4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.005a210b
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
call fcn.004cc940
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0059bf30
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4ce4a0
Capabilities:
Capture webcam image

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esi + 0x1c]
push 0
push 0xce26
push 0x419
push eax
call edi
mov ecx, dword [esi + 0x1c]
push 0
push eax
push 0x416
push ecx
call edi
mov edx, dword [esi + 0x1c]
push 0
push 0xce28
push 0x419
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x1c]
push 0x416
push eax
call edi
mov ecx, dword [esi + 0x790]
mov edx, dword [esi + 0x1c]
dec ecx
push 0
and ecx, 0xffff
or ecx, 0x10000
push ecx
push 0x427
push edx
call edi
pop edi
pop esi
ret
Function at 0x4d1e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
push edi
xor edi, edi
lea eax, [esp + 0x4c]
push edi
push eax
mov esi, ecx
push ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x78], 2
call fcn.00590a88
lea ecx, [esp + 0x5c]
push 2
push ecx
push ebp
mov ecx, esi
call fcn.00590a88
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esi + 0x1c]
push edi
push 2
sub eax, ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push 0x1002
push edx
mov dword [esp + 0x20], eax
call ebx
push eax
call fcn.0059100e
test eax, eax
mov dword [esp + 0x18], eax
je 0x4d1ef5
mov eax, dword [esi + 0x1c]
push 0xf000
push ebp
push 0x102c
push eax
call ebx
test ah, 0xf0
jne 0x4d1ef5
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.comctl32.dll_ImageList_GetImageInfo]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
push 0
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x5c]
push 0
push 0x101d
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call ebx
mov ecx, dword [esp + 0x4c]
lea ebp, [eax + ecx]
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x4d1f4b
mov eax, dword [esi + 0x64]
test eax, eax
jne 0x4d1f4b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
test eax, eax
je 0x4d1fca
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d1fc1
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x6c]
inc edi
push eax
push edi
push 0x1019
push ecx
call ebx
test eax, eax
mov dword [esp + 0x14], eax
je 0x4d1faa
mov edx, dword [esi + 0x1c]
push 0
push edi
push 0x101d
push edx
mov dword [esp + 0x2c], ebp
call ebx
add ebp, eax
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x4d1faa
cmp dword [esi + 0x64], edi
jne 0x4d1faa
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x98]
jne 0x4d1f56
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x4d1fe8
cmp edi, dword [esp + 0x98]
jne 0x4d1fd8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x4d1fe8
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x90]
mov edi, eax
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov dword [edi + 0xc], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x10
Function at 0x4d47a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x10]
push 2
push ecx
push esi
call edi
test eax, eax
jne 0x4d47c9
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
cmp dword [esp + 0x10], 2
je 0x4d47d7
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
cmp word [esp + 8], 0
je 0x4d47e6
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 2
push eax
push esi
call edi
test eax, eax
jne 0x4d4802
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
cmp dword [esp + 0x10], 2
je 0x4d4810
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
cmp word [esp + 8], 1
je 0x4d481f
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
lea ecx, [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x10]
push 2
push edx
push esi
call edi
test eax, eax
jne 0x4d483b
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
cmp dword [esp + 0x10], 2
je 0x4d4849
pop edi
or eax, 0xffffffff
pop esi
pop ecx
ret
mov eax, dword [esp + 8]
pop edi
and eax, 0xffff
pop esi
pop ecx
ret
Function at 0x4d4cf0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_WriteFile]
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x10]
push 2
push ecx
push esi
mov dword [esp + 0x1c], 0
call edi
test eax, eax
jne 0x4d4d1e
pop edi
pop esi
pop ecx
ret
cmp dword [esp + 0x10], 2
je 0x4d4d2b
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 2
push eax
push esi
mov dword [esp + 0x1c], 1
call edi
test eax, eax
jne 0x4d4d4c
pop edi
pop esi
pop ecx
ret
cmp dword [esp + 0x10], 2
je 0x4d4d59
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 2
push eax
push esi
mov dword [esp + 0x1c], ecx
call edi
test eax, eax
jne 0x4d4d7a
pop edi
pop esi
pop ecx
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, 2
pop edi
sete al
pop esi
pop ecx
ret
Function at 0x4d4dc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov eax, dword [esp + 0x20]
push ebp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jne 0x4d4df9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0x20c]
push ecx
push ebx
call fcn.004d4cf0
add esp, 8
test eax, eax
jne 0x4d4e22
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [edi + 0x20c]
xor ebp, ebp
test eax, eax
jbe 0x4d4ed8
lea esi, [edi + 0x224]
mov al, byte [esi - 0x10]
mov dl, byte [esi - 0x14]
mov byte [esp + 0x15], al
mov eax, dword [esi]
mov byte [esp + 0x14], dl
mov byte [esp + 0x17], 0
mov cx, word [eax + 0xc]
mov word [esp + 0x18], cx
mov dx, word [eax + 0xe]
mov word [esp + 0x1a], dx
mov ecx, dword [esp + 0x1a]
mov eax, dword [esp + 0x18]
and ecx, 0xffff
and eax, 0xffff
imul ecx, eax
cmp ecx, 8
jl 0x4d4e81
mov byte [esp + 0x16], 0
jmp 0x4d4e89
mov dl, 1
shl dl, cl
mov byte [esp + 0x16], dl
mov eax, dword [esi - 4]
push ebp
push edi
mov dword [esp + 0x24], eax
call fcn.004d4d90
add esp, 8
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
push 0
push ecx
push 0x10
push edx
push ebx
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4d4e18
cmp dword [esp + 0x2c], 0x10
jne 0x4d4e18
mov eax, dword [edi + 0x20c]
inc ebp
add esi, 0x20
cmp ebp, eax
jb 0x4d4e38
mov eax, dword [edi + 0x20c]
xor ebx, ebx
test eax, eax
jbe 0x4d4f3a
lea esi, [edi + 0x224]
mov eax, dword [esi]
push 0
mov ebp, dword [eax + 0x14]
mov dword [eax + 0x14], 0
mov ecx, dword [esi - 4]
mov edx, dword [esi - 8]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x4d4e18
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi - 4]
cmp ecx, eax
jne 0x4d4e18
mov edx, dword [esi]
inc ebx
add esi, 0x20
mov dword [edx + 0x14], ebp
mov eax, dword [edi + 0x20c]
cmp ebx, eax
jb 0x4d4eea
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x4d7cd0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push 0x61f29c
push ebx
call fcn.004f600d
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d7ced
pop esi
pop ebx
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push esi
push eax
call fcn.004d7680
push esi
mov edi, eax
call fcn.004f5acf
add esp, 0x18
test edi, edi
jne 0x4d7d1e
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4d9250
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x5cfe68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.CRectTracker.0
call fcn.005aedef
mov dword [esi], 0x5e77d0
mov eax, dword [0x62f9c4]
mov dword [esi + 0x20], eax
mov eax, 1
mov ecx, eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 4], 0x12
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], 0xffffffff
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x80]
push ecx
push edx
lea edi, [esi + 0x70]
push 0
push 0
push edi
mov dword [esp + 0x40], 0
call dword [sym.imp.user32.dll_SetRect]
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x14]
push eax
call fcn.004c85a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ebx, [esi + 0x60]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x4c]
call fcn.004c4d00
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x14]
push edx
call fcn.004c4e40
mov ecx, dword [esp + 0x18]
lea eax, [esi + 0x50]
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
lea ebp, [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x3c]
push ebp
push ecx
mov ecx, esi
call fcn.005aef7f
mov edx, dword [esp + 0x38]
cmp eax, 8
mov dword [esi + 0x80], edx
mov dword [esi + 0x48], eax
mov dword [esi + 0x84], ebp
jne 0x4d9381
push ebx
push edi
call dword [sym.imp.user32.dll_EqualRect]
test eax, eax
jne 0x4d938e
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x994]
test ecx, ecx
je 0x4d93ad
mov edi, dword [sym.imp.user32.dll_GetKeyState]
push 0x11
call edi
test ah, 0x80
jne 0x4d93ad
push 0x10
call edi
test ah, 0x80
jne 0x4d93ad
mov dword [esi + 0x48], 0xffffffff
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4dd3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x114]
test ebx, ebx
jne 0x4dd3e7
xor eax, eax
jmp 0x4dd3ea
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x4dd3ff
push 1
push esi
mov ecx, ebx
call fcn.00591562
push 0
push esi
mov ecx, ebx
call fcn.005912ef
test eax, eax
je 0x4dd4da
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4dd430
mov ecx, dword [esi + 0x198]
lea eax, [esi + 0xac]
push 1
push eax
push ecx
push esi
mov ecx, ebx
call fcn.005914ba
mov eax, dword [esi + 0x68]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4dd44c
lea edx, [esi + 0xbc]
push 1
push edx
push eax
push esi
mov ecx, ebx
call fcn.005914ba
mov eax, dword [esi + 0x3c]
xor edi, edi
test eax, eax
jle 0x4dd491
cmp dword [esi + 0x78], edi
jle 0x4dd491
lea ecx, [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004dcd90
test eax, eax
je 0x4dd489
mov eax, dword [esi + 0x74]
lea edx, [esp + 0x14]
push 1
push edx
mov ecx, dword [eax + edi*4]
push ecx
push esi
mov ecx, ebx
call fcn.005914ba
mov eax, dword [esi + 0x3c]
inc edi
cmp edi, eax
jl 0x4dd455
mov edx, dword [esi + 0x6c]
xor edi, edi
mov ebp, dword [edx + 8]
test ebp, ebp
jle 0x4dd4da
lea ecx, [esp + 0x10]
lea edx, [edi + 0x3e8]
lea eax, [esp + 0x14]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.004dcd90
test eax, eax
je 0x4dd4d5
mov ecx, dword [esi + 0x6c]
lea eax, [esp + 0x14]
push 1
push eax
mov edx, dword [ecx + 4]
mov ecx, ebx
mov eax, dword [edx + edi*4]
push eax
push esi
call fcn.005914ba
inc edi
cmp edi, ebp
jl 0x4dd49d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret