joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c97e0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x5ce437]
test bl, bl
jbe 0x4c9811
lea eax, [esi + 0x3e0]
call fcn.004c97bc
lea eax, [esi + 0x3fc]
call fcn.004c97bc
dec bl
jne 0x4c97f7
mov cl, 0x30
mov edi, 0x5ce408
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4c9832
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4c983f
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4c981b
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c984c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004c9600
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4c9868
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004c9600
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004c9600
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4c9884
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004c97e0
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4c98ae
mov bl, 1
mov eax, 0x5ce300
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4c98e7
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4c98f4
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4c98d3
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4c991e
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004c9668
jmp 0x4c9945
movzx eax, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004c9668
mov bl, 0x20
lea eax, [ebp - 0xa1]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4c994d
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4c9906
mov bl, 0x40
mov esi, 0x5ce340
lea eax, [ebp - 0x3e1]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x4c99b3
movzx edx, dl
movzx edx, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4c99c0
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4c999c
mov bl, 1
lea esi, [ebp - 0x3e1]
movzx ecx, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004c9628
inc ebx
inc esi
cmp bl, 0x41
jne 0x4c99ce
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ca820
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4ca8d1
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4ca8cc
mov eax, ebp
mov edx, 8
call fcn.00406164
push 1
mov eax, ebp
call fcn.00405f34
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004c984c
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cd574
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, 1
jmp 0x4cd595
inc edi
mov eax, esi
call fcn.00405d04
cmp edi, eax
jg 0x4cd5a7
cmp byte [esi + edi - 1], 0x20
je 0x4cd594
mov eax, esi
test eax, eax
je 0x4cd5b2
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4cd674
cmp byte [esi + edi - 1], 0x2e
je 0x4cd698
jmp 0x4cd674
cmp byte [esi + edi - 1], 0x2e
jne 0x4cd61c
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4cd698
cmp dword [esp + 8], 0xff
jg 0x4cd698
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4cd600
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4cd608
mov bl, 1
jmp 0x4cd616
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4cd698
jmp 0x4cd673
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4cd641
mov eax, dword [esp + 8]
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + edi - 1]
add eax, edx
sub eax, 0x30
mov dword [esp + 8], eax
jmp 0x4cd673
inc edi
mov eax, esi
call fcn.00405d04
cmp edi, eax
jg 0x4cd653
cmp byte [esi + edi - 1], 0x20
je 0x4cd640
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4cd66b
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4cd698
jmp 0x4cd683
inc edi
mov eax, esi
call fcn.00405d04
cmp edi, eax
jle 0x4cd5ca
cmp dword [esp + 4], 3
jne 0x4cd698
cmp dword [esp + 8], 0xff
jg 0x4cd698
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dd690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dd801
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd7dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00405c2c
lea eax, [ebp - 0x118]
mov edx, 0x4dd818
call fcn.00405d10
mov eax, dword [ebp - 0x118]
call fcn.00405ed4
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4dd74e
lea eax, [ebp - 0x111]
call fcn.0040be34
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405b34
jmp 0x4dd755
mov eax, esi
call fcn.00405a44
cmp bl, 0x61
jae 0x4dd776
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00410404
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405a98
jmp 0x4dd790
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.00410370
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405a98
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4dd824
call fcn.0040c58c
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd7e3
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4e662c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e665a
mov eax, ebx
call fcn.004e70e0
cmp dword [ebx + 0x40], 0
je 0x4e6653
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e66cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e66bd
cmp dword [ebx + 8], 0
je 0x4e667c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e668e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e66bd
cmp dword [ebx + 8], 0
je 0x4e666f
cmp eax, 3
je 0x4e66a1
dec eax
jne 0x4e666f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e666f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e666f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e66e9
cmp dword [ebx + 0x14], 0xcc
je 0x4e66e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e66f4
pop ebx
ret

Function at 0x4f7308
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4f7359
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4f7340
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4f7330
jmp 0x4f7359
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4f7341
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5029bc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5db42c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5029de
shr eax, 1
xor eax, 0xedb88320
jmp 0x5029e0
shr eax, 1
dec edx
jne 0x5029cc
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5029c5
mov dword [0x5d136c], 1
pop esi
pop ebx
ret

Function at 0x502a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [0x5d136c]
test al, al
jne 0x502a1e
call fcn.005029bc
mov eax, 4
lea edx, [ebp - 8]
movzx ebx, byte [edx]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5db42c]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc edx
dec eax
jne 0x502a26
mov edx, dword [ebp + 8]
dec edx
test edx, edx
jl 0x502a74
inc edx
xor eax, eax
movzx ebx, byte [esi + eax]
mov ecx, dword [ebp - 4]
xor ebx, ecx
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x5db42c]
shr ecx, 8
xor ebx, ecx
mov dword [ebp - 4], ebx
inc eax
dec edx
jne 0x502a52
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x512a24
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov esi, edx
mov ebx, eax
mov ecx, 0x1a
lea eax, [ebp - 0x1a0]
mov edx, dword [0x401128]
call fcn.00406770
xor eax, eax
push ebp
push 0x512b8d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1a0]
mov eax, esi
call fcn.0053e238
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x40]
call fcn.004198e0
cmp ax, 0x100
jne 0x512aa9
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x40]
call fcn.00417910
mov edx, dword [ebp - 0x214]
mov eax, 0x512ba4
call fcn.00406020
test eax, eax
jg 0x512aad
xor eax, eax
jmp 0x512aaf
mov al, 1
mov byte [ebx + 0x48], al
push edi
mov eax, dword [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1a0]
mov ecx, 0xc8
mov edx, 0x64
call fcn.0053c148
mov eax, dword [ebp - 0x1fc]
cmp eax, 0xff439eb2
je 0x512ae6
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x204]
cmp eax, 0xff439eb2
je 0x512af6
mov dword [ebx + 0x3c], eax
mov eax, esi
call fcn.0053b008
test al, al
je 0x512b13
mov eax, dword [ebp - 0x1dc]
add dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x1e4]
add dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x1b8]
test eax, eax
jle 0x512b36
cmp byte [ebx + 0x48], 0
je 0x512b33
cmp eax, 0x64
jg 0x512b2d
mov dword [ebx + 0x44], eax
jmp 0x512b36
mov byte [ebx + 0x48], 0
jmp 0x512b36
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x1b4]
test eax, eax
jle 0x512b43
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x1a1]
mov eax, esi
call fcn.0053a4c0
test al, al
je 0x512b5e
movzx eax, byte [ebp - 0x1a1]
mov byte [ebx + 0x34], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512b94
lea eax, [ebp - 0x214]
call fcn.00405a44
lea eax, [ebp - 0x1a0]
mov ecx, 0x1a
mov edx, dword [0x401128]
call fcn.0040685c
ret
Function at 0x546a9c
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 0x546b04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00403d20
test ebx, ebx
jne 0x546ad9
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 0x546b10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x546d94
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x546ef8
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x546eee
xor eax, eax
push ebp
push 0x546ee7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x546f04
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x546f04
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 [0x5d3e7c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546eee
cmp dword [ebp - 4], 0
je 0x546ee6
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 0x546f08
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.00546778
test al, al
je 0x546f34
cmp dword [0x5dba48], 0x40047
jl 0x546f34
cmp byte [0x5d3e7c], 0
jne 0x546f34
call fcn.00546d94
movzx eax, bl
mov eax, dword [eax*4 + 0x5d3e80]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x546f64
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret

Function at 0x546f4e
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.00546778
test al, al
je 0x546f34
cmp dword [0x5dba48], 0x40047
jl 0x546f34
cmp byte [0x5d3e7c], 0
jne 0x546f34
call fcn.00546d94
movzx eax, bl
mov eax, dword [eax*4 + 0x5d3e80]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x546f64
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret

Function at 0x550030
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 0x5500ca
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x55007c
lea edx, [ebp - 0x164]
mov eax, dword [0x5d4e88]
call fcn.00408164
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.0054b3c8
jmp 0x5500b1
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x5500aa
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00405cb4
jmp 0x5500b1
mov eax, ebx
call fcn.00405a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5500d1
lea eax, [ebp - 0x164]
call fcn.00405a44
ret
Function at 0x550ac4
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 0x550af7
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x550af0
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.00405ec4
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x40110c]
call fcn.0040699c
xor eax, eax
push ebp
push 0x550c88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x550c50
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 8]
push 0x550cb0
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.00405dd8
mov eax, dword [ebp - 0x158]
call fcn.00405ed4
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x550c44
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x550c29
test al, 2
jne 0x550c29
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 8]
push 0x550cb0
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00405cb4
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00405dd8
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.00546900
test eax, 0x80000000
setne al
test al, al
je 0x550be7
or edi, 0xffffffff
jmp 0x550bf6
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00546a9c
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00546864
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.00405cb4
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 0x550b79
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x550b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550c8f
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00405a68
lea eax, [ebp - 8]
call fcn.00405a44
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x40110c]
call fcn.0040685c
ret

Function at 0x551e0c
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 0x551e8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x700f0037
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00551f14
mov eax, dword [ebp - 4]
call fcn.0054fb9c
test al, al
je 0x551e5f
mov eax, dword [ebp - 4]
call fcn.00405ed4
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x551e5f
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 0x551e95
lea eax, [ebp - 4]
call fcn.00405a44
ret
Function at 0x551eb4
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 0x551eff
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.00551de8
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x551eff
lea eax, [esp + 0xc]
call fcn.0040be34
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.00405b34
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.00405a98
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x555b34
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00405ed4
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x555b76
dec eax
je 0x555b57
sub eax, 2
je 0x555b76
jmp 0x555b87
movzx eax, byte [ebx]
call fcn.00548098
test al, al
je 0x555b87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9c
call fcn.00404ce0
jmp 0x555b87
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xff9c
call fcn.00404ce0
pop esi
pop ebx
pop ebp
ret

Function at 0x555b8c
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 0x555c3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x410], 0
jne 0x555bda
push 0x465
mov eax, dword [ebp - 4]
call fcn.0046fc84
mov ecx, eax
mov dl, 1
mov eax, dword [0x5520ac]
call fcn.00552118
mov edx, dword [ebp - 4]
mov dword [edx + 0x410], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x410]
call fcn.005525e0
lea eax, [ebp - 8]
mov edx, 0x555c50
call fcn.00405adc
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x555c25
test bl, 1
je 0x555c1e
lea eax, [ebp - 8]
call fcn.00405f34
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.00555b34
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x555c02
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x555c42
lea eax, [ebp - 8]
call fcn.00405a44
ret