joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fca0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x10]
push edi
push eax
push ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], edx
call fcn.0041fbb0
add esp, 8
mov edi, eax
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 7
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_GetCurrentObject]
cmp dword [ebp + 0x24], 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jne 0x41fd7c
test ebx, ebx
jne 0x41fd7c
test edi, edi
jne 0x41fd7c
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0xc]
cmp dword [ebp + 0x28], edi
je 0x41fd68
movsd xmm0, qword [0x559320]
comisd xmm0, xmmword [0x519ac8]
jbe 0x41fd57
call fcn.0041f460
jmp 0x41fd6d
call fcn.0041f3f0
push dword [ebp - 8]
mov ebx, eax
call fcn.0041f3f0
jmp 0x41fd77
call fcn.0041f3f0
push dword [ebp - 8]
mov ebx, eax
call fcn.0041f460
add esp, 8
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0x18
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebx
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push 0
push dword [ebp - 0x1c]
push edi
push ebx
push 0
push 0
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_StretchBlt]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x24], 0
je 0x41fe1f
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x18]
mov esi, eax
push edi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call edi
mov esi, dword [ebp - 0x24]
jmp 0x41fe45
push esi
push 0
push 0x172
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41fe3f
cmp eax, esi
je 0x41fe3f
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4202e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
push eax
push 0x53cde0
push 1
push 0
push 0x53cdf0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42041a
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
push dword [ebp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x42034a
mov eax, dword [ebp - 8]
push dword [ebp + 0x1c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, 0x18
call fcn.004e1f60
mov eax, esp
push 3
push 0xc
push 0x519b4c
push eax
call fcn.00405530
push eax
push esi
call fcn.0042c560
add esp, 8
test eax, eax
je 0x4203df
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
push 0x519b3c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4203df
mov eax, 0x1f
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x18]
push eax
push str.CnCryptFoundation.CnCrypt
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x4203ad
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
jmp 0x4203d6
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
push edx
push 0x519b00
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x4203cc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x53ce10
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x42040f
mov eax, dword [ebp - 0x10]
push 1
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
lea esp, [ebp - 0x24]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x4204f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
push 0
push eax
call fcn.004e46b0
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0xc], ecx
jne 0x420540
movzx eax, word [ecx + str.__s__]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x420526
jmp 0x420557
movzx eax, word [ecx + str.__u__s__]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x20e], ax
test ax, ax
jne 0x420540
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x420560
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x420576
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x4205a0
mov eax, dword [0x518bd8]
push 0x38
mov dword [edi], eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
mov dword [ebp - 0x248], 0x3c
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x244], 0x40
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x240], 0
push eax
mov dword [ebp - 0x23c], str.runas
mov dword [ebp - 0x238], str.regsvr32.exe
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 5
mov dword [ebp - 0x228], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x420657
push 0xffffffffffffffff
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x420670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push 0
je 0x420683
push 0x19
jmp 0x420685
push 0x10
push esi
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
call fcn.0041eee0
add esp, 4
pop esi
pop ebp
ret

Function at 0x4207e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
push eax
je 0x4207f1
push 0x17
jmp 0x4207f3
push 2
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp + 0xc]
call fcn.0041eee0
add esp, 4
pop ebp
ret
Function at 0x420820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push edi
push eax
push 0x20219
xor edi, edi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallCnCrypt
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4208b5
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x20a
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push edi
push str.UninstallString
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4208a9
lea ecx, [ebp - 0x210]
mov eax, ecx
sub esi, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x420894
mov edi, 1
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x420a10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.004f8076
add esp, 8
test eax, eax
jne 0x420a4b
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x420a60
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.004f8076
add esp, 8
test eax, eax
jne 0x420a9b
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x420c10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x5675d8
push esi
push edi
mov ecx, ebx
sub edx, ebx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x420c30
xor eax, eax
push eax
push 0x519b14
push 0x5675d8
mov word [0x567de0], ax
call fcn.004f74ad
add esp, 0xc
cmp word [0x5675d8], 0x5c
jne 0x420d64
cmp word [0x5675da], 0x5c
jne 0x420d64
xor ecx, ecx
mov dword [0x567de0], 0x5c005c
mov word [0x567de4], cx
mov esi, eax
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420c90
mov edi, 0x567de0
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x420ca5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x567de0
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x420cd0
mov eax, dword [0x518b40]
push 0
push 0x519b14
push 0
mov dword [edi], eax
call fcn.004f74ad
mov edx, eax
add esp, 0xc
test edx, edx
je 0x420d53
mov esi, edx
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420d00
mov edi, 0x567de0
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x420d15
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x567de0
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x420d40
mov eax, dword [0x518b40]
mov dword [edi], eax
push 0
push 0x519b14
push 0
call fcn.004f74ad
add esp, 0xc
cmp word [0x5675da], 0x3a
jne 0x420dd6
mov edx, 0x5675d8
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420d75
mov edi, 0x567de0
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x420d90
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x567de0
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x420db2
mov eax, dword [0x518b40]
push 0
push 0x519b14
push 0
mov dword [edi], eax
call fcn.004f74ad
add esp, 0xc
test eax, eax
je 0x420e58
nop word [eax + eax]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420de2
mov edi, 0x567de0
sub eax, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x420e00
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x567de0
call fcn.004f74d2
mov edi, 0x567de0
add esp, 4
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x420e30
mov eax, dword [0x518b40]
push 0
push 0x519b14
push 0
mov dword [edi], eax
call fcn.004f74ad
add esp, 0xc
test eax, eax
jne 0x420de0
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004f8081
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x420ef0
Capabilities:
Create process on windows
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x283c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
call fcn.00416ae0
test eax, eax
je 0x42109a
cmp dword [0x559330], 3
jne 0x420f38
push 0x51a194
push ebx
call fcn.0042c560
add esp, 8
test eax, eax
je 0x420f57
call fcn.00421530
test eax, eax
jne 0x420f57
push str._filelock
push ebx
call fcn.0042c560
add esp, 8
test eax, eax
je 0x42109a
push 0x51a1b0
push ebx
call fcn.0042c560
add esp, 8
test eax, eax
jne 0x4210ab
push 0x30
push eax
lea eax, [ebp - 0x283c]
push eax
call fcn.004e46b0
add esp, 0xc
mov dword [ebp - 0x283c], 0x30
lea eax, [ebp - 0x283c]
mov dword [ebp - 0x2834], 0x421680
mov dword [ebp - 0x2828], esi
mov dword [ebp - 0x2814], 0x51a1d0
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0
push 1
push 1
push 1
call esi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x51a1d0
push 0x51a1d0
push 0x80080
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 0
mov esi, eax
push 0
push esi
mov dword [ebp - 0x280c], esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x401
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ecx, ecx
movzx eax, word [ecx + str._q_UAC]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x280a], ax
test ax, ax
jne 0x421020
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x421040
lea edi, [ebp - 0x2808]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x421056
mov ecx, ebx
lea eax, [ebp - 0x2808]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push eax
lea eax, [ebp - 0x808]
mov ecx, ebx
push eax
push str.runas
push dword [ebp - 0x280c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x4210c1
jmp 0x4210c8
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0
push str.UAC_INIT_ERROR
call fcn.00419a00
add esp, 8
push 1
call fcn.004f7120
push 1
call fcn.004f7120
push 0x7d0
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0
call fcn.004f7120
int3
Function at 0x4210e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call fcn.0041c0f0
add esp, 4
test eax, eax
je 0x421105
push str.NO_OS_VER
call fcn.00417300
add esp, 4
mov esp, ebp
pop ebp
ret
push 7
call fcn.0041c0d0
add esp, 4
test eax, eax
jne 0x421124
push str.UNSUPPORTED_OS
call fcn.00417300
add esp, 4
mov esp, ebp
pop ebp
ret
push 7
call fcn.0041c0f0
add esp, 4
test eax, eax
je 0x4211ba
call fcn.0041b2b0
cmp eax, 3
jge 0x421151
push 0
push str.LARGE_IDE_WARNING_2K
call fcn.00419c20
add esp, 8
jmp 0x4211ba
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServicesAtapiParameters
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4211b1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push str.EnableBigLba
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4211a2
cmp dword [ebp - 4], 1
je 0x4211b1
push 0
push str.LARGE_IDE_WARNING_2K_REGISTRY
call fcn.00419c20
add esp, 8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 8
call fcn.0041c0f0
add esp, 4
test eax, eax
je 0x42120d
call fcn.0041b2b0
cmp eax, 1
jge 0x42120d
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlminint
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x421204
push 0
push str.LARGE_IDE_WARNING_XP
call fcn.00419c20
add esp, 8
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x4212e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 8]
mov dword [0x568608], edi
call fcn.00421490
call fcn.004210e0
push 0
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
or eax, 0x8001
push eax
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [0x559330], 3
je 0x421341
push str.SetCurrentProcessExplicitAppUserModelID
push str.shell32.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x421341
push str.CnCryptFoundation.CnCrypt
call eax
push dword [ebp + 0xc]
push edi
call fcn.00420ef0
call fcn.004115c0
push edi
call fcn.004213f0
add esp, 0xc
push str.Riched20.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
pop edi
test eax, eax
jne 0x42137b
push eax
call fcn.00417c00
push str.INIT_RICHEDIT
call fcn.00417300
add esp, 8
call fcn.0041fb80
call fcn.00421250
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push 0x568630
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdiplusStartup
call fcn.0042c290
cmp dword [0x559330], 3
je 0x4213d1
call fcn.00421fb0
push eax
call fcn.004b8510
add esp, 4
test eax, eax
je 0x4213d5
mov esp, ebp
pop ebp
ret
push 0
call fcn.00417c00
add esp, 4
push 1
call fcn.004f7120
int3
Function at 0x421bb0
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
je 0x421be3
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
call fcn.0041c240
test eax, eax
jne 0x421bff
call sub.SHELL32.dll_IsUserAnAdmin
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0x401
lea eax, [ebp - 0x100c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea eax, [ebp - 0x808]
push str.__q_UAC__s
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x808]
push 1
push 0
push eax
lea eax, [ebp - 0x100c]
push eax
push str.runas
push dword [0x5685fc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
cmp eax, 0x20
jg 0x421c75
push str.UAC_INIT_ERROR
call fcn.00419a00
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
call fcn.004f7120
int3

Function at 0x423950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x14
je 0x423964
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00424c20
mov eax, 1
pop ebp
ret 0xc

Function at 0x4244b0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
push 0
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call esi
push 0
push dword [ebx + 0x10]
mov edi, eax
call esi
mov ebx, eax
cmp edi, ebx
je 0x4244e8
push 1
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 0x2000
call esi
push 0
push 0
push 0
push 0x2001
call esi
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 8]
mov dword [ebp - 4], eax
push 0
push 0x2001
call esi
cmp edi, ebx
je 0x424535
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425a00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.004e46b0
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0x41
mov dword [ebp - 0xa], 0x5c003a
add esp, 0xc
mov word [ebp - 0xc], ax
mov word [ebp - 6], cx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], 0x3a
cmp dword [ebp + 0x10], ecx
je 0x425ac8
push edi
lea eax, [ebp - 0x14]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x425a76
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x425a97
mov word [ebp - 0x21c], ax
push edi
lea eax, [ebp - 0x14]
push eax
push 7
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
je 0x425a65
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteVolumeMountPointW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x425af0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
add eax, 0x41
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], 0x3a
test esi, esi
je 0x425b38
push 0
push str.FILESYS_REPAIR_CONFIRM_BACKUP
call fcn.00419720
add esp, 8
cmp eax, 7
je 0x425bb8
lea eax, [ebp - 0xc]
mov ecx, str.CHECKING_FS
push eax
test esi, esi
mov eax, str.REPAIRING_FS
cmove eax, ecx
push eax
call fcn.004bb8b0
add esp, 4
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.004054c0
lea eax, [ebp - 0xc]
mov ecx, str._C_echo__s__chkdsk__s__pause
push eax
lea eax, [ebp - 0x810]
test esi, esi
push eax
mov eax, str._C_echo__s__chkdsk__s__F__X__pause
cmove eax, ecx
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.004054c0
add esp, 0x1c
lea eax, [ebp - 0x1014]
push 5
push 0
push eax
push str.cmd.exe
call fcn.00416ae0
test eax, eax
mov edx, 0x518484
mov ecx, str.runas
cmove ecx, edx
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret