joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7fb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a7fcb
add esp, 0xfffffff0
call fcn.004053a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00446794
mov eax, dword [0x4b5e30]
cmp byte [eax], 0
jne 0x4a7ff8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b6060]
cmp word [eax + 2], 0
jne 0x4a8012
mov eax, dword [0x4b6060]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004aa07c
mov eax, dword [0x4b6130]
cmp word [eax + 2], 0
jne 0x4a802c
mov eax, dword [0x4b6130]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004aa280
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44d83c]
call fcn.00452ad0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4aa7f8
mov dl, 1
mov eax, dword [0x42f078]
call fcn.00404e5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42f078]
call fcn.00404e5c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x451134]
call fcn.00459918
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a820c
mov eax, dword [0x4b5f64]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00459dac
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4aaae0
mov dl, 1
mov eax, dword [0x42f078]
call fcn.00404e5c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b5f64]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041bf04
test eax, eax
je 0x4a813d
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041bcb8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041bee8
test eax, eax
je 0x4a8155
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004072b0
push ebx
push 0x4a9a68
call fcn.0049ddc4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4b5e30]
cmp byte [eax], 0
jne 0x4a81a6
mov eax, ebx
call fcn.004a8380
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004aad0c
mov eax, ebx
call fcn.004ab93c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a8203
call fcn.004053fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a864c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a86ee
cmp dword [ebx + 0x94], 0
jne 0x4a86e8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a8598
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a86e8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a86ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a86e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043a3e4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a86bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a890c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4bc24c]
cmp dword [eax + 0x170], 0
je 0x4a8a71
test bl, bl
jne 0x4a89bf
cmp dword [esi + 0x9c], 0
jne 0x4a89b4
mov eax, esi
call fcn.004ab78c
push eax
push 0x4a8818
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a8985
mov eax, dword [0x4bc24c]
cmp byte [eax + 0xd3], 0
je 0x4a8985
mov eax, dword [esi + 0xd8]
call fcn.00408190
mov edi, eax
cmp edi, 0
jl 0x4a8985
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a896e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a89b4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a3e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a8994
inc dword [esi + 0x9c]
jmp 0x4a8a71
cmp dword [esi + 0x9c], 0
jle 0x4a8a71
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a8a71
cmp dword [esi + 0x44], 0
je 0x4a8a1c
mov eax, dword [0x4bc24c]
cmp byte [eax + 0xd3], 0
je 0x4a8a1c
mov eax, dword [esi + 0xd8]
call fcn.00408190
mov edi, eax
cmp edi, 0
jl 0x4a8a1c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a8a05
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a8a4b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a3e4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a8a2b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49bc9c]
call fcn.00408350
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a96b4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a971f
cmp byte [ebx + 0xd3], 0
jne 0x4a971f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a48
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a970c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a972c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ca0
jmp 0x4a972c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ca0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4aaef4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4aaf62
mov eax, esi
call fcn.0047552c
test al, al
je 0x4aaf62
mov eax, dword [ebx + 0x84]
call fcn.004751ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4aaf62
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4aaf56
push 0
mov eax, dword [ebx + 0x84]
call fcn.004751ac
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046c1e0
jmp 0x4aaf62
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004aad2c
pop esi
pop ebx
ret

Function at 0x4ac23c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ac31e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ac301
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00409908
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x4ac2e0
lea eax, [ebp - 8]
push eax
push 0x1a
mov eax, dword [0x4bc274]
call fcn.004751ac
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x104
call fcn.00407388
mov eax, dword [ebx]
call fcn.00407224
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
test eax, eax
jne 0x4ac2ca
mov ecx, 0x4ac338
mov dl, 1
mov eax, dword [0x4162c8]
call fcn.0041fba8
call fcn.00405fe4
mov eax, dword [ebx]
call fcn.00407224
push eax
call sub.kernel32.dll_lstrlenW_1
mov edx, eax
mov eax, ebx
call fcn.00407388
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac308
cmp dword [ebp - 8], 0
je 0x4ac300
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
Function at 0x4ac38c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069c4
mov eax, dword [ebp - 8]
call fcn.004069c4
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4ac456
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor ecx, ecx
mov edx, 0x3c
call fcn.00404870
mov dword [esi], 0x3c
mov dword [esi + 4], 0x140
call sub.user32.dll_GetActiveWindow
mov dword [esi + 8], eax
mov eax, 0x4ac468
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00407224
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
call fcn.00407224
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 1
push esi
call sub.shell32.dll_ShellExecuteExW
test eax, eax
je 0x4ac412
mov ebx, dword [esi + 0x38]
jmp 0x4ac423
or ebx, 0xffffffff
jmp 0x4ac43b
mov eax, dword [0x4b610c]
mov eax, dword [eax]
call fcn.004a9c40
push 0x32
mov eax, dword [esi + 0x38]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4ac417
push ebx
call sub.kernel32.dll_CloseHandle_1
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac45d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret

Function at 0x4ac644
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069c4
mov eax, dword [ebp - 8]
call fcn.004069c4
xor eax, eax
push ebp
push 0x4ac774
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.0041b70c
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0041b810
mov eax, dword [0x4b5e00]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4ac620]
call fcn.00408350
add esp, 4
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4b5e00]
mov eax, ebx
call fcn.0041b7b8
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x14]
mov ecx, 0x4ac78c
mov edx, dword [ebp - 8]
call fcn.00407460
mov eax, dword [ebp - 0x14]
call fcn.00407224
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
mov eax, ebx
cdq
cmp edx, 0
jne 0x4ac6fd
cmp eax, 0xffffffff
je 0x4ac743
mov eax, dword [0x4b5e00]
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4ac620]
call fcn.00408350
add esp, 4
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4b5e00]
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac77b
lea eax, [ebp - 0x14]
call fcn.004068e0
lea eax, [ebp - 0xc]
mov edx, dword [0x4ac620]
call fcn.0040835c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret
Function at 0x4ac7cc
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069c4
mov eax, dword [ebp - 8]
call fcn.004069c4
xor eax, eax
push ebp
push 0x4ac959
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [0x4bc278]
sub esi, dword [0x4b5e00]
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.0041b70c
mov ebx, eax
xor ecx, ecx
mov edx, dword [0x4b5e00]
mov eax, ebx
call fcn.0041b810
push esi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4ac7a8]
call fcn.00408350
add esp, 4
mov edx, dword [ebp - 0xc]
mov ecx, esi
mov eax, ebx
call fcn.0041b7b8
push ebx
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 2
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.00407224
mov edi, eax
push edi
call sub.kernel32.dll_CreateFileW
mov ebx, eax
mov eax, ebx
cdq
cmp edx, 0
jne 0x4ac87d
cmp eax, 0xffffffff
je 0x4ac930
push esi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4ac7a8]
call fcn.00408350
add esp, 4
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
push 2
push edi
call sub.kernel32.dll_SetFileAttributesW
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004ac38c
test eax, eax
je 0x4ac930
mov eax, dword [ebp - 8]
call fcn.00407224
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4ac924
call sub.kernel32.dll_GetLastError_1
mov esi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4ac91e
test ah, 4
je 0x4ac91e
test al, 0x10
je 0x4ac91e
mov eax, dword [ebp - 8]
call fcn.00407224
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4ac924
push esi
call sub.kernel32.dll_SetLastError
mov eax, dword [0x4b610c]
mov eax, dword [eax]
call fcn.004a9fe4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac960
lea eax, [ebp - 0xc]
mov edx, dword [0x4ac7a8]
call fcn.0040835c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret
Function at 0x4ac9b0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004069c4
mov eax, dword [ebp - 8]
call fcn.004069c4
xor eax, eax
push ebp
push 0x4acb86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004ac5bc
mov esi, eax
mov edx, 0x40
mov eax, dword [ebp - 4]
call fcn.0041b70c
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0041b810
mov eax, dword [0x4b5e00]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4ac98c]
call fcn.00408350
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [0x4b5e00]
mov eax, ebx
call fcn.0041b7b8
push ebx
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.0041b70c
mov edi, eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0041b810
push esi
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4ac968]
call fcn.00408350
add esp, 4
mov edx, dword [ebp - 0xc]
mov ecx, esi
mov eax, ebx
call fcn.0041b7b8
push edi
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x18]
mov ecx, 0x4acba0
mov edx, dword [ebp - 8]
call fcn.00407460
mov eax, dword [ebp - 0x18]
call fcn.00407224
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
mov eax, ebx
cdq
cmp edx, 0
jne 0x4acabb
cmp eax, 0xffffffff
je 0x4acaf0
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4b5e00]
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 8]
call fcn.00407224
mov edi, eax
push edi
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4acb47
call sub.kernel32.dll_GetLastError_1
mov esi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4acb41
test ah, 4
je 0x4acb41
test al, 0x10
je 0x4acb41
mov eax, dword [ebp - 8]
call fcn.00407224
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4acb47
push esi
call sub.kernel32.dll_SetLastError
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acb8d
lea eax, [ebp - 0x18]
call fcn.004068e0
lea eax, [ebp - 0x10]
mov edx, dword [0x4ac98c]
call fcn.0040835c
lea eax, [ebp - 0xc]
mov edx, dword [0x4ac968]
call fcn.0040835c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406940
ret
Function at 0x406130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x613ec0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1774
call fcn.005e6510
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e4]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xcf0]
mov dword [ebp - 0x14], esi
test eax, eax
mov dword [ebp - 4], 0
push 0x7cf
je 0x4061b8
mov ecx, dword [esi + 0xcec]
lea eax, [ebp - 0x1784]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4061cc
lea edx, [ebp - 0x7e4]
push 0x7d0
lea eax, [ebp - 0x1784]
push edx
push eax
call fcn.00405660
add esp, 0xc
jmp 0x4061cc
mov edx, dword [esi + 0xcec]
lea ecx, [ebp - 0x7e4]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e4]
push 0x7d0
push eax
mov ecx, esi
call fcn.00405de0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406e50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x614425
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x508]
mov dword [esp + 0x10], 0x28
call fcn.00423790
lea ecx, [esi + 0x4f8]
mov byte [esp + 0x10], 0x27
call fcn.00423790
lea ecx, [esi + 0x4e8]
mov byte [esp + 0x10], 0x26
call fcn.00423790
lea ecx, [esi + 0x4d8]
mov byte [esp + 0x10], 0x25
call fcn.00423790
mov eax, 0x631e74
lea ecx, [esi + 0x494]
mov dword [esi + 0x4c8], eax
mov dword [esi + 0x4b8], eax
mov dword [esi + 0x4a8], eax
mov dword [esi + 0x498], eax
mov byte [esp + 0x10], 0x20
call fcn.00602ad6
lea ecx, [esi + 0x490]
mov byte [esp + 0x10], 0x1f
call fcn.00602ad6
lea ecx, [esi + 0x48c]
mov byte [esp + 0x10], 0x1e
call fcn.00602ad6
lea ecx, [esi + 0x488]
mov byte [esp + 0x10], 0x1d
call fcn.00602ad6
lea ecx, [esi + 0x484]
mov byte [esp + 0x10], 0x1c
call fcn.00602ad6
lea ecx, [esi + 0x480]
mov byte [esp + 0x10], 0x1b
call fcn.00602ad6
mov byte [esp + 0x10], 0x1a
lea ecx, [esi + 0x47c]
call fcn.00602ad6
lea ecx, [esi + 0x478]
mov byte [esp + 0x10], 0x19
call fcn.00602ad6
lea ecx, [esi + 0x474]
mov byte [esp + 0x10], 0x18
call fcn.00602ad6
lea ecx, [esi + 0x470]
mov byte [esp + 0x10], 0x17
call fcn.00602ad6
lea ecx, [esi + 0x46c]
mov byte [esp + 0x10], 0x16
call fcn.00602ad6
lea ecx, [esi + 0x468]
mov byte [esp + 0x10], 0x15
call fcn.00602ad6
lea ecx, [esi + 0x464]
mov byte [esp + 0x10], 0x14
call fcn.00602ad6
lea ecx, [esi + 0x460]
mov byte [esp + 0x10], 0x13
call fcn.00602ad6
lea ecx, [esi + 0x45c]
mov byte [esp + 0x10], 0x12
call fcn.00602ad6
lea ecx, [esi + 0x458]
mov byte [esp + 0x10], 0x11
call fcn.00602ad6
lea ecx, [esi + 0x41c]
mov byte [esp + 0x10], 0x10
call fcn.0060a76d
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x10], 0xf
call fcn.0060a76d
lea ecx, [esi + 0x3a4]
mov byte [esp + 0x10], 0xe
call fcn.0060a76d
lea ecx, [esi + 0x368]
mov byte [esp + 0x10], 0xd
call fcn.0060a76d
lea ecx, [esi + 0x32c]
mov byte [esp + 0x10], 0xc
call fcn.0060a76d
lea ecx, [esi + 0x2f0]
mov byte [esp + 0x10], 0xb
call fcn.0060a76d
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x10], 0xa
call fcn.0060a76d
lea ecx, [esi + 0x278]
mov byte [esp + 0x10], 9
call fcn.0060a76d
lea ecx, [esi + 0x23c]
mov byte [esp + 0x10], 8
call fcn.0060a76d
lea ecx, [esi + 0x200]
mov byte [esp + 0x10], 7
call fcn.0060a76d
lea ecx, [esi + 0x1c4]
mov byte [esp + 0x10], 6
call fcn.0060a76d
lea ecx, [esi + 0x188]
mov byte [esp + 0x10], 5
call fcn.0060a76d
lea ecx, [esi + 0x14c]
mov byte [esp + 0x10], 4
call fcn.0060a76d
lea ecx, [esi + 0x110]
mov byte [esp + 0x10], 3
call fcn.0060a76d
lea ecx, [esi + 0xd4]
mov byte [esp + 0x10], 2
call fcn.0060a76d
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 1
call fcn.0060a76d
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 0
call fcn.0060a61d
mov dword [esp + 0x10], 0xffffffff
mov ecx, esi
call fcn.005fe717
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409c30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6147a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1770
call fcn.005e6510
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x1f4
xor eax, eax
lea edi, [ebp - 0x7e0]
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x44c]
mov dword [ebp - 4], 0
test eax, eax
push 0x7cf
je 0x409cb5
mov ecx, dword [esi + 0x448]
lea eax, [ebp - 0x1780]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x409cc9
lea edx, [ebp - 0x7e0]
push 0x7d0
lea eax, [ebp - 0x1780]
push edx
push eax
call fcn.00405660
add esp, 0xc
jmp 0x409cc9
mov edx, dword [esi + 0x448]
lea ecx, [ebp - 0x7e0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7e0]
lea ecx, [esi + 0x3e0]
push eax
push 0x6a00a0
push ecx
call fcn.005fb90b
add esp, 0xc
mov ecx, esi
call fcn.0040a320
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aa40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x614908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x78]
push ebx
push ebx
push 0x1009
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x98]
cmp ebx, dword [eax + 0x1c]
jge 0x40abd7
mov ecx, dword [0x6cc708]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x18]
lea ebx, [ebx + ebx*8]
shl ebx, 2
mov byte [ebp - 4], 1
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
lea eax, [ebp - 0x18]
push 0x6a04e4
push eax
call fcn.005fb90b
mov edx, dword [ebp - 0x18]
add esp, 0x10
lea ecx, [esi + 0x5c]
push 0
push 0
push 0
push 0
push edx
push edi
push 1
call fcn.005fcc77
inc edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edi
mov ecx, 0xad
xor eax, eax
lea edi, [ebp - 0x324]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x98]
push 0x4411
lea edx, [ebp - 0x324]
push 0x160
mov ecx, dword [eax + 0x18]
push edx
push 0x80
mov eax, dword [ecx + ebx]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [esi + 0x78]
mov eax, dword [ebp - 0x320]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0x1006
push edx
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x98]
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + ebx + 8]
test eax, eax
mov eax, 0x6d1d3c
jne 0x40ab63
mov eax, 0x6d1d38
mov eax, dword [eax]
lea ecx, [esi + 0x5c]
push eax
push 1
push edi
call fcn.005fcd72
mov edx, dword [esi + 0x98]
mov dword [ebp - 0x68], 2
lea ecx, [ebp - 0x70]
mov eax, dword [edx + 0x18]
mov edx, dword [esi + 0x78]
push ecx
push edi
mov ebx, dword [eax + ebx]
push 0x1074
push edx
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 0x5c]
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.005fccf9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00602ad6
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov ebx, eax
jmp 0x40aa81
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret