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

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x1008
mov dword [esp + 0x38], ebx
call fcn.004e0a46
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.004666e0
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x475a37
cmp dword [ebx + 4], 0x50000
jb 0x475a67
call fcn.00445f80
cmp eax, 0x400
je 0x475a67
cmp byte [esp + 0x310], 0
jne 0x475ab2
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x475a77
test ebp, ebp
jne 0x475ab9
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x475a8b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x475aa8
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x475ab9
lea ebp, [esp + 0x44]
jmp 0x475ab9
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x475af7
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x2e0
ret 0x20
Function at 0x476650
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 0x476779
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 0x4766ef
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.004759e0
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x476718
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00475e90
test al, al
jne 0x476771
push ebx
push ebp
call fcn.004ad770
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x476767
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push str._c:_
push ecx
mov edx, 0xa
call fcn.00460180
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.004759e0
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x476728
pop ebp
pop ebx
mov ecx, edi
call fcn.004763a0
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004df824
add esp, 0x2d4
ret
Function at 0x476790
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
mov eax, 0x1004
call fcn.004df840
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.00492e60
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 0x47683c
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00476520
cmp byte [0x533389], 0
mov ecx, esi
je 0x476820
call fcn.004761e0
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df824
add esp, 0x1004
ret
call fcn.00475df0
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df824
add esp, 0x1004
ret
cmp byte [0x533389], 0
je 0x476853
lea eax, [esp + 8]
push eax
call fcn.00451a60
test al, al
je 0x47688d
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47688d
test al, 0x10
jne 0x47688d
lea eax, [esp + 8]
push eax
mov ecx, 0x53fd10
call fcn.00491290
pop edi
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004df824
add esp, 0x1004
ret
lea ecx, [esp + 8]
push ecx
mov ecx, 0x53fd10
call fcn.004913b0
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x1004
ret
Function at 0x4768c0
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 0x4769d4
mov eax, dword [edi + 8]
cmp eax, 0xfffffcd9
je 0x476931
cmp eax, 0xfffffcda
jne 0x476917
cmp dword [edi + 0x21c], 2
jne 0x476917
mov ecx, 0x53fd00
call fcn.00476790
xor eax, eax
pop edi
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.004df824
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 0x47694a
mov ebp, dword [ecx + 4]
jmp 0x47694d
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 0x476989
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 0x476989
lea ecx, [esp + 0x20]
mov dword [edi + 0x14], ecx
test byte [esp + 0x10], 6
je 0x4769b0
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.004df824
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.004df824
add esp, 0x2bc
ret 0x10

Function at 0x47baa0
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.00466ce0
mov esi, eax
test esi, esi
je 0x47bb35
test edi, edi
jne 0x47baec
mov edi, 1
jmp 0x47bb17
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x545770
call fcn.00436890
test al, al
jne 0x47bb17
cmp edi, 1
jne 0x47bb16
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.00466ce0
mov esi, eax
test esi, esi
jne 0x47bae1
cmp edi, 2
jne 0x47bb35
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x804
ret 4
Function at 0x47c470
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004df840
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x551b90], esi
je 0x47c664
push esi
push 1
push 0x550b7a
mov ecx, 0x541e38
call fcn.00479a60
cmp eax, 1
jne 0x47c664
cmp dword [0x549788], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x47c4de
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x541e38
call fcn.004791d0
jmp 0x47c4f2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x541e38
call fcn.004790e0
cmp dword [esp + 4], esi
je 0x47c664
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x551b7c
call fcn.00467110
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47c572
push esi
push esi
push SysReAllocString
push SysReAllocString
push 0x800
lea eax, [esp + 0x24]
push eax
push 0x545770
call fcn.00468860
cmp eax, 6
je 0x47c54f
cmp eax, 1
je 0x47c54f
cmp eax, 3
jne 0x47c572
mov ecx, dword [esp + 8]
push ecx
call fcn.004e07e4
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004df824
add esp, 0x1010
ret
push edi
push 0x4fb9fc
lea edx, [esp + 0x18]
push edx
call fcn.00443340
mov edi, eax
cmp edi, esi
jne 0x47c5c6
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.004612b0
push eax
push 0x550b7a
call fcn.004bc660
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e07e4
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004df824
add esp, 0x1010
ret
mov eax, dword [0x549788]
cmp eax, 3
jne 0x47c61b
push edi
push 0xff
call fcn.004e4590
push edi
push 0xfe
call fcn.004e4590
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x47c646
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004e4590
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004e4590
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x47c5f0
jmp 0x47c646
cmp eax, 2
jne 0x47c631
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.004e450e
add esp, 0x10
push edi
call fcn.004e0da1
mov eax, dword [esp + 0x10]
push eax
call fcn.004e07e4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004e07e4
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x1010
ret
Function at 0x47e880
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004df840
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 0x47e9ba
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 0x47e8ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004df824
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x47e954
cmp byte [ebp + 1], 0x1a
jne 0x47e954
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.0047e830
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047e830
mov ebx, eax
test ebx, ebx
je 0x47e950
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0048b390
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.0047e730
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x47e9a9
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.0047e830
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.0047e830
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.0047e830
test eax, eax
je 0x47e9a9
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0048b3e0
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.004df824
add esp, 0x3024
ret
Function at 0x47fbb0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004df840
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.00451530
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.00450c80
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.00466ba0
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.00466b20
mov ebx, dword [esp + 0x4448]
test bl, bl
je 0x47fd9e
push 1
push str.ExportedSettings
push 0x4f9a98
call fcn.004967b0
cmp byte [esp + 0x444c], 0
jne 0x47fc70
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.004612b0
push eax
mov eax, dword [0x5354dc]
push eax
call fcn.0047ad90
test al, al
je 0x47fdd1
test bl, bl
jne 0x47fe0a
push 0x4f9a98
call fcn.00496c90
mov eax, 0x4fc274
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.00460180
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e0730
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 0x47fd14
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 0x47fd2d
push str.ExportedSettings
push 0x4f9a98
call fcn.00496410
test bl, bl
je 0x47fe14
cmp byte [esp + 0x4448], 0
jne 0x47fd44
call fcn.0047f8a0
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.004612b0
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.00460180
add esp, 0xc
push 0
push 0x2fb
call fcn.004612b0
mov ecx, dword [0x5354dc]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x47fe39
push 0
push 1
push 0x800
lea edx, [esp + 0x4c]
push edx
push str.Settings.reg
call fcn.00451620
lea eax, [esp + 0x40]
push eax
call fcn.00443510
test al, al
jne 0x47fc34
cmp byte [esp + 0x444c], al
je 0x47fdeb
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004df824
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 0x47fdf0
jmp 0x47fc3e
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x47fc87
cmp byte [esp + 0x444c], 0
jne 0x47fe39
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.004612b0
push eax
call fcn.004bc000
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x4440
ret 8
Function at 0x481700
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4f7116
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 0x4818c7
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 0x481785
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004612b0
push eax
call fcn.004bc000
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 0x4817a5
mov byte [esp + 0x14], bl
cmp byte [0x533389], bl
je 0x4817aa
mov byte [esp + 0x14], 1
push 8
call fcn.004e0a46
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebx
cmp eax, ebx
je 0x4817d1
mov dword [eax], 0x4fc3d8
mov dword [eax + 4], 1
mov edi, eax
jmp 0x4817d3
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x2c], ebp
push 0xd5f0
call fcn.004e0a46
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], 1
cmp eax, ebx
je 0x481808
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, eax
call fcn.00481410
mov esi, eax
jmp 0x48180a
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 0x48187b
cmp byte [0x533389], bl
je 0x48187b
cmp ebp, 0x40100
jne 0x48187b
call fcn.004b6c00
mov ecx, 0x53fd10
call fcn.004919e0
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 0x4818c7
cmp byte [0x53236c], bl
jne 0x4818c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
je 0x4818c7
push 0x53c
call fcn.004612b0
push eax
call fcn.004bc000
add esp, 4
mov ecx, 0x5275b8
call fcn.0043d760
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 0x4820c0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.004df840
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 0x482135
push eax
push 0x800
lea edx, [esp + 0x2c4]
push edx
call fcn.004ad670
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.004df824
add esp, 0x12b8
ret 4

Function at 0x482590
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.004df824
add esp, 0x2b8
ret 8
Function at 0x4838f0
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.004df840
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 0x483a1b
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 0x483a1b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x483a1b
mov edx, dword [eax + 8]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x483a1b
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.00466b20
lea eax, [esp + 0x1054]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4839a5
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.00483800
pop ebx
mov ecx, dword [esp + 0x2054]
pop edi
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x2050
ret
Function at 0x485ea0
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.004df63a
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.0049c360
push edi
call fcn.004a4950
push edi
call fcn.004e07e4
add esp, 4
pop edi
pop esi
pop ebp
ret 4

Function at 0x486ab0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1008
call fcn.004df840
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.00443340
mov esi, eax
test esi, esi
jne 0x486aec
lea eax, [esi + 0x32]
jmp 0x486c31
xor eax, eax
cmp edi, 0x8000
jbe 0x486bf1
push ebx
push ebp
push eax
mov eax, edi
shr eax, 3
add eax, 0x1000
push eax
push esi
call fcn.004e1268
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e11c1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485c10
mov edx, edi
shr edx, 2
push 0
add edx, 0x1000
push edx
push esi
mov ebx, eax
call fcn.004e1268
push esi
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.004e11c1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485c10
lea ecx, [edi + edi]
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push esi
mov ebp, eax
call fcn.004e1268
push esi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004e11c1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485c10
mov dword [esp + 0x10], eax
lea eax, [edi + edi*2]
shr eax, 2
push 0
add eax, 0x1000
push eax
push esi
call fcn.004e1268
push esi
push 0x1000
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.004e11c1
add esp, 0x1c
push eax
lea ecx, [esp + 0x18]
call fcn.00485c10
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.004e0da1
add esp, 4
pop ebp
mov eax, edi
pop ebx
jmp 0x486c31
cmp edi, 0x1000
jbe 0x486c01
lea eax, [edi - 0x1000]
shr eax, 1
push 0
push eax
push esi
call fcn.004e1268
push esi
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
call fcn.004e11c1
push esi
mov edi, eax
call fcn.004e0da1
add esp, 0x20
push edi
lea ecx, [esp + 0x10]
call fcn.00485c10
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.004df824
add esp, 0x1008
ret 4

Function at 0x489460
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 0x4894b5
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