joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4653a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x4653e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00446cec
test al, al
je 0x4653e7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00446828
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4653e7
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.00446828
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x466fec
Capabilities:
Delete registry key
Query or enumerate 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 0x467161
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040492c
mov eax, dword [ebp - 0x1c]
call fcn.00466a1c
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x46703f
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404d84
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.004676e8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46711e
xor eax, eax
push ebp
push 0x467117
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00466cbc
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004671a0
test al, al
je 0x4670f5
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0040497c
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x4670f5
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.00404d00
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 0x4670ec
mov eax, dword [ebp - 0x20]
call fcn.00404d00
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a74
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00466fec
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4670a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46711e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00466cbc
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d00
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00466c84
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 0x467168
lea eax, [ebp - 0x48]
call fcn.00404894
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004048b8
ret
Function at 0x46711e
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 0x467161
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.0040492c
mov eax, dword [ebp - 0x1c]
call fcn.00466a1c
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x46703f
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404d84
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.004676e8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46711e
xor eax, eax
push ebp
push 0x467117
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00466cbc
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.004671a0
test al, al
je 0x4670f5
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0040497c
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x4670f5
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.00404d00
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 0x4670ec
mov eax, dword [ebp - 0x20]
call fcn.00404d00
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404a74
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00466fec
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4670a2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46711e
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00466cbc
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00404d00
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00466c84
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 0x467168
lea eax, [ebp - 0x48]
call fcn.00404894
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004048b8
ret

Function at 0x467170
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.00404d00
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 0x4671a0
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.004035bc
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 [0x578a50]
cmp byte [eax + 8], 0
je 0x46722b
mov eax, dword [0x578a40]
cmp dword [eax], 2
jne 0x46722b
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 0x467234
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 0x4672fd
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.004671a0
test al, al
je 0x4672df
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040497c
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x4672df
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.00404d00
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.00404d00
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a74
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 0x46728e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467304
lea eax, [ebp - 0x38]
call fcn.00404894
lea eax, [ebp - 0x14]
call fcn.00404894
ret
Function at 0x467308
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 0x4673d1
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.004671a0
test al, al
je 0x4673b3
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040497c
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x4673b3
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.00404d00
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.00404d00
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404a74
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 0x467362
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4673d8
lea eax, [ebp - 0x38]
call fcn.00404894
lea eax, [ebp - 0x14]
call fcn.00404894
ret

Function at 0x4673dc
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.004035bc
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.00404d00
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.00466a94
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x4675d4
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.00466a44
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.00404d00
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46763c
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 [0x5787a4]
mov dl, 1
mov eax, dword [0x4668b4]
call fcn.0040e4d0
call fcn.004041fc
mov esp, ebp
pop ebp
ret 8
Function at 0x467644
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.00404d00
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4676a6
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 [0x578a5c]
mov dl, 1
mov eax, dword [0x4668b4]
call fcn.0040e4d0
call fcn.004041fc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00466a94
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x47dcb4
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 0x47dd99
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5798a8], 0
jne 0x47dd7b
lea eax, [ebp - 8]
mov edx, 0x47ddb0
call fcn.0040492c
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00404d00
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47dd7b
mov eax, dword [ebp - 0xc]
call fcn.00402f14
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x47dd74
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.00404d00
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47dd5e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x47ddc0
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47dd5e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x5798a8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dd7b
mov eax, dword [ebp - 0x14]
call fcn.00402f2c
ret
mov eax, dword [0x5798a8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dda0
lea eax, [ebp - 8]
call fcn.00404894
ret

Function at 0x48f51c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5798cc], 0
jne 0x48f542
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48f47c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5798cc], eax
pop ebp
ret
Function at 0x49db44
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 0x49db68
add esp, 0xfffffff0
call fcn.00403da4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49dc84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x499e34]
push eax
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00415bb8
mov dl, 1
mov eax, dword [0x466914]
call fcn.00466ad8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49dc5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00466c08
mov edx, 0x49dcb4
mov eax, dword [ebp - 0xc]
call fcn.00466ef4
lea ecx, [ebp - 0x114]
mov edx, 0x49dce8
mov eax, dword [ebp - 0xc]
call fcn.004674a0
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.004048e8
lea ecx, [ebp - 0x118]
mov edx, 0x49dd00
mov eax, dword [ebp - 0xc]
call fcn.004674a0
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.004048e8
mov eax, dword [ebp - 0xc]
call fcn.00466bbc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x49dc49
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.00404aec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dc66
mov eax, dword [ebp - 0xc]
call fcn.00403a08
ret
Function at 0x4aeaa8
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x4aeabb
add esp, 0xfffffff0
call fcn.00403da4
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004039ac
mov ecx, edi
mov dl, 1
mov eax, dword [0x4ae9a0]
call fcn.0043b350
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 0x4ae93c
push 2
call sub.user32.dll_SetWindowsHookExA
mov dword [0x579940], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
test eax, eax
je 0x4aeb0e
mov eax, dword [eax + 0x1c]
mov dword [ebx + 4], eax
jmp 0x4aeb14
mov eax, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aeb2b
call fcn.00403dfc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4aeb68
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 0x4aecef
mov eax, ebx
mov edx, dword [0x4a673c]
call fcn.00403ba8
test al, al
je 0x4aecef
cmp byte [esi + 0x14], 0
jne 0x4aece8
mov edi, ebx
cmp dword [edi + 0x220], 0
jne 0x4aebb7
mov eax, dword [edi + 0x224]
call fcn.004a96e8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x220]
mov eax, dword [eax + 0xc]
call fcn.00415770
test eax, eax
jne 0x4aebd5
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x2bc]
test eax, eax
je 0x4aebf3
call fcn.004152fc
mov dword [ebp - 4], eax
cmp byte [edi + 0x2c0], 0
je 0x4aebf3
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffff
jle 0x4aec6c
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4aec26
mov edi, dword [esi + 8]
test edi, edi
je 0x4aec26
mov eax, dword [ebx + 0x220]
mov edx, dword [edi + 4]
cmp eax, dword [edx + 0x18]
jne 0x4aec26
mov eax, edi
call fcn.004152fc
cmp eax, dword [ebp - 4]
je 0x4aec6c
mov eax, dword [ebx + 0x220]
mov eax, dword [eax + 0xc]
call fcn.004a929c
mov dword [ebp - 8], eax
mov eax, dword [0x579938]
mov edi, dword [eax + 8]
test edi, edi
je 0x4aec4f
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4aec5f
mov eax, dword [0x579938]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 8]
call fcn.004a91bc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x10]
jmp 0x4aec73
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov eax, ebx
call fcn.004adb3c
mov byte [ebx + 0x2c0], 1
cmp word [ebx + 0x302], 0
je 0x4aecb0
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 0x4aecc0
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004ad588
cmp dword [esi + 8], 0
je 0x4aece0
cmp dword [ebp - 4], 0xffffffff
jle 0x4aece0
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jl 0x4aece0
mov eax, dword [esi + 8]
call fcn.00403a08
xor eax, eax
mov dword [ebx + 0x2a8], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x74]
mov eax, dword [0x579940]
push eax
call sub.user32.dll_UnhookWindowsHookEx
mov ebx, dword [ebp - 8]
mov eax, esi
call fcn.00403a08
xor eax, eax
mov dword [0x579938], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x4bbb18
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 0x4bbc99
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 0x4bbc74
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.00404a64
lea eax, [ebp - 0x120]
mov edx, 0x4bbcac
call fcn.00404b44
mov eax, dword [ebp - 0x120]
call fcn.00404d00
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4bbbd8
lea eax, [ebp - 0x119]
call fcn.0040b184
mov ecx, eax
lea edx, [ebp - 0x119]
mov eax, dword [ebp - 8]
call fcn.0040497c
jmp 0x4bbbe0
mov eax, dword [ebp - 8]
call fcn.00404894
cmp byte [ebp - 1], 0x61
jae 0x4bbc06
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040f3c0
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.004048e8
jmp 0x4bbc24
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040f2ec
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 8]
call fcn.004048e8
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, 0x4bbcb8
call fcn.0040ba14
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 8]
call fcn.004048e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bbc7b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4bf7b0
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.00404d00
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4bf7d6
test byte [ebp - 0xc], 0x10
jne 0x4bf7da
xor eax, eax
jmp 0x4bf7dc
mov al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4bfff8
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 0x4c01c3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x34], 0
je 0x4c0033
cmp byte [ebx + 0x35], 0
jne 0x4c0033
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x4c005f
cmp byte [ebx + 0x35], 1
jne 0x4c004d
lea eax, [ebp - 0x24]
push eax
push 0x12
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004939b8
jmp 0x4c005f
lea eax, [ebp - 0x24]
push eax
push 0x11
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004939b8
xor edx, edx
push ebp
push 0x4c019e
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x3c]
mov edx, 0x104
call fcn.00404e70
mov eax, dword [ebx + 0x3c]
call fcn.00404d00
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x38], 0
je 0x4c0098
mov eax, dword [ebx + 0x38]
call fcn.00404d00
mov dword [ebp - 0x1c], eax
jmp 0x4c009d
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x35], 1
jne 0x4c00ac
mov dword [ebp - 0x18], 0x1000
jmp 0x4c00b3
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 0x4bfc20
mov dword [ebp - 0x10], ebx
mov eax, dword [0x578828]
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.004c01d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x4c0183
xor eax, eax
push ebp
push 0x4c017c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x35], 0
jne 0x4c0149
lea eax, [ebp - 0x12d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
call fcn.0040fb44
lea edx, [ebp - 0x138]
lea eax, [ebp - 0x12d]
call fcn.0040b424
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004c032c
mov edx, dword [ebp - 0x134]
lea eax, [ebx + 0x44]
call fcn.004048e8
jmp 0x4c0154
lea eax, [ebx + 0x44]
mov edx, dword [ebx + 0x3c]
call fcn.004048e8
lea eax, [ebx + 0x40]
mov edx, dword [ebx + 0x44]
call fcn.004048e8
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 0x4c0183
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 0x4c01a5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4c019d
push eax
call sub.ole32.dll_CoTaskMemFree
ret

Function at 0x4c038c
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.00404cf0
xor eax, eax
push ebp
push 0x4c03dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404d00
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4c03c1
test al, 0x10
jne 0x4c03c5
xor ebx, ebx
jmp 0x4c03c7
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c03e4
lea eax, [ebp - 4]
call fcn.00404894
ret