joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d2c0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x556bb8], esi
je 0x47d4b4
push esi
push 1
push 0x555ba2
mov ecx, 0x546dc0
call fcn.0047a6c0
cmp eax, 1
jne 0x47d4b4
cmp dword [0x54e7b0], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x47d32e
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x546dc0
call fcn.00479dd0
jmp 0x47d342
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x546dc0
call fcn.00479ce0
cmp dword [esp + 4], esi
je 0x47d4b4
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x556ba4
call fcn.00467b50
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47d3c2
push esi
push esi
push SysReAllocString
push SysReAllocString
push 0x800
lea eax, [esp + 0x24]
push eax
push 0x54a798
call fcn.00469200
cmp eax, 6
je 0x47d39f
cmp eax, 1
je 0x47d39f
cmp eax, 3
jne 0x47d3c2
mov ecx, dword [esp + 8]
push ecx
call fcn.004e44b4
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004e34f4
add esp, 0x1010
ret
push edi
push 0x4ffb24
lea edx, [esp + 0x18]
push edx
call fcn.00443af0
mov edi, eax
cmp edi, esi
jne 0x47d416
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.00461b20
push eax
push 0x555ba2
call fcn.004bfeb0
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e44b4
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004e34f4
add esp, 0x1010
ret
mov eax, dword [0x54e7b0]
cmp eax, 3
jne 0x47d46b
push edi
push 0xff
call fcn.004e80d8
push edi
push 0xfe
call fcn.004e80d8
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x47d496
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004e80d8
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004e80d8
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x47d440
jmp 0x47d496
cmp eax, 2
jne 0x47d481
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edi
push ecx
push 1
push edx
call fcn.004e8056
add esp, 0x10
push edi
call fcn.004e4b91
mov eax, dword [esp + 0x10]
push eax
call fcn.004e44b4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e44b4
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x1010
ret
Function at 0x47f6f0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x3020], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x47f82a
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x47f75d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004e34f4
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x47f7c4
cmp byte [ebp + 1], 0x1a
jne 0x47f7c4
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1030]
movsw word es:[edi], word [esi]
push eax
lea edi, [ebp + 0x1c]
mov ebx, 0x400
call fcn.0047f6a0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047f6a0
mov ebx, eax
test ebx, ebx
je 0x47f7c0
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0048cdb0
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.0047f5a0
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x47f819
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.0047f6a0
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047f6a0
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.0047f6a0
test eax, eax
je 0x47f819
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0048ce70
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x3024]
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x3024
ret
Function at 0x480a20
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x443c], eax
push ebx
push 1
push 0x800
lea eax, [esp + 0x48]
push eax
call fcn.00451d40
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.00451500
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.004675f0
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.00467570
mov ebx, dword [esp + 0x4448]
test bl, bl
je 0x480c0e
push 1
push str.ExportedSettings
push 0x4fdab8
call fcn.00499a10
cmp byte [esp + 0x444c], 0
jne 0x480ae0
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.00461b20
push eax
mov eax, dword [0x53a464]
push eax
call fcn.0047bbc0
test al, al
je 0x480c41
test bl, bl
jne 0x480c7a
push 0x4fdab8
call fcn.0049a080
mov eax, 0x50038c
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.00458640
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e4400
mov ecx, dword [0x53a464]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x2040]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x480b84
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4448], 0
je 0x480b9d
push str.ExportedSettings
push 0x4fdab8
call fcn.00499630
test bl, bl
je 0x480c84
cmp byte [esp + 0x4448], 0
jne 0x480bb4
call fcn.00480710
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.00461b20
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.00458640
add esp, 0xc
push 0
push 0x2fb
call fcn.00461b20
mov ecx, dword [0x53a464]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x480ca9
push 0
push 1
push 0x800
lea edx, [esp + 0x4c]
push edx
push str.Settings.reg
call fcn.00451e60
lea eax, [esp + 0x40]
push eax
call fcn.00443cc0
test al, al
jne 0x480aa4
cmp byte [esp + 0x444c], al
je 0x480c5b
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004e34f4
add esp, 0x4440
ret 8
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x1040]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x480c60
jmp 0x480aae
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x480af7
cmp byte [esp + 0x444c], 0
jne 0x480ca9
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.00461b20
push eax
call fcn.004bf990
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x4440
ret 8
Function at 0x482570
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4fadf6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x514bc0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x5393bc], ebx
jne 0x482737
push str.WinRAR_DragDrop
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
push ebx
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4825f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.00461b20
push eax
call fcn.004bf990
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x5372ed], al
jne 0x482615
mov byte [esp + 0x14], bl
cmp byte [0x538309], bl
je 0x48261a
mov byte [esp + 0x14], 1
push 8
call fcn.004e4838
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x482641
mov dword [eax], 0x5004f0
mov dword [eax + 4], 1
mov edi, eax
jmp 0x482643
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0xd5f0
call fcn.004e4838
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x482678
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00482280
mov esi, eax
jmp 0x48267a
xor esi, esi
mov dword [esp + 0x2c], ebp
xor eax, eax
cmp byte [esp + 0x14], bl
lea edx, [esp + 0x20]
setne al
push edx
mov byte [0x5372ee], bl
mov byte [0x5372ef], 1
mov byte [0x5372ec], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x5372ef], bl
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov ebp, eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp byte [0x5372ed], bl
je 0x4826eb
cmp byte [0x538309], bl
je 0x4826eb
cmp ebp, 0x40100
jne 0x4826eb
call fcn.004ba2d0
mov ecx, 0x544c98
call fcn.00493570
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, 0x40100
je 0x482737
cmp byte [0x5372ec], bl
jne 0x482737
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x482737
push 0x53c
call fcn.00461b20
push eax
call fcn.004bf990
add esp, 4
mov ecx, 0x52c138
call fcn.0043dd70
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x483070
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 4], eax
cmp eax, ebx
je 0x4830e9
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x4830da
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x14
ret
Function at 0x483210
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov eax, 0x3008
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x3004], eax
push esi
mov esi, dword [esp + 0x3010]
call fcn.00446760
cmp eax, 0x600
jb 0x48340d
push esi
call fcn.004b1700
test al, al
jne 0x48340d
push 0x800
lea eax, [esp + 0xc]
push eax
push esi
mov ecx, 0x544c98
call fcn.0048d930
push 0x800
lea ecx, [esp + 0x100c]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00452350
lea eax, [esp + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x48340d
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push 0
lea edx, [esp + 0x1024]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4832cb
mov eax, dword [esp + 4]
test eax, 0x80000
jne 0x48340d
test al, 8
je 0x48340d
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x483306
test al, 0x10
jne 0x483306
lea eax, [esp + 8]
call fcn.00482ef0
mov ecx, eax
shr ecx, 1
test cl, 1
je 0x483376
shr eax, 2
test al, 1
je 0x483376
lea edx, [esp + 8]
push edx
call fcn.00451d00
push ebx
lea eax, [esp + 0xc]
push eax
xor bl, bl
call fcn.00443cc0
test al, al
jne 0x4833ab
mov bl, 1
lea ecx, [ecx]
push 0x800
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x2014]
push edx
call fcn.004e7058
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call fcn.00451d00
lea ecx, [esp + 0x200c]
lea eax, [esp + 0xc]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x483390
test dx, dx
je 0x483372
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x483390
add eax, 4
add ecx, 4
test dx, dx
jne 0x483350
xor eax, eax
jmp 0x483395
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.004e34f4
add esp, 0x3008
ret 8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4833ab
lea ecx, [esp + 0xc]
push ecx
call fcn.00443cc0
test al, al
je 0x483320
lea eax, [esp + 0xc]
call fcn.00482ef0
mov ecx, eax
shr ecx, 1
shr eax, 2
and cl, 1
test al, 1
je 0x4833ef
test bl, bl
je 0x4833d0
cmp byte [esp + 0x3018], 0
je 0x4833d4
test cl, cl
je 0x4833ef
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.004e34f4
add esp, 0x3008
ret 8
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.004e34f4
add esp, 0x3008
ret 8
mov ecx, dword [esp + 0x3008]
pop esi
xor ecx, esp
xor al, al
call fcn.004e34f4
add esp, 0x3008
ret 8
Function at 0x483a20
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
mov esi, ecx
push 0x2b4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x4fe4d8
mov dword [esi], eax
call edi
test eax, eax
jne 0x483a95
push eax
push 0x800
lea edx, [esp + 0x2c4]
push edx
call fcn.004b0c20
push 0x4001
push 0x2b4
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x2cc]
push ecx
call edi
mov edx, dword [esi]
push eax
push 0
push 0x1109
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12bc]
pop edi
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x12b8
ret 4

Function at 0x483ef0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push esi
mov esi, dword [esp + 0x2c4]
push edi
mov edi, dword [esp + 0x2cc]
push 0x4009
push 0x2b4
lea eax, [esp + 0x14]
push eax
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
push 0x400b
push 0x2b4
lea edx, [esp + 0x14]
push edx
push 0
push esi
mov dword [edi + 0x18], ecx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c0]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x2b8
ret 8
Function at 0x485250
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x204c], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
mov esi, ecx
mov eax, dword [esi]
push 0x110a
push eax
call edi
test eax, eax
je 0x48537b
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x113e
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call edi
test eax, eax
je 0x48537b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48537b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x48537b
push ebx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
push 0x800
shr ebx, 0xf
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x105c]
not bl
push ecx
and bl, 1
call fcn.00467570
lea eax, [esp + 0x1054]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485305
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esp + eax*2 + 0x1056], dx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov word [esp + 0x28], ax
movzx eax, bl
neg eax
sbb eax, eax
lea edx, [esp + 0xc]
and eax, 0x40
lea ecx, [esp + 0x1054]
push edx
mov dword [esp + 0x14], 3
mov word [esp + 0x20], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [esi + 8]
push eax
mov ecx, esi
call fcn.00485160
pop ebx
mov ecx, dword [esp + 0x2054]
pop edi
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x2050
ret
Function at 0x487800
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e330d
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x563858]
push edi
call fcn.0049f770
push edi
call fcn.004a7dc0
push edi
call fcn.004e44b4
add esp, 4
pop edi
pop esi
pop ebp
ret 4

Function at 0x488460
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4fdd08
push eax
mov edi, ecx
call fcn.00443af0
mov esi, eax
test esi, esi
jne 0x48849c
lea eax, [esi + 0x32]
jmp 0x4885e1
xor eax, eax
cmp edi, 0x8000
jbe 0x4885a1
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004e5058
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e4fb1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00487570
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004e5058
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004e4fb1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00487570
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004e5058
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004e4fb1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00487570
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004e5058
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e4fb1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00487570
add eax, dword [esp + 0x10]
add eax, ebp
add eax, ebx
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
push esi
call fcn.004e4b91
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x4885e1
cmp edi, 0x1000
jbe 0x4885b1
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004e5058
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004e4fb1
push esi
mov edi, eax
call fcn.004e4b91
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00487570
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004e34f4
add esp, 0x1008
ret 4

Function at 0x48ae40
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
test eax, eax
sete al
test al, al
je 0x48ae95
mov eax, dword [esp]
push ebx
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edx, dword [esp + 4]
cmp eax, 1
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
sete bl
call eax
mov al, bl
pop ebx
add esp, 8
ret 4
xor ecx, ecx
mov word [edx], cx
add esp, 8
ret 4
Function at 0x48aea0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea ecx, [esp]
push ecx
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [esp + 4]
mov edx, dword [esp]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
add esp, 8
ret 4

Function at 0x48aef0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x1028
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x1024], eax
push esi
mov esi, dword [esp + 0x1030]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48af36
xor al, al
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004e34f4
add esp, 0x1028
ret 4
push 0x800
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00467570
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48af50
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [esp + eax*2 + 0x26], cx
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x20], ax
lea ecx, [esp + 4]
mov edx, 0x14
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], dx
mov dword [esp + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [esp + 0x1028]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.004e34f4
add esp, 0x1028
ret 4
Function at 0x48d900
Capabilities:
Get common file path

Disassembly:
cmp dword [0x539324], 1
jne 0x48d90e
jmp fcn.004b1ef0
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push edx
add ecx, 0x101c
push ecx
push eax
call fcn.00467570
ret 8

Function at 0x48e0f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push 0x1012
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
push 0x12
and esi, 1
call ebx
movzx edi, ax
shr edi, 0xf
push 0x11
and edi, 1
call ebx
shr eax, 0xf
and eax, 1
test byte [esp + 0x14], 1
jne 0x48e16d
test esi, esi
jne 0x48e16d
test edi, edi
jne 0x48e16d
test eax, eax
jne 0x48e16d
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
add esp, 0x14
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret

Function at 0x48e230
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x22ec
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x22e8], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 1
push 0x3d4
call fcn.00461b20
lea edx, [esp + 0x2f4]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x48e263
cmp esi, 1
jle 0x48e2ad
lea eax, [esp + 0x2f4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48e283
sub eax, edx
sar eax, 1
push esi
lea eax, [esp + eax*2 + 0x2f8]
push 0x501b00
push eax
mov edx, 0x800
call fcn.00458640
add esp, 0xc
cmp esi, 0x3e8
jg 0x48e2cb
lea ecx, [esp + 0x2f4]
push ecx
mov ecx, ebx
call fcn.0048e180
test al, al
je 0x48e2cb
inc esi
jmp 0x48e252
mov edx, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push edx
call esi
push 0
mov edi, eax
push 0x800
lea eax, [esp + 0x12fc]
push eax
call fcn.004b0c20
push 0x4001
push 0x2b4
lea ecx, [esp + 0x48]
push ecx
push 0
lea edx, [esp + 0x1304]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x34
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004e4400
mov ecx, dword [esp + 0x50]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx]
push 0x104d
lea edx, [esp + 0x300]
push ecx
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], edx
call esi
mov edx, dword [ebx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx]
push 0
push edi
push 0x1076
push eax
mov byte [ebx + 0x18], 1
call esi
mov ecx, dword [esp + 0x22f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x22ec
ret