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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe74
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x1c]
push 0x408
call fcn.004974ec
pop ecx
mov esi, eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov edx, dword [ebp + 0x20]
mov dword [esi + 4], edx
mov eax, dword [ebp - 4]
call fcn.0040f4fc
push eax
lea edx, [esi + 8]
push edx
call fcn.00498e7c
add esp, 8
cmp byte [ebx + 4], 0
je 0x476093
cmp dword [ebx + 8], 0x50000
jb 0x475f95
cmp dword [0x4ca204], 4
jne 0x475f99
cmp dword [0x4ca208], 0
jne 0x475f99
mov byte [ebp + 8], 0
cmp byte [ebp + 8], 0
jne 0x475faa
cmp edi, 0xffffffff
je 0x475fae
cmp dword [ebp + 0x18], 0
je 0x475fae
xor eax, eax
jmp 0x475fb3
mov eax, 1
test al, al
je 0x475ff6
cmp dword [ebp - 8], 2
mov eax, 0x4201
jne 0x475fc5
or eax, 2
push eax
push 0x160
lea edx, [ebp - 0x168]
push edx
push 0
push dword [ebp - 4]
call sub.SHELL32.DLL_SHGetFileInfoA
cmp edi, 0xffffffff
jne 0x475fe7
mov edi, dword [ebp - 0x164]
cmp dword [ebp + 0x18], 0
jne 0x475ff6
lea eax, [ebp - 0x15c]
mov dword [ebp + 0x18], eax
push 0x24
push 0
lea edx, [ebp - 0x18c]
push edx
call fcn.00498cfc
add esp, 0xc
mov dword [ebp - 0x18c], 0x37
cmp dword [ebp + 0x18], 0
je 0x47601e
mov ecx, dword [ebp + 0x18]
jmp 0x476021
or ecx, 0xffffffff
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x16c], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x178], edi
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x170], edx
cmp dword [ebp + 0x14], 0
je 0x47607a
call fcn.004107bc
test eax, eax
je 0x47607a
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x184], eax
push edx
push 0
push 0x40b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x4760b3
lea ecx, [ebp - 0x18c]
push ecx
push 0
push 0x401
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x4760b3
push dword [ebp - 4]
push dword [ebp + 0xc]
push 0x14a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push esi
push eax
push 0x151
push dword [ebx]
call sub.USER32.DLL_SendMessageA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4760bc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
push edi
mov esi, eax
mov eax, 0x4c6f00
call fcn.0045eef4
mov edi, eax
test edi, edi
je 0x476148
xor eax, eax
mov dword [ebp - 4], eax
lea edx, [ebp - 4]
push edx
call sub.SHELL32.DLL_SHGetDesktopFolder
test eax, eax
jne 0x476135
xor ebx, ebx
push 0
push ebx
push 0x150
push dword [esi]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x476135
cmp dword [eax + 4], 0
je 0x47612c
push dword [eax + 4]
push edi
push 0
mov eax, dword [ebp - 4]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
test eax, eax
jne 0x47612c
push 0
push ebx
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
jmp 0x476135
inc ebx
cmp ebx, 0x80
jl 0x4760ee
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4761f7
lea edx, [ebp - 0x410]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov byte [ebp - 5], 0
xor edi, edi
push 0
push edi
push 0x150
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4761c3
cmp dword [ebx], 0
jne 0x4761ba
xor eax, eax
mov al, byte [ebx + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
call fcn.0049ce34
pop ecx
push eax
xor edx, edx
mov dl, byte [ebp - 0x410]
mov dword [ebp - 0x10], edx
push dword [ebp - 0x10]
call fcn.0049ce34
pop ecx
pop ecx
cmp ecx, eax
jne 0x4761ba
push 0
push edi
push 0x14e
push dword [esi]
call sub.USER32.DLL_SendMessageA
mov byte [ebp - 5], 1
jmp 0x4761c3
inc edi
cmp edi, 0x80
jl 0x47615f
cmp byte [ebp - 5], 0
jne 0x4761de
push 0
lea ecx, [ebp - 0x410]
lea edx, [ebp - 0x410]
mov eax, esi
call fcn.004763c4
cmp dword [0x4c988c], 0
je 0x4761f0
mov eax, esi
call fcn.00476684
jmp 0x4761f7
mov eax, esi
call fcn.00476634
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x476200
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
mov ebx, eax
push 0x400
lea eax, [ebp - 0x400]
push eax
push dword [ebx]
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0x400]
call fcn.0047e154
lea edx, [ebp - 0x400]
push edx
push 0xffffffffffffffff
push 0x158
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp eax, 0xffffffff
je 0x476275
push 0
push eax
push 0x14e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.004762dc
cmp dword [0x4c988c], 0
je 0x47626c
mov eax, ebx
call fcn.00476684
jmp 0x4762d5
mov eax, ebx
call fcn.00476634
jmp 0x4762d5
cmp dword [0x4c988c], 0
je 0x4762a1
lea eax, [ebp - 0x400]
call fcn.0040ca40
test al, al
jne 0x4762a1
lea edx, [ebp - 0x400]
mov eax, 0x4c6f00
xor ecx, ecx
call fcn.0045ca6c
jmp 0x4762d5
lea edx, [ebp - 0x400]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4762ca
test al, 0x10
jne 0x4762ca
lea edx, [ebp - 0x400]
mov eax, 0x4c6f00
xor ecx, ecx
call fcn.0045c8f4
jmp 0x4762d5
lea eax, [ebp - 0x400]
call fcn.004835f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476904
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd3c
cmp ecx, 0x4e
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
jne 0x4769e5
mov edx, eax
mov ecx, dword [edx + 8]
sub ecx, 0xfffffcdb
je 0x476933
sub ecx, 5
je 0x47694d
jmp 0x4769e1
cmp dword [eax + 0x118], 2
jne 0x476946
mov eax, 0x4c7460
call fcn.00476200
xor eax, eax
jmp 0x4769f0
mov ebx, eax
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x2c]
cmp dword [eax], 4
jne 0x47695f
mov edi, dword [eax + 4]
jmp 0x476962
lea edi, [eax + 8]
mov edx, 8
cmp dword [eax], 4
je 0x47696f
add edx, 0xfffffff8
test esi, 1
mov dword [ebp - 4], edx
je 0x4769a4
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x164]
or eax, 0x200
push eax
push 0x160
push ecx
push 0
push edi
call sub.SHELL32.DLL_SHGetFileInfoA
test eax, eax
je 0x4769a4
lea eax, [ebp - 0x158]
mov dword [ebx + 0x14], eax
test esi, 6
je 0x4769d6
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x2c4]
or edx, 0x4001
push edx
push 0x160
push ecx
push 0
push edi
call sub.SHELL32.DLL_SHGetFileInfoA
mov eax, dword [ebp - 0x2c0]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], eax
or dword [ebx + 0xc], 0x10000000
xor eax, eax
jmp 0x4769f0
xor eax, eax
jmp 0x4769f0
push eax
push dword [ebp + 0xc]
push ecx
push edx
call sub.USER32.DLL_DefWindowProcA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x476b28
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov byte [ebp - 1], cl
push dword [ebp + 8]
mov ebx, edx
call sub.USER32.DLL_GetSysColor
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x476b5a
mov edx, ebx
shl edx, 3
sub edx, ebx
mov ecx, dword [edx*8 + 0x4ad6c4]
jmp 0x476b68
mov eax, ebx
shl eax, 3
sub eax, ebx
mov ecx, dword [eax*8 + 0x4ad6c8]
cmp byte [ebp - 1], 0
mov ebx, ecx
jne 0x476ba7
push 2
push ebx
push dword [0x4b41d0]
call sub.KERNEL32.DLL_FindResourceA
push eax
push dword [0x4b41d0]
call sub.KERNEL32.DLL_LoadResource
test eax, eax
jne 0x476b95
mov edx, 4
jmp 0x476b99
movzx edx, word [eax + 0xe]
mov eax, edx
cmp eax, 8
je 0x476ba7
mov dword [ebp - 0xc], 0x800080
push 1
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [0x4b41d0]
call sub.COMCTL32.DLL_CreateMappedBitmap
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4781a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
mov ebx, eax
push esi
cmp dword [ebx + 4], 0
je 0x4781bd
push dword [ebx + 4]
call sub.USER32.DLL_DestroyWindow
xor eax, eax
mov dword [ebx + 4], eax
mov edx, str.ViewSmall
mov eax, str.GeneralToolbar
mov ecx, 1
call fcn.00461bc4
test eax, eax
je 0x478313
mov esi, 0x56000944
push 0
push dword [0x4b41d4]
push 0xd
push dword [0x4c6eec]
push 0
push 0
push 0
push 0
push esi
push 0
push str.ToolbarWindow32
push 0
call sub.USER32.DLL_CreateWindowExA
mov dword [ebx + 4], eax
push 0
push 0x14
push 0x41e
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0x100010
push 0
push 0x41f
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0x100010
push 0
push 0x420
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0
mov edx, str.FolderUp.bmp
mov eax, 0x4c772c
mov ecx, 0xf
call fcn.0047b2c8
test eax, eax
jne 0x47825e
mov eax, dword [ebx + 0x1c]
xor edx, edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ecx
push 1
push 0x413
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
push 0x4adb20
push 1
push 0x414
push dword [ebx + 4]
call sub.USER32.DLL_SendMessageA
lea ecx, [ebp - 0x58]
mov edx, 2
mov eax, ebx
call fcn.00478398
mov dword [ebp - 0x58], 0x38
mov dword [ebp - 0x54], 0x173
cmp dword [ebp - 0x50], 0
jne 0x4782b4
or dword [ebp - 0x50], 1
or dword [ebp - 0x50], 4
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x34], edx
push 0x12
call sub.USER32.DLL_GetSysColor
mov dword [ebp - 0x4c], eax
push 0xf
call sub.USER32.DLL_GetSysColor
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x2c], 0
jne 0x4782eb
mov dword [ebp - 0x2c], 0x28
mov eax, dword [0x4c7460]
lea edx, [ebp - 0x68]
push edx
push eax
call sub.USER32.DLL_GetClientRect
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x30], ecx
push eax
push 0xffffffffffffffff
push 0x401
push dword [ebx + 8]
call sub.USER32.DLL_SendMessageA
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47af40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp esi, 0xa8
jne 0x47af63
mov eax, ebx
call fcn.0047b924
mov al, 1
jmp 0x47b07c
cmp esi, 0xa9
jne 0x47af8f
push 1
push 0x4adf0c
push 0
mov eax, 0x4f7
call fcn.004129c8
push eax
push 0
push 0
call sub.SHELL32.DLL_ShellExecuteA
mov al, 1
jmp 0x47b07c
mov eax, ebx
call fcn.0047add8
mov edi, eax
cmp esi, 0xaa
jne 0x47afc3
mov dword [ebx + 0x114], 0xffffffff
mov ecx, 0x4adf0c
mov edx, str.ActivePath
mov eax, str.InterfaceThemes
call fcn.004617c8
jmp 0x47b04b
cmp esi, 0x3e8
jl 0x47afd3
cmp esi, 0x468
jl 0x47afda
xor eax, eax
jmp 0x47b07c
push 0x2c
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00498cfc
mov dword [ebp - 0x2c], 0x2c
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x20
push ecx
push 0
push esi
push edi
call sub.USER32.DLL_GetMenuItemInfoA
test eax, eax
jne 0x47b00d
xor eax, eax
jmp 0x47b07c
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebx + 0x10c]
jb 0x47b01c
xor eax, eax
jmp 0x47b07c
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x114], edx
imul eax, dword [ebx + 0x114], 0x584
add eax, dword [ebx + 0x108]
call fcn.0040be48
mov ecx, eax
mov edx, str.ActivePath
mov eax, str.InterfaceThemes
call fcn.004617c8
cmp dword [ebx + 0x518], 0xffffffff
je 0x47b062
push 0
push dword [ebx + 0x518]
push edi
call sub.USER32.DLL_CheckMenuItem
push 8
push esi
push edi
call sub.USER32.DLL_CheckMenuItem
mov dword [ebx + 0x518], esi
xor edx, edx
mov eax, ebx
call fcn.0047b14c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47c9dc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffbfc
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
cmp dword [0x4c988c], 0
je 0x47ca22
mov edx, 0x4d5178
mov eax, 0x4c7c4c
xor ecx, ecx
call fcn.00457d7c
mov edx, 0x4d5578
mov eax, 0x4c7c4c
xor ecx, ecx
call fcn.00457d50
jmp 0x47ca38
push 0x4d5178
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov byte [0x4d5578], 0
mov byte [0x4d5978], 0
push 0
push 0x47bb14
push esi
push str.FAVORITESDLG
push dword [0x4b41d0]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x47ca5f
xor eax, eax
jmp 0x47cac0
cmp byte [ebp - 1], 0
je 0x47cabe
lea edx, [ebp - 0x804]
mov eax, 0x4d5178
mov ecx, 0x1000000
call fcn.00410844
lea edx, [ebp - 0x1004]
mov eax, 0x4d5578
mov ecx, 0x1000000
call fcn.00410844
lea edx, [ebp - 0x1404]
mov eax, 0x4d5978
mov ecx, 0x1000000
call fcn.00410844
lea edx, [ebp - 0x1404]
lea ecx, [ebp - 0x1004]
push edx
lea edx, [ebp - 0x804]
mov eax, ebx
call fcn.0047ce74
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47d720
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [ebp - 0x64]
mov esp, ebp
pop ebp
ret
Function at 0x47d9c8
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004644f8
test al, al
jne 0x47d9e3
xor eax, eax
jmp 0x47da28
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
push ebx
call fcn.0049ba38
pop ecx
push ebx
lea edx, [ebp - 0x400]
push edx
call fcn.00498e7c
add esp, 8
push 0x5c
lea ecx, [ebp - 0x400]
push ecx
call fcn.00498f61
add esp, 8
mov ebx, eax
test eax, eax
je 0x47da1c
mov byte [ebx], 0
lea edx, [ebp - 0x400]
push edx
call sub.KERNEL32.DLL_RemoveDirectoryA
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47da8c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, eax
test esi, esi
je 0x47db9f
push esi
call fcn.00498eac
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x47db9f
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
jne 0x47dac3
xor eax, eax
jmp 0x47dba4
call sub.USER32.DLL_EmptyClipboard
mov edi, dword [ebp - 4]
inc edi
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x47db09
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 8], eax
test eax, eax
je 0x47db09
mov edx, dword [ebp - 4]
inc edx
push edx
push esi
push dword [ebp - 8]
call fcn.00498c8c
add esp, 0xc
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 1
call sub.USER32.DLL_SetClipboardData
push edi
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x47db51
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 8], eax
test eax, eax
je 0x47db51
mov edx, dword [ebp - 4]
inc edx
push edx
push esi
push dword [ebp - 8]
call fcn.00498c8c
add esp, 0xc
push dword [ebp - 8]
push dword [ebp - 8]
call sub.USER32.DLL_CharToOemA
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 7
call sub.USER32.DLL_SetClipboardData
call fcn.004107bc
test eax, eax
je 0x47db9a
mov ecx, edi
add ecx, ecx
push ecx
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov ebx, eax
test eax, eax
je 0x47db9a
push ebx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 8], eax
test eax, eax
je 0x47db9a
push edi
push dword [ebp - 8]
push 0xffffffffffffffff
push esi
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push ebx
call sub.KERNEL32.DLL_GlobalUnlock
push ebx
push 0xd
call sub.USER32.DLL_SetClipboardData
call sub.USER32.DLL_CloseClipboard
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4835f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff79c
push ebx
push esi
mov ebx, eax
lea esi, [ebp - 0x864]
push ebx
mov eax, 0x6c
call fcn.004129c8
push eax
lea edx, [ebp - 0x464]
push edx
call fcn.0049bdcc
add esp, 0xc
jmp 0x48366f
push 0x400
push esi
push ebx
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x48364b
push esi
push ebx
call fcn.00498e30
add esp, 8
test eax, eax
je 0x48364b
mov eax, esi
xor edx, edx
call fcn.004647b8
test al, al
jne 0x48367c
push 0x15
mov eax, 0x66
call fcn.004129c8
push eax
lea edx, [ebp - 0x464]
push edx
push dword [0x4c6eec]
call sub.USER32.DLL_MessageBoxA
cmp eax, 2
je 0x483696
xor edx, edx
mov eax, ebx
call fcn.004647b8
test al, al
je 0x483620
mov eax, 0x4c6f00
call fcn.0045ea0c
test al, al
je 0x483696
mov eax, 0x4c6f00
xor edx, edx
call fcn.0045905c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48369c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
lea edx, [ebp - 0xc]
push ebx
mov ebx, eax
push esi
push edi
mov eax, dword [ebx + 0x2c]
add eax, 0x41
push eax
push str._c:_
push edx
call fcn.0049bdcc
add esp, 0xc
lea ecx, [ebp - 0x170]
lea eax, [ebp - 0xc]
push 0x301
push 0x160
push ecx
push 0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
test byte [ebx + 0x10], 1
je 0x483709
push 0xd
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
mov edi, eax
push 0xe
call sub.USER32.DLL_GetSysColor
push eax
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
mov dword [ebp - 0x10], eax
push 0
push 0
push 0x4ae7a0
lea eax, [ebx + 0x1c]
push eax
push 2
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.GDI32.DLL_ExtTextOutA
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
push 3
push 0
push 0
push eax
push esi
push dword [ebp - 0x170]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call sub.USER32.DLL_DrawIconEx
push dword [ebp - 0x170]
call sub.USER32.DLL_DestroyIcon
lea eax, [ebp - 0x164]
push eax
call fcn.00498eac
pop ecx
push eax
lea edx, [ebp - 0x164]
push edx
mov ecx, dword [ebx + 0x20]
add ecx, 2
push ecx
add esi, dword [ebx + 0x1c]
add esi, 7
push esi
push dword [ebx + 0x18]
call sub.GDI32.DLL_TextOutA
test byte [ebx + 0x10], 1
je 0x4837a2
push edi
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetBkColor
push dword [ebp - 0x10]
push dword [ebx + 0x18]
call sub.GDI32.DLL_SetTextColor
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x484548
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffac
push ebx
push esi
push edi
mov dword [ebp - 4], eax
call fcn.004107bc
test eax, eax
je 0x484571
mov eax, dword [ebp - 4]
call fcn.0047e8b3
jmp 0x48468c
xor ebx, ebx
xor esi, esi
mov eax, 0x4c6f00
xor ecx, ecx
xor edx, edx
call fcn.0045e59c
jmp 0x4845d3
lea edx, [ebp - 0x1034]
lea eax, [ebp - 0xc34]
call fcn.0040acd8
lea ecx, [ebp - 0x1034]
push ecx
call fcn.00498eac
pop ecx
mov edi, eax
inc edi
lea eax, [edi + esi + 1]
push eax
push ebx
call fcn.00497c60
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x48468c
lea edx, [ebp - 0x1034]
push edx
lea ecx, [esi + ebx]
push ecx
call fcn.00498e7c
add esp, 8
add esi, edi
lea edx, [ebp - 0xc34]
mov eax, 0x4c6f00
xor ecx, ecx
call fcn.0045e59c
test al, al
jne 0x484585
test esi, esi
jne 0x484612
push 0x30
mov eax, 0x65
call fcn.004129c8
push eax
mov eax, 0x14c
call fcn.004129c8
push eax
push dword [0x4c6eec]
call sub.USER32.DLL_MessageBoxA
jmp 0x48468c
mov byte [ebx + esi], 0
push 0x1e
push 0
lea edx, [ebp - 0x1054]
push edx
call fcn.00498cfc
add esp, 0xc
mov ecx, dword [0x4c6eec]
mov dword [ebp - 0x1054], ecx
mov dword [ebp - 0x1050], 3
cmp dword [ebp - 4], 0
je 0x48464e
mov word [ebp - 0x1044], 0x40
mov dword [ebp - 0x104c], ebx
lea eax, [ebp - 0x1054]
push eax
call sub.SHELL32.DLL_SHFileOperationA
test eax, eax
sete dl
and edx, 1
test ebx, ebx
je 0x484673
push ebx
call fcn.00497c50
pop ecx
mov eax, 0x4c7428
call fcn.0045f220
mov edx, 0x4ae7a0
mov eax, 0x4c6f00
call fcn.0045905c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x487f10
Capabilities:
Copy file
Get file attributes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff3f8
push ebx
push esi
push edi
mov esi, eax
cmp dword [0x4c9894], 0
jne 0x4881a8
push 0
push 0
push 0xffffffffffffffff
push esi
call sub.SHELL32.DLL_DragQueryFileA
mov edi, eax
cmp edi, 1
jne 0x488110
mov word [ebp - 0xc08], 0
push 0x400
lea eax, [ebp - 0x408]
push eax
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.004107bc
test eax, eax
je 0x487f83
push 0x400
lea edx, [ebp - 0xc08]
push edx
push 0
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 8]
push ecx
call sub.USER32.DLL_GetCursorPos
push dword [ebp - 4]
push dword [ebp - 8]
call sub.USER32.DLL_WindowFromPoint
cmp dword [0x4c988c], 0
je 0x487fb0
cmp eax, dword [0x4c6f00]
je 0x487fdf
cmp eax, dword [0x4c742c]
je 0x487fdf
lea edx, [ebp - 0x408]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
test al, 0x10
jne 0x487fdf
push 1
lea ecx, [ebp - 0xc08]
lea edx, [ebp - 0x408]
mov eax, 0x4c6f00
call fcn.0045c264
dec eax
je 0x4881a8
push 7
push str.rarreg.
lea eax, [ebp - 0x408]
call fcn.0040be48
push eax
call fcn.004990ac
add esp, 0xc
test eax, eax
jne 0x488110
push 0x400
lea edx, [ebp - 0x1008]
push edx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.rarreg.key
lea eax, [ebp - 0x1008]
call fcn.0040be48
push eax
call fcn.00498e7c
add esp, 8
push 0
lea edx, [ebp - 0x1008]
push edx
lea ecx, [ebp - 0x408]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x488086
lea eax, [ebp - 0x1008]
call fcn.00464dd0
lea eax, [ebp - 0x1008]
call fcn.0040c35c
push str.rarreg.key
lea edx, [ebp - 0x1008]
push edx
call fcn.00498da0
add esp, 8
push 0
lea ecx, [ebp - 0x1008]
push ecx
lea eax, [ebp - 0x408]
push eax
call sub.KERNEL32.DLL_CopyFileA
push dword [0x4c6eec]
call sub.USER32.DLL_SetForegroundWindow
push 1
push dword [0x4c6eec]
call sub.USER32.DLL_FlashWindow
mov al, 1
call fcn.0040eb6c
mov byte [0x4b41ac], al
push 0
push dword [0x4c6eec]
call sub.USER32.DLL_FlashWindow
cmp dword [0x4c988c], 0
je 0x4880cc
mov eax, 0x4c6f00
call fcn.0045a93c
jmp 0x4880db
mov edx, 0x4ae7a0
mov eax, 0x4c6f00
call fcn.0045905c
cmp byte [0x4b41ac], 0
je 0x4881a8
push 0x30
mov eax, 0x368
call fcn.004129c8
push eax
mov eax, 0x367
call fcn.004129c8
push eax
push dword [0x4c6eec]
call sub.USER32.DLL_MessageBoxA
jmp 0x4881a8
xor eax, eax
call fcn.0044a1d4
cmp dword [0x4c988c], 0
je 0x48812a
mov dword [0x4bdb08], 1
mov eax, dword [0x4c0540]
call fcn.0040ff20
xor ebx, ebx
cmp edi, ebx
jle 0x48818d
mov word [ebp - 0x1c08], 0
push 0x400
lea eax, [ebp - 0x1408]
push eax
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileA
call fcn.004107bc
test eax, eax
je 0x488172
push 0x400
lea edx, [ebp - 0x1c08]
push edx
push ebx
push esi
call sub.SHELL32.DLL_DragQueryFileW
lea ecx, [ebp - 0x1c08]
lea edx, [ebp - 0x1408]
mov eax, dword [0x4c0540]
call fcn.0040ff58
inc ebx
cmp edi, ebx
jg 0x48813a
push 0x10
call sub.USER32.DLL_GetKeyState
test ah, 0x80
setne al
and eax, 1
mov cl, 1
mov edx, eax
xor eax, eax
call fcn.0044af80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret