joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405010
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe118
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp + 0x60]
push 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x60], esp
xor edi, edi
push edi
lea eax, [ebp + 0x44]
mov ebx, 7
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x40]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
lea eax, [ebp + 0x24]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
call fcn.004051e0
mov esi, eax
add esp, 0x60
cmp esi, edi
je 0x40515c
push 0x5052e8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x60], esp
push edi
lea eax, [ebp + 0x44]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x40]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x40], esp
push edi
lea eax, [ebp + 0x24]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], bl
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 8
mov byte [ebp - 4], 2
call fcn.004051e0
add esp, 0x60
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], 8
jb 0x405172
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5559
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], edi
mov word [ebp + 8], dx
mov byte [ebp - 4], dl
cmp dword [ebp + 0x38], 8
jb 0x405193
mov eax, dword [ebp + 0x24]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], edi
mov word [ebp + 0x24], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x58], 8
jb 0x4051b8
mov edx, dword [ebp + 0x44]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp + 0x44], ax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x54], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4071b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3cd3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, 7
xor eax, eax
xor edx, edx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], eax
mov word [esi], dx
mov dword [ebp - 4], eax
mov dword [esi + 0x30], ecx
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov word [esi + 0x1c], cx
mov byte [ebp - 4], 1
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], eax
mov byte [esi + 0x5c], al
mov eax, 0x11
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4853
xor ecx, ecx
movzx edx, cx
mov dword [esi + 0x3c], eax
mov ecx, edx
shl edx, 0x10
or ecx, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
push str.Unknown_Product
mov word [eax + 0x20], cx
mov eax, dword [esi + 0x3c]
push 0x11
push eax
call fcn.004d72e3
xor ecx, ecx
mov eax, 0x11
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d4853
xor ecx, ecx
movzx edx, cx
mov dword [esi + 0x44], eax
mov ecx, edx
shl edx, 0x10
or ecx, edx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
push str.Unknown_Version
mov word [eax + 0x20], cx
mov eax, dword [esi + 0x44]
push 0x11
push eax
call fcn.004d72e3
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 4], esi
push 1
mov dword [ebp - 0x18], esi
call fcn.00409870
mov dword [eax], eax
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax + 4], eax
mov byte [ebp - 4], 2
cmp dword [ebp + 0x18], esi
ja 0x4076f0
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x1c]
call fcn.00409750
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4076e3
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d5559
add esp, 4
xor edx, edx
mov word [ebp + 8], dx
xor eax, eax
jmp 0x407807
lea eax, [ebp - 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push esi
lea eax, [ebp + 8]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.004520a0
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
cmp edi, eax
je 0x4077c2
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
jb 0x40773f
mov ecx, dword [esi]
jmp 0x407741
mov ecx, esi
lea edx, [ebp - 0x10]
push edx
call fcn.00401db0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40775e
jmp 0x407794
push 0
sub esp, 0x1c
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x20], esp
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.004022e0
mov byte [ebp - 4], 7
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.004093b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4077b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
cmp edi, dword [ebp - 0x1c]
jne 0x407732
mov byte [ebx + 0x14], 1
mov byte [ebp - 4], 9
lea ebx, [ebp - 0x1c]
call fcn.00409750
xor ebx, ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004d5559
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4077fc
mov edx, dword [ebp + 8]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov eax, 1
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x407830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdf9e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5365f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
je 0x407883
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x407877
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x18], ebx
xor eax, eax
jmp 0x407943
cmp dword [ebp + 0x18], ebx
jne 0x4078af
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4078a1
mov edx, dword [ebp + 8]
push edx
call fcn.004d5559
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], ebx
mov word [ebp + 8], ax
jmp 0x407947
push 0x20
call fcn.004d67b0
add esp, 4
mov dword [ebp - 0x10], eax
mov cl, 1
mov byte [ebp - 4], cl
cmp eax, ebx
je 0x4078dc
xor edx, edx
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], dx
mov byte [ebp - 4], cl
mov esi, eax
jmp 0x4078de
xor esi, esi
mov byte [ebp - 4], 0
cmp esi, ebx
je 0x40785e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x18], eax
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 4]
or eax, 0xffffffff
mov dword [esi], edi
call fcn.004022e0
lea ebx, [edi + 4]
push ebx
push 0
push esi
push 0x407970
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, dword [ebx]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x407938
mov eax, dword [ebp + 8]
push eax
call fcn.004d5559
add esp, 4
mov dword [ebp + 0x18], 0
xor ecx, ecx
mov eax, ebx
mov word [ebp + 8], cx
mov dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x40a3d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push str.fltmc_load_AeFilter
mov ebx, 1
call fcn.004d77a9
mov edi, eax
call fcn.004d7682
mov eax, dword [eax]
mov esi, dword [ebp + 8]
push eax
add esi, 0x82c
push edi
push str.Load_driver._Return_value__0x_x._Error_code__0x_x
mov ecx, esi
call fcn.004015d0
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x10
push 0
push 0x40000000
push 3
push 0
push 3
push 0
push str..DosAeFilter
call edi
mov dword [0x538588], eax
cmp eax, 0xffffffff
jne 0x40a440
push str.Error:___Failed_to_open_file_filter_driver.
mov ecx, esi
call fcn.004015d0
add esp, 4
xor ebx, ebx
push 0
push 0
push 3
push 0
push 3
push 0
push str..DosAeKbd
call edi
mov dword [0x53858c], eax
cmp eax, 0xffffffff
jne 0x40a46e
push str.Error:___Failed_to_open_keyboard_driver.
mov ecx, esi
call fcn.004015d0
add esp, 4
xor ebx, ebx
push 0
push 0
push 3
push 0
push 3
push 0
push str..DosAeMouse
call edi
mov dword [0x538590], eax
cmp eax, 0xffffffff
jne 0x40a49c
push str.Error:___Failed_to_open_Mouse_driver.
mov ecx, esi
call fcn.004015d0
add esp, 4
xor ebx, ebx
push 8
mov dword [ebp - 4], 0
call fcn.004d67b0
add esp, 4
test eax, eax
je 0x40a4ba
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x40a4bc
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
push 0
push eax
push 0x410780
push 0
push 0
mov dword [eax], ecx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
mov dword [esi + 0x848], eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40a4f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x848]
xor ebx, ebx
push edi
cmp eax, ebx
je 0x40a538
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a525
mov eax, dword [esi + 0x848]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x848]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x848], ebx
push esi
mov byte [ebp - 4], bl
mov dword [ebp - 8], ebx
call fcn.00410580
lea edx, [ebp - 8]
push edx
push 1
push 0x820c0
lea edx, [ebp - 4]
mov ecx, esi
call fcn.0040a620
test eax, eax
je 0x40a570
push str.ChangeMode_finished_n
lea ecx, [esi + 0x82c]
call fcn.004015d0
add esp, 4
mov edi, esi
call fcn.0040f1a0
push ebx
call fcn.0040a950
test eax, eax
je 0x40a587
push ebx
call fcn.0040a9c0
mov eax, dword [0x538588]
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
call fcn.0040d510
mov eax, dword [0x538590]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
cmp eax, edi
je 0x40a5c0
push eax
call ebx
mov dword [0x538590], edi
mov eax, dword [0x53858c]
cmp eax, edi
je 0x40a5d2
push eax
call ebx
mov dword [0x53858c], edi
mov eax, dword [0x538588]
cmp eax, edi
je 0x40a5e4
push eax
call ebx
mov dword [0x538588], edi
push str.fltmc_unload_AeFilter
call fcn.004d77a9
add esp, 4
mov edi, eax
call fcn.004d7682
mov ecx, dword [eax]
push ecx
push edi
push str.Unload_driver._Return_value__0x_x._Error_code__0x_x
lea ecx, [esi + 0x82c]
call fcn.004015d0
add esp, 0xc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bf10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f961b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5365f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor esi, esi
push str.In_AddRnsWareExtensionList
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x444], edi
mov dword [ebp - 0x440], esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [ebp - 0x438], ecx
cmp ecx, eax
je 0x40c13f
lea eax, [ecx + 8]
xor ecx, ecx
push esi
mov word [ebp - 0x430], cx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], esi
call fcn.004022e0
mov dword [ebp - 4], esi
cmp dword [ebp - 0x41c], 8
jb 0x40bfba
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x43c], edx
jmp 0x40bfc6
lea eax, [ebp - 0x430]
mov dword [ebp - 0x43c], eax
mov ebx, dword [ebp - 0x420]
add ebx, ebx
cmp dword [0x538588], 0xffffffff
je 0x40c0ea
xor eax, eax
push 0x3fe
lea edx, [ebp - 0x412]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov dword [ebp - 0x448], eax
mov word [ebp - 0x414], cx
call fcn.004da450
add esp, 0xc
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x43c]
mov edi, eax
add esi, 8
mov eax, esi
push ebx
mov dword [eax], 0xf07
add eax, 4
push ecx
push eax
mov dword [ebp - 0x448], edi
call fcn.004da560
mov ecx, dword [0x538588]
add esp, 0xc
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x440]
push eax
push 0
push 0
add ebx, 4
push ebx
push esi
push 0x82184
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
test eax, eax
je 0x40c0e2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x41c], 8
jb 0x40c0a4
mov edx, dword [ebp - 0x430]
push edx
call fcn.004d5559
add esp, 4
mov ecx, dword [ebp - 0x438]
mov edx, dword [ebp - 0x444]
xor eax, eax
mov word [ebp - 0x430], ax
mov eax, dword [ecx]
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x438], eax
cmp eax, dword [edx]
je 0x40c13f
mov ecx, eax
xor esi, esi
jmp 0x40bf74
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov ecx, dword [ebp - 0x434]
push str.AddRnsWareExtensionList::_IOCTL_AE_ADD_RNS_EXT_failed_n
add ecx, 0x82c
call fcn.004015d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x41c], 8
jb 0x40c122
mov eax, dword [ebp - 0x430]
push eax
call fcn.004d5559
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], esi
mov word [ebp - 0x430], cx
xor eax, eax
jmp 0x40c15d
mov ecx, dword [ebp - 0x434]
push str.AddRnsWareExtensionList_finished_n
add ecx, 0x82c
call fcn.004015d0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d5564
mov esp, ebp
pop ebp
ret 4
Function at 0x410280
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREFaronicsAESetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4102cc
push esi
lea esi, [ebp - 4]
call fcn.00410300
pop esi
test eax, eax
jne 0x4102cc
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0
push str.WhiteFolderBooster
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 8], 1
sete al
mov esp, ebp
pop ebp
ret

Function at 0x410300
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push esi
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWAREFaronicsAESetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x410339
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push str.WhiteFolderBooster
push edx
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4121c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push str.CAEEngine::InitInstance___Begin___
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor ebx, ebx
test eax, eax
je 0x412212
push ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x412212
lea edx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], ebx
mov al, 1
jmp 0x412214
xor al, al
movzx eax, al
push str.GlobalAEENGINE_GOING_INIT_EC048936_FD2F_4FC1_8132_4C47C0850DCF
neg eax
push ebx
sbb eax, eax
lea ecx, [ebp - 0xc]
push ebx
and eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [0x539dd0]
mov esi, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0x539d98
push edx
mov dword [0x93c600], eax
mov dword [0x539dac], ebx
mov dword [0x539db0], ebx
mov dword [0x539d9c], 2
call esi
push 2
push ebx
mov dword [0x93c5f0], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x41228a
push str.CAEEngine::InitInstance__._Error:___Coinit_failed_on_service_thread.
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov dword [0x93c5a0], 1
call fcn.00414be0
call fcn.00414f90
mov edi, 3
call fcn.00412000
pop edi
test eax, eax
jne 0x4122c0
push str.CAEEngine::InitInstance__._Error:___Failed_to_apply_files_or_folders_security.
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
push 0x539dd8
push 0x53a2d4
call fcn.0040a3d0
mov ecx, 0x53a2d4
call fcn.0040e600
test eax, eax
jne 0x4122ef
push str.CAEEngine::InitInstance__._Error:___Failed_to_send_AE_folder_protection_details.
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
call fcn.00414290
call fcn.00414360
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x93c5f8
push ebx
push 0x539d98
push 0x415370
push ebx
push ebx
mov dword [0x93c518], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x93c5f4], eax
mov eax, dword [0x539dd0]
push 0x539d98
push eax
mov dword [0x539dac], ebx
mov dword [0x539db0], ebx
mov dword [0x539d9c], 4
call esi
push str.CAEEngine::InitInstance___END___
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413910
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [0x539dd0]
push ebx
push esi
push edi
push 0x539d98
xor edi, edi
push eax
mov dword [0x539dac], edi
mov dword [0x539db0], edi
mov dword [0x539d9c], 3
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
cmp dword [0x93c5a8], edi
je 0x413956
cmp dword [0x93c5ac], edi
jne 0x413956
push 0x53abb4
call fcn.00422fc0
call fcn.00415450
push 0x93bcac
call fcn.004559e0
mov esi, 0x53abb4
call fcn.00424900
mov eax, dword [0x93b43c]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
je 0x413992
push eax
call esi
mov ecx, dword [0x93b41c]
push 0xffffffffffffffff
push ecx
call ebx
mov eax, dword [0x73aff4]
cmp eax, edi
je 0x4139a9
push eax
call esi
mov edx, dword [0x73afec]
push 0xffffffffffffffff
push edx
call ebx
mov eax, 0x53a2d4
call fcn.0040a4f0
push 0x53a068
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, 0x53a268
call fcn.00409750
mov ecx, 0x539dd8
call fcn.0042cb60
mov esi, 0x539dd8
call fcn.0042ca10
call fcn.004469d0
push 0x53a068
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x93c5a0], edi
je 0x413a00
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [0x93c5a0], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SOFTWAREFaronicsAERebootRequiredR1
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREFaronicsAERebootRequired
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREFaronicsAEInstInProgressC1
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREFaronicsAEInstInProgress
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [0x539dd0]
push 0x539d98
push eax
mov dword [0x539dac], edi
mov dword [0x539db0], edi
mov dword [0x539d9c], 1
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push str.CAEEngine::ExitInstance__._Engine_has_stopped.
mov ecx, 0x53a2b8
call fcn.004015d0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x414290
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREFaronicsAERebootRequired
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4142c4
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push str.SOFTWAREFaronicsAERebootRequiredR1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x414322
mov eax, dword [ebp - 4]
push eax
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SOFTWAREFaronicsAERebootRequiredR1
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREFaronicsAERebootRequired
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREFaronicsAERebootRequiredR1
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 4]
push edx
call esi
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x414360
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWAREFaronicsAEInstInProgress
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x414394
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push str.SOFTWAREFaronicsAEInstInProgressC1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x4143f2
mov eax, dword [ebp - 4]
push eax
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.SOFTWAREFaronicsAEInstInProgressC1
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SOFTWAREFaronicsAEInstInProgress
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREFaronicsAEInstInProgressC1
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 4]
push edx
call esi
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret