joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cd69
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov dword [0x4d81f4], eax
call fcn.0040f957
call fcn.00404001
call fcn.00413cfc
xor ebx, ebx
mov esi, 0x4d80e8
push ebx
mov ecx, esi
call fcn.004105d7
call fcn.00405c3c
mov edi, 0x4d8d24
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x4d7d40]
or eax, dword [0x4d7d44]
jne 0x41cdc9
push 0x4d7d40
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0x4d7d48
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push 0x4d801c
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
push ebx
push 0x3854
call fcn.00412e01
push 0xd6fd2
push 0x311f1
lea eax, [ebp - 0x60]
push 0x4c07e4
push eax
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
push 0x4c07d2
mov ecx, esi
call fcn.00443666
lea eax, [ebp - 0x60]
push eax
push 0x4c07d0
mov ecx, esi
call fcn.00443666
push 0x4c07c0
lea ecx, [ebp + 0x68]
call fcn.0044cd74
push dword [0x4d60f0]
lea ecx, [ebp + 0x68]
call fcn.00443fc7
push dword [ebp + 0x68]
mov ecx, esi
push 0x4c07a8
call fcn.00443666
push 0x4c07a4
push 0x4c0794
mov ecx, esi
call fcn.004436b6
push ebx
push 0x3861
call fcn.00412e01
call fcn.00412c5f
push ebx
push 0x3863
call fcn.00412e01
mov eax, dword [ebp + 0x78]
add esp, 0x10
cmp dword [0x4d7c84], ebx
mov dword [0x4d7fa0], eax
jne 0x41ce9b
mov dword [0x4d7c84], eax
mov eax, dword [ebp + 0x7c]
mov dword [0x4d62c4], eax
call fcn.0043e4a8
push 0x4c076c
push dword [0x4d824c]
mov esi, 0x4d80e8
push esi
call fcn.00446583
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
add esp, 0xc
push 0x4c075c
call edi
push eax
push esi
call fcn.00446583
add esp, 0xc
call edi
push eax
call fcn.00404dde
mov dword [esp], 0x4c074c
push eax
push esi
call fcn.00446583
push 0x4c0738
push dword [0x4d7fa0]
push esi
call fcn.00446583
add esp, 0x18
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0x4c0728
push eax
push esi
mov dword [0x4d7e70], eax
call fcn.00446583
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x386c
push ebx
push eax
call fcn.00412e01
movzx eax, word [0x4d7c0c]
push 0x4c070c
push eax
push esi
call fcn.00446583
add esp, 0x14
push 0x20a
lea ecx, [ebp + 0x6c]
call fcn.00443f79
push dword [ebp + 0x6c]
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4c039c
call fcn.004436b6
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4c0700
call fcn.004436b6
mov eax, dword [ebp + 0x6c]
mov word [eax + 4], bx
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4c0388
call fcn.004436b6
mov eax, dword [ebp + 0x6c]
push edi
push eax
push ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4c03b0
call fcn.004436b6
call fcn.00412e11
lea ecx, [ebp + 0x6c]
call fcn.0043db4f
lea ecx, [ebp + 0x68]
call fcn.0043db4f
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x41d94f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41d976
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.004103a8
test eax, eax
je 0x41d976
call fcn.00410439
test eax, eax
mov dword [esp + 0xc], eax
jne 0x41d97d
xor eax, eax
jmp 0x41da8c
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push ebp
push edi
push pe_nt_image_headers32
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x41d9b5
push pe_nt_image_headers32
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x41d9b5
xor eax, eax
jmp 0x41da89
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.00414899
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x41d9e2
cmp dword [eax + 0xa4], ebx
jbe 0x41d9e2
push edi
mov ecx, esi
call fcn.00410100
test eax, eax
je 0x41d9ae
push edi
mov ecx, esi
call fcn.00410222
test eax, eax
jne 0x41d9fd
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x41d9ae
mov eax, dword [esi + 0x14]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x14]
test byte [eax + 0x17], 0x20
je 0x41da16
mov eax, dword [eax + 0x28]
add eax, edi
mov dword [esi + 4], eax
jmp 0x41da4d
mov ebx, dword [esi]
mov ebp, dword [esi + 0xc]
push 0x4c08a0
mov ecx, esi
mov dword [esi], 0x200
mov dword [esi + 0xc], edi
call fcn.00410036
test eax, eax
mov dword [esi + 4], eax
jne 0x41da46
push 0x4c0894
mov ecx, esi
call fcn.00410036
mov dword [esi + 4], eax
mov dword [esi], ebx
mov dword [esi + 0xc], ebp
xor ebx, ebx
mov eax, dword [esi + 4]
xor ebp, ebp
inc ebp
cmp eax, ebx
je 0x41da7b
push ebx
push ebp
push edi
call eax
test eax, eax
jne 0x41da7b
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x41d9ae
mov dword [esi + 0xc], edi
mov dword [esi], ebp
mov dword [0x4d7f88], esi
mov eax, dword [esi + 0xc]
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x422a0e
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 0x4c04c4
lea ecx, [ebp + 0x64]
sar esi, 0x10
call fcn.0044cd74
mov ebx, dword [ebp + 0x74]
push esi
push dword [ebx]
call fcn.00412474
pop ecx
pop ecx
push 0x20a
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x74], eax
call fcn.00443f79
push dword [ebp + 0x68]
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov edi, dword [ebp + 0x78]
push edi
lea ecx, [ebp - 0x38]
call fcn.0040fdd5
push edi
lea ecx, [ebp - 0x38]
call fcn.004105d7
push dword [ebp + 0x68]
mov eax, dword [edi + 0x14]
push 0x4c039c
mov dword [ebp - 0x24], eax
call fcn.00443666
movzx eax, si
push eax
lea ecx, [ebp - 0x38]
mov word [ebp - 0xc], si
call fcn.00442712
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x74]
push 0
push ebx
call fcn.004222cb
movzx esi, ax
or esi, dword [ebp + 0x7c]
add esp, 0x14
mov edi, 0x4d8d24
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and dword [ebp + 0xc], 0
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
lea ecx, [ebp - 0x38]
call fcn.004353b6
lea ecx, [ebp + 8]
call fcn.0043db4f
lea ecx, [ebp + 0x68]
call fcn.0043db4f
lea ecx, [ebp + 0x64]
call fcn.0043db4f
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x429c05
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20a
lea ecx, [ebp - 4]
call fcn.00443f79
mov eax, dword [ebp - 4]
mov word [eax], 0x20
mov eax, dword [ebp - 4]
and word [eax + 2], 0
mov eax, dword [ebp - 4]
push 0x208
add eax, 2
push eax
push 0x4c1c08
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push 0x4c1bd4
lea ecx, [ebp - 4]
call fcn.00443fc7
mov bl, byte [ebp + 0xc]
test bl, 0x20
mov esi, 0x4c1bc4
je 0x429c60
mov esi, 0x4bd864
test bl, 0x10
je 0x429c6a
mov esi, 0x4c1bb4
test bl, 2
je 0x429c74
mov esi, 0x4c1ba4
test bl, 4
je 0x429c7e
mov esi, 0x4c1b94
test bl, 8
je 0x429c88
mov esi, 0x4c1b88
test bl, 0x40
je 0x429c92
mov esi, 0x4c1b74
test bl, bl
jns 0x429c9b
mov esi, 0x4c1b68
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00443fc7
push 0x4bd48c
lea ecx, [ebp - 4]
call fcn.00443fc7
cmp dword [ebp + 8], 0
je 0x429ccd
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00443fc7
push dword [ebp - 4]
mov esi, 0x4d80e8
mov ecx, esi
call fcn.00422e2f
push 0x4c1b4c
lea ecx, [ebp - 8]
call fcn.0044cd74
mov eax, dword [ebp - 4]
lea eax, [eax + edi*2]
push eax
lea ecx, [ebp - 8]
call fcn.00443fc7
test bl, 0x70
je 0x429d07
push dword [ebp - 8]
mov ecx, esi
call fcn.00422e2f
lea ecx, [ebp - 8]
call fcn.0043db4f
lea ecx, [ebp - 4]
call fcn.0043db4f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f76a
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
jmp 0x42f785
inc byte [ebp - 1]
inc eax
inc eax
mov dword [ebp + 8], eax
cmp word [eax], 0x2a
je 0x42f77d
lea eax, [ebp + 8]
push eax
call fcn.00408ddd
mov al, byte [ebp - 1]
mov byte [0x4d7fe2], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 5]
push eax
lea edi, [ebp - 3]
lea esi, [ebp - 4]
lea eax, [ebp + 8]
mov byte [ebp - 3], 0x2a
mov byte [ebp - 5], bl
mov byte [ebp - 4], 1
mov byte [ebp - 2], bl
call fcn.0041bb48
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], bx
je 0x42f8ae
mov esi, 0x4d8d24
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [ebp - 1], bl
je 0x42f7fe
cmp dword [0x4d7f98], ebx
je 0x42f7fe
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x42f90a
mov eax, dword [ebp + 8]
movsx ecx, byte [ebp - 3]
mov byte [0x4d62d9], 0xff
movzx edx, word [eax]
cmp ecx, edx
mov byte [0x4d7fd5], 1
jne 0x42f828
movzx eax, word [eax + 2]
cmp ecx, eax
jne 0x42f828
mov byte [0x4d62d9], bl
mov edi, dword [ebp - 0x10]
push 0x4d7c20
push 0x10000
push edi
push 0x42c025
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp - 0x10], eax
cmp word [edi], bx
jne 0x42f86d
cmp byte [0x4d7fd5], bl
je 0x42f889
call esi
sub eax, dword [ebp - 0x10]
cmp eax, 0x30d40
jae 0x42f889
push ebx
push 1
push ebx
mov ecx, 0x4d80e8
call fcn.004159e8
jmp 0x42f860
cmp byte [ebp - 2], bl
je 0x42f90a
test byte [ebp - 4], 0x40
je 0x42f90a
jmp 0x42f8a4
push ebx
push ebx
push 1
mov ecx, 0x4d80e8
call fcn.004159e8
cmp dword [0x4d7f98], ebx
jne 0x42f896
jmp 0x42f90a
movsx eax, byte [ebp - 2]
push eax
movsx eax, byte [ebp - 5]
push eax
lea esi, [ebp - 0xc]
mov eax, esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0xbb8
call fcn.004129ae
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add esp, 0xc
call edi
cmp byte [ebp - 2], bl
mov dword [ebp - 0x14], eax
je 0x42f906
mov esi, 0x4d7f98
mov dword [ebp - 0x10], 0xfa0
jmp 0x42f906
call edi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jae 0x42f90a
push ebx
push ebx
push 0xa
mov ecx, 0x4d80e8
call fcn.004159e8
cmp dword [esi], ebx
jne 0x42f8ee
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x43dc3f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
test esi, esi
je 0x43dc68
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x43ed07
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 4
pop edi
push edi
push 0x20019
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ec4c
mov esi, eax
add esp, 0x14
cmp esi, 5
je 0x43ed5d
test esi, esi
jne 0x43ed65
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
cmp esi, 5
jne 0x43ed65
test edi, edi
je 0x43ed65
xor edi, edi
jmp 0x43ed14
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x43ed6b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 4
push 0x20006
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ec4c
add esp, 0x14
test eax, eax
jne 0x43edb5
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43edb7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043ec4c
add esp, 0x14
test eax, eax
jne 0x43edf4
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x43f4ed
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d82d4], 0
push edi
mov edi, ecx
jne 0x43f70c
and dword [ebp - 4], 0
push esi
push 4
push 2
push 0x4bca20
call fcn.00412ebf
lea eax, [ebp - 4]
push eax
push fcn.004d82d0
mov esi, 0x4c434c
push esi
push 0x4c4340
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push fcn.004d82d8
push esi
push 0x4c2f4c
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push fcn.004d82dc
push esi
push 0x4c4334
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82e0
push esi
push 0x4c2f9c
call fcn.0043ef59
add esp, 0x4c
lea eax, [ebp - 4]
push eax
push fcn.004d82e4
push esi
push 0x4c432c
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82e8
push esi
push 0x4c2f44
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82ec
push esi
push 0x4c4320
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82f0
push esi
push 0x4c4318
call fcn.0043ef59
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4d82f4
push esi
push 0x4c2f78
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82f8
push esi
push 0x4c2f70
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82fc
push esi
push 0x4c2f68
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d8304
push esi
push 0x4c430c
call fcn.0043ef59
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4d8300
push esi
push 0x4c4300
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d8308
push esi
push 0x4c2f20
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d830c
push esi
push 0x4c2f2c
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push fcn.004d8310
push esi
push 0x4c42f8
call fcn.0043ef59
add esp, 0x40
lea eax, [ebp - 4]
push eax
push fcn.004d8314
push esi
push 0x4c42f0
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d8318
push esi
push 0x4c42e8
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d831c
push esi
push 0x4c42dc
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d8320
push esi
push 0x4c42cc
call fcn.0043ef59
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4d8324
push esi
push 0x4c42c0
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d8328
push esi
push 0x4c42b0
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d832c
push esi
push 0x4c42a0
call fcn.0043ef59
lea eax, [ebp - 4]
push eax
push 0x4d82d4
push esi
push 0x4c4298
call fcn.0043ef59
add esp, 0x40
pop esi
mov eax, edi
pop edi
leave
ret
Function at 0x440729
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor eax, eax
mov byte [ebp - 0x24], 0
and dword [ebp - 8], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0xc
call fcn.0044070a
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
pop ecx
call edi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
je 0x4407a5
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WaitNamedPipeW]
jmp 0x440799
test ebx, ebx
jle 0x4407a3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x4407a3
call edi
sub eax, dword [ebp - 4]
cmp ebx, eax
jbe 0x4407a3
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x440779
pop esi
pop ebx
push 0
push 0x80
push 3
lea eax, [ebp - 0x10]
push eax
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
pop edi
leave
ret

Function at 0x4407c5
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4c44c0
call dword [sym.imp.USER32.DLL_FindWindowA]
push 0
push 0x4c44b0
push 0
push eax
call dword [sym.imp.USER32.DLL_FindWindowExA]
ret

Function at 0x44085f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4d8418]
mov edx, dword [0x4d841c]
mov ecx, eax
or ecx, edx
jne 0x44097d
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.004aa020
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [ebp - 0x128]
mov ecx, 0x50000
cmp ecx, eax
sbb cl, cl
inc cl
mov byte [0x4d635d], cl
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov esi, eax
movzx eax, word [ebp - 0x124]
cdq
or esi, eax
movzx eax, word [ebp - 0x120]
or ecx, edx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or ecx, edx
or esi, eax
cmp ecx, 6
mov dword [0x4d8418], esi
mov dword [0x4d841c], ecx
jb 0x440977
ja 0x440906
cmp esi, 0x20000
jb 0x440977
lea eax, [ebp - 0x10]
push eax
push 0x4d840c
push 0x4bd1ac
push 0x4c44d0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.0043ef59
mov eax, dword [0x4d840c]
add esp, 0x10
cmp eax, edi
je 0x440944
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
call eax
mov eax, dword [ebp - 8]
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov esi, eax
movzx eax, word [ebp - 0xc]
cdq
or esi, eax
movzx eax, word [ebp - 4]
or ecx, edx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or esi, eax
or ecx, edx
mov dword [0x4d8418], esi
mov dword [0x4d841c], ecx
pop edi
mov eax, esi
mov edx, ecx
pop esi
leave
ret
Function at 0x440d2f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
jne 0x440d43
lea ebx, [ebp + 0x10]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x440d86
mov eax, dword [esi + 4]
push edi
lea ecx, [ebp + 0x10]
push ecx
push 0x1000
push eax
push dword [esi]
mov dword [esi + 8], edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp eax, edi
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
jne 0x440d7c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x440d86
cmp dword [ebp + 0x10], edi
jne 0x440d86
dec dword [esi + 0x14]
jns 0x440d4b
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x440da6
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
mov al, byte [eax + ecx]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
mov dword [ebx], eax
jmp 0x440daa
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4411fd
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x108
push esi
push edi
mov ax, word [ebp + 0x7c]
push 0x20
pop ecx
mov esi, 0x4c4770
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x21
pop ecx
mov esi, 0x4c46e8
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ADVAPI32.DLL_RegDeleteKeyW]
mov word [ebp + 0x6e], ax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x10]
push eax
mov edi, 0x80000001
push edi
call esi
lea eax, [ebp - 0x94]
push eax
push edi
call esi
pop edi
pop esi
add ebp, 0x74
leave
ret

Function at 0x4414b9
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x7405c
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call ebx
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x18
push esi
push edi
push edi
push 0x70000
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call ebx
cmp dword [ebp - 8], edi
je 0x441518
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x441535
mov eax, dword [esi + 0x14]
mul dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push edx
push eax
call fcn.004aa130
push dword [esi + 4]
push dword [esi]
push edx
push eax
call fcn.004aa130
pop edi
pop ebx
leave
ret
Function at 0x44170d
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0xc0
push ebx
push esi
mov dword [eax], ebx
mov edi, esi
call fcn.004aa020
add esp, 0xc
push ebx
lea eax, [ebp + 0xc]
push eax
push 0x100000
push esi
push ebx
push ebx
push 0x70050
push dword [ebp + 8]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
jne 0x4417ff
push ebx
lea eax, [ebp + 0xc]
push eax
push 0xfff70
push esi
push ebx
push ebx
push 0x7400c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x441809
mov eax, dword [esi]
mov ecx, dword [ebp + 0x10]
lea edx, [eax - 1]
cmp edx, ebx
mov dword [ecx], eax
lea edi, [esi + 0x90]
jl 0x4417ed
lea eax, [edx + edx*8]
mov ecx, edx
shl eax, 4
shl ecx, 5
inc edx
lea eax, [eax + edi + 0x40]
lea ecx, [ecx + esi + 0x10]
mov dword [ebp - 4], edx
mov edx, dword [ecx - 8]
mov dword [eax - 8], edx
mov edx, dword [ecx - 4]
mov dword [eax - 4], edx
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dl, byte [ecx + 0x13]
mov byte [eax + 0xc], dl
mov dword [eax - 0x10], ebx
mov dl, byte [ecx + 0x11]
mov byte [eax + 0x11], dl
mov edx, dword [ecx + 8]
mov dword [eax + 0x14], edx
mov dl, byte [ecx + 0x10]
mov byte [eax + 0x10], dl
mov dl, byte [ecx + 0x12]
mov byte [eax + 0x12], dl
sub ecx, 0x20
sub eax, 0x90
dec dword [ebp - 4]
jne 0x4417a3
mov eax, dword [esi + 4]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi], ebx
mov eax, dword [eax]
mov dword [edi + 4], eax
jmp 0x441807
mov eax, dword [esi + 4]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret