joyce8/EMBER2024-capa huggingface dataset:
Function at 0x506b5f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [eax + 4], ebx
push esi
mov esi, ecx
jne 0x506c51
lea eax, [esi + 0x130]
cmp dword [eax], ebx
jne 0x506c51
push edi
mov dword [eax], 1
lea edi, [esi + 0x12c]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
je 0x506c50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x506c50
push edi
call fcn.0054efae
mov ecx, eax
call fcn.0054ef06
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x506c50
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 0x128]
mov edi, dword [ebp + 8]
push dword [esi + 0x124]
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.00477543
push dword [edi + 4]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call edi
push dword [ebp - 0xc]
lea ecx, [ebp - 8]
mov dword [ebp - 0x10], eax
call fcn.0052ca72
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x128]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x14], eax
push 7
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0052cccc
push dword [ebp - 0x10]
push esi
call edi
cmp dword [ebp + 0xc], ebx
je 0x506c3d
mov ecx, dword [ebp + 8]
call fcn.0049c8f7
lea ecx, [ebp - 8]
call fcn.0052ca7d
cmp esi, ebx
je 0x506c50
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5093a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x444]
test ecx, ecx
je 0x509500
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ebx, eax
test ebx, ebx
je 0x5094ff
push edi
push dword [ebx + 0xc]
lea edi, [esi + 0x430]
push dword [ebx + 8]
mov ecx, edi
call fcn.00477543
push 0xcc0020
xor eax, eax
push eax
push eax
push dword [ebx + 4]
neg edi
push dword [ebx + 0xc]
sbb edi, edi
push dword [ebx + 8]
push eax
push eax
lea eax, [esi + 0x434]
and edi, eax
push edi
call fcn.00508c51
lea edi, [esi + 0x408]
mov eax, dword [edi]
add esp, 0x24
mov ecx, edi
call dword [eax]
push 0xff
lea ecx, [esi + 0x430]
call fcn.00498b0c
xor eax, eax
cmp byte [ebp + 8], al
sete al
inc eax
cmp byte [ebp + 8], 0
mov dword [esi + 0x3fc], eax
je 0x509465
mov edx, dword [ebx + 8]
fldz
fstp dword [edi + 0xc]
mov dword [ebp - 4], edx
fld dword [0x5a3770]
xor eax, eax
fstp dword [edi + 8]
xor ecx, ecx
fild dword [ebp - 4]
mov dword [edi + 0x18], esi
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
fstp dword [edi + 0x10]
jmp 0x5094ae
mov ecx, esi
call fcn.00509343
push 0
push 0xcb
lea ecx, [esi + 0x24]
call fcn.0049c3e5
mov ebx, dword [ebx + 8]
mov dword [ebp - 8], ebx
neg ebx
sub esp, 0xc
mov dword [ebp - 4], ebx
fild dword [ebp - 4]
xor ecx, ecx
xor eax, eax
fstp dword [esp + 8]
fild dword [ebp - 8]
fstp dword [esp + 4]
fld dword [0x5a3770]
fstp dword [esp]
push ecx
push eax
push esi
mov ecx, edi
call fcn.00508b2d
push 0x14
xor ecx, ecx
push ecx
mov eax, 0x509273
push eax
push esi
lea ecx, [esi + 0x3e0]
call fcn.00508e28
mov ecx, esi
call fcn.004941bd
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebp + 8], 0
jne 0x5094fe
mov esi, dword [esi + 0x444]
cmp esi, edi
je 0x5094fe
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x18]
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x52cde7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x52cdf6
xor eax, eax
jmp 0x52ce3d
push edi
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x52ce1a
xor eax, eax
jmp 0x52ce3c
push esi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
mov dword [ebp + 8], esi
push dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x52d472
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x52d497
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x52d497
inc esi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x52d4b8
Capabilities:
Create process on windows

Disassembly:
push esi
push 5
push 0
push 0
push dword [esp + 0x14]
mov esi, 0x80004005
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x52d4dc
xor esi, esi
mov eax, esi
pop esi
ret

Function at 0x52d4e0
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1c8]
sub esp, 0x248
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x1c4], eax
push esi
mov esi, dword [ebp + 0x1d0]
push edi
push 0x3c
xor edi, edi
lea eax, [ebp - 0x80]
push edi
push eax
call sub.MSVCR80.dll_memset
push 0x206
lea eax, [ebp - 0x42]
push edi
push eax
mov word [ebp - 0x44], di
call sub.MSVCR80.dll_memset
add esp, 0x18
push 0x104
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], str.runas
mov dword [ebp - 0x6c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp + 0x1c4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.0056f17c
add ebp, 0x1c8
leave
ret

Function at 0x52e362
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push 0x400000
push eax
xor esi, esi
call fcn.00411735
pop ecx
pop ecx
push str.ksoftmgr.exe
lea ecx, [ebp - 4]
call fcn.00403b27
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52e3b2
push 5
push esi
push dword [ebp + 8]
push dword [ebp - 4]
push 0x58b168
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, esi
pop esi
leave
ret

Function at 0x52e3c2
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push 0x400000
push eax
xor esi, esi
call fcn.00411735
pop ecx
pop ecx
push str.kprcycleaner.exe
lea ecx, [ebp - 4]
call fcn.00403b27
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52e412
push 5
push esi
push dword [ebp + 8]
push dword [ebp - 4]
push 0x58b168
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, esi
pop esi
leave
ret
Function at 0x52e590
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x52e59e
xor eax, eax
leave
ret
push esi
lea eax, [ebp - 4]
push 0
push eax
call fcn.00411735
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00403cc2
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
push esi
call fcn.004111d5
mov ecx, esi
mov dword [esp], str.prdata
call fcn.00403b27
push esi
call fcn.004111d5
pop ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.00403b27
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52e5f8
test al, 0x20
jne 0x52e603
mov ecx, esi
call fcn.00401bb7
xor eax, eax
jmp 0x52e606
xor eax, eax
inc eax
pop esi
leave
ret

Function at 0x52e609
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0x5e7310
mov ecx, esi
call fcn.00401c3d
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x52e681
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.004020d9
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
leave
ret

Function at 0x52e8c3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5e7310
mov ecx, edi
call fcn.00401c3d
xor esi, esi
push 0x208
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x52e94e
cmp ebx, esi
je 0x52e94e
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x5ae4b8
lea eax, [ebp - 0x210]
push eax
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.004020d9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
leave
ret
Function at 0x52e95f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5e7310
mov ecx, edi
call fcn.00401c3d
xor esi, esi
push 0x208
lea eax, [ebp - 0x20e]
push esi
push eax
mov word [ebp - 0x210], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
push 0x1a
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x52e9ea
cmp ebx, esi
je 0x52e9ea
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x5ae510
lea eax, [ebp - 0x210]
push eax
call esi
push ebx
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.004020d9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
leave
ret
Function at 0x52ea2e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], edi
call fcn.0040460b
lea eax, [ebp - 0xc]
push eax
call fcn.0052e4dc
mov esi, eax
cmp esi, edi
pop ecx
jge 0x52ea75
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x52ea6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x52eb76
lea eax, [ebp - 4]
push eax
push 0x5bbc2c
push 1
push edi
push 0x5bbf0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x52ea56
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x5ae3ac
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jge 0x52eabb
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x52ea56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x52ea56
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [eax]
push ebx
push esi
push eax
call dword [ecx + 0x50]
mov ebx, eax
cmp ebx, edi
jge 0x52ead4
mov eax, dword [ebp - 8]
jmp 0x52eb31
cmp dword [ebp + 0xc], edi
je 0x52eaeb
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov ebx, eax
cmp ebx, edi
jl 0x52eacf
cmp dword [ebp + 0x10], edi
je 0x52eb02
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ebx, eax
cmp ebx, edi
jl 0x52eacf
cmp dword [ebp + 0x18], edi
je 0x52eb1a
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push dword [ebp + 0x18]
push eax
call dword [ecx + 0x44]
mov ebx, eax
cmp ebx, edi
jl 0x52eacf
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x14]
push eax
call dword [ecx + 0x18]
mov ebx, eax
cmp ebx, edi
mov eax, dword [ebp - 8]
jge 0x52eb54
cmp eax, edi
je 0x52eb3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.00401405
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x52eb50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x52eb75
cmp eax, edi
je 0x52eb5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.00401405
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x52eb73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret

Function at 0x52eb9c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
call fcn.004112e5
lea eax, [ebp - 4]
push eax
call fcn.004111d5
pop ecx
pop ecx
push str.kprcycleaner.exe
lea ecx, [ebp - 4]
call fcn.00403b27
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, dword [ebp + 8]
je 0x52ebdc
lea eax, [ebp - 4]
push eax
call fcn.00401e7b
jmp 0x52ebe6
push 0x587f88
call fcn.0040460b
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, dword [ebp + 8]
leave
ret
Function at 0x5355f7
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [esp + 0xc], edi
jne 0x53562c
mov eax, dword [0x5e58bc]
cmp eax, edi
je 0x53561a
mov ebx, dword [eax + 4]
jmp 0x53561c
xor ebx, ebx
cmp ebx, edi
jne 0x53562c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, edi
je 0x535651
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x535651
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x535651
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0xc], 1
push dword [esp + 0x1c]
mov ecx, esi
push edi
push ebx
mov dword [esi + 0x370], edi
call fcn.00535462
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x53567c
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x535788
push eax
call fcn.004a337e
cmp dword [esp + 0x20], edi
pop ecx
mov dword [esp + 0x10], eax
jne 0x535695
push ebx
mov ecx, esi
call fcn.00532d26
cmp dword [esi + 0x360], edi
je 0x53572a
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x20]
je 0x5356ee
push 1
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x20]
je 0x53570a
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
pop ebp
je 0x53572a
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push 0x97
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x370], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0xc], edi
je 0x53576f
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x53576f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x53576f
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esp + 0x10]
call fcn.004a337e
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x374]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x539446
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xac
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
push edi
mov edi, dword [ebp + 0x7c]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x2c]
call dword [0x586418]
push str.9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push str.Implemented_Categories_
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x5afbf0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x30]
push eax
xor esi, esi
push 0x201
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5394e5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp + 0x70]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0056f17c
add ebp, 0x74
leave
ret
push 0x7e
lea eax, [ebp - 0xe]
push esi
push eax
mov word [ebp - 0x10], si
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
push str.idex
push dword [ebp - 0x30]
mov dword [ebp - 0x38], 0x80
mov dword [ebp - 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x539530
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call dword [0x586418]
xor esi, esi
inc esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x5394c9
Function at 0x53959f
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
or ebx, 0xffffffff
test eax, eax
jne 0x5395b0
mov eax, str.kdump.dll
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x5395fb
push str.KxEOpenDumpMonitorEx2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5395fb
push esi
push 0
push 0
push eax
push 0x53953b
push 0
push 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
push 0xa
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x5395fa
push esi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x5396c7
Capabilities:
Check mutex on windows

Disassembly:
push str.7708C461_15E1_4497_8F0B_4FA3D79BEAB1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, ecx
ret

Function at 0x53aaf6
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x53ab0c
push 0x80004005
call fcn.00401223
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x53ab0f
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x53b140
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.0040a106
mov edi, eax
cmp edi, esi
je 0x53b1a8
lea ecx, [ebp - 0x70]
call fcn.0040a0a1
mov eax, edi
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x198
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x53b1c0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.0053b140
cmp eax, esi
jne 0x53b1f3
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x53b1b0
lea ecx, [ebp - 0x70]
call fcn.0040a0a1
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040a0a1
mov eax, esi
jmp 0x53b18e
Function at 0x53f11b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x3b0]
push edi
mov esi, ecx
mov dword [ebp - 0x74], eax
call dword [0x5e56f0]
xor edi, edi
push 2
push edi
push ebx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x78], ebx
jne 0x53f186
call fcn.004ab8ba
mov esi, eax
jmp 0x53f252
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x53f1a3
call fcn.004ab8ba
jmp 0x53f247
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [ebp - 0x6c], eax
je 0x53f199
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x53f1fc
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x53f1d3
lea ecx, [ebp - 0x68]
call fcn.0053b0aa
mov esi, 0x8007000e
lea ecx, [ebp - 0x70]
call fcn.004220f7
mov ecx, dword [ebp + 0x39c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x3a0
leave
ret 0x10
push eax
lea ecx, [ebp - 0x68]
call fcn.0053bef9
mov ebx, dword [ebp - 0x68]
cmp ebx, edi
jne 0x53f213
mov esi, 0x8007000e
jmp 0x53f249
call dword [0x5e56f0]
push esi
push ebx
push esi
push dword [ebp - 0x6c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x53f199
mov ecx, dword [ebp - 0x68]
push dword [ebp + 0x3b4]
mov word [ecx + eax*2], di
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.0053e6b2
mov esi, eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x68], eax
je 0x53f1d8
lea ecx, [ebp - 0x68]
call fcn.0053b0aa
jmp 0x53f1d8