joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423b10
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x370
push ebp
push esi
mov esi, ecx
push edi
mov dword [esi], 0x4cc7d8
call fcn.00423d90
mov edi, dword [esp + 0x384]
test edi, edi
je 0x423ca5
mov ebp, dword [edi + 0x1c]
lea eax, [edi + 0x2c]
push ebx
mov ebx, dword [edi + 0x20]
push eax
call fcn.0044a200
mov dword [esi + 0x20], ebx
add esp, 4
mov dword [esi + 0x68], eax
mov dword [esi + 0x24], ebp
mov ecx, dword [edi]
lea edx, [esi + 0x40]
add edi, 0x14
push edx
push edi
mov dword [esi + 0x48], ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov eax, dword [esi + 0x48]
mov ebp, 1
shr eax, 4
and eax, ebp
cmp eax, ebp
mov dword [esi + 8], eax
jne 0x423bb8
mov eax, dword [esi + 0x68]
mov edi, 0x4e08f0
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x423ba8
test cl, cl
je 0x423ba4
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x423ba8
add eax, 2
add edi, 2
test cl, cl
jne 0x423b80
xor eax, eax
jmp 0x423bad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x423bb8
mov dword [esi + 8], 2
mov eax, dword [esi + 8]
pop ebx
cmp eax, ebp
je 0x423bce
cmp eax, 3
je 0x423bce
cmp eax, 2
je 0x423bce
xor eax, eax
jmp 0x423bd0
mov eax, ebp
test eax, eax
mov dword [esi + 0xc], eax
je 0x423bde
mov dword [esi + 0x3c], 0xffffffff
mov eax, dword [esi + 0x68]
push 0x2e
push eax
call fcn.004bea30
add esp, 8
test eax, eax
je 0x423ca5
push str..lnk
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x423ca5
mov eax, dword [esp + 0x380]
test eax, eax
je 0x423c2a
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x114]
push ecx
push eax
push edx
call fcn.0044a2d0
add esp, 0xc
jmp 0x423c3c
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x114]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
lea edx, [esp + 0x10]
push 0x640001
lea eax, [esp + 0x11c]
push edx
push eax
push 0
call fcn.004537e0
add esp, 0x14
test eax, eax
jl 0x423ca5
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], ebp
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esp + eax + 0xb], 0x5c
je 0x423ca2
push 0x800
lea edx, [esp + 0x220]
push 0x160
push edx
lea eax, [esp + 0x18]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x423ca5
test dword [esp + 0x224], 0x20000000
je 0x423ca5
or dword [esi + 0xc], ebp
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x370
ret 8
Function at 0x4241e0
Capabilities:
Get file system object information
Query or enumerate registry value

Disassembly:
sub esp, 0x464
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
push eax
call fcn.004be975
mov edx, dword [edi + 0x68]
add esp, 4
lea ecx, [esp + 0x30c]
push 0x400
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x424234
lea eax, [esp + 0x41c]
push eax
call fcn.0044a200
add esp, 4
mov dword [edi + 0x18], eax
pop edi
pop esi
add esp, 0x464
ret
cmp dword [edi + 8], 1
jne 0x424253
push str.File_Folder
call fcn.0044a200
add esp, 4
mov dword [edi + 0x18], eax
pop edi
pop esi
add esp, 0x464
ret
mov ecx, dword [edi + 0x68]
push 0x2e
push ecx
call fcn.004bea30
mov esi, eax
add esp, 8
test esi, esi
je 0x424308
lea edx, [esp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x210]
push edx
push eax
push esi
push 0x80000000
mov dword [esp + 0x1c], 0x100
call ebx
test eax, eax
jne 0x4242b6
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x214]
push edx
push eax
push 0x80000000
mov dword [esp + 0x1c], 0x100
call ebx
jmp 0x4242ee
inc esi
lea ecx, [esp + 0x110]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x110]
push edx
call fcn.004bef76
lea eax, [esp + 0x114]
lea ecx, [esp + 0x14]
push eax
push str._s_File
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
call fcn.0044a200
add esp, 4
mov dword [edi + 0x18], eax
pop ebx
pop edi
pop esi
add esp, 0x464
ret
push 0
call fcn.0044a200
add esp, 4
mov dword [edi + 0x18], eax
pop edi
pop esi
add esp, 0x464
ret
Function at 0x424640
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x36c
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x4247bf
mov al, byte [0x4eb858]
push edi
mov byte [esp + 0x14], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 8]
cmp eax, 2
jne 0x42468a
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4247a6
cmp eax, 3
jne 0x424793
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x424751
mov cl, byte [0x4eb858]
xor eax, eax
mov byte [esp + 0x114], cl
mov ecx, 0x3f
lea edi, [esp + 0x115]
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x14]
push 0
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esi + 0x68]
push ecx
lea edx, [esp + 0x128]
push 0x100
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov al, byte [esp + 0x114]
test al, al
je 0x424735
lea ecx, [esp + 0x214]
lea edx, [esp + 0x114]
push ecx
push edx
call dword [sym.imp.USER32.dll_OemToCharA]
mov eax, dword [esi + 0x68]
lea edx, [esp + 0x214]
movsx ecx, byte [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s___c:_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4247a6
mov ecx, dword [esi + 0x68]
movsx edx, byte [ecx]
push edx
push str.__c:_
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4247a6
mov edx, dword [esi + 0x68]
push 0x200
lea ecx, [esp + 0x218]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x424788
lea eax, [esp + 0x220]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4247a6
mov edx, dword [esi + 0x68]
push edx
push str.__s_
jmp 0x424741
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x14]
push 0x100
push ecx
push edx
call sub.comdlg32.dll_GetFileTitleA
lea eax, [esp + 0x14]
push eax
call fcn.0044a200
add esp, 4
mov dword [esi + 0x6c], eax
pop edi
pop esi
add esp, 0x36c
ret
mov eax, dword [esi + 0x6c]
pop esi
add esp, 0x36c
ret
Function at 0x424b90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x268
push ebx
mov ebx, dword [esp + 0x270]
push ebp
push esi
test ebx, ebx
mov esi, ecx
je 0x424d5d
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x424d5d
push 0x2e
push eax
call fcn.004bea30
add esp, 8
xor ebp, ebp
test eax, eax
je 0x424c84
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x424c84
inc eax
push eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xc]
push ecx
call fcn.004bef76
mov cl, byte [esp + 0x10]
add esp, 4
xor eax, eax
lea edx, [esp + 0xc]
test cl, cl
je 0x424c0c
movsx ecx, cl
inc eax
imul eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x424bfd
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
mov ebp, dword [eax + edx*4]
test ebp, ebp
je 0x424c84
mov eax, dword [ebp]
lea esi, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x424c45
test cl, cl
je 0x424c41
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x424c45
add eax, 2
add esi, 2
test cl, cl
jne 0x424c21
xor eax, eax
jmp 0x424c4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424c57
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x424c1a
jmp 0x424c84
test ebp, ebp
je 0x424c84
mov eax, dword [esp + 0x27c]
test eax, eax
jne 0x424c79
mov eax, dword [ebp + 8]
test eax, eax
jl 0x424c84
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x424d60
mov esi, dword [esp + 0x27c]
push edi
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x118]
lea edx, [esp + 0x118]
test esi, esi
rep stosd dword es:[edi], eax
sete al
mov esi, eax
mov eax, dword [ebx + 0x68]
mov ecx, esi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
or ch, 0x40
push ecx
push 0x160
push edx
push 0
push eax
call edi
test eax, eax
jne 0x424ce7
mov ecx, dword [ebx + 0x68]
or esi, 0x4010
push esi
lea eax, [esp + 0x11c]
push 0x160
push eax
push 0x80
push ecx
call edi
test ebp, ebp
pop edi
je 0x424d4a
mov eax, dword [ebp + 8]
mov esi, 0xfffffffe
cmp eax, esi
je 0x424d4a
cmp dword [ebp + 0xc], esi
je 0x424d13
mov eax, dword [ebx + 0x68]
push eax
call fcn.00422ce0
add esp, 4
test eax, eax
je 0x424d13
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
je 0x424d4a
cmp dword [ebp + 0xc], esi
je 0x424d4a
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x424d40
mov edx, dword [esp + 0x118]
pop esi
mov dword [ebp + 0xc], edx
pop ebp
mov eax, edx
pop ebx
add esp, 0x268
ret 8
mov eax, dword [esp + 0x118]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x118]
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 8
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 8
Function at 0x42cdc0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42cdf5
pop esi
pop ebp
or eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x28]
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
push ecx
call esi
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x10], ebp
jne 0x42ce2c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x14
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetFileSize]
lea edx, [esp + 0x14]
push edi
push edx
push ebx
call esi
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x30], 0
call esi
cmp edi, eax
jne 0x42cf10
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x42cf10
push 0xfde8
call fcn.004be967
push 0xfde8
mov ebp, eax
call fcn.004be967
add esp, 8
lea edx, [esp + 0x2c]
mov dword [esp + 0x10], eax
push 0
push edx
push 0xfde8
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42cef7
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push 0
push eax
push 0xfde8
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42cef7
mov eax, dword [esp + 0x2c]
mov esi, ebp
mov ecx, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42cef7
cmp eax, 0xfde8
jae 0x42ced5
cmp dword [esp + 0x20], eax
je 0x42ceef
lea eax, [esp + 0x2c]
push 0
push eax
push 0xfde8
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ce9a
jmp 0x42cef7
mov dword [esp + 0x28], 1
push ebp
call fcn.004be975
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004be975
mov ebp, dword [esp + 0x1c]
add esp, 8
jmp 0x42cf18
mov dword [esp + 0x28], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x42e380
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 4]
push 0x145
push eax
call edi
mov ecx, dword [esi + 4]
push 0x146
push ecx
mov dword [esp + 0x10], eax
call edi
mov dword [esp + 0xc], eax
mov eax, dword [0x4eb4b8]
test eax, eax
jne 0x42e3d5
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
mov eax, dword [edx + 0x50]
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0
mov edx, dword [ecx + 0x50]
push edx
call edi
pop edi
pop esi
add esp, 0x30
ret
push ebx
push ebp
xor edi, edi
xor ebx, ebx
xor ebp, ebp
cmp eax, 2
mov dword [esp + 0x1c], ebp
je 0x42e418
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push eax
call edi
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov eax, dword [0x4eb7bc]
test eax, eax
je 0x42e429
fld qword [0x4eb7c0]
jmp 0x42e42f
fld qword [0x4cc7b8]
mov edx, dword [esi + 0x14]
fstp qword [edx + 0x70]
mov eax, dword [0x4eb7bc]
test eax, eax
je 0x42e446
fld qword [0x4eb7c0]
jmp 0x42e44c
fld qword [0x4cc7b8]
mov eax, dword [esi + 0x18]
push 1
fstp qword [eax + 0x70]
mov ecx, dword [esi + 0x14]
mov edx, dword [0x4eb460]
mov dword [ecx + 0x7c], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [0x4eb460]
mov dword [eax + 0x7c], ecx
mov ecx, dword [esi + 0x14]
call fcn.00460bb0
mov ecx, dword [esi + 0x18]
push 1
call fcn.00460bb0
mov ecx, dword [esi + 0x14]
push 0
push 0
call fcn.0045fcf0
mov ecx, dword [esi + 0x18]
push 0
push 0
call fcn.0045fcf0
mov ecx, dword [esi + 0x14]
push ebx
push edi
call fcn.004611c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
push edx
push ebp
call fcn.004611c0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push 0
push eax
call fcn.0045fcf0
mov ecx, dword [esi + 0x20]
push 0
push ecx
mov ecx, dword [esi + 0x18]
call fcn.0045fcf0
mov ecx, dword [esi + 0x14]
push 1
push 8
call fcn.00460010
mov ecx, dword [esi + 0x18]
push 1
push 8
call fcn.00460010
mov ecx, dword [esi + 0x14]
call fcn.004605c0
mov ecx, dword [esi + 0x18]
call fcn.004605c0
mov edx, dword [esi + 0x18]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov eax, dword [edx + 0x50]
push eax
call edi
mov ecx, dword [esi + 0x14]
push 5
mov edx, dword [ecx + 0x50]
push edx
call edi
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x42ee60
Capabilities:
Copy file
Get file attributes
Hide graphical window
Set file attributes

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x10
lea eax, [esp + 8]
push ebx
push eax
push 0
push ecx
call fcn.0044a190
add esp, 0xc
test eax, eax
jne 0x42ee86
mov eax, 5
pop ebx
add esp, 0x10
ret
mov ebx, dword [esp + 0x20]
lea edx, [esp + 4]
push 0
push edx
push ebx
call fcn.0044b170
add esp, 0xc
test eax, eax
je 0x42eec2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x42eec2
jl 0x42eeb8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
cmp ecx, eax
jae 0x42eec2
mov eax, 0x70
pop ebx
add esp, 0x10
ret
push ebp
push esi
xor esi, esi
call fcn.0044b3e0
cmp eax, 2
jne 0x42ef2f
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x42ef2f
push edi
push str.CopyFileExA
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x42ef23
mov esi, dword [esp + 0x24]
push 5
push 0x151
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x28]
push 0
push esi
push esi
push 0x42edb0
push ebx
push eax
call edi
mov esi, eax
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
pop edi
jne 0x42ef3f
mov ecx, dword [esp + 0x24]
push 0
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
pop esi
pop ebp
je 0x42ef62
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x42ef5b
xor eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
add esp, 0x10
ret
Function at 0x42ef70
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x12c
mov edx, dword [esp + 0x144]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x144]
push edi
mov dword [ebp], eax
mov eax, dword [esp + 0x13c]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0x114], eax
push 0x80
mov dword [ebp + 0x118], 0x4cc6f4
call fcn.004be967
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
xor edi, edi
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], edi
mov dword [ebp + 0x124], 0x1f
mov dword [ebp + 0x128], edi
mov dword [ebp + 0x12c], 0x40
add esp, 4
mov dword [ebp + 0x134], ecx
mov dword [ebp + 0x244], edx
mov dword [ebp + 0x248], edi
mov dword [ebp + 0x250], edi
mov dword [ebp + 0x128], 1
mov eax, dword [ebp + 0x244]
push 0xfffffffffffffffa
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [esp + 0xc]
mov dword [ebp + 0x240], eax
mov byte [ebp + 0xc], 0
mov byte [ebp + 0x138], 0
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
push ecx
push 0x20019
push edi
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42f17f
push ebx
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push esi
lea eax, [esp + 0x28]
push str.Item_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x38]
lea eax, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push edi
push ecx
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f157
lea eax, [esp + 0x38]
push eax
call fcn.0044a200
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x42f157
mov ecx, dword [ebp + 0x124]
mov ebx, dword [ebp + 0x120]
lea edx, [ecx + 1]
cmp ebx, edx
jne 0x42f13b
mov eax, dword [ebp + 0x12c]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.004be967
mov edx, dword [ebp + 0x124]
mov esi, dword [ebp + 0x11c]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x11c]
push ecx
call fcn.004be975
mov edx, dword [ebp + 0x12c]
mov eax, dword [ebp + 0x124]
mov esi, dword [esp + 0x18]
add eax, edx
add esp, 8
mov dword [ebp + 0x124], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x11c], ebx
xor edi, edi
mov ecx, dword [ebp + 0x120]
mov edx, dword [ebp + 0x11c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x120]
inc eax
mov dword [ebp + 0x120], eax
inc esi
cmp esi, 0x64
mov dword [esp + 0x10], esi
jl 0x42f05e
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
mov eax, ebp
pop edi
pop ebp
add esp, 0x12c
ret 0x18
mov eax, ebp
pop edi
pop ebp
add esp, 0x12c
ret 0x18
Function at 0x42f190
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x1c
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x20006
push 0
push 0x4eb858
push 0
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push str.Item_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [edi + 0x120]
add esp, 0xc
cmp esi, eax
jl 0x42f1fd
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x42f241
test esi, esi
jl 0x42f20c
mov eax, dword [edi + 0x11c]
mov eax, dword [eax + esi*4]
jmp 0x42f20e
xor eax, eax
cmp esi, dword [edi + 0x120]
jge 0x42f225
test esi, esi
jl 0x42f225
mov ecx, dword [edi + 0x11c]
mov ebx, dword [ecx + esi*4]
jmp 0x42f227
xor ebx, ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push ebx
push 1
push 0
push edx
push eax
call ebp
inc esi
cmp esi, 0x64
jl 0x42f1cd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x128]
mov dword [edi + 0x118], 0x4cc6f4
test eax, eax
je 0x42f29b
mov eax, dword [edi + 0x120]
xor esi, esi
test eax, eax
jle 0x42f29b
cmp esi, eax
jge 0x42f285
test esi, esi
jl 0x42f285
mov edx, dword [edi + 0x11c]
mov eax, dword [edx + esi*4]
jmp 0x42f287
xor eax, eax
push eax
call fcn.004be975
mov eax, dword [edi + 0x120]
add esp, 4
inc esi
cmp esi, eax
jl 0x42f276
mov eax, dword [edi + 0x11c]
push eax
call fcn.004be975
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x431730
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b0
push ebx
push esi
mov esi, ecx
push edi
push 0xf7
mov eax, dword [esi + 0x12c]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
mov edi, eax
push 0xffffffffffffffff
push 0x100c
push edi
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 4
push ecx
push 0
push 0x1005
push edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
call ebx
test eax, eax
je 0x431877
mov eax, dword [esi + 0x12c]
lea edx, [esp + 0xc]
push 0x1f
push edx
push 0x101
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov eax, dword [esp + 0x4c]
test eax, eax
mov edi, eax
je 0x43182d
mov edx, dword [eax]
push 0x2000
lea ecx, [esp + 0x160]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp ax, 0x4550
jne 0x4317f5
mov eax, dword [esi + 0x134]
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esi + 8]
push str._s__s___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x43184b
mov edx, dword [esi + 0x134]
lea ecx, [esp + 0x54]
push 0x105
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edx, dword [edi]
lea eax, [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esi + 8]
push str._s__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x43184b
mov edx, dword [esi + 0x134]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esi + 8]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ecx, dword [esi + 0x12c]
push 0xff
push ecx
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x431868
mov ecx, esi
call fcn.00431cb0
mov edx, dword [esi + 0x12c]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
add esp, 0x2b0
ret
Function at 0x43bd80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x130
lea eax, [esp]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43beed
push ebx
push ebp
push esi
push edi
push 0x80
call fcn.004be967
mov ecx, dword [esp + 0x14]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x38]
xor ebx, ebx
push 0x105
push eax
mov edi, 0x1f
push ebx
push ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x43be6c
lea edx, [esp + 0x38]
push edx
call fcn.0044a200
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x43be45
lea esi, [edi + 1]
cmp ebx, esi
jne 0x43be40
lea eax, [edi*4 + 0x104]
push eax
call fcn.004be967
mov ebp, eax
mov ecx, esi
mov esi, dword [esp + 0x24]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004be975
mov eax, dword [esp + 0x30]
add esp, 8
add eax, 0x40
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov dword [ebp + ebx*4], eax
inc ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
inc eax
push 0x105
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x43bde7
xor edi, edi
test ebx, ebx
jle 0x43be98
cmp edi, ebx
mov esi, ebp
jge 0x43be80
test edi, edi
jl 0x43be80
mov eax, dword [esi]
jmp 0x43be82
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0043bd80
add esp, 8
inc edi
add esi, 4
cmp edi, ebx
jl 0x43be78
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edi, edi
test ebx, ebx
jle 0x43bee0
cmp edi, ebx
mov esi, ebp
jge 0x43becd
test edi, edi
jl 0x43becd
mov eax, dword [esi]
jmp 0x43becf
xor eax, eax
push eax
call fcn.004be975
add esp, 4
inc edi
add esi, 4
cmp edi, ebx
jl 0x43bec5
push ebp
call fcn.004be975
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret