joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ad695
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
mov edx, 0x100
push edi
mov dword [esp + 0x10], esi
lea ebx, [esi + 4]
mov ecx, dword [ebx]
call fcn.005b3ac6
push 0x8d0
push dword [ebx]
lea edi, [esi + 0x5c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x8002
mov dword [edi], eax
mov eax, dword [0x668294]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0041129f
mov esi, dword [esp + 0xc]
mov ecx, edi
push esi
push 0
call fcn.0048a76b
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5ad709
call fcn.00407965
mov eax, dword [0x668294]
push 0x8003
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0041129f
mov esi, dword [esp + 0xc]
mov ecx, edi
push esi
push 1
call fcn.0048a76b
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5ad73f
call fcn.00407965
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.0040390c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
push eax
push 0
push 0x1328
push dword [esi + 0x5c]
call edi
lea eax, [esp + 0x14]
push eax
push dword [ebx]
lea ecx, [esi + 0x170]
call fcn.00489f49
lea eax, [esp + 0x14]
push eax
push dword [ebx]
lea ecx, [esi + 0x60]
call fcn.00489eeb
push 5
push dword [esi + 0x64]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x673a40]
mov esi, dword [sym.imp.USER32.dll_CheckDlgButton]
push 0x80e
push dword [ebx]
call esi
push dword [0x673a44]
push 0x84e
push dword [ebx]
call esi
push dword [0x673a48]
push 0x880
push dword [ebx]
call esi
push dword [0x673a64]
push 0x80f
push dword [ebx]
call esi
push dword [0x673a4c]
push 0x7e5
push dword [ebx]
call esi
push dword [0x673a58]
push 0x7e8
push dword [ebx]
call esi
push dword [0x673a60]
push 0x812
push dword [ebx]
call esi
push ecx
mov ecx, dword [ebx]
mov esi, 0x894
mov edx, esi
call fcn.005c8c35
pop ecx
push esi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [0x673a68]
push 0x14e
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x827
push dword [ebx]
call edi
mov esi, dword [esp + 0x10]
push eax
lea ecx, [esi + 0x27c]
call fcn.0042ff9c
push 0x829
push dword [ebx]
call edi
push eax
lea ecx, [esi + 0x2c8]
call fcn.0042ff9c
push 0x82b
push dword [ebx]
call edi
push eax
lea ecx, [esi + 0x314]
call fcn.0042ff9c
mov ecx, dword [esp + 0x24]
xor eax, eax
inc eax
pop edi
mov dword [esi + 0x360], eax
pop esi
pop ebx
xor ecx, esp
call fcn.004da623
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5ad8d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x181
push ebx
mov ebx, ecx
jne 0x5ad938
push esi
push 0
push 1
push 0x130c
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x64]
call esi
push 5
push dword [ebx + 0x174]
call esi
push 0x7e5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call esi
push 0x7e8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call esi
pop esi
jmp 0x5ad952
push dword [ebp + 8]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
push 0x28
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebx
pop ebp
ret 4

Function at 0x5b1e75
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push edx
mov edi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
shl eax, 0x10
mov ebx, eax
or ebx, 0x1000000
cmp dword [ebp + 8], 0
push 0x40
cmove ebx, eax
mov eax, dword [0x668294]
mov dword [edi], eax
pop esi
add esi, esi
mov ecx, edi
push esi
mov dword [ebp + 8], esi
call fcn.00435787
lea ecx, [esi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov esi, eax
mov ecx, edi
push esi
call fcn.0040ce81
cmp esi, dword [ebp + 8]
mov esi, dword [ebp + 8]
je 0x5b1ea2
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5b24cd
Capabilities:
Get graphical window text

Disassembly:
push ecx
push 3
call fcn.005d1029
push 0
push 0xd
push 0x113
push dword [0x674760]
mov dword [0x6734b8], 1
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
ret 0x10

Function at 0x5b2ccc
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.004e0bc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 7
push eax
push dword [0x674760]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x5b2d1a
push 0x6349bc
jmp 0x5b2d58
lea eax, [ebp - 0x20c]
push 0x634954
push eax
call fcn.0050737f
push dword [0x674764]
lea eax, [ebp - 0x20c]
push eax
call fcn.0050737f
lea eax, [ebp - 0x20c]
push str..lnk
push eax
call fcn.0050737f
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.0040d2ee
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004da623
leave
ret
Function at 0x5b2d6e
Capabilities:
Get common file path

Disassembly:
push 0x418
mov eax, 0x60e3f4
call fcn.004db4be
mov edi, edx
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e0bc0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push esi
push eax
push dword [0x674760]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b2e71
mov esi, 0x634954
test edi, edi
je 0x5b2ddb
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0050737f
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0050737f
add esp, 0x10
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0050737f
push dword [0x674764]
lea eax, [ebp - 0x218]
push eax
call fcn.0050737f
lea eax, [ebp - 0x218]
push str..lnk
push eax
call fcn.0050737f
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x668294]
push 0x80f2
push ecx
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x424], eax
call fcn.0041129f
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
mov esi, dword [ebp - 0x424]
lea ecx, [ebp - 0x420]
push eax
mov edx, esi
call fcn.005b2e77
pop ecx
lea ecx, [esi - 0xc]
mov edi, eax
cmp ecx, 0x668010
je 0x5b2e6f
call fcn.00407965
mov eax, edi
call fcn.004db46d
ret
Function at 0x5b34b6
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5b34e5
xor eax, eax
jmp 0x5b35e2
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x5b35d8
cmp eax, 0x40
jbe 0x5b35d8
push edi
push eax
push edi
push 2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x5b35d8
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x5b3540
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
jmp 0x5b35df
mov eax, 0x5a4d
mov dword [ebp - 0x10], edi
cmp word [edi], ax
je 0x5b3556
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x5b352f
and dword [ebp - 4], 0
lea eax, [edi + 0x3c]
add edi, dword [eax]
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push edi
push eax
call fcn.004dd610
add esp, 0xc
cmp dword [ebp - 4], 0x4550
jne 0x5b354d
movzx eax, word [edi + 6]
mov edx, dword [ebp - 8]
sub edx, dword [edi + 0x9c]
imul eax, eax, 0x28
sub edx, eax
lea esi, [eax + 0xf8]
mov eax, dword [ebp - 0xc]
add esi, edi
mov ecx, esi
sub edx, dword [eax]
sub edx, 0xf8
call fcn.005b35e6
mov edi, eax
mov eax, dword [ebp - 0x10]
push esi
movzx ecx, word [eax + 0x22]
movzx eax, word [eax + 0x20]
shl ecx, 0x10
or ecx, eax
sub edi, ecx
neg edi
sbb edi, edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
lea eax, [edi + 1]
jmp 0x5b35e1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret

Function at 0x5b3a36
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 8], ecx
lea eax, [esi + edi]
mov dword [ebp - 0x14], eax
cmp esi, eax
jge 0x5b3ac1
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add edx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp ecx, edx
jge 0x5b3ab6
cmp ebx, edi
mov ecx, edi
mov edi, dword [ebp + 0x10]
cmovl ecx, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x24], edi
mov eax, edi
push 0xcc0020
push dword [ebp + 0x1c]
cmovl eax, dword [ebp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push ecx
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add ebx, dword [ebp + 0x24]
sub edi, dword [ebp + 0x24]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp ebx, edx
jl 0x5b3a76
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add esi, ebx
sub edi, ebx
mov dword [ebp + 0xc], edi
cmp esi, eax
jl 0x5b3a5f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5b3ac6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x6714c8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
and dword [ebp - 0xc], 0
mov edi, eax
lea eax, [ebp - 0xc]
movzx esi, si
push eax
push 0x5b3c68
push esi
push 0xf0
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov eax, 0x804
cmp word [ebp - 0xc], ax
jne 0x5b3b1b
mov edi, 0x3a8
jmp 0x5b3b2a
mov ecx, 0x404
cmp word [ebp - 0xc], cx
lea eax, [ecx - 0x4e]
cmove edi, eax
push 0xf0
push esi
push ebx
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x5b3c54
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x5b3c54
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x5b3c48
mov esi, 0x180
lea edx, [esi - 0x3d]
movzx eax, word [ebx]
test ax, ax
je 0x5b3c45
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
movzx eax, word [ebx + 2]
add ebx, 8
mov dword [ebp - 0x18], ecx
cmp ax, si
je 0x5b3bf3
mov ecx, 0x401
cmp ax, cx
je 0x5b3bf3
cmp ax, dx
je 0x5b3bac
add ecx, 2
cmp ax, cx
jne 0x5b3c39
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push edi
push 0
push 0x143
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, 0x180
jmp 0x5b3c34
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov esi, 0x180
push edi
push 0
push esi
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x143
mov edi, dword [ebp - 8]
add ebx, dword [ebp - 0x18]
jne 0x5b3b70
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x5b3c56
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da623
leave
ret
Function at 0x5b3c82
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1002c
call fcn.004db570
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
and dword [ebp - 0x10014], 0
mov eax, 0x8000
push edi
mov dword [ebp - 0x10010], eax
mov edi, ecx
mov dword [ebp - 0x1000c], eax
mov esi, edx
lea eax, [ebp - 0x1002c]
mov dword [ebp - 0x10020], esi
push eax
lea eax, [ebp - 0x1000c]
push eax
lea eax, [ebp - 0x10008]
push eax
push 0
lea eax, [ebp - 0x10010]
push eax
lea eax, [ebp - 0x8008]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x5b3dd7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10018]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x8008]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b3dd7
lea eax, [ebp - 0x10024]
xor ecx, ecx
push eax
lea eax, [ebp - 0x1001c]
push eax
push ecx
push 0x20006
push ecx
lea eax, [ebp - 0x10008]
push eax
push ecx
lea eax, [ebp - 0x8008]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5b3e06
mov edx, dword [ebp - 0x1001c]
mov ecx, dword [ebp - 0x10018]
call fcn.005b3c82
push dword [ebp - 0x10018]
mov esi, eax
call ebx
push dword [ebp - 0x1001c]
call ebx
test esi, esi
je 0x5b3e09
mov esi, dword [ebp - 0x10014]
mov eax, 0x8000
mov dword [ebp - 0x10010], eax
inc esi
mov dword [ebp - 0x1000c], eax
lea eax, [ebp - 0x1002c]
push eax
lea eax, [ebp - 0x1000c]
mov dword [ebp - 0x10014], esi
push eax
lea eax, [ebp - 0x10008]
push eax
push 0
lea eax, [ebp - 0x10010]
push eax
lea eax, [ebp - 0x8008]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [ebp - 0x10020]
test eax, eax
je 0x5b3cfa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x1000c]
push eax
lea eax, [ebp - 0x4008]
xor esi, esi
push eax
lea eax, [ebp - 0x10014]
push eax
push esi
lea eax, [ebp - 0x10010]
push eax
lea eax, [ebp - 0x10008]
push eax
push esi
jmp 0x5b3e60
push edi
call ebx
xor eax, eax
jmp 0x5b3e7e
push dword [ebp - 0x1000c]
lea eax, [ebp - 0x4008]
push eax
push dword [ebp - 0x10014]
lea eax, [ebp - 0x10008]
push 0
push eax
push dword [ebp - 0x10020]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x5b3e7b
lea eax, [ebp - 0x1000c]
inc esi
push eax
lea eax, [ebp - 0x4008]
push eax
lea eax, [ebp - 0x10014]
push eax
push 0
lea eax, [ebp - 0x10010]
push eax
lea eax, [ebp - 0x10008]
push eax
push esi
push edi
mov dword [ebp - 0x10010], 0x8000
mov dword [ebp - 0x1000c], 0x4000
call ebx
test eax, eax
je 0x5b3e0d
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret
Function at 0x5b738e
Capabilities:
Get common file path

Disassembly:
push 0x220
mov eax, 0x60e822
call fcn.004db4be
mov edi, ecx
cmp dword [edi + 0x100], 0
je 0x5b75a5
xor ebx, ebx
xor esi, esi
and dword [ebp - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push dword [esi*4 + 0x63c120]
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x5b73f6
push 0
push dword [ebp - 0x228]
test esi, esi
mov ecx, edi
push dword [ebp - 0x228]
cmove ebx, dword [ebp - 0x228]
push dword [edi + 0x100]
call fcn.005b75ab
inc esi
cmp esi, 5
jb 0x5b73b0
test ebx, ebx
je 0x5b75a5
xor esi, esi
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], esi
lea edx, [ebp - 0x220]
mov eax, dword [edi + 0x100]
push edx
push 0x6159e0
push esi
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x5b7591
mov dword [ebp - 0x22c], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 0x220]
push edx
push 0x40
push dword [edi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x5b757c
mov dword [ebp - 0x21c], esi
jmp 0x5b7501
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x224]
push edx
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0x62000000
push edx
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x24]
test dword [ebp - 0x224], 0x2000000
jne 0x5b74f5
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004e0bc0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
add esp, 0xc
push esi
push 0x104
push eax
call fcn.005c3b9c
test eax, eax
je 0x5b74f5
push dword [ebp - 0x21c]
push ebx
call dword [sym.imp.SHELL32.dll_ILCombine]
test eax, eax
je 0x5b74f5
push esi
push eax
push dword [ebp - 0x21c]
mov ecx, edi
push dword [ebp - 0x220]
call fcn.005b75ab
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x21c]
push esi
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x5b7466
mov eax, dword [0x668294]
push 0x814b
push ecx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x224], eax
call fcn.0041129f
mov byte [ebp - 4], 2
xor ebx, ebx
mov esi, dword [ebp - 0x224]
mov ecx, edi
push esi
push ebx
push ebx
push dword [edi + 0x100]
call fcn.005b75ab
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x5b7567
call fcn.00407965
push ebx
push ebx
push 0x14e
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5b757e
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x5b7591
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x5b75a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call fcn.004db46d
ret
Function at 0x5b75ab
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e4
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
push 0x2b4
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2b8]
push 0
push eax
mov dword [ebp - 0x2bc], ecx
call fcn.004e0bc0
add esp, 0xc
test edi, edi
jne 0x5b761a
cmp ebx, esi
jne 0x5b76b8
push 0x208
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push edi
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea edi, [ebp - 0x2ac]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
mov dword [ebp - 0x2c8], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2bc]
push 0x146
movlpd qword [ebp - 0x2d8], xmm0
movlpd qword [ebp - 0x2d0], xmm0
push dword [eax + 0x80]
mov dword [ebp - 0x2e4], 0x21
call ebx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], edi
mov dword [ebp - 0x2c4], esi
test esi, esi
je 0x5b768b
or dword [ebp - 0x2e4], 6
lea eax, [ebp - 0x2d0]
push eax
mov ecx, esi
call fcn.005c3b1a
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2e4]
push eax
mov eax, dword [ebp - 0x2bc]
push 0
push 0x40b
push dword [eax + 0x80]
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret 0x10
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2ac]
push 0
push 0x104
push eax
mov edx, ebx
call fcn.005c3b9c
test eax, eax
jne 0x5b7614
or eax, 0xffffffff
jmp 0x5b76a7
Function at 0x5c3167
Capabilities:
Parse pe header

Disassembly:
push 0x1ac
mov eax, 0x60f860
call fcn.004db52a
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x1ac], esi
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x64]
and dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
push 0xa
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebp - 0x1b0], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a8], edx
push eax
push 0x40
lea eax, [ebp - 0x19c]
push eax
push ebx
push esi
call edx
test eax, eax
je 0x5c31d1
cmp dword [ebp - 0x1a4], 0x40
mov byte [ebp - 0x1a0], 1
je 0x5c31d8
mov byte [ebp - 0x1a0], 0
push dword [ebp - 0x1a0]
call fcn.00497bad
mov eax, 0x5a4d
cmp word [ebp - 0x19c], ax
sete byte [ebp - 0x1a0]
push dword [ebp - 0x1a0]
call fcn.00497bad
lea eax, [ebp - 0x1a4]
mov edi, 0xf8
push eax
push edi
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x160]
add eax, ebx
push eax
push esi
call dword [ebp - 0x1a8]
test eax, eax
je 0x5c3238
mov byte [ebp - 0x1a0], 1
cmp dword [ebp - 0x1a4], edi
je 0x5c323f
mov byte [ebp - 0x1a0], 0
push dword [ebp - 0x1a0]
call fcn.00497bad
cmp dword [ebp - 0x15c], 0x4550
jne 0x5c3277
mov eax, 0x14c
cmp word [ebp - 0x158], ax
jne 0x5c3277
add eax, 0xffffffbf
mov byte [ebp - 0x1a0], 1
cmp word [ebp - 0x144], ax
je 0x5c327e
mov byte [ebp - 0x1a0], 0
push dword [ebp - 0x1a0]
call fcn.00497bad
mov edi, dword [ebp - 0x160]
movzx eax, word [ebp - 0x156]
add edi, 0xf8
add edi, ebx
mov dword [ebp - 0x1b8], eax
xor esi, esi
cmp esi, eax
jae 0x5c3346
lea eax, [ebp - 0x1a4]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push edi
push dword [ebp - 0x1ac]
call dword [ebp - 0x1a8]
test eax, eax
je 0x5c32dc
cmp dword [ebp - 0x1a4], 0x28
mov byte [ebp - 0x1a0], 1
je 0x5c32e3
mov byte [ebp - 0x1a0], 0
push dword [ebp - 0x1a0]
call fcn.00497bad
push 0x28
lea eax, [ebp - 0x64]
add edi, 0x28
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ddf58
add esp, 0xc
test eax, eax
je 0x5c3346
mov ecx, dword [ebp - 0x18]
mov edx, 0x20000020
and ecx, edx
cmp ecx, edx
jne 0x5c3334
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
add edx, ebx
add ecx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x1b4]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x5c3348
mov eax, dword [ebp - 0x1b8]
inc esi
jmp 0x5c32a6
xor eax, eax
call fcn.004db47c
ret

Function at 0x5c3b1a
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x2b4], 0xffffffff
lea eax, [ebp - 0x2b8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x4009
push 0x2b4
push eax
mov edi, ecx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x2b4]
test ebx, ebx
je 0x5c3b89
or dword [ebp - 0x2b4], 0xffffffff
lea eax, [ebp - 0x2b8]
push 0x400b
push 0x2b4
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 0x2b4]
mov dword [ebx], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret 4
Function at 0x5c55b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [0x673ecc]
mov ebx, ecx
test edi, edi
je 0x5c5683
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5c5683
mov edi, dword [edi + 0xc]
lea ecx, [ebp - 4]
push esi
push dword [ebx]
call fcn.0040d2ee
lea ecx, [ebp - 4]
call fcn.005c5ee3
mov esi, dword [ebp - 4]
cmp dword [esi - 8], 0
je 0x5c564a
push 0x63a144
mov ecx, ebx
call fcn.0044c4fb
test eax, eax
je 0x5c5613
xor ecx, ecx
inc ecx
jmp 0x5c5629
push 0x63a148
mov ecx, ebx
call fcn.0044c4fb
xor ecx, ecx
test eax, eax
push 2
pop edx
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [esi - 8]
mov dword [ebp - 8], esi
lea eax, [eax*2 + 2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push edi
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf120
push 0x112
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [esi - 0xc]
pop esi
cmp ecx, 0x668010
je 0x5c567e
call fcn.00407965
xor eax, eax
inc eax
jmp 0x5c5685
xor eax, eax
pop edi
pop ebx
leave
ret