joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
push ebx
call fcn.0061a074
add esp, 4
push eax
call fcn.00619ebe
add esp, 4
push str.Driver_Init..
call fcn.00419ea0
add esp, 4
push ebx
call dword [0x717070]
add esp, 4
test eax, eax
jns 0x41c483
call fcn.0041c150
test eax, eax
jns 0x41c3cd
lea eax, [ebx - 0xe]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 2
call fcn.0041c1f0
mov esi, eax
test esi, esi
jns 0x41c3f0
push esi
push str.sha256_init_error__d_n
call fcn.00419ea0
add esp, 8
mov ebx, 1
push 0
call dword [0x717070]
add esp, 4
test eax, eax
jns 0x41c40f
push 0x72c688
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov esi, 0xffffffd8
cmp ebx, 1
je 0x41c419
cmp esi, 0xffffffd8
jne 0x41c464
mov ecx, 1
call fcn.0041c1f0
mov esi, eax
test esi, esi
jns 0x41c43f
push esi
push str.sha1_init_error__d_n
call fcn.00419ea0
add esp, 8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [0x717070]
add esp, 4
test eax, eax
jns 0x41c464
push 0x72c688
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, 0xffffffd8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Driver_Done..
call fcn.00419ea0
add esp, 4
push 1
push 0x72c688
call dword [0x717190]
add esp, 8
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c530
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x24], 9
jne 0x41c56d
mov dword [0x72c7bc], 0x40
mov dword [0x717020], 8
call fcn.0041c380
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
mov dword [0x72c7bc], 0x20
mov dword [0x717020], 4
call fcn.0041c380
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret

Function at 0x41c720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
test ecx, ecx
jne 0x41c76f
cmp dword [0x72c684], ecx
jne 0x41c75a
push ecx
push ecx
push ecx
push 0x41b870
push ecx
push ecx
mov dword [0x72c7ac], ecx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x72c684], eax
test eax, eax
jne 0x41c763
mov eax, 0xfffffff8
mov esp, ebp
pop ebp
ret
cmp dword [0x72c680], 4
jne 0x41c7d0
mov dword [0x72c680], 2
jmp 0x41c787
cmp ecx, 1
jne 0x41c79b
cmp dword [0x72c680], 2
jne 0x41c7d0
mov dword [0x72c680], 4
cmp dword [0x72c7b8], 0
je 0x41c7d0
call fcn.0041a020
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp ecx, 2
jne 0x41c7d6
mov eax, dword [0x72c680]
cmp eax, ecx
je 0x41c7ae
cmp eax, 4
jne 0x41c7c6
cmp dword [0x72c7b8], 0
mov dword [0x72c680], 3
je 0x41c7c6
call fcn.0041a020
mov dword [0x72c7ac], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffea
mov esp, ebp
pop ebp
ret

Function at 0x41cd20
Capabilities:
Hash data using djb2

Disassembly:
test ecx, ecx
je 0x41cd31
cmp dword [ecx], 0
jne 0x41cd31
add ecx, 8
jmp fcn.00420320
xor eax, eax
ret
Function at 0x4201b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ebx
mov esi, dword [ebx + 8]
mov eax, dword [ebx]
cmp eax, dword [esi*4 + 0x6d6d70]
jb 0x4201db
call fcn.00420040
test eax, eax
jne 0x420309
movsx ecx, byte [edi]
mov edx, edi
mov esi, 0x1505
test ecx, ecx
je 0x420203
nop dword [eax]
mov eax, esi
lea edx, [edx + 1]
shl esi, 5
add esi, ecx
movsx ecx, byte [edx]
add esi, eax
test ecx, ecx
jne 0x4201f0
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, esi
div dword [ecx*4 + 0x6d6d70]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edx*8]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 4]
add eax, 0xc
mov dword [ebp - 0xc], eax
cmp ecx, eax
jne 0x42022c
cmp ecx, dword [ebx + 4]
je 0x42026e
push esi
mov edx, edi
mov ecx, ebx
call fcn.0041fe80
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x42026e
mov esi, dword [eax + 0xc]
test esi, esi
je 0x42025c
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x42025c
mov ecx, esi
call fcn.0041e2f0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx + 0xc], eax
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420273
sub ecx, edx
add ecx, 0x15
je 0x420309
push ecx
call dword [0x717054]
mov edx, eax
add esp, 4
test edx, edx
je 0x420309
mov ecx, dword [ebp + 8]
mov dword [edx + 0x10], ecx
mov ecx, edx
mov dword [edx], esi
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi + 0x13], al
test al, al
jne 0x4202a1
mov eax, dword [ebp + 0xc]
lea ecx, [edx + 4]
mov esi, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov edx, dword [ebx]
cmp edx, esi
jne 0x4202eb
cmp edx, dword [ebx + 4]
jne 0x4202eb
mov dword [ecx + 4], esi
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
pop edi
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov dword [esi], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
inc dword [eax]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 4], edx
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx]
pop edi
pop esi
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
mov dword [edx], ecx
mov dword [ebx], ecx
pop ebx
inc dword [eax]
xor eax, eax
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420320
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, edx
push ebx
push esi
push edi
movsx esi, byte [eax]
mov ebx, ecx
mov dword [ebp - 8], eax
mov ecx, eax
mov edi, 0x1505
test esi, esi
je 0x420353
nop
mov eax, edi
lea ecx, [ecx + 1]
shl edi, 5
add edi, esi
movsx esi, byte [ecx]
add edi, eax
test esi, esi
jne 0x420340
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, edi
div dword [ecx*4 + 0x6d6d70]
mov eax, dword [ebx + 4]
lea esi, [eax + edx*8]
mov dword [ebp - 4], esi
lea eax, [ebx + 0xc]
mov esi, dword [esi]
mov ebx, dword [ebp - 4]
cmp esi, eax
jne 0x420380
cmp esi, dword [ebx + 4]
je 0x4203cd
nop dword [eax + eax]
cmp dword [esi - 4], edi
jne 0x4203b9
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x10]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4203b0
test dl, dl
je 0x4203ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4203b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x420390
xor eax, eax
jmp 0x4203b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4203c3
cmp esi, dword [ebx + 4]
je 0x4203cd
mov esi, dword [esi + 4]
jmp 0x420380
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a410
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x14]
push ebx
push esi
push edi
push dword [ebp + 0xc]
xorps xmm0, xmm0
xor esi, esi
push dword [ebp + 8]
mov ebx, 0x80
movlpd qword [ebp - 0x14], xmm0
call fcn.00416ec0
add esp, 8
test eax, eax
js 0x42a529
mov edi, dword [ebp - 0x14]
test esi, esi
jne 0x42a466
push ebx
call fcn.0060a1f7
mov esi, eax
add esp, 4
test esi, esi
je 0x42a4bb
push ebx
push 0
push esi
call fcn.005f46f0
add esp, 0xc
lea eax, [ebx - 1]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push esi
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x42a4a6
cmp eax, 0x103
je 0x42a4c9
cmp eax, 0xea
jne 0x42a4c2
push esi
call fcn.005fa0fb
add esp, 4
xor esi, esi
sub ebx, 0xffffff80
jmp 0x42a447
push esi
push dword [ebp - 0x10]
push edi
call fcn.0042a410
mov edi, eax
add esp, 0xc
test edi, edi
js 0x42a509
jmp 0x42a444
mov edi, 0xfffffff4
jmp 0x42a516
mov edi, 0xfffffff2
jmp 0x42a509
push dword [ebp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp + 8]
call ebx
mov edi, eax
cmp edi, 5
jne 0x42a502
mov ecx, dword [ebp + 0x10]
sub esp, 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00417150
mov edi, eax
add esp, 0x10
test edi, edi
js 0x42a509
push dword [ebp + 0x10]
push dword [ebp + 8]
call ebx
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff2
test esi, esi
je 0x42a516
push esi
call fcn.005fa0fb
add esp, 4
mov ecx, dword [ebp - 0x14]
mov eax, ecx
or eax, dword [ebp - 0x10]
je 0x42a527
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42a530
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0x400
mov dword [esp + 0x14], 0x400
call fcn.0060a1f7
mov esi, eax
add esp, 4
test esi, esi
je 0x42a5b1
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
push eax
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42a5d9
mov edi, 0xffffffe4
cmp eax, 0xea
je 0x42a585
mov edi, 0xfffffff2
push esi
mov ebx, edi
call fcn.005fa0fb
add esp, 4
xor esi, esi
cmp edi, 0xffffffe4
jne 0x42a5cc
mov eax, dword [esp + 0x10]
sub eax, 0xffffff80
push eax
mov dword [esp + 0x14], eax
call fcn.0060a1f7
mov esi, eax
add esp, 4
test esi, esi
jne 0x42a557
mov edi, 0xfffffff4
test esi, esi
je 0x42a5c3
push esi
call fcn.005fa0fb
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jns 0x42a5d9
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
push esi
push dword [esp + 0x1c]
push 0
push dword [ebp + 0x18]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffff2
jmp 0x42a5b6
Function at 0x42a600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
xor edi, edi
mov esi, dword [0x717134]
test edi, edi
jne 0x42a63f
push esi
call fcn.0060a1f7
mov edi, eax
add esp, 4
test edi, edi
je 0x42a6de
mov esi, dword [0x717134]
push esi
push 0
push edi
call fcn.005f46f0
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
dec esi
push eax
push edi
mov dword [ebp - 8], esi
mov esi, dword [ebp + 0x10]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x42a6a7
cmp eax, 0x103
jne 0x42a66d
mov esi, 0xfffffffe
jmp 0x42a67e
mov esi, 0xffffffe4
cmp eax, 0xea
je 0x42a67e
mov esi, 0xfffffff2
push edi
mov ebx, esi
call fcn.005fa0fb
add esp, 4
xor edi, edi
cmp esi, 0xffffffe4
jne 0x42a6ea
mov esi, dword [0x717134]
mov ebx, dword [ebp - 4]
sub esi, 0xffffff80
mov dword [0x717134], esi
jmp 0x42a616
push edi
push dword [ebp + 0x14]
inc ebx
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0042a530
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x42a610
test edi, edi
je 0x42a6d5
push edi
call fcn.005fa0fb
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffff4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xfffffffe
jne 0x42a6f8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a710
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
lea edx, [ebp - 0x1c]
push dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov ebx, 0x80
movlpd qword [ebp - 0x1c], xmm0
mov ecx, edi
mov dword [ebp - 8], ebx
xor esi, esi
call fcn.00416ec0
add esp, 8
test eax, eax
js 0x42a88f
push esi
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x71701c]
push esi
or eax, 0xf003f
push eax
push esi
push esi
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42a881
mov edi, dword [ebp - 0x1c]
nop dword [eax]
test esi, esi
jne 0x42a7a3
push ebx
call fcn.0060a1f7
mov esi, eax
add esp, 4
test esi, esi
je 0x42a82a
push ebx
push 0
push esi
call fcn.005f46f0
add esp, 0xc
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x42a806
cmp eax, 0x103
jne 0x42a7d5
mov edi, 0xfffffffe
jmp 0x42a7e6
mov edi, 0xffffffe4
cmp eax, 0xea
je 0x42a7e6
mov edi, 0xfffffff2
push esi
mov ebx, edi
call fcn.005fa0fb
add esp, 4
xor esi, esi
cmp edi, 0xffffffe4
jne 0x42a831
mov ebx, dword [ebp - 8]
sub ebx, 0xffffff80
mov dword [ebp - 8], ebx
jmp 0x42a776
push esi
push dword [ebp - 0x18]
inc ebx
push edi
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
call fcn.0042a710
mov ebx, eax
add esp, 0x14
test ebx, ebx
js 0x42a84e
mov ebx, dword [ebp - 8]
jmp 0x42a780
mov ebx, 0xfffffff4
jmp 0x42a85b
cmp edi, 0xfffffffe
mov edi, dword [ebp - 0x1c]
jne 0x42a85b
push dword [ebp - 0x18]
push edi
push 0
push dword [ebp - 0xc]
call fcn.0042a600
add esp, 0x10
mov ebx, eax
jmp 0x42a85b
test esi, esi
je 0x42a85b
push esi
call fcn.005fa0fb
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
or eax, dword [ebp - 0x18]
je 0x42a86b
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov eax, ecx
or eax, 0
je 0x42a878
push ecx
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffff2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ac80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov dword [ebp - 0xc], eax
test edi, edi
jne 0x42acb6
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00433720
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x73c924]
mov eax, edi
mov ebx, dword [ebp + 0x10]
cdq
mov ecx, eax
test esi, esi
jne 0x42acd7
push ecx
push 0
push 8
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
jmp 0x42ad19
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
push 0x14
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], edx
push eax
push 0x14
push eax
push 0x22800c
push esi
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x42ad30
cmp dword [ebp - 8], 0
jl 0x42ad30
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x42ad32
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
jmp 0x42ad32
xor esi, esi
push dword [ebp + 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00433720
add esp, 0x10
mov edi, eax
test esi, esi
je 0x42ad6e
mov ecx, dword [ebp - 4]
cmp ecx, 0xffffffff
je 0x42ad67
lea eax, [ebp - 4]
push eax
push ecx
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b3c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov edx, ecx
mov dword [ebp - 0xc], ecx
push esi
push edi
xor ebx, ebx
xor esi, esi
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42b3d5
sub edx, edi
sar edx, 1
je 0x42b4f7
lea eax, [ebp - 8]
push eax
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 4], eax
test eax, eax
je 0x42b4f7
push eax
call fcn.0060a1f7
mov edi, eax
add esp, 4
test edi, edi
je 0x42b4f7
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42b4e1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42b4e1
mov eax, dword [ebp - 0x10]
push 0x208
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0xc], ecx
call fcn.0060a1f7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42b4e1
push 0x208
call fcn.0060a1f7
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x42b4e1
push 0x6eaa78
push dword [ebp - 0xc]
push str.StringFileInfo_08lx_s
push 0x104
push ebx
call fcn.0040ca40
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42b4dc
mov edx, dword [ebp - 0x18]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b4b7
sub ecx, esi
mov esi, dword [ebp - 4]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push esi
call fcn.005f40c0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [eax], esi
mov esi, 1
push edi
call fcn.005fa0fb
add esp, 4
test ebx, ebx
je 0x42b4f7
push ebx
call fcn.005fa0fb
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bd10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0x110], eax
test ebx, ebx
je 0x42be5f
test eax, eax
je 0x42be5f
push esi
push edi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0061accd
add esp, 0x10
mov edi, 0x717a60
xor esi, esi
nop
mov edx, dword [edi]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x10c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bd70
sub ecx, dword [ebp - 0x10c]
push ecx
push edx
push ebx
call fcn.00627fab
add esp, 0xc
test eax, eax
je 0x42bd97
inc esi
add edi, 0x10
cmp esi, 3
jb 0x42bd60
jmp 0x42bdce
shl esi, 4
lea eax, [ebp - 0x108]
push dword [esi + 0x717a68]
push 0x104
push eax
call fcn.0061ab74
mov eax, dword [esi + 0x717a64]
add eax, ebx
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0061ad41
add esp, 0x18
lea ecx, [ebp - 0x108]
xor esi, esi
xor edx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42bde0
sub ecx, edi
je 0x42be2b
nop dword [eax + eax]
mov al, byte [ebp + esi - 0x108]
cmp al, 0x5c
jne 0x42be04
cmp byte [ebp + esi - 0x107], al
je 0x42be0c
mov byte [ebp + edx - 0x108], al
inc edx
lea eax, [ebp - 0x108]
inc esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42be16
sub eax, edi
cmp esi, eax
jb 0x42bdf0
cmp edx, 0x104
jae 0x42be70
mov esi, dword [ebp - 0x110]
lea eax, [ebp - 0x108]
push 0x104
push esi
push eax
mov byte [ebp + edx - 0x108], 0
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret
call fcn.004aaf06
int3
Function at 0x42d840
Capabilities:
Resolve function by parsing pe exports
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x70e00c]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
push edi
push 0
mov edi, edx
mov dword [esp + 0x1c], 0
mov esi, 0xfffffff2
mov dword [esp + 0x18], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x42da56
lea eax, [esp + 0x18]
xor ebx, ebx
push eax
push 0x6eaba0
push 1
push ebx
push 0x6eab90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42da34
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x42da34
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ebx
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x42da32
nop word [eax + eax]
mov edx, dword [esp + 0x10]
test edx, edx
je 0x42da32
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x1c]
push esi
push 0x6eabb0
push dword [edx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
js 0x42da09
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
test eax, eax
js 0x42d9ff
push 0x200
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x5c]
movq qword [esp + 0x54], xmm0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x4c], xmm0
call fcn.005f46f0
push 0x200
lea eax, [esp + 0x268]
push 0
push eax
call fcn.005f46f0
mov eax, dword [esp + 0x28]
push 0x1ff
push dword [eax]
lea eax, [esp + 0x78]
push eax
call fcn.00601934
push 0x1ff
push dword [esp + 0x48]
lea eax, [esp + 0x284]
push eax
call fcn.00601934
lea eax, [esp + 0x88]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], eax
lea edx, [esp + 0x54]
lea eax, [esp + 0x288]
mov dword [esp + 0x60], str.Task_Scheduler
mov dword [esp + 0x70], eax
add esp, 0x30
mov eax, dword [esp + 0x1c]
inc ebx
mov dword [esp + 0x48], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
test eax, eax
js 0x42d9eb
test byte [esp + 0x24], 4
mov ecx, 1
mov eax, dword [esp + 0x28]
cmovne eax, ecx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004206e0
add esp, 8
push dword [esp + 0x20]
call esi
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push dword [eax]
call esi
push dword [esp + 0x10]
call esi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push 0
push edx
push 1
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x42d8e0
xor esi, esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x42da42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x42da50
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x45c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
Function at 0x42dde0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x70e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x94], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0x80
push 0
lea edx, [ebp - 0xa0]
movlpd qword [ebp - 0xa0], xmm0
mov ecx, str.HKCRCLSID
call fcn.00416da0
mov edi, dword [ebp - 0xa0]
mov esi, eax
add esp, 4
test esi, esi
js 0x42df10
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x71701c]
or eax, 0xf003f
push eax
push 0
push ebx
push edi
call esi
cmp eax, 5
jne 0x42de73
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [0x71701c]
or eax, 0x20019
push eax
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x42df0b
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42dee9
xor esi, esi
cmp dword [ebp - 0x90], esi
jle 0x42dee2
cmp byte [ebp - 0x88], al
je 0x42dee2
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x42dec8
push eax
call fcn.005fa0fb
add esp, 4
lea eax, [ebp - 0x88]
push eax
call fcn.00628843
mov ecx, dword [ebp - 0x94]
add esp, 4
mov dword [ecx + 0x20], eax
jmp 0x42defb
mov esi, 0xfffffffe
jmp 0x42defb
cmp eax, 0xea
mov esi, 0xfffffff2
mov ecx, 0xffffffe4
cmove esi, ecx
mov eax, ebx
or eax, 0
je 0x42df10
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42df10
mov esi, 0xfffffff2
mov eax, edi
or eax, dword [ebp - 0x9c]
je 0x42df21
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aa758
mov esp, ebp
pop ebp
ret