joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4762d0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x4763f9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x47636f
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x567a04]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00475660
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x476398
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00475b10
test al, al
jne 0x4763f1
push ebx
push ebp
call fcn.004ad3b0
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x4763e7
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push str._c:_
push ecx
mov edx, 0xa
call fcn.00493540
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x2e8]
push edx
mov ecx, edi
call fcn.00475660
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x4763a8
pop ebp
pop ebx
mov ecx, edi
call fcn.00476020
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004df2c4
add esp, 0x2d4
ret
Function at 0x476410
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
push edi
push 0x800
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.00492a80
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x4764bc
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.004761a0
cmp byte [0x533389], 0
mov ecx, esi
je 0x4764a0
call fcn.00475e60
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1004
ret
call fcn.00475a70
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1004
ret
cmp byte [0x533389], 0
je 0x4764d3
lea eax, [esp + 8]
push eax
call fcn.00451840
test al, al
je 0x47650d
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47650d
test al, 0x10
jne 0x47650d
lea eax, [esp + 8]
push eax
mov ecx, 0x53fd10
call fcn.00490eb0
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1004
ret
lea ecx, [esp + 8]
push ecx
mov ecx, 0x53fd10
call fcn.00490fd0
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x1004
ret
Function at 0x476540
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2bc
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2b8], eax
mov ecx, dword [esp + 0x2c4]
mov eax, dword [esp + 0x2c0]
push edi
mov edi, dword [esp + 0x2d0]
cmp ecx, 0x4e
jne 0x476654
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x4765b1
cmp eax, 0xfffffcda
jne 0x476597
cmp dword [edi + 0x21c], 2
jne 0x476597
mov ecx, 0x53fd00
call fcn.00476410
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004df2c4
add esp, 0x2bc
ret 0x10
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [edi + 0xc]
push ebx
push ebp
push esi
mov dword [esp + 0x10], edx
cmp eax, 4
jne 0x4765ca
mov ebp, dword [ecx + 4]
jmp 0x4765cd
lea ebp, [ecx + 8]
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor ecx, ecx
cmp eax, 4
setne cl
dec ecx
and ecx, 8
mov esi, ecx
test dl, 1
je 0x476609
mov edx, esi
or edx, 0x200
push edx
push 0x2b4
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call ebx
test eax, eax
je 0x476609
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x476630
or esi, 0x4001
push esi
push 0x2b4
lea edx, [esp + 0x1c]
push edx
push 0
push ebp
call ebx
mov eax, dword [esp + 0x18]
mov dword [edi + 0x20], eax
mov dword [edi + 0x1c], eax
or dword [edi + 0xc], 0x10000000
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004df2c4
add esp, 0x2bc
ret 0x10
mov edx, dword [esp + 0x2cc]
push edi
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x2bc]
pop edi
xor ecx, esp
call fcn.004df2c4
add esp, 0x2bc
ret 0x10

Function at 0x47b720
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x80c]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x400
lea ecx, [esp + 0x10]
push ecx
push eax
xor edi, edi
call fcn.00466af0
mov esi, eax
test esi, esi
je 0x47b7b5
test edi, edi
jne 0x47b76c
mov edi, 1
jmp 0x47b797
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x545770
call fcn.004366c0
test al, al
jne 0x47b797
cmp edi, 1
jne 0x47b796
mov ax, word [esp + 0xc]
mov cx, word [esp + 0xe]
mov word [ebx], ax
mov word [ebx + 2], cx
inc edi
push 0x400
lea edx, [esp + 0x10]
push edx
push esi
call fcn.00466af0
mov esi, eax
test esi, esi
jne 0x47b761
cmp edi, 2
jne 0x47b7b5
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x804
ret 4
Function at 0x47c0e0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x551b90], esi
je 0x47c2d4
push esi
push 1
push 0x550b7a
mov ecx, 0x541e38
call fcn.004796e0
cmp eax, 1
jne 0x47c2d4
cmp dword [0x549788], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x47c14e
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x541e38
call fcn.00478e50
jmp 0x47c162
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x541e38
call fcn.00478d60
cmp dword [esp + 4], esi
je 0x47c2d4
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x551b7c
call fcn.00466f20
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47c1e2
push esi
push esi
push SysReAllocString
push SysReAllocString
push 0x800
lea eax, [esp + 0x24]
push eax
push 0x545770
call fcn.00468580
cmp eax, 6
je 0x47c1bf
cmp eax, 1
je 0x47c1bf
cmp eax, 3
jne 0x47c1e2
mov ecx, dword [esp + 8]
push ecx
call fcn.004e0284
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1010
ret
push edi
push 0x4fb9fc
lea edx, [esp + 0x18]
push edx
call fcn.00443120
mov edi, eax
cmp edi, esi
jne 0x47c236
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.004610c0
push eax
push 0x550b7a
call fcn.004bc170
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e0284
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1010
ret
mov eax, dword [0x549788]
cmp eax, 3
jne 0x47c28b
push edi
push 0xff
call fcn.004e4030
push edi
push 0xfe
call fcn.004e4030
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x47c2b6
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004e4030
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004e4030
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x47c260
jmp 0x47c2b6
cmp eax, 2
jne 0x47c2a1
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.004e3fae
add esp, 0x10
push edi
call fcn.004e0841
mov eax, dword [esp + 0x10]
push eax
call fcn.004e0284
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e0284
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x1010
ret
Function at 0x47e4d0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004df2e0
mov eax, dword [0x50fb70]
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 0x47e60a
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 0x47e53d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004df2c4
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x47e5a4
cmp byte [ebp + 1], 0x1a
jne 0x47e5a4
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.0047e480
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047e480
mov ebx, eax
test ebx, ebx
je 0x47e5a0
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0048b000
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.0047e380
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x47e5f9
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.0047e480
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047e480
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.0047e480
test eax, eax
je 0x47e5f9
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0048b050
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.004df2c4
add esp, 0x3024
ret
Function at 0x47f800
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x443c], eax
push ebx
push 1
push 0x800
lea eax, [esp + 0x48]
push eax
call fcn.00451310
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.00450a60
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.004669b0
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.00466930
mov ebx, dword [esp + 0x4448]
test bl, bl
je 0x47f9ee
push 1
push str.ExportedSettings
push 0x4f9a98
call fcn.00496440
cmp byte [esp + 0x444c], 0
jne 0x47f8c0
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.004610c0
push eax
mov eax, dword [0x5354dc]
push eax
call fcn.0047aa10
test al, al
je 0x47fa21
test bl, bl
jne 0x47fa5a
push 0x4f9a98
call fcn.00496920
mov eax, 0x4fc274
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.00493540
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e01d0
mov ecx, dword [0x5354dc]
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 0x47f964
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 0x47f97d
push str.ExportedSettings
push 0x4f9a98
call fcn.004960a0
test bl, bl
je 0x47fa64
cmp byte [esp + 0x4448], 0
jne 0x47f994
call fcn.0047f4f0
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.004610c0
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.00493540
add esp, 0xc
push 0
push 0x2fb
call fcn.004610c0
mov ecx, dword [0x5354dc]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x47fa89
push 0
push 1
push 0x800
lea edx, [esp + 0x4c]
push edx
push str.Settings.reg
call fcn.00451400
lea eax, [esp + 0x40]
push eax
call fcn.004432f0
test al, al
jne 0x47f884
cmp byte [esp + 0x444c], al
je 0x47fa3b
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004df2c4
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 0x47fa40
jmp 0x47f88e
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x47f8d7
cmp byte [esp + 0x444c], 0
jne 0x47fa89
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.004610c0
push eax
call fcn.004bbb10
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x4440
ret 8
Function at 0x481370
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4f6bb6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50fb70]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x534434], ebx
jne 0x481537
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 0x4813f5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004610c0
push eax
call fcn.004bbb10
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 [0x53236d], al
jne 0x481415
mov byte [esp + 0x14], bl
cmp byte [0x533389], bl
je 0x48141a
mov byte [esp + 0x14], 1
push 8
call fcn.004e04e6
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x481441
mov dword [eax], 0x4fc3d8
mov dword [eax + 4], 1
mov edi, eax
jmp 0x481443
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0xd5f0
call fcn.004e04e6
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x481478
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00481080
mov esi, eax
jmp 0x48147a
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 [0x53236e], bl
mov byte [0x53236f], 1
mov byte [0x53236c], bl
lea eax, [eax + eax + 1]
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov byte [0x53236f], 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 [0x53236d], bl
je 0x4814eb
cmp byte [0x533389], bl
je 0x4814eb
cmp ebp, 0x40100
jne 0x4814eb
call fcn.004b6710
mov ecx, 0x53fd10
call fcn.00491600
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 0x481537
cmp byte [0x53236c], bl
jne 0x481537
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x481537
push 0x53c
call fcn.004610c0
push eax
call fcn.004bbb10
add esp, 4
mov ecx, 0x5275b8
call fcn.0043d530
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 0x481d20
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004df2e0
mov eax, dword [0x50fb70]
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 0x4fa4b8
mov dword [esi], eax
call edi
test eax, eax
jne 0x481d95
push eax
push 0x800
lea edx, [esp + 0x2c4]
push edx
call fcn.004ad2b0
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.004df2c4
add esp, 0x12b8
ret 4

Function at 0x4821f0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x50fb70]
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.004df2c4
add esp, 0x2b8
ret 8
Function at 0x483550
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.004df2e0
mov eax, dword [0x50fb70]
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 0x48367b
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 0x48367b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x48367b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x48367b
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.00466930
lea eax, [esp + 0x1054]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483605
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.00483460
pop ebx
mov ecx, dword [esp + 0x2054]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x2050
ret
Function at 0x485b00
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.004df0da
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [0x55e790]
push edi
call fcn.0049bff0
push edi
call fcn.004a4590
push edi
call fcn.004e0284
add esp, 4
pop edi
pop esi
pop ebp
ret 4

Function at 0x486710
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x1004], eax
mov eax, dword [esp + 0x100c]
push esi
push edi
push 0x4f9ce8
push eax
mov edi, ecx
call fcn.00443120
mov esi, eax
test esi, esi
jne 0x48674c
lea eax, [esi + 0x32]
jmp 0x486891
xor eax, eax
cmp edi, 0x8000
jbe 0x486851
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004e0d08
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e0c61
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485870
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004e0d08
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004e0c61
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485870
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004e0d08
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004e0c61
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485870
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004e0d08
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e0c61
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485870
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.004e0841
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x486891
cmp edi, 0x1000
jbe 0x486861
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004e0d08
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004e0c61
push esi
mov edi, eax
call fcn.004e0841
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00485870
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004df2c4
add esp, 0x1008
ret 4

Function at 0x4890d0
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 0x489125
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 0x489130
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 0x489180
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
mov eax, 0x1028
call fcn.004df2e0
mov eax, dword [0x50fb70]
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 0x4891c6
xor al, al
pop esi
mov ecx, dword [esp + 0x1024]
xor ecx, esp
call fcn.004df2c4
add esp, 0x1028
ret 4
push 0x800
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00466930
lea eax, [esp + 0x24]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4891e0
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.004df2c4
add esp, 0x1028
ret 4