joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422935
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b46f1
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6bd6f8]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
push edx
push 9
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x422a60
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x422a56
cmp dword [esp + 0x10], ebx
je 0x422a56
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x422a56
inc eax
push eax
lea esi, [esp + 0x28]
call fcn.00425d9d
mov dword [esp + 0x50], ebx
xor esi, esi
cmp dword [esp + 0x10], ebx
jbe 0x422a45
push dword [esp + 0x38]
xor edi, edi
lea eax, [esp + 0x28]
call fcn.00425dbf
push eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebx
jne 0x422a3e
lea eax, [esp + 0x24]
call fcn.00425dbf
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040852d
mov byte [esp + 0x50], 1
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
call fcn.004138ba
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x1c]
call fcn.0040856e
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4229eb
or dword [esp + 0x50], 0xffffffff
push ebx
push 1
lea esi, [esp + 0x2c]
call fcn.00409bbf
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0057340c
mov esp, ebp
pop ebp
ret

Function at 0x422a7e
Capabilities:
Query environment variable

Disassembly:
push 0x48
mov eax, 0x5b1230
call fcn.00580bb4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov edi, ecx
push edi
lea esi, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
call fcn.00408187
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
call ebx
push dword [ebp - 0x4c]
mov edi, eax
inc edi
inc edi
call fcn.004084d7
mov dword [ebp - 0x54], esi
push edi
lea esi, [ebp - 0x2c]
call fcn.00425d9d
mov byte [ebp - 4], 2
push edi
xor edi, edi
mov eax, esi
call fcn.00425dbf
push eax
push dword [ebp - 0x50]
call ebx
test eax, eax
je 0x422afc
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x422af3
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x4c]
call fcn.004085d2
mov byte [ebp - 4], 1
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.00409bbf
mov byte [ebp - 4], 0
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.00409bbf
mov eax, dword [ebp - 0x4c]
call fcn.00580c37
ret
Function at 0x423004
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x5b4684
call fcn.00580b4b
lea esi, [ebp - 0x1c]
call fcn.00475c10
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0046f4e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [esp], 0x68203c
push ecx
mov ecx, eax
call fcn.0040fc0a
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040856e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
call fcn.00475c50
mov al, bl
call fcn.00580c23
ret

Function at 0x423077
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x5ab642
call fcn.00580b4b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], esi
mov edi, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 2
call fcn.00408150
mov dword [ebp - 4], ebx
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
inc eax
push eax
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x423157
lea eax, [ebp - 0x18]
push eax
xor edi, edi
mov eax, esi
call fcn.00425dbf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call esi
cmp eax, 0xea
jne 0x42311b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
inc ecx
call fcn.00425ddf
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00425dbf
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call esi
cmp eax, ebx
jne 0x423146
cmp dword [ebp - 0x14], 1
je 0x423131
cmp dword [ebp - 0x14], 2
je 0x423131
cmp dword [ebp - 0x14], 7
jne 0x423146
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x423146
shr eax, 1
mov ecx, eax
mov eax, dword [ebp - 0x10]
call fcn.00425ddf
jmp 0x42314e
mov eax, dword [ebp - 0x10]
call fcn.004082cb
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
call fcn.00580c23
ret
Function at 0x4232b5
Capabilities:
Modify service

Disassembly:
push 0xc
mov eax, 0x5a683a
call fcn.00580b4b
xor esi, esi
inc esi
cmp dword [0x6bc38c], esi
jl 0x4232df
push str.WD_service_stage1
push 0x6820e0
push esi
call fcn.00532652
add esp, 0xc
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x4233f9
cmp dword [0x6bc38c], esi
jl 0x423319
push str.WD_service_stage2
push 0x682110
push esi
call fcn.00532652
add esp, 0xc
push 3
push str.TrustedInstaller
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4233c0
cmp dword [0x6bc38c], 1
jl 0x423355
push str.WD_service_stage3
push 0x682140
push 1
call fcn.00532652
add esp, 0xc
or dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00423251
pop ecx
pop ecx
test al, al
je 0x4233e4
cmp dword [ebp - 0x10], 4
jne 0x4233e4
cmp dword [0x6bc38c], 1
jl 0x42338c
push str.WD_service_stage4
push 0x682170
push 1
call fcn.00532652
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x4233e4
cmp dword [0x6bc38c], 1
jl 0x4233e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_ChangeServiceConfig__i
push 0x6821a8
jmp 0x4233da
cmp dword [0x6bc38c], 1
jl 0x4233e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_OpenService__i
push 0x6821d8
push 1
call fcn.00532652
add esp, 0x10
call fcn.0041d67f
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x42341b
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x42341b
cmp dword [0x6bc38c], esi
jl 0x42341b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WD_OpenSCManager__i
push str.Helper::runManualService
push esi
call fcn.00532652
add esp, 0x10
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x42342a
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.00580c23
ret
Function at 0x42402d
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0x58
mov eax, 0x5ae3fd
call fcn.00580b4b
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.005780d0
mov dword [ebp - 0x64], edi
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x34], ax
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x38], esi
call fcn.004084d7
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.__s___s
call fcn.004175e6
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea esi, [ebp - 0x10]
call fcn.004087a8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor esi, esi
test eax, eax
jne 0x4240d9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0040856e
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040856e
mov eax, esi
call fcn.00580c23
ret
inc esi
jmp 0x4240ae
Function at 0x424575
Capabilities:
Set registry value

Disassembly:
push 4
mov eax, 0x5a8174
call fcn.00580b4b
mov dword [ebp - 4], 1
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [0x6d68b0], bl
je 0x4245a1
cmp byte [ebp + 0x14], bl
je 0x4245a1
mov eax, 0x102
jmp 0x4245a4
push 2
pop eax
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4245de
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040856e
call fcn.00580c23
ret

Function at 0x4246c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x6bd6f8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x10
mov eax, 0x5b116c
call fcn.00580b4b
xor ebx, ebx
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
call fcn.004084d7
mov dword [ebp - 4], ebx
xor esi, esi
push str.SoftwareVibraniumHomeGlobal
lea eax, [ebp - 0x10]
inc esi
push eax
mov dword [ebp - 0x18], esi
call fcn.0040852d
mov dword [ebp - 4], esi
xor eax, eax
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.005780d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push ebx
push str.Renewed
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x400
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x424769
mov eax, dword [ebp - 0x14]
shr eax, 1
xor ecx, ecx
mov word [ebp + eax*2], cx
lea eax, [ebp]
push eax
push edi
call fcn.004085d2
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.0040856e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.0057340c
add ebp, 0x804
leave
ret
Function at 0x42c880
Capabilities:
Read .ini file

Disassembly:
push 0x80c
mov eax, 0x5b0ed3
call fcn.00580bb4
mov eax, dword [ebp + 8]
and dword [ebp - 0x814], 0
mov dword [ebp - 0x818], esi
mov dword [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x810]
push 0x400
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x680b54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
push esi
call fcn.0040852d
mov dword [ebp - 0x814], 1
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040856e
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0040856e
mov eax, esi
call fcn.00580c37
ret 0xc
Function at 0x42d5c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x54
mov eax, 0x5b6fa8
call fcn.00580bea
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x67fc7c
push 0x4e28
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x42d79f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42d78d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x42d78d
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0046bf6d
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
call fcn.0042f672
test al, al
jne 0x42d77f
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00428b52
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
push eax
call fcn.00413cf5
mov byte [ebp - 4], 4
push 0x67fc88
lea eax, [ebp - 0x34]
push eax
call fcn.004083ec
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42d687
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004083ec
mov byte [ebp - 4], 6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0042d52e
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040842d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040842d
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
sar eax, 2
mov edi, dword [ebp - 0x38]
cmp edi, eax
jae 0x42d763
push 0x67fc90
lea esi, [ebp - 0x60]
call fcn.004138a1
xor ecx, ecx
mov esi, eax
call fcn.00419ad2
mov ebx, eax
test ebx, ebx
jle 0x42d759
lea eax, [ebx + 1]
lea ecx, [ebp - 0x48]
push ecx
lea esi, [ebp - 0x60]
mov dword [ebp - 0x34], eax
call fcn.004138a1
mov ecx, dword [ebp - 0x34]
mov edx, eax
call fcn.0042f53b
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3c]
push eax
call fcn.004138a1
push eax
mov ecx, ebx
call fcn.0042f571
mov byte [ebp - 4], 8
push eax
push 0x6d6860
call fcn.0042f7f5
mov edi, eax
mov eax, dword [ebp - 0x34]
call fcn.00408450
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.0040842d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.0040842d
inc dword [ebp - 0x38]
xor ebx, ebx
jmp 0x42d6c4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x60]
push eax
call fcn.00413d2d
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004096f9
mov byte [ebp - 4], 1
lea ebx, [ebp - 0x40]
call fcn.004266a7
xor ebx, ebx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x44], ebx
je 0x42d79f
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
call fcn.00580c46
ret
Function at 0x42f34b
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x6d6e60
push 0x42f369
push eax
push eax
call fcn.005752ab
add esp, 0x18
mov dword [0x6d75a4], eax
ret

Function at 0x431acd
Capabilities:
Link many functions at runtime

Disassembly:
push 0xc
mov eax, 0x5b446a
call fcn.00580b7e
mov edi, 0x6d793c
mov dword [ebp - 0x18], edi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.00431e82
pop ecx
mov byte [ebp - 4], 2
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x6d7920], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040856e
mov eax, dword [0x6d7920]
test eax, eax
je 0x431b7b
push str.install
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x6d7928], eax
push str.uninstall
push dword [0x6d7920]
call esi
mov dword [0x6d792c], eax
push str.createMyClass
push dword [0x6d7920]
call esi
mov dword [0x6d7924], eax
push str.close
push dword [0x6d7920]
call esi
mov dword [0x6d7930], eax
push str.setParams
push dword [0x6d7920]
call esi
mov dword [0x6d7934], eax
and dword [ebp - 4], 0
jmp 0x431b90
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00580c23
ret

Function at 0x432031
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x5ade7a
call fcn.00580b7e
xor ebx, ebx
mov byte [ebp - 0x15], bl
mov dword [ebp - 4], ebx
push str.SELECT_filepath_FROM_pcdb_WHERE_filepath____COLLATE_NOCASE_
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [0x6d6838]
call fcn.00484440
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push dword [eax]
push 1
lea eax, [ebp - 0x20]
call fcn.004842e0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004840d0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x2c], bl
jne 0x432086
mov byte [ebp - 0x15], 1
mov byte [ebp - 4], 1
lea esi, [ebp - 0x34]
call fcn.00483b60
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00483ea0
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x15]
call fcn.00580c23
ret 4

Function at 0x43224c
Capabilities:
Enumerate processes

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x234]
push edi
mov byte [esi + 0x230], 0
cmp eax, 0xffffffff
je 0x432286
cmp byte [esi], 0
lea ecx, [esi + 4]
push ecx
push eax
jne 0x432276
mov byte [esi], 1
call sub.KERNEL32.dll_Process32FirstW
jmp 0x43227b
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x432286
mov byte [esi + 0x230], 1
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add esi, 4
mov ecx, 0x8c
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret 4

Function at 0x4323e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
jbe 0x4323f5
sub ecx, eax
mov dl, byte [ecx + eax]
xor dl, 0x67
mov byte [eax], dl
inc eax
dec esi
jne 0x4323e9
pop esi
ret
Function at 0x4324e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, eax
lea edi, [ebx + 4]
mov ecx, 0x108
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x14]
push eax
mov edi, 0x208
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jge 0x432518
push 0x57
pop eax
jmp 0x432551
add ebx, 0x21c
push ebx
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jl 0x432513
mov eax, dword [ebp + 8]
test byte [eax + 4], 1
je 0x43254f
call fcn.00433a1b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43254f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432551
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x432a7d
Capabilities:
Delete file

Disassembly:
add ecx, 0x21c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
ret

Function at 0x432e9f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, eax
lea edi, [ebx + 4]
mov ecx, 0x108
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x10]
push eax
mov edi, 0x208
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jge 0x432ed1
push 0x57
pop eax
jmp 0x432f0a
add ebx, 0x218
push ebx
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jl 0x432ecc
mov eax, dword [ebp + 8]
test byte [eax + 4], 1
je 0x432f08
call fcn.00433a1b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x432f08
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x432f0a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x432f54
Capabilities:
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
push edi
mov edi, eax
and eax, 0x100
xor ebx, ebx
and edi, 0xfffffcff
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0xf023f
test byte [esi + 8], 1
mov dword [ebp - 8], eax
jne 0x432fd9
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
lea eax, [esi + 0x10]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x432fbd
push 2
push eax
lea eax, [esi + 0x218]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x432fbd
or dword [esi + 8], 1
jmp 0x432fca
lea eax, [esi + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 0
je 0x432fd9
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test byte [esi + 8], 2
jne 0x433023
test ebx, ebx
jne 0x433023
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [esi + 0x10]
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43301e
push ebx
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jne 0x43300e
or dword [esi + 8], 2
jmp 0x433013
mov ebx, 0x15e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x433023
mov ebx, 0x15e
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x4330e6
Capabilities:
Delete file

Disassembly:
add ecx, 0x218
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
ret
Function at 0x433181
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ebx + 0x18]
mov ecx, 0x108
rep movsd dword es:[edi], dword [esi]
and dword [ebx + 0x434], 0
lea eax, [ebx + 0x24]
push eax
mov edi, 0x208
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jge 0x4331c3
mov dword [ebp + 0xc], 0x57
jmp 0x433271
lea eax, [ebx + 0x22c]
mov dword [ebp - 8], eax
push eax
lea esi, [ebp - 4]
mov eax, edi
call fcn.004322fc
test eax, eax
jl 0x4331b7
mov edi, dword [ebp + 0xc]
test byte [edi + 4], 1
je 0x433214
mov ebx, dword [ebp - 8]
call fcn.00433a1b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x433203
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
jmp 0x433271
mov edi, dword [ebp + 8]
call fcn.00433599
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x433271
jmp 0x43326d
push dword [edi + 0x41c]
lea esi, [ebp - 4]
mov eax, 0x200
call fcn.004322fc
mov dword [ebp + 0xc], eax
test eax, eax
jl 0x4331b7
mov esi, dword [ebp - 4]
inc esi
inc esi
push esi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [ebx + 4], edx
test edx, edx
je 0x433271
push dword [edi + 0x41c]
mov eax, esi
call fcn.0043229d
test eax, eax
jl 0x4331b7
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov dword [ebx + 0x434], eax
and dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8