joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417bc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x417dbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040469c
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x417c1c
lea edx, [ebp - 0x1c]
xor eax, eax
call fcn.00418b34
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00404734
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404b5c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x417d71
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404ce8
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00404b5c
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x417d71
lea eax, [ebp - 0x14]
mov edx, 0x417dd4
call fcn.00404734
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404b5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
push eax
call sub.version.dll_VerQueryValueA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x417d71
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
lea eax, [ebp - 0x14]
push eax
movzx eax, bx
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, ebx
call fcn.00406e68
movzx eax, ax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x417df8
call fcn.0040921c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404b5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x417d71
mov edx, esi
mov eax, dword [ebp - 0x18]
call fcn.00408d88
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [esi]
mov ecx, 0x417e1c
mov edx, 0x417e28
call fcn.004175fc
mov edx, dword [ebp - 0x38]
mov eax, esi
call fcn.004046f0
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 1
jg 0x417d50
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 4
jge 0x417d71
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 8]
mov eax, dword [esi]
call fcn.00417864
mov edx, dword [ebp - 0x3c]
mov eax, esi
call fcn.004046f0
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov eax, 0x417e34
call fcn.004152dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417dc6
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004046c0
lea eax, [ebp - 0x1c]
call fcn.0040469c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004046c0
lea eax, [ebp - 4]
call fcn.0040469c
ret
Function at 0x417fa8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x41808e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4366c8], 0
jne 0x418065
mov dword [0x4366c8], 0x94
push 0x4366c8
call sub.kernel32.dll_GetVersionExA
cmp dword [0x4366cc], 6
jb 0x418065
cmp dword [0x4366d0], 3
jb 0x418065
push 0x4180a4
lea eax, [ebp - 8]
call fcn.00417f2c
push dword [ebp - 8]
push 0x4180a4
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404a1c
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x41f550]
call fcn.0041fa44
mov dword [0x4366cc], eax
push 0
push 0
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [0x41f550]
call fcn.0041fa44
mov dword [0x4366d0], eax
push 0
push 0
mov ecx, 2
mov edx, dword [ebp - 4]
mov eax, dword [0x41f550]
call fcn.0041fa44
mov dword [0x4366d4], eax
mov edi, ebx
mov esi, 0x4366c8
mov ecx, 0x25
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418095
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046c0
ret

Function at 0x418c04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418c78
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.00418a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418c7f
lea eax, [ebp - 0x10c]
call fcn.0040469c
ret

Function at 0x418c88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418cfc
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.00418a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418d03
lea eax, [ebp - 0x10c]
call fcn.0040469c
ret

Function at 0x418d0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418d80
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.0040490c
mov eax, dword [ebp - 0x10c]
mov ecx, esi
mov edx, ebx
call fcn.00418a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418d87
lea eax, [ebp - 0x10c]
call fcn.0040469c
ret
Function at 0x419a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x419a79
mov eax, dword [ebp - 4]
add esp, 0xfffff7dc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2828], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404b4c
mov eax, dword [ebp - 8]
call fcn.00404b4c
mov eax, dword [ebp - 0xc]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x419c40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.004046f0
lea ecx, [ebp - 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0041996c
mov ebx, 0x20019
cmp byte [ebp + 0xc], 0
je 0x419af1
or ebx, 0x100
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404b5c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x419c1a
xor edx, edx
push ebp
push 0x419c13
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x20], 0x2801
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2821]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404b5c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x419bfc
cmp dword [ebp - 0x1c], 4
jne 0x419b81
cmp dword [ebp - 0x20], 4
jne 0x419b81
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x2821]
mov ecx, 4
call fcn.00402818
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, esi
call fcn.00408298
jmp 0x419bfc
cmp dword [ebp - 0x1c], 7
jne 0x419bef
cmp dword [ebp - 0x20], 2
jle 0x419bef
jmp 0x419b92
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0
jle 0x419bb2
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 0x2800
jbe 0x419ba8
call fcn.004039b4
cmp byte [ebp + eax - 0x2821], 0
je 0x419b8f
lea edx, [ebp - 0x2821]
mov eax, esi
mov ecx, dword [ebp - 0x20]
call fcn.0040478c
push 0
push 0
push 0
lea eax, [ebp - 0x2828]
push eax
mov eax, dword [esi]
mov ecx, 0x419c58
mov edx, 0x419c64
call fcn.004175fc
mov edx, dword [ebp - 0x2828]
mov eax, esi
call fcn.004046f0
jmp 0x419bfc
mov edx, esi
lea eax, [ebp - 0x2821]
call fcn.00408d88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419c1a
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419c47
lea eax, [ebp - 0x2828]
call fcn.0040469c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c0
ret
Function at 0x419d20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x419d29
mov eax, dword [ebp - 4]
add esp, 0xfffff7f4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x280c], ebx
mov dword [ebp - 0x2810], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x419e43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, edi
call fcn.004046f0
test ebx, ebx
je 0x419e25
test esi, esi
je 0x419e25
xor edx, edx
push ebp
push 0x419de5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00404b5c
push eax
push 0x2801
lea eax, [ebp - 0x2805]
push eax
mov eax, edi
call fcn.00404b5c
push eax
mov eax, esi
call fcn.00404b5c
push eax
mov eax, ebx
call fcn.00404b5c
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
jns 0x419dc8
call fcn.004039b4
test eax, eax
jle 0x419ddb
lea edx, [ebp - 0x2805]
mov ecx, dword [ebp + 8]
xchg ecx, eax
call fcn.0040478c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x419e25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419e4a
lea eax, [ebp - 0x2810]
mov edx, 2
call fcn.004046c0
ret

Function at 0x419f10
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x419f8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040469c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x419f72
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00408d88
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00408110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419f92
lea eax, [ebp - 0x108]
call fcn.0040469c
ret

Function at 0x419f98
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41a013
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040469c
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x419ffa
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00408d88
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00408110
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a01a
lea eax, [ebp - 0x108]
call fcn.0040469c
ret
Function at 0x41a21c
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41a318
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404b5c
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b5c
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.00404ce8
mov eax, dword [ebp - 4]
call fcn.00407f78
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41a2fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404b5c
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x41a2de
mov eax, dword [ebx]
call fcn.00404b5c
lea edx, [ebp - 0x14]
call fcn.00408d88
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004046f0
jmp 0x41a2e5
mov eax, ebx
call fcn.0040469c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a302
mov eax, dword [ebp - 0xc]
call fcn.004026b0
ret

Function at 0x41a3d0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push eax
mov eax, 0x19
add esp, 0xfffff004
push eax
dec eax
jne 0x41a3d8
mov eax, dword [esp + 0x19000]
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040469c
test ebx, ebx
je 0x41a41a
push 0x19001
lea eax, [esp + 4]
push eax
test ebx, ebx
jns 0x41a40b
call fcn.004039b4
push ebx
call sub.user32.dll_GetWindowTextA
mov edx, esi
mov eax, esp
call fcn.00408d88
add esp, 0x19004
pop esi
pop ebx
ret

Function at 0x41ab70
Capabilities:
Get file size

Disassembly:
add esp, 0xfffffff4
lea edx, [esp + 8]
push edx
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, dword [esp + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
ret
Function at 0x41b114
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x41b23e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xbff00000
cmp byte [0x4367a4], 0xff
jne 0x41b176
mov byte [0x4367a4], 0
lea ecx, [ebp - 0x34]
mov edx, 0x41b258
mov eax, 0x41b274
call fcn.00415558
test eax, eax
je 0x41b16d
mov byte [0x4367a4], 1
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_FreeLibrary_1
cmp byte [0x4367a4], 0
sete dl
lea eax, [ebp - 4]
call fcn.0041b014
mov ebx, eax
cmp byte [0x4367a4], 1
jne 0x41b1e4
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x438054]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x41b1d7
lea eax, [ebp - 4]
mov dl, 1
call fcn.0041b014
mov ebx, eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x438054]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x41b228
fild qword [ebp - 0x20]
fstp qword [ebp - 0x10]
wait
jmp 0x41b228
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x41b228
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b245
lea eax, [ebp - 4]
call fcn.0040469c
ret
Function at 0x41b758
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x41b872
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4367a8], 0
mov eax, esi
call fcn.0040469c
mov edx, dword [ebp - 4]
mov eax, 0x41b888
call fcn.00404ca0
cmp eax, 2
jne 0x41b7f1
lea eax, [ebp - 8]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404bbc
mov eax, dword [ebp - 8]
call fcn.00404b5c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x41b7d5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x41b850
mov eax, dword [ebp - 4]
call fcn.0040869c
test al, al
je 0x41b850
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004046f0
jmp 0x41b850
mov bl, 0x42
inc ebx
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404884
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x41b888
call fcn.004049a8
mov eax, dword [ebp - 8]
call fcn.00404b5c
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x41b82c
cmp eax, dword [esp]
pop edx
pop eax
jne 0x41b83d
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041b558
cmp bl, 0x5a
je 0x41b850
cmp dword [esi], 0
jne 0x41b850
cmp byte [0x4367a8], 0
je 0x41b7f3
mov byte [0x4367a8], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b879
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046c0
ret
Function at 0x41b88c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 0x160]
mov edx, dword [0x40728c]
call fcn.004050cc
xor eax, eax
push ebp
push 0x41b9f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408a48
cmp dword [ebp - 8], 0
je 0x41b8ee
lea eax, [ebp - 8]
mov edx, 0x41ba10
call fcn.00404964
lea ecx, [ebp - 0x160]
mov edx, 0x27
mov eax, ebx
call fcn.00408864
test eax, eax
jne 0x41b9b2
xor eax, eax
push ebp
push 0x41b950
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x41b946
push 0x80
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004049a8
mov eax, dword [ebp - 0x164]
call fcn.00404b5c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b95a
xor eax, eax
push ebp
push 0x41b995
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004049a8
mov eax, dword [ebp - 0x168]
call fcn.004088f4
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b99f
lea eax, [ebp - 0x160]
call fcn.004088b4
test eax, eax
je 0x41b908
lea eax, [ebp - 0x160]
call fcn.004088d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b9fb
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004046c0
lea eax, [ebp - 0x160]
mov edx, dword [0x40728c]
call fcn.00405190
lea eax, [ebp - 8]
call fcn.0040469c
ret
Function at 0x41bc54
Capabilities:
Create process on windows
Self delete
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x41bc5c
push ebx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x41be3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
call fcn.0040469c
lea edx, [ebp - 0x20]
mov al, 1
call fcn.00418d0c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 8]
mov ecx, 0x41be54
call fcn.004049a8
lea eax, [ebp - 0x18]
mov edx, 0x41be6c
call fcn.00404734
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404734
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00418b34
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00418b94
cmp byte [ebp - 1], 0
je 0x41bd30
push 0
push 0
xor ecx, ecx
mov edx, 0x41be78
mov eax, dword [ebp - 8]
call fcn.0041ad78
lea eax, [ebp - 0x18]
call fcn.0040469c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00408b10
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0xc]
call fcn.00404734
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.00408b10
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.00404734
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.00408b10
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
call fcn.00404734
mov eax, dword [ebp - 8]
call fcn.004088f4
push dword [ebp - 0x1c]
push 0x41be88
push 0x41be98
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404a1c
push dword [ebp - 0x1c]
push 0x41bea4
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 0x41be98
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404a1c
push dword [ebp - 0x1c]
push 0x41beb4
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 0x41bec8
push 0x41be98
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404a1c
test bl, bl
je 0x41bdbc
push dword [ebp - 0x1c]
push 0x41bedc
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x41be98
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404a1c
push dword [ebp - 0x1c]
push 0x41bea4
push dword [ebp - 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0x41be98
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404a1c
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00418d0c
mov eax, dword [ebp - 0x30]
call fcn.00404b5c
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
cmp dword [ebp - 0x1c], 0
je 0x41be0e
push 0
push 0
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0041ad78
cmp dword [ebp - 0x1c], 0
je 0x41be24
push 0
mov eax, dword [ebp - 8]
call fcn.00404b5c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be46
lea eax, [ebp - 0x30]
mov edx, 0xb
call fcn.004046c0
ret
Function at 0x41bee0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b4c
xor eax, eax
push ebp
push 0x41c0ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x41c08a
xor eax, eax
push ebp
push 0x41c080
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404bbc
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00407f98
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x41c0c8
call fcn.004049a8
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
add al, 0xbf
sub al, 0x1a
jae 0x41c076
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x41c076
push 0x41c0d4
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
call fcn.00404884
push dword [ebp - 0x1c]
push 0x41c0e4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a1c
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.00404b5c
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [0x438008]
mov edx, 0x41c0f0
call fcn.00404d78
mov edx, dword [ebp - 0x10]
call fcn.00404d78
mov dl, 0x20
call fcn.004031e4
mov edx, ebx
call fcn.0040327c
call fcn.004032e4
mov eax, ebx
cdq
cmp edx, 0
jne 0x41c017
cmp eax, 0xffffffff
jne 0x41c017
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [0x438008]
mov edx, 0x41c104
call fcn.00404d78
mov edx, dword [ebp - 0x10]
call fcn.00404d78
mov dl, 0x20
call fcn.004031e4
mov edx, ebx
call fcn.0040327c
call fcn.004032e4
mov eax, ebx
cdq
cmp edx, 0
jne 0x41c04c
cmp eax, 0xffffffff
je 0x41c076
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0x2d4808
push ebx
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41c08a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c0b4
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004046c0
lea eax, [ebp - 4]
call fcn.0040469c
ret