joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4622a4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c1208]
cmp byte [eax + 0xc], 0
je 0x462411
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46240a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c6c8c], 0
jne 0x4622f8
push 0x462418
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x462420
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c8c], eax
cmp dword [0x4bf78c], 0
jne 0x4623f3
push 0x462430
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bf78c], eax
cmp dword [0x4bf78c], 0
je 0x4623f3
push 0x46243c
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c90], eax
push 0x46244c
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c94], eax
push 0x462460
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c98], eax
push 0x462478
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6c9c], eax
push 0x462490
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6ca0], eax
push 0x4624a4
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6ca4], eax
push 0x4624bc
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6ca8], eax
push 0x4624d4
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cac], eax
push 0x4624f0
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cb0], eax
push 0x4624fc
mov eax, dword [0x4bf78c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c6cb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462411
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x46a924
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004050f4
xor eax, eax
push ebp
push 0x46aa59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x46aa2c
xor edx, edx
push ebp
push 0x46aa25
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x46a971
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46a9fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x46a9e9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x46a9b0
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405104
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00403130
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a9f0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4c0ce0]
mov dl, 1
mov eax, dword [0x4080d4]
call fcn.0040cf54
call fcn.00404608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aa60
lea eax, [ebp - 4]
call fcn.00404c74
ret
Function at 0x46aa68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46ac23
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004053f8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x46ac3c
call fcn.00404f8c
mov eax, ebx
call fcn.0042405c
mov edi, eax
dec edi
test edi, edi
jl 0x46ab20
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424030
mov edx, dword [0x467798]
call fcn.00403ee0
test al, al
je 0x46ab1c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00424030
lea edx, [ebp - 0x14]
call fcn.00454e00
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004053f8
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405008
inc esi
dec edi
jne 0x46aace
movzx eax, byte [0x46ac40]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x46ac4c
mov eax, dword [ebp - 8]
call fcn.0040e274
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00404d0c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00454e00
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x46ac3c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00454e00
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x46ac3c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x46ac3c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x46ac58
call fcn.0040a3c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ac2a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404c98
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404c98
lea eax, [ebp - 0x14]
call fcn.00404c74
lea eax, [ebp - 0x10]
call fcn.00404c74
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404c98
ret
Function at 0x46c7b8
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004050f4
xor eax, eax
push ebp
push 0x46c836
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405104
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x46c801
mov eax, dword [ebx + 4]
call fcn.00405104
push eax
push 0
call sub.advapi32.dll_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
movzx eax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.advapi32.dll_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c83d
lea eax, [ebp - 4]
call fcn.00404c74
ret

Function at 0x46d8d8
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46da7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
xor eax, eax
call fcn.0040338c
cmp word [ebx + 0xa2], 0
je 0x46d921
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x46d935
lea esi, [ebp - 0xc]
jmp 0x46d937
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x46d944
xor edi, edi
jmp 0x46d951
mov eax, dword [ebx + 0x80]
call fcn.00405104
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.00405104
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0046cf88
mov eax, dword [ebp - 0x14]
call fcn.00405104
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.00405104
push eax
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
mov eax, ebx
call fcn.0046d0c8
push eax
mov eax, ebx
call fcn.0046d09c
push eax
mov eax, ebx
call fcn.0046d054
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0046ce54
mov eax, dword [ebp - 0x18]
call fcn.00405104
push eax
mov eax, dword [ebx + 8]
call fcn.00405104
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0x10], 0
jne 0x46d9da
call fcn.0040e73c
xor edx, edx
push ebp
push 0x46da53
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x46da18
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x46da0e
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46da3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46da5a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret
Function at 0x46da8c
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x46dab8
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00405104
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46dadd
call fcn.0040e73c
xor eax, eax
push ebp
push 0x46db14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_DeleteService
test eax, eax
jne 0x46dafd
call fcn.0040e73c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46db1b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
ret

Function at 0x482f84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48303b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405104
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x482fc6
call fcn.004046b4
jmp 0x483042
mov eax, ebx
call fcn.00402ec8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00405104
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x482fef
call fcn.004046b4
jmp 0x483042
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x483050
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x483010
call fcn.004046b4
jmp 0x483042
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483042
mov eax, dword [ebp - 8]
call fcn.00402ee4
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48329c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483304
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00403674
test ebx, ebx
jne 0x4832d9
mov word [ebp - 2], 0
lea ebx, [ebp - 2]
or esi, 0x4008
push esi
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push ebx
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x160]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483310
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483594
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x4836f8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4836ee
xor eax, eax
push ebp
push 0x4836e7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x483704
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x483704
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
push ebx
push 0xffffffffffffffff
push esi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
push ebx
push 0xffffffffffffffff
push edi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
push ebx
push 0xffffffffffffffff
push esi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
push ebx
push 0xffffffffffffffff
push edi
call sub.comctl32.dll_ImageList_ReplaceIcon
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x4bfc1c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4836ee
cmp dword [ebp - 4], 0
je 0x4836e6
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4896cc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4896d4
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x489837
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x489735
lea edx, [ebp - 8]
mov eax, dword [0x4c0d10]
call fcn.00406dac
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00486d98
cmp ebx, 1
jbe 0x48976c
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x489850
call fcn.0040a3c8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00404f40
jmp 0x48976c
lea eax, [ebp - 4]
mov edx, 0x489860
call fcn.00404d0c
cmp ebx, 1
jbe 0x48976c
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x489870
call fcn.0040a3c8
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00404f40
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
call fcn.00404f8c
mov eax, dword [ebp - 0x1c]
call fcn.00405104
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4897ff
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
jne 0x4897a4
mov bl, 1
jmp 0x48980f
push 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040c660
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4c10a4]
call fcn.00406dac
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00486d98
mov eax, dword [ebp - 0x28]
mov ecx, 1
pop edx
call fcn.004844e4
mov eax, dword [ebp - 0x20]
movzx ecx, word [0x489874]
xor edx, edx
call fcn.0046b2e4
mov bl, 2
jmp 0x48980f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00404cc8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48983e
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404c98
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c98
ret

Function at 0x489edc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov esi, eax
xor eax, eax
push ebp
push 0x489f76
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x489f28
lea edx, [ebp - 0x164]
mov eax, dword [0x4c10a0]
call fcn.00406dac
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.00486d98
jmp 0x489f5d
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x489f56
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00404ee4
jmp 0x489f5d
mov eax, ebx
call fcn.00404c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489f7d
lea eax, [ebp - 0x164]
call fcn.00404c74
ret
Function at 0x48a970
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x158], ebx
mov ebx, ecx
test ebx, ebx
js 0x48a9a3
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x48a99c
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.004050f4
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x4010cc]
call fcn.004059a0
xor eax, eax
push ebp
push 0x48ab34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x48aafc
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
push 0x48ab5c
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00405008
mov eax, dword [ebp - 0x158]
call fcn.00405104
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x48aaf0
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x48aad5
test al, 2
jne 0x48aad5
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0x48ab5c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ee4
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00405008
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.00483100
test eax, 0x80000000
setne al
test al, al
je 0x48aa93
or edi, 0xffffffff
jmp 0x48aaa2
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.0048329c
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00483064
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00404ee4
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax]
mov ecx, edi
mov edi, dword [eax]
call dword [edi + 0x3c]
lea eax, [ebp - 0x154]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x48aa25
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x48a9e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ab3b
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404c98
lea eax, [ebp - 8]
call fcn.00404c74
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x4010cc]
call fcn.00405860
ret

Function at 0x48bd1c
Capabilities:
Get disk information

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 0x48bd9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x700f0037
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0048be24
mov eax, dword [ebp - 4]
call fcn.00489a48
test al, al
je 0x48bd6f
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x48bd6f
and dword [ebp - 8], 0xfffbffff
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x410]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bda5
lea eax, [ebp - 4]
call fcn.00404c74
ret
Function at 0x48bdc4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov esi, edx
mov ebx, eax
cmp dword [ebx + 0x14], 0
jne 0x48be0f
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.0048bcf8
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x48be0f
lea eax, [esp + 0xc]
call fcn.00409c6c
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.00404d64
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.00404cc8
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x48f94c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004050f4
xor eax, eax
push ebp
push 0x48f9ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffd
sub eax, 2
jb 0x48f983
dec eax
jne 0x48f995
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
mov si, 0xff9c
call fcn.00403f50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f9b2
lea eax, [ebp - 4]
call fcn.00404c74
ret

Function at 0x48f9b8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48fa67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x410], 0
jne 0x48fa06
push 0x465
mov eax, dword [ebp - 4]
call fcn.0045ceb0
mov ecx, eax
mov dl, 1
mov eax, dword [0x48bfbc]
call fcn.0048c028
mov edx, dword [ebp - 4]
mov dword [edx + 0x410], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410]
call fcn.0048c4f0
lea eax, [ebp - 8]
mov edx, 0x48fa7c
call fcn.00404d0c
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x48fa51
test bl, 1
je 0x48fa4a
lea eax, [ebp - 8]
call fcn.00405164
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.0048f94c
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x48fa2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa6e
lea eax, [ebp - 8]
call fcn.00404c74
ret
Function at 0x490608
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004050f4
xor eax, eax
push ebp
push 0x490726
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4906f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
or eax, 1
push eax
call sub.kernel32.dll_SetErrorMode
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405104
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4906d6
test byte [ebp - 0x14c], 0x10
jne 0x4906b9
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00404ee4
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.0040904c
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x49067c
push ebx
call sub.kernel32.dll_FindClose_1
mov byte [ebp - 5], 1
jmp 0x4906e2
call sub.kernel32.dll_GetLastError
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490700
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x495550
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, eax
movzx eax, byte [ebx + 4]
sub al, 1
jb 0x49555f
je 0x495564
jmp 0x495588
mov eax, dword [ebx + 8]
pop ebx
ret
cmp dword [ebx + 8], 0
jne 0x495583
lea eax, [ebx + 8]
push eax
movzx eax, byte [ebx + 0xc]
push eax
mov eax, dword [0x4c1004]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [ebx + 8]
pop ebx
ret
xor eax, eax
pop ebx
ret