joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d620
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x424]
sub esp, 0x424
push 0xffffffffffffffff
push 0x5451d8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp + 0x420], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x18], 0
jne 0x48d668
xor al, al
jmp 0x48d823
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x48d821
cmp dword [edi + 0x1c], 0
lea ebx, [edi + 0x1c]
mov dword [ebp - 0x14], ebx
jne 0x48d821
lea eax, [ebp + 0x10]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x48d6a0
call fcn.0046d180
jmp 0x48d72c
cmp eax, 0x100
ja 0x48d661
lea eax, [ebp + 0x218]
push eax
push 0
push 0x56b854
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x48d6ca
call fcn.0046d180
jmp 0x48d72c
xor eax, eax
lea esi, [ebx + 8]
mov word [ebp + 0x41e], ax
lea eax, [ebp + 0x218]
push 0xffffffffffffffff
push eax
push 0x101
push esi
call fcn.00514d7a
push eax
call fcn.0046d050
add esp, 0x10
mov dword [ebp], 0xc
lea eax, [ebp]
mov dword [ebp + 4], 0
mov ecx, ebx
mov dword [ebp + 8], 1
mov dword [ebx + 0x20c], 0xc0000000
push eax
push 0x2100
push 2
push 0
push 0xc0000000
push esi
call fcn.0048c0e0
test eax, eax
js 0x48d661
mov eax, dword [edi]
mov esi, dword [eax]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x20]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 0x10], eax
call dword [edx + 0x24]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul edx, eax
sar ecx, 3
push 0
shl edx, 2
imul ecx, edx
mov dword [ebp - 0x10], edx
push ecx
mov ecx, ebx
call fcn.0048d4f0
push dword [ebx]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.004bd6f0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [edi + 4]
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
test eax, eax
je 0x48d7c9
mov ecx, dword [ecx + esi*8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
test eax, eax
je 0x48d7fd
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.004bd8a0
mov ecx, dword [edi]
mov bl, al
mov ecx, dword [ecx + esi*8]
mov edx, dword [ecx]
call dword [edx + 0x30]
test bl, bl
je 0x48d7fd
mov eax, dword [edi + 4]
inc esi
mov ecx, dword [edi]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x48d792
push ecx
lea ecx, [edi + 0x22c]
call fcn.0041e070
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
call fcn.004199b0
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004bd800
mov al, bl
jmp 0x48d823
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x48d813
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
jmp 0x48d7ea
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x420]
xor ecx, ebp
call fcn.00509af6
lea esp, [ebp + 0x424]
pop ebp
ret
Function at 0x48da20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54528c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 2
mov edi, dword [esi + 0x230]
test edi, edi
je 0x48da7f
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x48da7f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x48da7f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
lea edi, [esi + 0x1c]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x48daac
push eax
call ebx
lea eax, [edi + 8]
mov dword [edi], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
mov eax, dword [edi]
test eax, eax
je 0x48dac6
push eax
call ebx
mov dword [edi], 0
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x48db1d
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x48dafe
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x48db8a
mov ecx, edi
push edx
push ecx
call fcn.00509dd1
add esp, 8
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi]
test ecx, ecx
je 0x48db78
mov edx, dword [esi + 4]
push ecx
call fcn.004199b0
mov ecx, dword [esi + 8]
add esp, 4
mov eax, dword [esi]
sub ecx, eax
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x48db5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48db8a
mov eax, edx
push ecx
push eax
call fcn.00509dd1
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0050f487
int3
Function at 0x48dd30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545348
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x59e074]
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, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [esi], vtable.RC::RCMiniUIGifSkin.0
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x48dd8e
mov eax, dword [edi]
test eax, eax
je 0x48dd8e
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x48ddeb
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.004199b0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48ddd7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x22c], 0
lea ecx, [ebx + 0x22c]
je 0x48ddeb
call fcn.00422ae0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x64
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 0
test edi, edi
je 0x48de23
mov eax, dword [edi]
test eax, eax
je 0x48de1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x18]
test edi, edi
je 0x48de46
mov ecx, edi
call fcn.0048da20
push 0x234
push edi
call fcn.00509dd1
add esp, 8
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0049caa0
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.00509af6
mov esp, ebp
pop ebp
ret
Function at 0x48e0d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533bc8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x59e074]
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, ecx
mov edi, dword [esi + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], edi
test edi, edi
je 0x48e11b
mov eax, dword [edi]
test eax, eax
je 0x48e11b
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x48e17b
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.004199b0
mov eax, dword [ebx]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov ebx, dword [esi + 0x18]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x48e167
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0x24]
mov dword [ebx + 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x22c], 0
lea ecx, [ebx + 0x22c]
je 0x48e17b
call fcn.00422ae0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0x64
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x48e1b6
mov eax, dword [edi]
test eax, eax
je 0x48e1af
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
mov al, 1
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.00509af6
mov esp, ebp
pop ebp
ret
Function at 0x497270
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546550
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x59e074]
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, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4972b9
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4972c0
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
jmp 0x497382
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
xor bl, bl
call fcn.004971c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004045b0
test al, al
jne 0x49736b
lea ecx, [ebp - 0x30]
call fcn.00404710
lea ecx, [ebp - 0x30]
lea edi, [eax*2 + 2]
call fcn.004045c0
push edi
push 0x2002
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x497337
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x49733b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [ebp - 4], 0
xor bl, bl
jmp 0x49736b
push edi
push ebx
push eax
call fcn.0050be80
add esp, 0xc
mov byte [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x497369
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor bl, bl
jmp 0x49736b
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00404600
mov al, bl
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.00509af6
mov esp, ebp
pop ebp
ret

Function at 0x4a0800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547279
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x59e074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x60
call fcn.00509b07
mov esi, eax
add esp, 4
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00404660
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00404660
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.00404660
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.00404660
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov dword [edi + 0x24], esi
mov eax, edi
movups xmmword [edi + 0xc], xmm0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a8ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x59e074]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, ecx
lea eax, [edi + 0xc4]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x4a8b28
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4a8b28
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne al
test al, al
je 0x4a8b28
mov al, 1
jmp 0x4a8b2a
xor al, al
test al, al
je 0x4a8cb5
mov esi, edi
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x4a8baf
mov esi, dword [esi + 0x88]
test esi, esi
jne 0x4a8b34
mov eax, edi
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x4a8ba1
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4a8b50
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [esp + 0xc]
push eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov dword [ecx + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a8bdc
mov eax, dword [esi]
push 5
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4a8bdc
push dword [esi + 0x24]
push 1
jmp 0x4a8bce
test eax, eax
je 0x4a8b63
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x4a8b65
mov eax, dword [esp + 0xc]
push 0
mov eax, dword [eax]
mov esi, dword [eax + 0x3c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4a8bdc
push 0
push 0
push 0xc9c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x98]
sub eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x9c]
sub ecx, dword [edi + 0x94]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
movaps xmm0, xmmword [esp + 0x14]
push eax
movaps xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
xor eax, eax
xor ecx, ecx
nop word [eax + eax]
add eax, dword [edi + 0x90]
add ecx, dword [edi + 0x94]
mov edi, dword [edi + 0x88]
test edi, edi
jne 0x4a8c30
mov esi, dword [esp + 0x30]
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
lea edx, [eax + ecx]
mov eax, edx
mov dword [esp + 0x2c], edx
sub eax, ecx
add dword [esp + 0x34], eax
mov eax, edi
sub eax, esi
add dword [esp + 0x38], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4a8cb5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a8cb5
mov edi, dword [edi + 0x28]
push 0x10
call fcn.00509b07
add esp, 4
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_CopyRect]
push esi
push 0
push 0xc9b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.00509af6
mov esp, ebp
pop ebp
ret
Function at 0x4b1b50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539098
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x59e074]
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 ebx, ecx
cmp dword [ebp + 8], 0
je 0x4b1d04
call fcn.004b1830
push dword [ebx + 0x9c]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x4b1ca1
push dword [ebx + 0x9c]
call fcn.004b26a0
mov ecx, eax
call fcn.004b25d0
test eax, eax
je 0x4b1bc3
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x18], eax
call fcn.004b26a0
mov esi, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], esi
lea edi, [esi + 8]
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4b1c08
mov ecx, dword [edi]
test ecx, ecx
je 0x4b1c08
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, eax
mov edx, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4b1c34
nop
cmp dword [ecx + 0x10], edx
jae 0x4b1c2a
mov ecx, dword [ecx + 8]
jmp 0x4b1c2e
mov esi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4b1c20
cmp esi, eax
je 0x4b1c3d
cmp edx, dword [esi + 0x10]
jae 0x4b1c66
lea eax, [ebp - 0x18]
push ecx
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00411600
mov ecx, dword [ebp - 0x20]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00471100
mov esi, dword [ebp - 0x1c]
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4b1c88
mov eax, dword [edi]
test eax, eax
je 0x4b1c81
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
push 0x4b2410
push 0xfffffffffffffffc
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [ebx + 0x90]
xor esi, esi
test eax, eax
je 0x4b1ccc
nop dword [eax]
cmp byte [eax + 0x81], 0
jne 0x4b1cf6
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x4b1cb0
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
push esi
call edi
test eax, eax
je 0x4b1d09
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x4b1d09
push 0xb
push 0
push 0
push 0
push 0
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4b1d09
test eax, eax
je 0x4b1cc3
mov eax, dword [eax + 0xb8]
mov ecx, dword [eax]
jmp 0x4b1cc5
call fcn.004b2280
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.00509af6
mov esp, ebp
pop ebp
ret 8

Function at 0x4bb760
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.00518aee
add esp, 0x10
ret 8
Function at 0x4bd6f0
Capabilities:
Get file size
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54965f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x59e074]
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 edi, ecx
mov ebx, dword [ebp + 8]
push 0x40
call fcn.00509b07
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 2
cmp dword [0x5a4c28], 0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
jne 0x4bd7bb
mov eax, dword [0x5a4454]
test eax, eax
je 0x4bd799
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5a4c28], 0
jne 0x4bd7ab
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x5a4c28], eax
mov eax, dword [0x5a4454]
test eax, eax
je 0x4bd7bb
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4bd7d6
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [edi], 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.00509af6
mov esp, ebp
pop ebp
ret 4

Function at 0x4c0ca0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5499d1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x59e074]
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 edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
call fcn.00404660
mov dword [ebp - 4], 1
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4c0d02
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00404ba0
jmp 0x4c0d50
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c0d45
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x4c0d3f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push esi
call fcn.00404920
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00404720
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00404ba0
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404600
mov eax, edi
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.00509af6
mov esp, ebp
pop ebp
ret
Function at 0x4c0d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
lea ebp, [esp - 0x220]
sub esp, 0x220
push 0xffffffffffffffff
push 0x549a20
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp + 0x21c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x1ec]
test edi, edi
je 0x4c0faf
mov ebx, dword [ebp + 0x228]
cmp ebx, 0xd
jne 0x4c0e03
cmp byte [edi + 0x140], 0
jne 0x4c0e03
mov ecx, dword [esi + 0x1f0]
test ecx, ecx
je 0x4c0dfc
mov eax, dword [ecx]
call dword [eax + 8]
mov al, 1
jmp 0x4c0fb1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4c0faf
mov al, byte [edi + 0x121]
test al, al
jne 0x4c0faf
cmp ebx, 0x56
jne 0x4c0e90
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4c0e90
lea ecx, [ebp]
call fcn.004c0ca0
mov dword [ebp - 4], 0
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004c1c50
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004c1210
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.004058e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00404600
mov al, 1
jmp 0x4c0fb1
push 0x200
lea eax, [ebp + 0x1c]
push 0
push eax
call fcn.0050c400
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [ebp + 0x22c]
cmp eax, 1
jne 0x4c0f50
push 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
lea eax, [ebp + 0x1c]
push eax
movzx eax, di
push eax
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
movzx eax, word [ebp + 0x18]
push eax
call fcn.00514b54
add esp, 4
test eax, eax
jne 0x4c0f1c
movzx eax, word [ebp + 0x18]
push eax
call fcn.00514b25
add esp, 4
test eax, eax
jne 0x4c0f1c
movzx eax, word [ebp + 0x18]
push eax
call fcn.00514bdb
add esp, 4
test eax, eax
jne 0x4c0f1c
movzx eax, word [ebp + 0x18]
push eax
call fcn.00514bae
add esp, 4
test eax, eax
je 0x4c0f50
lea ecx, [ebp]
call fcn.00404660
mov dword [ebp - 4], 2
lea ecx, [ebp]
push dword [ebp + 0x18]
call fcn.0040dd20
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.004c1c50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00404600
cmp ebx, 0xd
je 0x4c0f74
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x4c0f74
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4c0f74
mov eax, dword [ecx]
push 0
push edi
push ebx
push 0x100
call dword [eax + 0xc]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004c1210
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x1f8]
push eax
add ecx, 8
call fcn.004058e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404600
mov ecx, esi
call fcn.004c1da0
mov al, 1
jmp 0x4c0fb1
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x21c]
xor ecx, ebp
call fcn.00509af6
lea esp, [ebp + 0x220]
pop ebp
ret 0xc