joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d920
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.004c7e56
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_SHGetFileInfo]
test eax, eax
je 0x41d974
lea eax, [esp + 0x41c]
push eax
call fcn.00442c90
add esp, 4
mov dword [edi + 0x18], eax
pop edi
pop esi
add esp, 0x464
ret
cmp dword [edi + 8], 1
jne 0x41d993
push 0x4ee7e4
call fcn.00442c90
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.004c82b0
mov esi, eax
add esp, 8
test esi, esi
je 0x41da4b
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 0x41d9f6
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 0x41da31
inc esi
lea ecx, [esp + 0x110]
push esi
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
lea edx, [esp + 0x110]
push edx
call fcn.004c85b7
add esp, 4
lea eax, [esp + 0x110]
lea ecx, [esp + 0x10]
push eax
push 0x4ee7dc
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call fcn.00442c90
add esp, 4
mov dword [edi + 0x18], eax
pop ebx
pop edi
pop esi
add esp, 0x464
ret
push 0
call fcn.00442c90
add esp, 4
mov dword [edi + 0x18], eax
pop edi
pop esi
add esp, 0x464
ret
Function at 0x41dd50
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 0x41ded0
mov al, byte [0x4fbe40]
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 0x41dd9a
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.kernel32.dll_lstrcpy]
jmp 0x41deb7
cmp eax, 3
jne 0x41dea3
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x41de61
mov cl, byte [0x4fbe40]
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 0x41de45
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 0x4ee800
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
jmp 0x41deb7
mov ecx, dword [esi + 0x68]
movsx edx, byte [ecx]
push edx
push 0x4ee7f8
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
jmp 0x41deb7
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_SHGetFileInfo]
test eax, eax
je 0x41de98
lea eax, [esp + 0x220]
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
jmp 0x41deb7
mov edx, dword [esi + 0x68]
push edx
push 0x4ee7f0
jmp 0x41de51
mov edx, dword [esi + 0x68]
lea ecx, [esp + 0x14]
push 0x100
push ecx
push edx
call dword [sym.imp.comdlg32.dll_GetFileTitleA]
lea eax, [esp + 0x14]
push eax
call fcn.00442c90
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 0x41e360
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 0x41e511
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41e511
push 0x2e
push eax
call fcn.004c82b0
add esp, 8
xor ebp, ebp
test eax, eax
je 0x41e44a
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x41e44a
inc eax
push eax
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea ecx, [esp + 0x16c]
push ecx
call fcn.004c85b7
add esp, 4
lea edx, [esp + 0x16c]
mov ecx, esi
push edx
call fcn.0041e0c0
mov ecx, dword [esi]
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x41e44a
mov eax, dword [ebp]
lea esi, [esp + 0x16c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41e40b
test cl, cl
je 0x41e407
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41e40b
add eax, 2
add esi, 2
test cl, cl
jne 0x41e3e7
xor eax, eax
jmp 0x41e410
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e41d
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x41e3dd
jmp 0x41e44a
test ebp, ebp
je 0x41e44a
mov eax, dword [esp + 0x27c]
test eax, eax
jne 0x41e43f
mov eax, dword [ebp + 8]
test eax, eax
jl 0x41e44a
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
jge 0x41e514
mov esi, dword [esp + 0x27c]
push edi
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
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_SHGetFileInfo]
or ch, 0x40
push ecx
push 0x160
push edx
push 0
push eax
call edi
test eax, eax
jne 0x41e4a4
mov ecx, dword [ebx + 0x68]
or esi, 0x4010
push esi
lea eax, [esp + 0x14]
push 0x160
push eax
push 0x80
push ecx
call edi
test ebp, ebp
pop edi
je 0x41e501
mov eax, dword [ebp + 8]
mov esi, 0xfffffffe
cmp eax, esi
je 0x41e501
cmp dword [ebp + 0xc], esi
je 0x41e4d0
mov eax, dword [ebx + 0x68]
push eax
call fcn.0041c5a0
add esp, 4
test eax, eax
je 0x41e4d0
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
je 0x41e501
cmp dword [ebp + 0xc], esi
je 0x41e501
mov eax, dword [esp + 0x27c]
test eax, eax
je 0x41e4fa
mov edx, dword [esp + 0x10]
pop esi
mov dword [ebp + 0xc], edx
pop ebp
mov eax, edx
pop ebx
add esp, 0x268
ret 8
mov eax, dword [esp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x10]
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 0x424450
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, ecx
push eax
push 4
push esi
push 0x423e20
push 0
push 0
call fcn.004c8b54
add esp, 0x18
mov dword [esi + 0x18], eax
push eax
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x424480
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [esi + 8]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
push 0
push 1
push ecx
call edi
mov ebx, dword [sym.imp.user32.dll_EnableWindow]
push eax
call ebx
mov edx, dword [esi + 8]
push 0
push 5
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 8]
push 0
push 7
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 8]
push 0
push 6
push ecx
call edi
push eax
call ebx
push 1
mov ecx, esi
mov dword [esi + 0x1c], 0
call fcn.00423da0
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x423e50
push 0
push 0
call fcn.004c8b54
add esp, 0x18
mov dword [esi + 0x18], eax
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x425fd0
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 0x426005
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 0x42603c
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 0x426120
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jne 0x426120
push 0xfde8
call fcn.004c7e90
push 0xfde8
mov ebp, eax
call fcn.004c7e90
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 0x426107
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 0x426107
mov eax, dword [esp + 0x2c]
mov esi, ebp
mov ecx, eax
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x426107
cmp eax, 0xfde8
jae 0x4260e5
cmp dword [esp + 0x20], eax
je 0x4260ff
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 0x4260aa
jmp 0x426107
mov dword [esp + 0x28], 1
push ebp
call fcn.004c7e56
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c7e56
mov ebp, dword [esp + 0x1c]
add esp, 8
jmp 0x426128
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 0x4276b0
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 [0x4fb9ac]
test eax, eax
jne 0x427705
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 0x427748
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 [0x4fbcb0]
test eax, eax
je 0x427759
fld qword [0x4fbcb8]
jmp 0x42775f
fld qword [0x4d8778]
mov edx, dword [esi + 0x14]
fstp qword [edx + 0x70]
mov eax, dword [0x4fbcb0]
test eax, eax
je 0x427776
fld qword [0x4fbcb8]
jmp 0x42777c
fld qword [0x4d8778]
mov eax, dword [esi + 0x18]
push 1
fstp qword [eax + 0x70]
mov ecx, dword [esi + 0x14]
mov edx, dword [0x4fb950]
mov dword [ecx + 0x7c], edx
mov eax, dword [esi + 0x18]
mov ecx, dword [0x4fb950]
mov dword [eax + 0x7c], ecx
mov ecx, dword [esi + 0x14]
call fcn.0045dfd0
mov ecx, dword [esi + 0x18]
push 1
call fcn.0045dfd0
mov ecx, dword [esi + 0x14]
push 0
push 0
call fcn.0045d120
mov ecx, dword [esi + 0x18]
push 0
push 0
call fcn.0045d120
mov ecx, dword [esi + 0x14]
push ebx
push edi
call fcn.0045e5c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
push edx
push ebp
call fcn.0045e5c0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x14]
push 0
push eax
call fcn.0045d120
mov ecx, dword [esi + 0x20]
push 0
push ecx
mov ecx, dword [esi + 0x18]
call fcn.0045d120
mov ecx, dword [esi + 0x14]
push 1
push 8
call fcn.0045d440
mov ecx, dword [esi + 0x18]
push 1
push 8
call fcn.0045d440
mov ecx, dword [esi + 0x14]
call fcn.0045d9f0
mov ecx, dword [esi + 0x18]
call fcn.0045d9f0
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 0x4282a0
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.00442b60
add esp, 0xc
test eax, eax
jne 0x4282c6
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.00443b10
add esp, 0xc
test eax, eax
je 0x428302
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jg 0x428302
jl 0x4282f8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
cmp ecx, eax
jae 0x428302
mov eax, 0x70
pop ebx
add esp, 0x10
ret
push ebp
push esi
xor esi, esi
call fcn.00443d80
cmp eax, 2
jne 0x42836f
push 0x4eeb04
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
je 0x42836f
push edi
push 0x4eeaf8
push ebp
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x428363
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 0x4281f0
push ebx
push eax
call edi
mov esi, eax
push ebp
call dword [sym.imp.kernel32.dll_FreeLibrary]
test edi, edi
pop edi
jne 0x42837f
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 0x4283a2
push ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
test al, 1
je 0x42839b
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 0x4283b0
Capabilities:
Delete file
Move file

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x18]
mov al, 0x3a
cmp byte [edi + 1], al
jne 0x428424
cmp byte [esi + 1], al
jne 0x428424
movsx eax, byte [edi]
push eax
call fcn.004c8393
movsx ecx, byte [esi]
push ecx
mov ebx, eax
call fcn.004c8393
add esp, 8
cmp ebx, eax
jne 0x428424
mov ebx, dword [sym.imp.kernel32.dll_MoveFileA]
push esi
push edi
call ebx
test eax, eax
je 0x4283f8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebp, dword [sym.imp.kernel32.dll_GetLastError]
call ebp
cmp eax, 0xb7
jne 0x42844f
push esi
call dword [sym.imp.kernel32.dll_DeleteFileA]
push esi
push edi
call ebx
test eax, eax
je 0x42841d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x14]
push esi
push edi
push edx
call fcn.004282a0
add esp, 0xc
test eax, eax
jne 0x42844f
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
je 0x428449
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
call dword [sym.imp.kernel32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x428460
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6c61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
mov eax, dword [esp + 0x140]
mov edx, dword [esp + 0x154]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x154]
push edi
mov dword [ebp], eax
mov eax, dword [esp + 0x14c]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0x114], eax
push 0x80
mov dword [esp + 0x20], ebp
mov dword [ebp + 0x118], 0x4d86f4
call fcn.004c7e90
xor edi, edi
add esp, 4
mov dword [ebp + 0x11c], eax
mov dword [ebp + 0x120], edi
mov dword [ebp + 0x124], 0x1f
mov dword [ebp + 0x128], edi
mov dword [ebp + 0x12c], pe_nt_image_headers32
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x150]
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
mov dword [esp + 0x148], edi
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 [0x4ee264]
push ecx
push 0x20019
push edi
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x428689
push ebx
push esi
xor esi, esi
mov dword [esp + 0x10], esi
push esi
lea eax, [esp + 0x2c]
push 0x4eeb14
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
lea eax, [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
push edx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x42866a
lea eax, [esp + 0x3c]
push eax
call fcn.00442c90
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x42866a
mov ecx, dword [ebp + 0x124]
mov ebx, dword [ebp + 0x120]
lea edx, [ecx + 1]
cmp ebx, edx
jne 0x42864e
mov eax, dword [ebp + 0x12c]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.004c7e90
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.004c7e56
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 0x428571
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop ebx
jmp 0x42868b
mov eax, ebp
mov ecx, dword [esp + 0x138]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret 0x18
Function at 0x4286b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
sub esp, 0x1c
mov edx, dword [0x4ee264]
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 0x4fbe40
push 0
push edx
push 0x80000001
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 0x4eeb14
push eax
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [edi + 0x120]
add esp, 0xc
cmp esi, eax
jl 0x42871d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
jmp 0x428761
test esi, esi
jl 0x42872c
mov eax, dword [edi + 0x11c]
mov eax, dword [eax + esi*4]
jmp 0x42872e
xor eax, eax
cmp esi, dword [edi + 0x120]
jge 0x428745
test esi, esi
jl 0x428745
mov ecx, dword [edi + 0x11c]
mov ebx, dword [ecx + esi*4]
jmp 0x428747
xor ebx, ebx
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
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 0x4286ed
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [edi + 0x128]
mov dword [edi + 0x118], 0x4d86f4
test eax, eax
je 0x4287bb
mov eax, dword [edi + 0x120]
xor esi, esi
test eax, eax
jle 0x4287bb
cmp esi, eax
jge 0x4287a5
test esi, esi
jl 0x4287a5
mov edx, dword [edi + 0x11c]
mov eax, dword [edx + esi*4]
jmp 0x4287a7
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [edi + 0x120]
add esp, 4
inc esi
cmp esi, eax
jl 0x428796
mov eax, dword [edi + 0x11c]
push eax
call fcn.004c7e56
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x42ac00
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 0x42ad47
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 0x42acfd
mov edx, dword [eax]
push 0x2000
lea ecx, [esp + 0x160]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
cmp ax, 0x4550
jne 0x42acc5
mov eax, dword [esi + 0x134]
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
lea eax, [esi + 8]
push 0x4eeba4
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x14
jmp 0x42ad1b
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 0x4eeb98
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x14
jmp 0x42ad1b
mov edx, dword [esi + 0x134]
lea ecx, [esp + 0xc]
push ecx
push edx
lea eax, [esi + 8]
push 0x4eeb90
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 0x42ad38
mov ecx, esi
call fcn.0042b140
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