joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8344
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a8372
mov eax, ebx
call fcn.004a8df8
cmp dword [ebx + 0x40], 0
je 0x4a836b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a83e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a83d5
cmp dword [ebx + 8], 0
je 0x4a8394
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 0x4a83a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a83d5
cmp dword [ebx + 8], 0
je 0x4a8387
cmp eax, 3
je 0x4a83b9
dec eax
jne 0x4a8387
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 0x4a8387
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a8387
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a8401
cmp dword [ebx + 0x14], 0xcc
je 0x4a8401
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.004a840c
pop ebx
ret

Function at 0x4b8cc4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x4b8d71
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
mov dl, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
mov bl, byte [esi]
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
and edx, 0xff
mov edx, dword [edx*4 + 0x532268]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x4b8cec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ba6a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.00409ac8
mov eax, dword [ebx]
call fcn.004045ec
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4ba6ea
mov eax, ebx
mov edx, 0x4ba6f8
call fcn.004045f4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c342c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419994]
call fcn.00404cf0
xor eax, eax
push ebp
push 0x4c3570
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53293c], 0
jne 0x4c347f
mov ecx, dword [0x533cb8]
mov dl, 1
mov eax, dword [0x407c7c]
call fcn.0040cf54
call fcn.00403cb4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e74
mov eax, ebx
call fcn.00404ba0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c3580
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405edc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404bb0
test eax, eax
jle 0x4c3517
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c3510
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004045b4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040459c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408bb4
test eax, eax
jne 0x4c3510
mov ebx, 0x15
jmp 0x4c351c
mov ebx, 0x10
jmp 0x4c351c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x53293c]
call fcn.004c3384
mov eax, dword [ebp - 8]
call fcn.004c3384
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405ef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3577
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404340
lea eax, [ebp - 0x10]
mov edx, dword [0x419994]
call fcn.00404dc0
ret

Function at 0x4cdc34
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004cdbfc
mov eax, dword [ebx]
call fcn.004045ec
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4cdc7a
mov eax, ebx
mov edx, 0x4cdc88
call fcn.004045f4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cdc8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004cdbfc
mov eax, dword [ebx]
call fcn.004045ec
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4cdcd2
mov eax, ebx
mov edx, 0x4cdce0
call fcn.004045f4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cf764
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004075c0
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
jb 0x4cf798
cmp dword [esp + 8], 1
jb 0x4cf798
cmp dword [esp + 0x10], 2
je 0x4cf79c
xor eax, eax
jmp 0x4cf79e
mov al, 1
add esp, 0x94
ret

Function at 0x4cf7a8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov eax, esp
mov edx, 0x94
call fcn.004075c0
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jne 0x4cf7dc
cmp dword [esp + 8], 0
jne 0x4cf7dc
cmp dword [esp + 0x10], 2
je 0x4cf7e0
xor eax, eax
jmp 0x4cf7e2
mov al, 1
add esp, 0x94
ret

Function at 0x4d3380
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004d2e20
test byte [ebx + 0x23d], 4
jne 0x4d3415
mov edx, esp
mov eax, ebx
call fcn.00461ca8
push esp
mov eax, ebx
call fcn.00468a38
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4d33b5
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x4d33e6
mov ecx, dword [0x53407c]
mov dl, 1
mov eax, dword [0x4c3044]
call fcn.0040cf54
call fcn.00403cb4
mov eax, ebx
call fcn.004d3954
cmp byte [ebx + 0x57], 0
jne 0x4d341c
mov eax, ebx
call fcn.00468c3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d341c
push 0
mov eax, ebx
call fcn.00468c3c
push eax
call sub.user32.dll_ShowWindow
jmp 0x4d341c
mov eax, ebx
call fcn.00465bbc
add esp, 0x10
pop ebx
ret
Function at 0x4df57c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4df584
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4df776
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4df78c
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404370
lea ecx, [ebp - 0x10]
mov edx, 0x4df7a0
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404370
lea ecx, [ebp - 0x14]
mov edx, 0x4df7b8
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404370
lea ecx, [ebp - 0x18]
mov edx, 0x4df7d4
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404370
lea ecx, [ebp - 0x1c]
mov edx, 0x4df7f0
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404370
lea ecx, [ebp - 0x24]
mov edx, 0x4df808
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408c64
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409074
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4df820
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x28]
call fcn.004dc184
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4df830
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x2c]
call fcn.004dc184
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4df848
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409074
inc eax
je 0x4df719
lea ecx, [ebp - 0x34]
mov edx, 0x4df848
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x34]
call fcn.00409038
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ac84
fstp qword [ebp - 0x3c]
wait
call fcn.0040b048
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4df734
lea ecx, [ebp - 0x40]
mov edx, 0x4df848
mov eax, esi
call fcn.004dd06c
mov eax, dword [ebp - 0x40]
call fcn.004dc184
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4df858
mov eax, esi
call fcn.004dd06c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df77d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404340
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404340
ret
Function at 0x4efff8
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
push ebp
push 0x4f00a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040431c
lea eax, [ebp - 8]
call fcn.0040431c
mov dword [ebp - 4], 0x1400
mov eax, dword [ebp - 4]
call fcn.00402820
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x4f004d
push eax
call sub.kernel32.dll_SetLastError
call fcn.0040e5b8
mov ebx, esi
lea ecx, [ebp - 0xc]
lea eax, [ebx + 0x194]
mov edx, dword [ebx + 0x190]
call fcn.004eff64
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.004045f4
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4f004f
mov eax, edi
mov edx, dword [ebp - 8]
call fcn.00404370
mov eax, esi
call fcn.00402840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f00a7
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404340
ret

Function at 0x4f0e70
Capabilities:
Add user account
Add user account to group

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 0x10]
push eax
push 0x4f0f28
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
lea eax, [esp + 0x1c]
xor ecx, ecx
mov edx, 0x20
call fcn.00402e74
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], esi
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x10000
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x20]
push eax
push 1
push 0
call sub.netapi32.dll_NetUserAdd
mov dword [esp + 8], ebx
push 1
lea eax, [esp + 0xc]
push eax
push 3
push edi
push 0
call sub.netapi32.dll_NetLocalGroupAddMembers
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x4f1a6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4f1aa4]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f1a82
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f1a91
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4f1aa0
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4f2eb0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x534268]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f2ed6
push 0
mov eax, dword [0x534268]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x5061ac
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 0x506263
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004047ec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x5061ee
call fcn.00403d60
jmp 0x50626a
mov eax, ebx
call fcn.00402820
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004047ec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x506217
call fcn.00403d60
jmp 0x50626a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x506274
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x506238
call fcn.00403d60
jmp 0x50626a
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 0x50626a
mov eax, dword [ebp - 8]
call fcn.00402840
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5064d8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x506549
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0x160
call fcn.00402e74
cmp dword [ebp - 4], 0
jne 0x50651b
mov word [ebp - 6], 0
lea eax, [ebp - 6]
mov dword [ebp - 4], eax
or ebx, 0x4008
push ebx
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov ebx, dword [ebp - 0x164]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x506555
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x506838
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x5069e4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5069dc
xor eax, eax
push ebp
push 0x5069d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 6], 0
push 0x4001
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x5069f0
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x5068b0
push 0x4009
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
push 0x5069f0
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x5068f1
push 0x4008
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0
lea eax, [ebp - 6]
push eax
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
mov edx, ebx
mov eax, esi
call fcn.00432070
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
mov edx, ebx
mov eax, edi
call fcn.00432070
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
mov edx, ebx
mov eax, esi
call fcn.00432070
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
mov edx, ebx
mov eax, edi
call fcn.00432070
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x533858], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5069dc
cmp dword [ebp - 4], 0
je 0x5069d4
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 0x5069f4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.005061a0
test al, al
je 0x506a21
cmp dword [0x536158], 0x40047
jl 0x506a21
cmp byte [0x533858], 0
jne 0x506a21
call fcn.00506838
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x53385c]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x506a84
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x506a79
mov word [esp], 0
mov eax, dword [esi*4 + 0x53385c]
or eax, 0x4000
or eax, 8
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x50f274
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x50f296
mov edx, ebx
mov eax, dword [0x53434c]
call fcn.004063e4
jmp 0x50f2cd
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x50f2c6
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.0040459c
jmp 0x50f2cd
mov eax, ebx
call fcn.0040431c
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x50fc54
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 0x50fc87
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x50fc80
mov edx, esp
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047dc
mov ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 8]
mov edx, dword [0x401138]
call fcn.00404f4c
xor eax, eax
push ebp
push 0x50fe15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x50fddd
inc eax
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 4]
push 0x50fe3c
push dword [esi]
lea eax, [ebp - 0x158]
mov edx, 3
call fcn.004046ac
mov eax, dword [ebp - 0x158]
call fcn.004047ec
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x50fdd1
mov eax, dword [ebp - 0x154]
test al, 0x10
jne 0x50fdb6
test al, 2
jne 0x50fdb6
xor eax, eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push 0x50fe3c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.0040459c
push dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.004046ac
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x10]
call fcn.00506330
call fcn.00419e80
test al, al
je 0x50fd74
or edi, 0xffffffff
jmp 0x50fd83
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.005064d8
mov edi, eax
mov eax, dword [ebp - 0x10]
call fcn.00506294
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.0040459c
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 0x50fd09
push ebx
call sub.kernel32.dll_FindClose_1
add esi, 4
dec dword [ebp - 0x14]
jne 0x50fccc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50fe1c
lea eax, [ebp - 0x164]
mov edx, 4
call fcn.00404340
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [0x401138]
call fcn.00404e0c
lea eax, [ebp - 4]
call fcn.0040431c
ret
Function at 0x510f24
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x510ff1
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x510fd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x700f0037
mov eax, dword [0x534248]
cmp dword [eax + 4], 0x60000
jl 0x510f74
or dword [ebp - 4], 0x400000
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00511084
mov eax, dword [ebp - 8]
call fcn.0050ee2c
test al, al
je 0x510fa4
mov eax, dword [ebp - 8]
call fcn.004047ec
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x510fa4
and dword [ebp - 4], 0xfffbffff
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0xc]
push eax
push 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x428]
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 0x510fdb
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x514ab4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004047ec
push eax
call sub.kernel32.dll_GetDriveTypeA
sub eax, 3
je 0x514af5
dec eax
je 0x514ad7
sub eax, 2
je 0x514af5
jmp 0x514b06
mov al, byte [ebx]
call fcn.00507bc8
test al, al
je 0x514b06
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004036e4
jmp 0x514b06
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov si, 0xffa1
call fcn.004036e4
pop esi
pop ebx
pop ebp
ret

Function at 0x514b0c
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 0x514bbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3f8], 0
jne 0x514b5a
push 0x465
mov eax, dword [ebp - 4]
call fcn.00468c3c
mov ecx, eax
mov dl, 1
mov eax, dword [0x511220]
call fcn.0051128c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3f8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3f8]
call fcn.0051176c
lea eax, [ebp - 8]
mov edx, 0x514bd0
call fcn.004043b4
call sub.kernel32.dll_GetLogicalDrives
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x514ba5
test bl, 1
je 0x514b9e
lea eax, [ebp - 8]
call fcn.00404844
lea edx, [esi + 0x41]
mov byte [eax], dl
push ebp
mov eax, dword [ebp - 8]
call fcn.00514ab4
pop ecx
shr ebx, 1
inc esi
test ebx, ebx
jne 0x514b82
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x514bc2
lea eax, [ebp - 8]
call fcn.0040431c
ret