joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4887d6
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488819
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404900
mov eax, dword [ebp - 0x1c]
call fcn.004882b0
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4886f7
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404dd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00488d48
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4887d6
xor eax, eax
push ebp
push 0x4887cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00488550
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00488858
test al, al
je 0x4887ad
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00404958
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x4887ad
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404d34
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4887a4
mov eax, dword [ebp - 0x20]
call fcn.00404d34
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a58
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004886a4
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x48875a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4887d6
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00488550
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d34
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00488518
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488820
lea eax, [ebp - 0x48]
call fcn.00404868
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040488c
ret

Function at 0x488828
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x488858
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.004031e8
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x5986e8]
cmp byte [eax + 0xc], 0
je 0x4888e3
mov eax, dword [0x5986d0]
cmp dword [eax], 2
jne 0x4888e3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x4888ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.004031e8
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.00488328
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x488c34
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.004882d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x488c9c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x598288]
mov dl, 1
mov eax, dword [0x488148]
call fcn.0040e868
call fcn.00404204
mov esp, ebp
pop ebp
ret 8
Function at 0x488ca4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x488d06
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x5986f4]
mov dl, 1
mov eax, dword [0x488148]
call fcn.0040e868
call fcn.00404204
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00488328
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x48eb84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48ec69
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x599dec], 0
jne 0x48ec4b
lea eax, [ebp - 8]
mov edx, 0x48ec80
call fcn.00404900
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48ec4b
mov eax, dword [ebp - 0xc]
call fcn.00402828
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x48ec44
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48ec2e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x48ec90
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48ec2e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x599dec], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec4b
mov eax, dword [ebp - 0x14]
call fcn.00402848
ret
mov eax, dword [0x599dec]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ec70
lea eax, [ebp - 8]
call fcn.00404868
ret

Function at 0x4a6530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00431a6c
cmp ebx, dword [ebp - 8]
jge 0x4a6593
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00431fac
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00431fac
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00431fec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4a6559
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4a659c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00431a6c
cmp ebx, dword [ebp - 8]
jge 0x4a65ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00431fac
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00431fac
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00431fec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4a65c5
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b0198
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4b01c6
mov eax, ebx
call fcn.004b0c50
cmp dword [ebx + 0x3c], 0
je 0x4b01bf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4b0237
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4b0229
cmp dword [ebx + 8], 0
je 0x4b01e8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4b01fa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4b0229
cmp dword [ebx + 8], 0
je 0x4b01db
cmp eax, 3
je 0x4b020d
dec eax
jne 0x4b01db
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 0x4b01db
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4b01db
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4b0255
cmp dword [ebx + 0x10], 0xcc
je 0x4b0255
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004b0260
pop ebx
ret
Function at 0x50d1fc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, ecx
push esp
push edx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404ad0
add esp, 0x10c
pop ebx
ret

Function at 0x50d238
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x50d283
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
add esp, 0x100
pop ebx
ret

Function at 0x50d28c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push esp
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x50d2d3
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
add esp, 0x100
pop ebx
ret

Function at 0x50d2f8
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
je 0x50d349
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404ad0
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
jne 0x50d35f
mov eax, dword [ebx]
call fcn.00404b3c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404dd4
jmp 0x50d35f
mov ecx, 0x50d370
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
add esp, 0x108
pop ebx
ret
Function at 0x511b24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
test dl, dl
je 0x511b3e
add esp, 0xfffffff0
call fcn.00403cd8
mov dword [ebp - 4], ecx
mov ebx, edx
mov dword [ebp - 8], eax
mov edi, dword [ebp + 0xc]
lea esi, [ebp - 8]
xor eax, eax
push ebp
push 0x511c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x18], edx
mov dl, 1
mov eax, dword [0x4201b0]
call fcn.00403944
mov edx, dword [esi]
mov dword [edx + 8], eax
mov eax, dword [esi]
add eax, 0xc
mov edx, dword [ebp - 4]
call fcn.004048bc
mov eax, dword [esi]
mov word [eax + 0x1c], di
push 0
push 0
mov eax, dword [esi]
call fcn.00512f28
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [esi]
cmp word [eax + 0x1c], 0xffff
jne 0x511ba8
push ebp
call fcn.0051192c
pop ecx
push edi
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [esi]
call fcn.00512114
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [esi]
call fcn.004263b4
mov eax, dword [esi]
cmp word [eax + 0x1c], 0xffff
je 0x511c0b
push 0
push 0
mov dl, 2
mov eax, dword [esi]
call fcn.00512990
mov eax, dword [esi]
lea edx, [eax + 0x30]
mov ecx, 4
mov eax, dword [esi]
call fcn.00512980
mov eax, dword [esi]
lea edx, [eax + 0x34]
mov ecx, 4
mov eax, dword [esi]
call fcn.00512980
push 0
push 0
xor edx, edx
mov eax, dword [esi]
call fcn.00512990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511c28
lea eax, [ebp - 0xc]
call fcn.00404868
ret
Function at 0x529500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x88], 2
jne 0x529537
cmp dword [ebp - 0x94], 5
jb 0x529537
mov byte [ebp - 1], 1
jmp 0x52953b
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x53ec43
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x59796e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x53ec9b
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x59798f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x53ec91
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x53ec9f
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x550828
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 0x5508df
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x55086a
call fcn.004042b0
jmp 0x5508e6
mov eax, ebx
call fcn.00402828
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.00404d34
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x550893
call fcn.004042b0
jmp 0x5508e6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5508f0
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x5508b4
call fcn.004042b0
jmp 0x5508e6
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 0x5508e6
mov eax, dword [ebp - 8]
call fcn.00402848
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x550b3c
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 0x550ba4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x164]
xor ecx, ecx
mov edx, 0x160
call fcn.004031e8
test ebx, ebx
jne 0x550b79
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 0x550bb0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x550e94
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
push 0x551040
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x551038
xor eax, eax
push ebp
push 0x551031
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 0x55104c
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
test esi, esi
jne 0x550f0c
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 0x55104c
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
test edi, edi
jne 0x550f4d
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.0043a1d8
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.0043a1d8
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.0043a1d8
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.0043a1d8
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
mov byte [0x597bbc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551038
cmp dword [ebp - 4], 0
je 0x551030
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 0x551050
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov ebx, eax
call fcn.0055081c
test al, al
je 0x55107d
cmp dword [0x59b0f0], 0x40047
jl 0x55107d
cmp byte [0x597bbc], 0
jne 0x55107d
call fcn.00550e94
mov esi, ebx
and esi, 0x7f
mov eax, dword [esi*4 + 0x597bc0]
or eax, 0x4000
push eax
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
push 0x5510e0
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
jne 0x5510d5
mov word [esp], 0
mov eax, dword [esi*4 + 0x597bc0]
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 0x55ade4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x55adec
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x55af39
push dword fs:[eax]
mov dword fs:[eax], esp
test dl, dl
je 0x55ae42
lea edx, [ebp - 4]
mov eax, dword [0x597e78]
call fcn.00406e78
cmp ebx, 1
jbe 0x55ae79
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x55af50
call fcn.0040b344
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404b44
jmp 0x55ae79
lea eax, [ebp - 4]
mov edx, 0x55af60
call fcn.00404900
cmp ebx, 1
jbe 0x55ae79
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x10]
xor ecx, ecx
mov eax, 0x55af70
call fcn.0040b344
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
call fcn.00404b44
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.00404b88
mov eax, dword [ebp - 0x18]
call fcn.00404d34
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x55af01
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
jne 0x55aeb1
mov bl, 1
jmp 0x55af11
push 0
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0040dda0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x598484]
call fcn.00406e78
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.00551e6c
mov eax, dword [ebp - 0x1c]
mov cx, word [0x55af74]
xor edx, edx
call fcn.0045311c
mov bl, 2
jmp 0x55af11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.004048bc
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55af40
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.0040488c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040488c
ret

Function at 0x55b5b0
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, ecx
mov esi, eax
test edx, 0x40000000
jne 0x55b5d2
mov edx, ebx
mov eax, dword [0x598480]
call fcn.00406e78
jmp 0x55b609
push 0x408
push 0x160
lea eax, [esp + 8]
push eax
push 0
push esi
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x55b602
mov eax, ebx
lea edx, [esp + 0x110]
mov ecx, 0x50
call fcn.00404ad0
jmp 0x55b609
mov eax, ebx
call fcn.00404868
add esp, 0x160
pop esi
pop ebx
ret