joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e4c
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 0x419e55
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.00404b70
mov eax, dword [ebp - 8]
call fcn.00404b70
mov eax, dword [ebp - 0xc]
call fcn.00404b70
xor eax, eax
push ebp
push 0x41a01c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.00404714
lea ecx, [ebp - 4]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00419d48
mov ebx, 0x20019
cmp byte [ebp + 0xc], 0
je 0x419ecd
or ebx, 0x100
lea eax, [ebp - 0x10]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404b80
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x419ff6
xor edx, edx
push ebp
push 0x419fef
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.00404b80
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x419fd8
cmp dword [ebp - 0x1c], 4
jne 0x419f5d
cmp dword [ebp - 0x20], 4
jne 0x419f5d
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.004082bc
jmp 0x419fd8
cmp dword [ebp - 0x1c], 7
jne 0x419fcb
cmp dword [ebp - 0x20], 2
jle 0x419fcb
jmp 0x419f6e
dec dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0
jle 0x419f8e
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 0x2800
jbe 0x419f84
call fcn.004039d8
cmp byte [ebp + eax - 0x2821], 0
je 0x419f6b
lea edx, [ebp - 0x2821]
mov eax, esi
mov ecx, dword [ebp - 0x20]
call fcn.004047b0
push 0
push 0
push 0
lea eax, [ebp - 0x2828]
push eax
mov eax, dword [esi]
mov ecx, 0x41a034
mov edx, 0x41a040
call fcn.004179fc
mov edx, dword [ebp - 0x2828]
mov eax, esi
call fcn.00404714
jmp 0x419fd8
mov edx, esi
lea eax, [ebp - 0x2821]
call fcn.00408dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419ff6
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 0x41a023
lea eax, [ebp - 0x2828]
call fcn.004046c0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e4
ret
Function at 0x41a0fc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x41a105
mov eax, dword [ebp - 4]
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x800c], ebx
mov dword [ebp - 0x8010], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x41a256
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x43a994
call sub.kernel32.dll_EnterCriticalSection_1
mov eax, dword [ebp + 8]
mov edx, edi
call fcn.00404714
test ebx, ebx
je 0x41a22e
test esi, esi
je 0x41a22e
xor eax, eax
push ebp
push 0x41a1ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b80
push eax
push 0x8001
lea eax, [ebp - 0x8005]
push eax
mov eax, edi
call fcn.00404b80
push eax
mov eax, esi
call fcn.00404b80
push eax
mov eax, ebx
call fcn.00404b80
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
jns 0x41a1ab
call fcn.004039d8
mov ebx, eax
test ebx, ebx
jle 0x41a1c1
lea edx, [ebp - 0x8005]
mov eax, dword [ebp + 8]
mov ecx, ebx
call fcn.004047b0
cmp ebx, 0x2800
jle 0x41a1e4
mov eax, dword [0x439028]
mov edx, 0x41a270
call fcn.00404d9c
mov edx, ebx
call fcn.0040327c
call fcn.004032e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41a22e
push 0x43a994
call sub.kernel32.dll_LeaveCriticalSection_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a25d
lea eax, [ebp - 0x8010]
mov edx, 2
call fcn.004046e4
ret

Function at 0x41a348
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 0x41a3c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046c0
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 0x41a3aa
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00408dac
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00408134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3ca
lea eax, [ebp - 0x108]
call fcn.004046c0
ret

Function at 0x41a3d0
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 0x41a44b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046c0
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 0x41a432
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00408dac
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.00408134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a452
lea eax, [ebp - 0x108]
call fcn.004046c0
ret
Function at 0x41a654
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 0x41a750
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.00404b80
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b80
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.00404d0c
mov eax, dword [ebp - 4]
call fcn.00407f9c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41a733
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.00404b80
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 0x41a716
mov eax, dword [ebx]
call fcn.00404b80
lea edx, [ebp - 0x14]
call fcn.00408dac
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00404714
jmp 0x41a71d
mov eax, ebx
call fcn.004046c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a73a
mov eax, dword [ebp - 0xc]
call fcn.004026b0
ret

Function at 0x41a7f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push eax
mov eax, 0x19
add esp, 0xfffff004
push eax
dec eax
jne 0x41a7f8
mov eax, dword [esp + 0x19000]
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004046c0
test ebx, ebx
je 0x41a83a
push 0x19001
lea eax, [esp + 4]
push eax
test ebx, ebx
jns 0x41a82b
call fcn.004039d8
push ebx
call sub.user32.dll_GetWindowTextA
mov edx, esi
mov eax, esp
call fcn.00408dac
add esp, 0x19004
pop esi
pop ebx
ret

Function at 0x41b1fc
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 0x41b7e4
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.00404b70
xor eax, eax
push ebp
push 0x41b90e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0xbff00000
cmp byte [0x4377c8], 0xff
jne 0x41b846
mov byte [0x4377c8], 0
lea ecx, [ebp - 0x34]
mov edx, 0x41b928
mov eax, 0x41b944
call fcn.004155b8
test eax, eax
je 0x41b83d
mov byte [0x4377c8], 1
mov eax, dword [ebp - 0x34]
push eax
call sub.kernel32.dll_FreeLibrary_1
cmp byte [0x4377c8], 0
sete dl
lea eax, [ebp - 4]
call fcn.0041b6e4
mov ebx, eax
cmp byte [0x4377c8], 1
jne 0x41b8b4
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x439074]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x41b8a7
lea eax, [ebp - 4]
mov dl, 1
call fcn.0041b6e4
mov ebx, eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov eax, dword [0x439074]
mov eax, dword [eax]
call eax
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x41b8f8
fild qword [ebp - 0x20]
fstp qword [ebp - 0x10]
wait
jmp 0x41b8f8
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 0x41b8f8
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 0x41b915
lea eax, [ebp - 4]
call fcn.004046c0
ret
Function at 0x41be28
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.00404b70
xor eax, eax
push ebp
push 0x41bf42
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4377cc], 0
mov eax, esi
call fcn.004046c0
mov edx, dword [ebp - 4]
mov eax, 0x41bf58
call fcn.00404cc4
cmp eax, 2
jne 0x41bec1
lea eax, [ebp - 8]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404be0
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x41bea5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x41bf20
mov eax, dword [ebp - 4]
call fcn.004086c0
test al, al
je 0x41bf20
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404714
jmp 0x41bf20
mov bl, 0x42
inc ebx
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.004048a8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov ecx, 0x41bf58
call fcn.004049cc
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
call sub.kernel32.dll_GetDriveTypeA
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x41befc
cmp eax, dword [esp]
pop edx
pop eax
jne 0x41bf0d
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041bc28
cmp bl, 0x5a
je 0x41bf20
cmp dword [esi], 0
jne 0x41bf20
cmp byte [0x4377cc], 0
je 0x41bec3
mov byte [0x4377cc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bf49
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e4
ret
Function at 0x41bf5c
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 [0x4072b0]
call fcn.004050f0
xor eax, eax
push ebp
push 0x41c0c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408a6c
cmp dword [ebp - 8], 0
je 0x41bfbe
lea eax, [ebp - 8]
mov edx, 0x41c0e0
call fcn.00404988
lea ecx, [ebp - 0x160]
mov edx, 0x27
mov eax, ebx
call fcn.00408888
test eax, eax
jne 0x41c082
xor eax, eax
push ebp
push 0x41c020
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x41c016
push 0x80
lea eax, [ebp - 0x164]
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 8]
call fcn.004049cc
mov eax, dword [ebp - 0x164]
call fcn.00404b80
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41c02a
xor eax, eax
push ebp
push 0x41c065
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.004049cc
mov eax, dword [ebp - 0x168]
call fcn.00408918
mov byte [ebp - 2], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41c06f
lea eax, [ebp - 0x160]
call fcn.004088d8
test eax, eax
je 0x41bfd8
lea eax, [ebp - 0x160]
call fcn.004088fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c0cb
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.004046e4
lea eax, [ebp - 0x160]
mov edx, dword [0x4072b0]
call fcn.004051b4
lea eax, [ebp - 8]
call fcn.004046c0
ret
Function at 0x41c5dc
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.00404b70
xor eax, eax
push ebp
push 0x41c7a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x41c786
xor eax, eax
push ebp
push 0x41c77c
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.00404be0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00407fbc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov ecx, 0x41c7c4
call fcn.004049cc
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
add al, 0xbf
sub al, 0x1a
jae 0x41c772
mov eax, dword [ebp - 0x10]
call fcn.00404b80
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x41c772
push 0x41c7d0
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
call fcn.004048a8
push dword [ebp - 0x1c]
push 0x41c7e0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a40
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp - 0x10]
call fcn.00404b80
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
mov eax, dword [0x439028]
mov edx, 0x41c7ec
call fcn.00404d9c
mov edx, dword [ebp - 0x10]
call fcn.00404d9c
mov dl, 0x20
call fcn.004031e4
mov edx, ebx
call fcn.0040327c
call fcn.004032e4
mov eax, ebx
cdq
cmp edx, 0
jne 0x41c713
cmp eax, 0xffffffff
jne 0x41c713
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 [0x439028]
mov edx, 0x41c800
call fcn.00404d9c
mov edx, dword [ebp - 0x10]
call fcn.00404d9c
mov dl, 0x20
call fcn.004031e4
mov edx, ebx
call fcn.0040327c
call fcn.004032e4
mov eax, ebx
cdq
cmp edx, 0
jne 0x41c748
cmp eax, 0xffffffff
je 0x41c772
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 0x41c786
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c7b0
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.004046e4
lea eax, [ebp - 4]
call fcn.004046c0
ret
Function at 0x41cdfc
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 7
add esp, 0xfffff004
push eax
dec eax
jne 0x41ce05
mov eax, dword [ebp - 4]
add esp, 0xfffffabc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x7548], ebx
mov dword [ebp - 0x7544], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41cf26
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push esi
call sub.kernel32.dll_PeekNamedPipe
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x41ce60
cmp dword [ebp - 0xc], 0
ja 0x41ce64
xor eax, eax
jmp 0x41ce66
mov al, 1
mov ebx, eax
test bl, bl
je 0x41cf08
push 0
lea eax, [ebp - 8]
push eax
push 0x7530
lea eax, [ebp - 0x753d]
push eax
push esi
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x41cf08
mov eax, dword [ebp - 8]
mov byte [ebp + eax - 0x753d], 0
lea eax, [ebp - 0x753d]
push eax
lea eax, [ebp - 0x753d]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x7544]
lea edx, [ebp - 0x753d]
mov ecx, 0x7531
call fcn.00404930
mov edx, dword [ebp - 0x7544]
mov eax, edi
call fcn.00404988
cmp word [ebp + 0xa], 0
je 0x41ceff
lea eax, [ebp - 0x7548]
lea edx, [ebp - 0x753d]
mov ecx, 0x7531
call fcn.00404930
mov edx, dword [ebp - 0x7548]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cf2d
lea eax, [ebp - 0x7548]
mov edx, 2
call fcn.004046e4
ret
Function at 0x41df90
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
xor eax, eax
push ebp
push 0x41e049
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
call fcn.0041859c
test al, al
je 0x41dfd0
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0041d314
mov esi, eax
jmp 0x41dff9
call fcn.00418480
test al, al
je 0x41dfea
mov ecx, ebx
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041d7a0
mov esi, eax
jmp 0x41dff9
mov ecx, ebx
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041d540
mov esi, eax
test esi, esi
je 0x41e033
mov dl, 1
mov eax, dword [0x41dd84]
call fcn.00403a40
mov ebx, eax
mov eax, ebx
call fcn.0041dddc
mov dword [ebx + 0x2ef0], esi
push ebx
push 0x41df54
call sub.user32.dll_EnumWindows
mov eax, ebx
call fcn.0041df18
mov edi, eax
mov eax, ebx
call fcn.00403a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e050
lea eax, [ebp - 4]
call fcn.004046c0
ret

Function at 0x41e19c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
xor eax, eax
push ebp
push 0x41e221
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.00418480
test al, al
je 0x41e1da
xor ecx, ecx
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041dab4
jmp 0x41e1e7
xor ecx, ecx
mov dl, byte [ebp - 5]
mov eax, dword [ebp - 4]
call fcn.0041d540
test eax, eax
je 0x41e20b
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e228
lea eax, [ebp - 4]
call fcn.004046c0
ret
Function at 0x426e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
xor eax, eax
push ebp
push 0x427007
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402a48
mov eax, 0x1869f
call fcn.00402f80
mov edx, dword [ebp - 8]
call fcn.004081d0
mov eax, dword [ebp - 4]
call fcn.00404980
mov ebx, eax
test ebx, ebx
jle 0x426edb
mov esi, 1
lea eax, [ebp - 4]
call fcn.00404bd8
sub byte [eax + esi - 1], 0x32
inc esi
dec ebx
jne 0x426eca
lea eax, [ebp - 0x10]
call fcn.004046c0
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404be0
mov eax, dword [ebp - 0x18]
call fcn.00419a84
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004048a8
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404988
lea eax, [ebp - 4]
mov ecx, 2
mov edx, 1
call fcn.00404c20
cmp dword [ebp - 4], 0
jne 0x426ee3
mov eax, dword [ebp - 0x10]
call fcn.00404980
mov edi, eax
cmp edi, 4
jle 0x426fe4
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edi - 2]
mov byte [ebp - 0xa], al
xor eax, eax
mov ebx, edi
test ebx, ebx
jle 0x426f6e
mov esi, 1
mov edx, edi
dec edx
cmp esi, edx
je 0x426f6a
mov edx, dword [ebp - 0x10]
add al, byte [edx + esi - 1]
inc esi
dec ebx
jne 0x426f5c
cmp al, byte [ebp - 0xa]
jne 0x426fe4
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + edi - 1]
xor al, dl
mov byte [ebp - 9], al
mov ebx, edi
dec ebx
sub ebx, 2
jl 0x426fac
inc ebx
mov esi, 2
lea eax, [ebp - 0x10]
call fcn.00404bd8
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + esi - 1]
xor dl, byte [ebp - 9]
mov byte [eax + esi - 1], dl
inc esi
dec ebx
jne 0x426f92
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + 2]
mov esi, eax
and esi, 0xff
add esi, 3
inc esi
and eax, 0xff
sub edi, eax
xor eax, eax
mov al, dl
sub edi, eax
sub edi, 4
mov eax, dword [ebp - 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, dword [ebp - 0x10]
call fcn.00404be0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42700e
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004046e4
lea eax, [ebp - 4]
call fcn.004046c0
ret
Function at 0x427018
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
xor eax, eax
push ebp
push 0x4270e5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x42704f
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0040852c
mov esi, eax
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.0041b100
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.004085b0
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.004085b0
cmp byte [ebp - 5], 0x4d
jne 0x4270c2
cmp byte [ebp - 6], 0x5a
jne 0x4270c2
push 0
push pe_nt_image_headers32
xor edx, edx
mov eax, esi
call fcn.0041b100
lea edx, [ebp - 5]
mov ecx, 1
mov eax, esi
call fcn.004085b0
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.004085b0
cmp byte [ebp - 5], 0x50
jne 0x4270c2
cmp byte [ebp - 6], 0x45
jne 0x4270c2
mov bl, 1
cmp dword [ebp - 4], 0
je 0x4270cf
mov eax, esi
call fcn.00408640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4270ec
lea eax, [ebp - 4]
call fcn.004046c0
ret

Function at 0x427298
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
xor eax, eax
push ebp
push 0x42731c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404be0
mov eax, dword [ebp - 0x18]
call fcn.00404b80
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x4272fe
mov ebx, dword [ebp - 8]
imul ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427323
lea eax, [ebp - 0x18]
call fcn.004046c0
lea eax, [ebp - 4]
call fcn.004046c0
ret

Function at 0x42c1b4
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, ecx
mov edi, edx
mov dword [esp], eax
xor ebp, ebp
test esi, esi
jbe 0x42c23f
mov ebx, 1
mov eax, esi
xor edx, edx
push edx
push eax
push 0
push 0x10000
call fcn.00415768
mov dword [esp + 4], eax
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, edi
call fcn.00404bd8
lea eax, [eax + ebx - 1]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x42c20c
or ebp, 0xffffffff
add ebx, dword [esp + 8]
sub esi, dword [esp + 8]
xor eax, eax
call fcn.0041686c
cmp ebp, 0xffffffff
je 0x42c22b
mov eax, dword [edi]
call fcn.00404980
cmp ebx, eax
jle 0x42c1cd
mov eax, dword [edi]
call fcn.00404980
cmp ebx, eax
jle 0x42c23f
mov eax, dword [edi]
call fcn.00404980
mov ebp, eax
mov eax, ebp
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret