joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40288e
pop dword [ebp - 0x50]
mov eax, 0x40288e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x408807ac
add dword [ebp - 0x60], 0xdca3d9f
mov dword [ebp - 0x5c], 0x411f926c
add dword [ebp - 0x5c], 0xf113b9d9
mov dword [ebp - 0x58], 0xfc33e2db
sub dword [ebp - 0x58], 0xafe79ead
mov dword [ebp - 0x54], 0xf9fab1f3
add dword [ebp - 0x54], 0x6054e0d
lea eax, [ebp - 0x60]
push eax
mov eax, 0x7d0050a2
add eax, 0x83401fc2
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xe667365b
add dword [ebp - 0x60], 0x8e0b32fb
mov dword [ebp - 0x5c], 0xc202f234
add dword [ebp - 0x5c], 0x7f696f41
mov dword [ebp - 0x58], 0x749d5dbf
add dword [ebp - 0x58], 0xeed20ead
mov dword [ebp - 0x54], 0x55ad0c2b
add dword [ebp - 0x54], 0xaa52f3d5
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x83cebcde
add eax, 0x7c71b3ca
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3938e
push 0
call eax
mov ecx, 0xd349bd7e
add ecx, 0x2cb69503
xor edi, edi
add edi, eax
mov esi, 0xe1b73880
sub esi, 0xe1763880
add esi, dword [ebp - 0x50]
mov ebx, 0x3bb9888b
sub ebx, 0xf9100b73
add dword [ebp - 0x1c], edx
mov edx, dword [esi]
add dword [ebp - 0x2c], ecx
xor edx, ebx
add dword [ebp - 0x3c], ebx
mov dword [edi], edx
sub dword [ebp - 0x24], 0x6268af6e
add edi, 0x5fa22ff0
add edi, 0xa05dd014
add esi, 4
loop 0x4029ad
add eax, 0xf2a1d2dd
add eax, 0xd5f69fa
mov ebx, eax
add eax, 0xdddf4d85
sub eax, 0xdddf4d80
mov ecx, 0x3a1bc81e
sub ecx, 0x39dbc81e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4067e2
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x7f2008]
cdq
idiv dword [0x7f2004]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
mov ebp, eax
jne 0x406803
xor al, al
jmp 0x406995
mov ecx, esi
call fcn.0040699a
movzx eax, byte [esi + 0x128]
or dword [esi + 0x150], 0xffffffff
or dword [esi + 0x14c], 0xffffffff
mov dword [esi + 0x12c], eax
movsx eax, word [esi + 0x24]
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x158]
cmp eax, ebx
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x154], ebx
je 0x40685e
mov ecx, esi
call eax
movsx edx, word [esi + 0x26]
push edi
mov ecx, esi
call fcn.0040667c
movsx ecx, word [esi + 0x14]
imul ecx, ecx, 0xb0
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, 0x7f2020
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor ecx, ecx
cmp word [esi + 0x14], bx
jle 0x4068b1
mov edx, 0x7ed7c0
mov eax, 0x7f202c
mov dword [eax - 8], edx
mov dword [eax], ecx
movsx edi, word [esi + 0x14]
inc ecx
add eax, 0xb0
add edx, 0x48
cmp ecx, edi
jl 0x40689b
lea eax, [ebp + ebp*2]
shl eax, 1
mov dword [0x7ed718], esi
mov esi, dword [sym.imp.MSVCRT.dll_calloc]
push 1
push eax
call esi
mov dword [0x7f3794], eax
mov eax, dword [0x7f2008]
mov edi, eax
shl edi, 2
push 1
push edi
call esi
or dword [0x7f1ff4], 0xffffffff
add esp, 0x10
mov dword [0x7f1fe4], edi
push 0x20
mov edi, 0x7f1fe0
push edi
push dword [0x7f3798]
mov dword [0x7f2000], eax
mov dword [0x7f1ff0], 0xc
mov dword [0x7f1fe0], eax
mov dword [0x7f1fe8], ebx
mov dword [0x7f1fec], ebx
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov eax, dword [0x7f2008]
lea eax, [eax*8 + 0x100]
push 1
push eax
call esi
mov dword [0x7f3620], eax
add eax, 0xf
pop ecx
and eax, 0xfffffff0
pop ecx
mov dword [0x7f1fc0], eax
mov dword [0x7ed724], ebx
call fcn.00406bbb
cmp dword [0x7ed724], ebx
jne 0x406949
push 0x20
push edi
push dword [0x7f3798]
call dword [sym.imp.WINMM.dll_waveOutWrite]
mov byte [0x7ed71c], bl
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x406d34
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x7ed720], eax
push 0xf
push dword [0x7ed720]
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x420a5d
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x24], ebx
call fcn.004315e5
test al, al
je 0x420a94
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
mov ebx, dword [ebp - 0x24]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x420ab1
xor al, al
jmp 0x420b31
push 0xf01ff
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x420aaa
call fcn.0043155b
test al, al
je 0x420ae0
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x420afe
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
call fcn.004312a9
test al, al
je 0x420b21
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
mov esi, dword [ebp - 0x24]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x28]
call esi
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret 4
Function at 0x420b44
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
push ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
call fcn.00420a5d
test al, al
jne 0x420b7d
push ebx
push 0x7d
call fcn.00431dd2
pop ecx
pop ecx
xor eax, eax
jmp 0x420c90
call fcn.004316b4
test al, al
je 0x420ba1
pop esp
pop esi
pop esp
pop edx
push eax
pop edx
push edx
push eax
pop esp
pop edx
push esi
push ebp
pop esi
push esi
push esi
pop eax
pop edi
pop edx
pop edi
push edi
push esp
push esp
push ecx
pop edx
push esp
push edi
pop edi
call fcn.0043155b
test al, al
je 0x420bc6
push ebx
push edx
push ebp
pop ebx
pop edi
pop edi
push esp
pop eax
pop eax
pop esp
push edi
push eax
pop ecx
pop ebp
push ecx
pop esi
push eax
pop esi
push esp
pop edx
push edx
push ebx
pop edx
push ecx
pop esi
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
push ebx
call fcn.004208d2
test al, al
jne 0x420bd8
push ebx
push 0x7e
jmp 0x420b6f
call fcn.004312ee
test al, al
je 0x420bfb
push ebx
pop edx
push ebp
push ecx
push esp
push esp
pop esi
pop ebx
pop edx
pop edx
pop ebx
push esi
push eax
push esp
push esp
pop eax
pop ebx
pop eax
pop esi
pop eax
pop ebp
pop edi
push ebx
push edi
pop ebx
pop edx
call fcn.0043148c
test al, al
je 0x420c20
push esi
pop esp
push eax
push esi
push ebx
push esi
pop esp
push edi
pop ebp
push edi
push edx
pop edi
pop esp
push ecx
push ecx
pop eax
push ecx
pop ebp
push ebp
push ebx
pop esi
pop edi
pop ebx
push eax
pop ebp
push esp
push esi
push ebx
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_NTCurrentVersionSvchost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420c8d
and dword [ebp - 0xc], eax
mov esi, str.LocalWorkSvc
push esi
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004202e4
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0042019a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret 4
Function at 0x420f02
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.0044ea80
add esp, 0xc
call fcn.00431195
test al, al
je 0x420f5b
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.004311da
test al, al
je 0x420f78
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00431516
test al, al
je 0x420f9a
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
push 0
push 0x10
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x420fc3
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00421204
call fcn.004312ee
test al, al
je 0x420fe3
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42100c
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00421204
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x42101d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
call fcn.0044ea80
add esp, 0xc
call fcn.004312a9
test al, al
je 0x421065
pop ecx
push ecx
push eax
push ebp
pop edx
push ecx
pop ecx
pop edx
push ecx
pop ebp
pop esi
pop eax
pop ebp
push edi
push edi
push esp
push esi
call fcn.004312ee
test al, al
je 0x421083
push ecx
pop ecx
pop ebp
pop edx
push ebx
push eax
push esp
push eax
pop esi
pop edx
push ebp
push ecx
push ebx
push ebp
push ebp
pop ebp
push ebx
pop esp
push ecx
push ebx
pop edx
call fcn.004316b4
test al, al
je 0x42109c
pop edi
pop esi
pop edx
push ecx
pop edi
pop esi
pop ecx
pop edx
pop eax
pop esp
pop esi
pop esi
pop ecx
push esp
push ebx
push ecx
push 0
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4210d4
lea eax, [ebp - 0x20c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call fcn.004525cc
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00421204
call fcn.004313bd
test al, al
je 0x4210f2
pop ebp
pop edi
push esi
push ebp
push esi
push esp
push esi
pop ebp
pop ebp
push eax
pop ebx
push esp
pop ebx
push esp
pop eax
push ebx
pop esi
pop ebp
push esp
pop eax
push ecx
call fcn.0043110b
test al, al
je 0x42110d
pop eax
pop edx
push edx
pop esi
pop ecx
push eax
push eax
pop edx
push esi
push edx
push esp
push edx
pop ebx
push esi
push ecx
push esi
pop ecx
pop edi
call fcn.004315a0
test al, al
je 0x421130
pop ecx
push ecx
push edx
pop edx
push edi
push esi
pop ecx
pop esp
pop esp
push esp
push edx
push edx
push ecx
pop edx
push eax
pop edx
push esi
pop eax
push ebp
push edi
pop ecx
push eax
pop eax
pop eax
pop eax
push edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x421141
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.0044ea80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00431264
test al, al
je 0x42119f
push ecx
pop esp
pop edx
push edi
push ebx
push edx
pop ebx
push ebp
pop edi
push esp
push esi
push eax
pop eax
push esp
pop ebp
pop esi
call fcn.0043173e
test al, al
je 0x4211b9
pop eax
pop edi
pop ebp
push ebx
push ebp
push ebp
push eax
pop eax
pop edx
pop ebp
pop ecx
pop edi
push edx
pop ebx
pop ebp
push esi
pop edx
call fcn.004312a9
test al, al
je 0x4211e1
pop edi
push edx
push eax
push esi
push ecx
push ebx
push ebp
push edx
push eax
push esp
push ebx
pop esp
push ebp
pop esi
push edx
push edi
push ecx
pop ebp
push esp
push ebp
push edx
pop edx
push esp
pop esi
pop esi
pop ebp
pop ebp
pop ebp
pop esi
push ebx
push esp
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00421204
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x42131f
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
mov dword [ebp - 0x418], ecx
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0044ea80
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0044ea80
add esp, 0x18
call fcn.00431195
test al, al
je 0x421388
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.004311da
test al, al
je 0x4213a5
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00431516
test al, al
je 0x4213c7
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
cmp dword [ebp + 8], 0
lea eax, [ebp - 0x20c]
push 0
je 0x4213d9
push 0x17
jmp 0x4213db
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42144d
call fcn.004312ee
test al, al
je 0x421408
pop ebx
pop eax
pop ecx
pop ebp
push edi
push eax
push edx
pop esp
push ebx
push edi
push esp
pop edi
pop ecx
push esp
pop esp
push eax
push ebx
pop ebp
push ebx
pop edx
pop eax
push ecx
push esp
push 0x582610
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x582620
push eax
call fcn.00421d2b
push ecx
push ecx
lea eax, [ebp - 0x414]
mov ecx, esp
push eax
call fcn.0041fc8f
mov ecx, dword [ebp - 0x418]
call fcn.0042195a
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret 4
Function at 0x421460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push 0
push eax
call fcn.0044ea80
add esp, 0xc
call fcn.00431516
test al, al
je 0x4214ac
push ebp
push ebx
pop ebx
pop ebx
push ebx
push edi
pop eax
push esp
push edi
push esp
push ebx
push esp
pop eax
pop edi
push ebp
pop edi
pop esp
call fcn.004316f9
test al, al
je 0x4214d3
pop edx
push ecx
pop edi
push eax
pop esp
pop ecx
push ecx
push edx
push ebp
push eax
push esp
pop esi
push ecx
push edi
push ebp
pop edi
push esi
push esp
pop ebp
push edx
pop edi
pop esi
pop edx
pop ecx
pop edi
push edi
push eax
pop edx
push edx
pop esp
push 0
push 0xb
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x421562
call fcn.00431195
test al, al
je 0x421511
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.004311da
test al, al
je 0x42152e
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00431516
test al, al
je 0x421550
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.00421204
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret
Function at 0x42232b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422387
call fcn.004315e5
test al, al
je 0x422370
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
push str.Especially
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422633
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
call fcn.004316b4
test al, al
je 0x422668
pop esp
pop esi
pop esp
pop edx
push eax
pop edx
push edx
push eax
pop esp
pop edx
push esi
push ebp
pop esi
push esi
push esi
pop eax
pop edi
pop edx
pop edi
push edi
push esp
push esp
push ecx
pop edx
push esp
push edi
pop edi
call fcn.0043155b
test al, al
je 0x42268a
push ebx
push edx
push ebp
pop ebx
pop edi
pop edi
push esp
pop eax
pop eax
pop esp
push edi
push eax
pop ecx
pop ebp
push ecx
pop esi
push eax
pop esi
push esp
pop edx
push edx
push ebx
pop edx
push ecx
pop esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x422784
call fcn.0043155b
test al, al
je 0x4226c8
push esi
push edi
push ebx
pop eax
push edi
pop ebp
push esp
push eax
pop ecx
pop edi
push ecx
pop edx
push esp
pop ebx
push esp
pop edx
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.Especially
push dword [ebp - 8]
call esi
test eax, eax
jne 0x422784
call fcn.004315e5
test al, al
je 0x422700
push esp
push esp
push ebp
push edi
push ecx
pop ebx
pop esi
pop esp
push eax
pop ebp
pop ebp
pop ecx
push ebp
push eax
pop edi
pop eax
pop ebp
push esp
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call fcn.00431378
test al, al
je 0x422744
push ebp
push ecx
push edi
pop esi
pop ecx
pop eax
pop esp
push ebx
push edi
pop ecx
push ecx
pop esp
push ecx
push eax
push ebx
push edi
push ebp
push esp
push eax
push ebx
pop esp
push eax
pop ebx
pop esi
pop eax
push ebp
push esi
push ecx
push edx
call fcn.004315e5
test al, al
je 0x422768
push esp
pop edx
push ebx
pop ebp
pop eax
pop ebp
push ecx
pop eax
push eax
push ecx
pop ebx
push edx
pop esi
push edx
pop esp
pop esp
push ebp
pop edx
pop ecx
push ebp
push eax
push edi
push esp
pop edi
push esi
push ecx
pop edi
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x422779
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0
je 0x422784
push dword [ebp - 8]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423e63
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x582a78
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423e9f
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x582a78
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423ed7
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 4
Function at 0x424461
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
mov edi, 0xf013f
mov dword [ebp - 4], esi
push edi
push esi
push str.SOFTWARE
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4244d4
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x582714
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4244b6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4244d4
push str.AppInfo
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4244da
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x57e646
call fcn.0042c498
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
mov edi, 0xf003f
xor ebx, ebx
push edi
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.WS2_32.dll_bind
call esi
test eax, eax
jne 0x424590
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push 0x582b44
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42458b
xor eax, eax
mov dword [ebp - 0x14], 7
mov edi, 0x582b50
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.004525b1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.004202e4
mov edi, 0x582b60
mov dword [ebp - 4], ebx
push edi
call fcn.004525b1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00420e5e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.0042019a
push dword [ebp - 0x30]
call esi
call fcn.0042c453
ret