joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4814
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call fcn.004c4620
test al, al
je 0x4c484e
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov al, 1
call fcn.004c462c
jmp 0x4c4843
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x7d0
jae 0x4c484e
push 0
call sub.kernel32.dll_Sleep_2
xor eax, eax
call fcn.004c462c
test al, al
jne 0x4c482e
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x5ce384
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4c96db
mov esi, 1
mov edx, 0x5ce48c
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0xe]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4c9754
dec ebx
je 0x4c9776
dec ebx
je 0x4c9798
dec ebx
je 0x4c97b9
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4c97d3
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4c9744
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4c96f7
mov esi, 0x20
mov eax, 0x5ce3b4
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4c97f8
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c9834
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 + 0x5ce43b]
test bl, bl
jbe 0x4c9865
lea eax, [esi + 0x3e0]
call fcn.004c9810
lea eax, [esi + 0x3fc]
call fcn.004c9810
dec bl
jne 0x4c984b
mov cl, 0x30
mov edi, 0x5ce40c
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x4c9886
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4c9893
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4c986f
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4c98a0
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.004c9654
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4c98bc
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x41]
movzx edx, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004c9654
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004c9654
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4c98d8
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004c9834
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4c9902
mov bl, 1
mov eax, 0x5ce304
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4c993b
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4c9948
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4c9927
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
Function at 0x4ca874
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 0x4ca925
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4ca920
mov eax, ebp
mov edx, 8
call fcn.004061b8
push 1
mov eax, ebp
call fcn.00405f88
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004c98a0
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cd5c8
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 0x4cd5e9
inc edi
mov eax, esi
call fcn.00405d58
cmp edi, eax
jg 0x4cd5fb
cmp byte [esi + edi - 1], 0x20
je 0x4cd5e8
mov eax, esi
test eax, eax
je 0x4cd606
sub eax, 4
mov eax, dword [eax]
cmp eax, edi
jl 0x4cd6c8
cmp byte [esi + edi - 1], 0x2e
je 0x4cd6ec
jmp 0x4cd6c8
cmp byte [esi + edi - 1], 0x2e
jne 0x4cd670
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x4cd6ec
cmp dword [esp + 8], 0xff
jg 0x4cd6ec
xor eax, eax
mov dword [esp + 8], eax
mov ebp, esi
test ebp, ebp
je 0x4cd654
sub ebp, 4
mov ebp, dword [ebp]
cmp ebp, edi
jg 0x4cd65c
mov bl, 1
jmp 0x4cd66a
movzx eax, byte [esi + edi]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x4cd6ec
jmp 0x4cd6c7
movzx eax, byte [esi + edi - 1]
add al, 0xd0
sub al, 0xa
jae 0x4cd695
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 0x4cd6c7
inc edi
mov eax, esi
call fcn.00405d58
cmp edi, eax
jg 0x4cd6a7
cmp byte [esi + edi - 1], 0x20
je 0x4cd694
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x4cd6bf
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp edi, dword [esp + 0xc]
jle 0x4cd6ec
jmp 0x4cd6d7
inc edi
mov eax, esi
call fcn.00405d58
cmp edi, eax
jle 0x4cd61e
cmp dword [esp + 4], 3
jne 0x4cd6ec
cmp dword [esp + 8], 0xff
jg 0x4cd6ec
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dd6e4
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 0x4dd855
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 0x4dd830
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.00405c80
lea eax, [ebp - 0x118]
mov edx, 0x4dd86c
call fcn.00405d64
mov eax, dword [ebp - 0x118]
call fcn.00405f28
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4dd7a2
lea eax, [ebp - 0x111]
call fcn.0040be88
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00405b88
jmp 0x4dd7a9
mov eax, esi
call fcn.00405a98
cmp bl, 0x61
jae 0x4dd7ca
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.00410458
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00405aec
jmp 0x4dd7e4
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.004103c4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00405aec
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, 0x4dd878
call fcn.0040c5e0
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00405aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd837
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4e66ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e66da
mov eax, ebx
call fcn.004e7160
cmp dword [ebx + 0x40], 0
je 0x4e66d3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e674b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e673d
cmp dword [ebx + 8], 0
je 0x4e66fc
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 0x4e670e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e673d
cmp dword [ebx + 8], 0
je 0x4e66ef
cmp eax, 3
je 0x4e6721
dec eax
jne 0x4e66ef
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 0x4e66ef
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e66ef
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e6769
cmp dword [ebx + 0x14], 0xcc
je 0x4e6769
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.004e6774
pop ebx
ret

Function at 0x4f7388
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 0x4f73d9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4f73c0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4f73b0
jmp 0x4f73d9
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 0x4f73c1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x502a3c
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 0x502a5e
shr eax, 1
xor eax, 0xedb88320
jmp 0x502a60
shr eax, 1
dec edx
jne 0x502a4c
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x502a45
mov dword [0x5d1370], 1
pop esi
pop ebx
ret

Function at 0x502a80
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 [0x5d1370]
test al, al
jne 0x502a9e
call fcn.00502a3c
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 0x502aa6
mov edx, dword [ebp + 8]
dec edx
test edx, edx
jl 0x502af4
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 0x502ad2
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x512aa4
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.004067c4
xor eax, eax
push ebp
push 0x512c0d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1a0]
mov eax, esi
call fcn.0053e2b8
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x40]
call fcn.00419934
cmp ax, 0x100
jne 0x512b29
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x40]
call fcn.00417964
mov edx, dword [ebp - 0x214]
mov eax, 0x512c24
call fcn.00406074
test eax, eax
jg 0x512b2d
xor eax, eax
jmp 0x512b2f
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.0053c1c8
mov eax, dword [ebp - 0x1fc]
cmp eax, 0xff439eb2
je 0x512b66
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x204]
cmp eax, 0xff439eb2
je 0x512b76
mov dword [ebx + 0x3c], eax
mov eax, esi
call fcn.0053b088
test al, al
je 0x512b93
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 0x512bb6
cmp byte [ebx + 0x48], 0
je 0x512bb3
cmp eax, 0x64
jg 0x512bad
mov dword [ebx + 0x44], eax
jmp 0x512bb6
mov byte [ebx + 0x48], 0
jmp 0x512bb6
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x1b4]
test eax, eax
jle 0x512bc3
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x1a1]
mov eax, esi
call fcn.0053a540
test al, al
je 0x512bde
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 0x512c14
lea eax, [ebp - 0x214]
call fcn.00405a98
lea eax, [ebp - 0x1a0]
mov ecx, 0x1a
mov edx, dword [0x401128]
call fcn.004068b0
ret
Function at 0x546804
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 0x5468bb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405f28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x546846
call fcn.00405498
jmp 0x5468c2
mov eax, ebx
call fcn.00402fc0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00405f28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x54686f
call fcn.00405498
jmp 0x5468c2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5468d0
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x546890
call fcn.00405498
jmp 0x5468c2
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 0x5468c2
mov eax, dword [ebp - 8]
call fcn.00402fdc
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x546b1c
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 0x546b84
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.00403d74
test ebx, ebx
jne 0x546b59
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 0x546b90
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x546e14
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
push 0x546f78
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x546f6e
xor eax, eax
push ebp
push 0x546f67
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x546f84
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
push 0x546f84
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 [0x5d3e80], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546f6e
cmp dword [ebp - 4], 0
je 0x546f66
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 0x546f88
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.005467f8
test al, al
je 0x546fb4
cmp dword [0x5dba48], 0x40047
jl 0x546fb4
cmp byte [0x5d3e80], 0
jne 0x546fb4
call fcn.00546e14
movzx eax, bl
mov eax, dword [eax*4 + 0x5d3e84]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x546fe4
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret

Function at 0x546fce
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
call fcn.005467f8
test al, al
je 0x546fb4
cmp dword [0x5dba48], 0x40047
jl 0x546fb4
cmp byte [0x5d3e80], 0
jne 0x546fb4
call fcn.00546e14
movzx eax, bl
mov eax, dword [eax*4 + 0x5d3e84]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
push 0x546fe4
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x160
pop ebx
ret
Function at 0x5500b0
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 0x55014a
push dword fs:[eax]
mov dword fs:[eax], esp
test edx, 0x40000000
jne 0x5500fc
lea edx, [ebp - 0x164]
mov eax, dword [0x5d4e8c]
call fcn.004081b8
mov eax, dword [ebp - 0x164]
mov edx, ebx
call fcn.0054b448
jmp 0x550131
push 0x408
push 0x160
lea eax, [ebp - 0x160]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x55012a
mov eax, ebx
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00405d08
jmp 0x550131
mov eax, ebx
call fcn.00405a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x550151
lea eax, [ebp - 0x164]
call fcn.00405a98
ret

Function at 0x550b44
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 0x550b77
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x550b70
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.00405f18
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 4]
mov edx, dword [0x40110c]
call fcn.004069f0
xor eax, eax
push ebp
push 0x550d08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x550cd0
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 4]

Function at 0x551e8c
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 0x551f0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x700f0037
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00551f94
mov eax, dword [ebp - 4]
call fcn.0054fc1c
test al, al
je 0x551edf
mov eax, dword [ebp - 4]
call fcn.00405f28
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x551edf
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 0x551f15
lea eax, [ebp - 4]
call fcn.00405a98
ret

Function at 0x551f34
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 0x551f7f
push 0x208
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, ebx
call fcn.00551e68
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x551f7f
lea eax, [esp + 0xc]
call fcn.0040be88
mov ecx, eax
lea edx, [esp + 0xc]
lea eax, [ebx + 0x14]
call fcn.00405b88
mov eax, esi
mov edx, dword [ebx + 0x14]
call fcn.00405aec
add esp, 0x160
pop esi
pop ebx
ret