joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4809b4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480b1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403ee8
mov eax, dword [ebp - 0x10]
call fcn.00480604
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x480a06
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404318
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00481094
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x480adb
xor eax, eax
push ebp
push 0x480ad4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004807b0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00480b4c
test al, al
je 0x480ab2
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403f38
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x480ab2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404294
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x480aac
mov eax, dword [ebp - 0x14]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404008
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004809b4
dec ebx
cmp ebx, 0xffffffff
jne 0x480a65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480adb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004807b0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404294
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0048079c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480b24
lea eax, [ebp - 0x3c]
call fcn.00403e50
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403e74
ret

Function at 0x480b4c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402d4c
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4ccaf8]
cmp byte [edx + 8], 0
je 0x480bb0
mov edx, dword [0x4ccaec]
cmp dword [edx], 2
jne 0x480bb0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x480bb4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x480c6c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00480b4c
test al, al
je 0x480c4e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403f38
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x480c4e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404294
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404008
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x480c07
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480c73
lea eax, [ebp - 0x2c]
call fcn.00403e50
lea eax, [ebp - 0xc]
call fcn.00403e50
ret

Function at 0x480c7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x480d34
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00480b4c
test al, al
je 0x480d16
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403f38
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x480d16
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404294
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404008
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x480ccf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480d3b
lea eax, [ebp - 0x2c]
call fcn.00403e50
lea eax, [ebp - 0xc]
call fcn.00403e50
ret
Function at 0x480fa8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00480618
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404294
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x481006
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cc730]
mov dl, 1
mov eax, dword [0x4803f4]
call fcn.0040c960
call fcn.00403880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x481010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404294
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x481068
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ccb04]
mov dl, 1
mov eax, dword [0x4803f4]
call fcn.0040c960
call fcn.00403880
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00480648
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x48242c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
mov eax, ebx
call fcn.00403e50
push esp
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
je 0x482459
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404080
add esp, 0x108
pop ebx
ret
Function at 0x488808
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x488979
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488954
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00403ff8
lea eax, [ebp - 0x118]
mov edx, 0x488990
call fcn.004040d8
mov eax, dword [ebp - 0x118]
call fcn.00404294
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
je 0x4888c6
lea eax, [ebp - 0x111]
call fcn.00409cb8
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00403f38
jmp 0x4888cd
mov eax, esi
call fcn.00403e50
cmp bl, 0x61
jae 0x4888ee
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040d56c
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00403ea4
jmp 0x488908
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040d4e0
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00403ea4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x48899c
call fcn.0040a3e8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00403ea4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48895b
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404294
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48c1f9
test al, 0x10
jne 0x48c1fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x48ccec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x48ce32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403e50
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ee8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404294
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x48ce1c
mov eax, ebx
call fcn.00402798
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48ce15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je case.default.0x48cd94
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x48ce40
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je case.default.0x48cd94
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov al, byte [ebp - 1]
cmp eax, 5
ja case.default.0x48cd94
jmp dword [eax*4 + 0x48cd9b]
mov edx, esi
mov eax, dword [ebx + 8]
call fcn.0048cbfc
jmp case.default.0x48cd94
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.0048cbfc
jmp case.default.0x48cd94
mov ecx, esi
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
call fcn.0048cc50
jmp case.default.0x48cd94
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.0048cbfc
jmp case.default.0x48cd94
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0048cbfc
jmp case.default.0x48cd94
mov ecx, esi
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x10]
call fcn.0048cc50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ce1c
mov eax, dword [ebp - 0x10]
call fcn.004027b0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ce39
lea eax, [ebp - 8]
call fcn.00403e50
ret
Function at 0x48d034
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x48d03c
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48d2a1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
test eax, eax
jne 0x48d0bf
lea eax, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x110]
mov eax, dword [0x4cc62c]
call fcn.004066f0
mov eax, dword [ebp - 0x110]
push eax
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x118]
xor ecx, ecx
pop eax
call fcn.0040a3e8
mov eax, dword [ebp - 0x10c]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x105]
call fcn.00409d20
lea eax, [ebp - 0x11c]
push eax
lea edx, [ebp - 0x120]
mov eax, dword [0x4cca28]
call fcn.004066f0
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x105]
mov dword [ebp - 0x118], edx
mov byte [ebp - 0x114], 6
lea edx, [ebp - 0x118]
xor ecx, ecx
call fcn.0040a3e8
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
jne 0x48d174
lea eax, [ebp - 0x124]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [0x4cc62c]
call fcn.004066f0
mov eax, dword [ebp - 0x128]
push eax
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x118]
xor ecx, ecx
pop eax
call fcn.0040a3e8
mov eax, dword [ebp - 0x124]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x105]
call fcn.00409d20
lea eax, [ebp - 0x12c]
push eax
lea edx, [ebp - 0x130]
mov eax, dword [0x4cc5e8]
call fcn.004066f0
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x105]
mov dword [ebp - 0x118], edx
mov byte [ebp - 0x114], 6
lea edx, [ebp - 0x118]
xor ecx, ecx
call fcn.0040a3e8
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
jne 0x48d229
lea eax, [ebp - 0x134]
push eax
lea edx, [ebp - 0x138]
mov eax, dword [0x4cc62c]
call fcn.004066f0
mov eax, dword [ebp - 0x138]
push eax
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x114], 0
lea edx, [ebp - 0x118]
xor ecx, ecx
pop eax
call fcn.0040a3e8
mov eax, dword [ebp - 0x134]
call fcn.00404294
mov edx, eax
lea eax, [ebp - 0x105]
call fcn.00409d20
lea eax, [ebp - 0x13c]
push eax
lea edx, [ebp - 0x140]
mov eax, dword [0x4cc810]
call fcn.004066f0
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x105]
mov dword [ebp - 0x118], edx
mov byte [ebp - 0x114], 6
lea edx, [ebp - 0x118]
xor ecx, ecx
call fcn.0040a3e8
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebx]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d2a8
lea eax, [ebp - 0x140]
mov edx, 0xa
call fcn.00403e74
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00403e74
ret
Function at 0x48d538
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x48d5b6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x4cc94c]
call fcn.004066f0
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x34]
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov edi, ebx
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404008
mov edx, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
call fcn.00409cb8
inc eax
add ebx, eax
cmp byte [ebx], 0
jne 0x48d572
push edi
call sub.KERNEL32.DLL_FreeEnvironmentStringsA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d5bd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e74
ret
Function at 0x48d9a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
xor eax, eax
mov cl, byte [0x4c8810]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x18
jne 0x48d9ce
push edx
call sub.ARAR.dll_Ordinal_1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4926c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404284
xor eax, eax
push ebp
push 0x492864
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x5c], 0
jne 0x492710
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0048ff88
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00403ee8
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
call fcn.0048f26c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x40]
mov dl, 1
mov eax, dword [0x48ef48]
call fcn.0048f9d0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x491fb4]
call fcn.0048f324
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [0x491450]
call fcn.0049089c
mov dword [ebp - 0x18], eax
xor edx, edx
push ebp
push 0x492831
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0xc]
mov eax, ebx
call fcn.004145a0
xor edx, edx
mov eax, ebx
call fcn.004141b8
mov eax, dword [ebp - 8]
call fcn.004040d0
push eax
lea eax, [ebp - 8]
call fcn.004042a0
mov edx, eax
mov eax, ebx
pop ecx
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebp - 0x19], 0xa
lea edx, [ebp - 0x19]
mov ecx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebp - 0x19], 0
lea edx, [ebp - 0x19]
mov ecx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
lea edx, [ebp - 0x19]
mov ecx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 8]
xor edx, edx
mov eax, ebx
call fcn.004141b8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x10]
call fcn.0048fbac
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492838
mov eax, dword [ebp - 0x18]
call fcn.004030e8
mov eax, dword [ebp - 0x14]
call fcn.004030e8
mov eax, dword [ebp - 0x10]
call fcn.004030e8
ret
Function at 0x495b20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x495bbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403e50
call sub.KERNEL32.DLL_GetLogicalDrives
mov edi, eax
xor ebx, ebx
mov eax, ebx
cmp eax, 0x1f
ja 0x495b54
bt edi, eax
jae 0x495b9b
lea eax, [ebp - 8]
mov edx, ebx
add dl, 0x41
call fcn.00403ff8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x495bd4
call fcn.0040411c
mov eax, dword [ebp - 4]
call fcn.00404294
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp al, 3
jne 0x495b9b
push dword [esi]
push dword [ebp - 4]
push 0x495be0
mov eax, esi
mov edx, 3
call fcn.00404190
inc ebx
cmp ebx, 0x1a
jne 0x495b4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495bc3
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e74
ret
Function at 0x4c3f70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c3fca
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
lea edx, [ebp - 4]
mov eax, dword [0x4cc450]
call fcn.004066f0
mov eax, dword [ebp - 4]
call fcn.00404294
push eax
push 0x4c3fd8
mov eax, ebx
call fcn.00439060
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3fd1
lea eax, [ebp - 4]
call fcn.00403e50
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x59552301
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x238567be
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40c2d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46569b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045a768
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c352
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004586b7
mov eax, dword [eax]
push 0x47c1d0
push eax
call fcn.0044b5d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045a9f3
test bl, bl
je 0x40c352
push 0x47c1d0
lea ecx, [esp + 0xc]
call fcn.0045ad83
push 0x47fd18
lea ecx, [esp + 0xc]
call fcn.0045ad83
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40c38e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045a9f3
jmp 0x40c459
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40c412
lea edx, [esp + 0x7c]
push 0x47fd14
push edx
call fcn.0044b5d4
add esp, 8
test eax, eax
je 0x40c412
lea eax, [esp + 0x7c]
push 0x47fd10
push eax
call fcn.0044b5d4
add esp, 8
test eax, eax
je 0x40c412
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c3a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045a9f3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40cc50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40ccb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc