joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467a3a
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 0x467a7d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404954
mov eax, dword [ebp - 0x1c]
call fcn.00467338
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x46795b
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404dac
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.00468004
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x467a3a
xor eax, eax
push ebp
push 0x467a33
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004675d8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00467abc
test al, al
je 0x467a11
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.004049a4
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x467a11
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.00404d28
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 0x467a08
mov eax, dword [ebp - 0x20]
call fcn.00404d28
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a9c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00467908
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4679be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467a3a
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004675d8
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d28
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.004675a0
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 0x467a84
lea eax, [ebp - 0x48]
call fcn.004048bc
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004048e0
ret

Function at 0x467a8c
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.00404d28
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 0x467abc
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.004035c8
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 [0x57f354]
cmp byte [eax + 8], 0
je 0x467b47
mov eax, dword [0x57f344]
cmp dword [eax], 2
jne 0x467b47
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 0x467b50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467c19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00467abc
test al, al
je 0x467bfb
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049a4
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x467bfb
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404d28
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x14]
call fcn.00404d28
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a9c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x467baa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c20
lea eax, [ebp - 0x38]
call fcn.004048bc
lea eax, [ebp - 0x14]
call fcn.004048bc
ret
Function at 0x467c24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467ced
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00467abc
test al, al
je 0x467ccf
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004049a4
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x467ccf
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404d28
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0x14]
call fcn.00404d28
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a9c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x467c7e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467cf4
lea eax, [ebp - 0x38]
call fcn.004048bc
lea eax, [ebp - 0x14]
call fcn.004048bc
ret

Function at 0x467cf8
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.004035c8
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.00404d28
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.004673b0
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x467ef0
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.00467360
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.00404d28
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x467f58
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 [0x57f08c]
mov dl, 1
mov eax, dword [0x4671d0]
call fcn.0040e520
call fcn.00404208
mov esp, ebp
pop ebp
ret 8
Function at 0x467f60
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.00404d28
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467fc2
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 [0x57f360]
mov dl, 1
mov eax, dword [0x4671d0]
call fcn.0040e520
call fcn.00404208
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.004673b0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x47e5d0
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 0x47e6b5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5808a8], 0
jne 0x47e697
lea eax, [ebp - 8]
mov edx, 0x47e6cc
call fcn.00404954
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d28
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47e697
mov eax, dword [ebp - 0xc]
call fcn.00402f24
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47e690
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.00404d28
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47e67a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x47e6dc
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47e67a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x5808a8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e697
mov eax, dword [ebp - 0x14]
call fcn.00402f3c
ret
mov eax, dword [0x5808a8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e6bc
lea eax, [ebp - 8]
call fcn.004048bc
ret

Function at 0x48fe38
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5808cc], 0
jne 0x48fe5e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48fd98
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5808cc], eax
pop ebp
ret
Function at 0x49e460
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
test dl, dl
je 0x49e484
add esp, 0xfffffff0
call fcn.00403db0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49e5a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x49a750]
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00415c08
mov dl, 1
mov eax, dword [0x467230]
call fcn.004673f4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49e57b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00467524
mov edx, 0x49e5d0
mov eax, dword [ebp - 0xc]
call fcn.00467810
lea ecx, [ebp - 0x114]
mov edx, 0x49e604
mov eax, dword [ebp - 0xc]
call fcn.00467dbc
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.00404910
lea ecx, [ebp - 0x118]
mov edx, 0x49e61c
mov eax, dword [ebp - 0xc]
call fcn.00467dbc
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.00404910
mov eax, dword [ebp - 0xc]
call fcn.004674d8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x49e565
mov dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 4]
add eax, 0x1c
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404b14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e582
mov eax, dword [ebp - 0xc]
call fcn.00403a14
ret
Function at 0x4aee04
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4aee17
add esp, 0xfffffff0
call fcn.00403db0
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004039b8
mov ecx, edi
mov dl, 1
mov eax, dword [0x4aecfc]
call fcn.0043bc6c
mov esi, eax
mov dword [ebx + 0x10], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4aec98
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x580940], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
test eax, eax
je 0x4aee6a
mov eax, dword [eax + 0x1c]
mov dword [ebx + 4], eax
jmp 0x4aee70
mov eax, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aee87
call fcn.00403e08
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4aeec4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4af04b
mov eax, ebx
mov edx, dword [0x4a6a98]
call fcn.00403bb4
test al, al
je 0x4af04b
cmp byte [esi + 0x14], 0
jne 0x4af044
mov edi, ebx
cmp dword [edi + 0x220], 0
jne 0x4aef13
mov eax, dword [edi + 0x224]
call fcn.004a9a44
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x220]
mov eax, dword [eax + 0xc]
call fcn.004157c0
test eax, eax
jne 0x4aef31
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x2bc]
test eax, eax
je 0x4aef4f
call fcn.0041534c
mov dword [ebp - 4], eax
cmp byte [edi + 0x2c0], 0
je 0x4aef4f
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jle 0x4aefc8
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4aef82
mov edi, dword [esi + 8]
test edi, edi
je 0x4aef82
mov eax, dword [ebx + 0x220]
mov edx, dword [edi + 4]
cmp eax, dword [edx + 0x18]
jne 0x4aef82
mov eax, edi
call fcn.0041534c
cmp eax, dword [ebp - 4]
je 0x4aefc8
mov eax, dword [ebx + 0x220]
mov eax, dword [eax + 0xc]
call fcn.004a95f8
mov dword [ebp - 8], eax
mov eax, dword [0x580938]
mov edi, dword [eax + 8]
test edi, edi
je 0x4aefab
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4aefbb
mov eax, dword [0x580938]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.004a9518
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x4aefcf
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov eax, ebx
call fcn.004ade98
mov byte [ebx + 0x2c0], 1
cmp word [ebx + 0x302], 0
je 0x4af00c
mov eax, dword [ebp - 8]
push eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
setl al
push eax
mov ecx, dword [esi + 8]
mov edx, esi
mov eax, dword [ebx + 0x304]
call dword [ebx + 0x300]
cmp dword [ebp - 8], 0
je 0x4af01c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004ad8e4
cmp dword [esi + 8], 0
je 0x4af03c
cmp dword [ebp - 4], 0xffffffff
jle 0x4af03c
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4af03c
mov eax, dword [esi + 8]
call fcn.00403a14
xor eax, eax
mov dword [ebx + 0x2a8], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, dword [0x580940]
push eax
call sub.user32.dll_UnhookWindowsHookEx
mov ebx, dword [ebp - 8]
mov eax, esi
call fcn.00403a14
xor eax, eax
mov dword [0x580938], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4bbe7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
xor ecx, ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4bbffd
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 0x4bbfd8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x119], 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x105
lea eax, [ebp - 0x119]
push eax
lea eax, [ebp - 0x120]
mov dl, byte [ebp - 1]
call fcn.00404a8c
lea eax, [ebp - 0x120]
mov edx, 0x4bc010
call fcn.00404b6c
mov eax, dword [ebp - 0x120]
call fcn.00404d28
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4bbf3c
lea eax, [ebp - 0x119]
call fcn.0040b1d4
mov ecx, eax
lea edx, [ebp - 0x119]
mov eax, dword [ebp - 8]
call fcn.004049a4
jmp 0x4bbf44
mov eax, dword [ebp - 8]
call fcn.004048bc
cmp byte [ebp - 1], 0x61
jae 0x4bbf6a
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040f410
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.00404910
jmp 0x4bbf88
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040f33c
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
call fcn.00404910
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x134]
xor ecx, ecx
mov eax, 0x4bc01c
call fcn.0040ba64
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 8]
call fcn.00404910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbfdf
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4bfb14
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4bfb3a
test byte [ebp - 0xc], 0x10
jne 0x4bfb3e
xor eax, eax
jmp 0x4bfb40
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4c035c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
xor edx, edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c0527
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
je 0x4c0397
cmp byte [ebx + 0x35], 0
jne 0x4c0397
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4c03c3
cmp byte [ebx + 0x35], 1
jne 0x4c03b1
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004942d4
jmp 0x4c03c3
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004942d4
xor edx, edx
push ebp
push 0x4c0502
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x3c]
mov edx, 0x104
call fcn.00404e98
mov eax, dword [ebx + 0x3c]
call fcn.00404d28
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x38], 0
je 0x4c03fc
mov eax, dword [ebx + 0x38]
call fcn.00404d28
mov dword [ebp - 0x1c], eax
jmp 0x4c0401
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x35], 1
jne 0x4c0410
mov dword [ebp - 0x18], 0x1000
jmp 0x4c0417
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x4bff84
mov dword [ebp - 0x10], ebx
mov eax, dword [0x57f120]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004c0538
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4c04e7
xor eax, eax
push ebp
push 0x4c04e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x35], 0
jne 0x4c04ad
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.0040fb94
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040b474
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004c0690
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x44]
call fcn.00404910
jmp 0x4c04b8
lea eax, [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
call fcn.00404910
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x44]
call fcn.00404910
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x48], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c04e7
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0509
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c0501
push eax
call sub.ole32.dll_CoTaskMemFree
ret

Function at 0x4c06f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d18
xor eax, eax
push ebp
push 0x4c0741
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d28
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4c0725
test al, 0x10
jne 0x4c0729
xor ebx, ebx
jmp 0x4c072b
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0748
lea eax, [ebp - 4]
call fcn.004048bc
ret
Function at 0x4c21c0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2b4]
mov eax, ebx
call fcn.004c1a80
test al, al
je 0x4c22f0
mov eax, dword [ebp - 4]
call fcn.004c1f54
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x68]
mov word [ebp - 8], ax
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.0043f32c
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00404d28
push eax
mov eax, ebx
call fcn.00404d28
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2cc]
call fcn.00404d28
push eax
call sub.kernel32.dll_SetFileAttributesA
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2cc]
mov dl, 1
mov eax, dword [0x412f0c]
call fcn.004177ec
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2a4], esi
xor eax, eax
push ebp
push 0x4c22e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00417468
mov eax, dword [ebp - 4]
add eax, 0x2c8
mov edx, ebx
call fcn.00404910
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c22f0
mov dx, word [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043f32c
mov eax, dword [ebp - 4]
call fcn.004c47c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2d0]
xor edx, edx
call fcn.00414e74
mov eax, dword [ebp - 4]
call fcn.004c2348
mov eax, dword [ebp - 4]
mov byte [eax + 0x321], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x308], 0
push 1
push 1
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004b241c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret