joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4b4], 0
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4c8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0040189a
add esp, 8
cmp dword [ebp - 4], 4
jne 0x401923
mov ecx, dword [ebp - 0xc]
call fcn.00402176
jmp 0x401a9b
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4b4], eax
push str.LsaOpenPolicy
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4c0], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c0], 0
jne 0x401966
jmp 0x401a9b
push str.LsaRetrievePrivateData
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x4b4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4c4], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x4c4], 0
jne 0x401995
jmp 0x401a9b
push str.LsaFreeMemory
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4bc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4bc], 0
jne 0x4019c4
jmp 0x401a9b
push str.LsaClose
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x4b4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4b8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x4b8], 0
jne 0x4019f3
jmp 0x401a9b
push str.ConvertSidToStringSidA
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4cc], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4cc], 0
jne 0x401a1f
jmp 0x401a9b
push 0x459354
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4c8], eax
push 0x459364
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x4d0], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x4d0], 0
jne 0x401a5f
jmp 0x401a9b
push str.NetApiBufferFree
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x4d4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4d4], 0
jne 0x401a8b
jmp 0x401a9b
mov ecx, dword [ebp - 0xc]
call fcn.00401c65
mov ecx, dword [ebp - 0xc]
call fcn.00401ec7
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x401c65
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4574
call fcn.00427630
mov dword [ebp - 0x4574], ecx
mov dword [ebp - 0x4160], 0
mov dword [ebp - 0x4164], 0
mov dword [ebp - 0x415c], 0
push 0
lea eax, [ebp - 0x4164]
push eax
lea ecx, [ebp - 0x4160]
push ecx
push 0x400
lea edx, [ebp - 0x415c]
push edx
push 2
push 0
push 0
mov eax, dword [ebp - 0x4574]
call dword [eax + 0x4d0]
test eax, eax
je 0x401ccd
jmp 0x401ec3
mov dword [ebp - 0x4148], 0x200
mov ecx, dword [ebp - 0x4148]
push ecx
call fcn.0043c0c1
add esp, 4
mov dword [ebp - 0x456c], eax
mov edx, dword [ebp - 0x456c]
mov dword [ebp - 0x4150], edx
mov dword [ebp - 0x4154], 0
jmp 0x401d13
mov eax, dword [ebp - 0x4154]
add eax, 1
mov dword [ebp - 0x4154], eax
mov ecx, dword [ebp - 0x4154]
cmp ecx, dword [ebp - 0x4160]
jae 0x401e29
push 0x400
mov edx, dword [ebp - 0x4154]
mov eax, dword [ebp - 0x415c]
mov ecx, dword [eax + edx*4]
push ecx
lea edx, [ebp - 0x4564]
push edx
call fcn.0042765f
add esp, 0xc
mov dword [ebp - 0x414c], 0x200
mov dword [ebp - 0x4148], 0x200
cmp dword [ebp - 0x4150], 0
je 0x401e24
lea eax, [ebp - 0x4144]
test eax, eax
je 0x401e24
lea ecx, [ebp - 0x4158]
push ecx
lea edx, [ebp - 0x414c]
push edx
lea eax, [ebp - 0x4144]
push eax
lea ecx, [ebp - 0x4148]
push ecx
mov edx, dword [ebp - 0x4150]
push edx
lea eax, [ebp - 0x4564]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x401db0
jmp 0x401e29
lea ecx, [ebp - 0x4568]
push ecx
mov edx, dword [ebp - 0x4150]
push edx
mov eax, dword [ebp - 0x4574]
call dword [eax + 0x4cc]
test eax, eax
jne 0x401dd0
jmp 0x401e29
mov ecx, dword [ebp - 0x4568]
push ecx
push str.RasDialParams__s0
lea edx, [ebp - 0x1fa4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x3f44]
push eax
lea ecx, [ebp - 0x1fa4]
push ecx
mov ecx, dword [ebp - 0x4574]
call fcn.00401b34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401e24
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x3f44]
push eax
mov ecx, dword [ebp - 0x4574]
call fcn.004026f6
jmp 0x401d04
mov ecx, dword [ebp - 0x4150]
mov dword [ebp - 0x4570], ecx
mov edx, dword [ebp - 0x4570]
push edx
call fcn.0043c0ea
add esp, 4
mov eax, dword [ebp - 0x415c]
push eax
mov ecx, dword [ebp - 0x4574]
call dword [ecx + 0x4d4]
lea edx, [ebp - 0x3f44]
push edx
push str.L__RasDefaultCredentials0
mov ecx, dword [ebp - 0x4574]
call fcn.00401b34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401e8d
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x3f44]
push ecx
mov ecx, dword [ebp - 0x4574]
call fcn.004026f6
lea edx, [ebp - 0x3f44]
push edx
push str.L__RasDefaultCredentials1
mov ecx, dword [ebp - 0x4574]
call fcn.00401b34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401ec3
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x3f44]
push ecx
mov ecx, dword [ebp - 0x4574]
call fcn.004026f6
mov esp, ebp
pop ebp
ret
Function at 0x404f5d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4476c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x150]
call fcn.00401660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.00401660
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.00401660
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.00401660
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x158]
call fcn.0043ba88
mov byte [ebp - 4], 4
push str..
lea ecx, [ebp - 0x158]
call fcn.0043bdf6
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x158]
call fcn.00401680
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0xffffffff
je 0x40501f
mov dword [ebp - 0x154], 1
cmp dword [ebp - 0x154], 0
je 0x405184
push 0x4599d0
lea edx, [ebp - 0x120]
push edx
call fcn.004278a0
add esp, 8
test eax, eax
je 0x40505c
push 0x4599d4
lea eax, [ebp - 0x120]
push eax
call fcn.004278a0
add esp, 8
test eax, eax
jne 0x405078
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x154], eax
jmp 0x40501f
mov eax, dword [ebp - 0x14c]
and eax, 0x10
test eax, eax
je 0x4050f3
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.00426fb0
add esp, 8
push 0x4599d8
lea eax, [ebp - 0x25c]
push eax
call fcn.00426fc0
add esp, 8
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.00426fc0
add esp, 8
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x270]
call fcn.00404f5d
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x154], eax
jmp 0x40501f
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x260]
call fcn.0043bba3
push 0x4599dc
lea ecx, [ebp - 0x260]
call fcn.00404310
test eax, eax
jne 0x405165
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x150]
call fcn.0043bba3
push 0x4599e8
lea ecx, [ebp - 0x150]
call fcn.0043bdf6
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x150]
call fcn.0043bdf6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x150]
call fcn.00401680
push eax
mov ecx, dword [ebp - 0x270]
call fcn.004051ef
lea ecx, [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x154], eax
jmp 0x40501f
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.0043ba1a
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0043ba1a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x26c]
call fcn.0043ba1a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0043ba1a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.0043ba1a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x405988
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4059bf
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x405a44
cmp dword [ebp - 0x84], 2
jne 0x405a36
lea eax, [ebp - 0xa8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4059f2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x405a44
lea eax, [ebp - 0xa0]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x98], 2
push 0
push 0
push 0
lea ecx, [ebp - 0xa4]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
push edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov esp, ebp
pop ebp
ret

Function at 0x405c4e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
lea eax, [ebp - 4]
push eax
push 0x44f8f0
push 1
push 0
push 0x44f8e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x405d43
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
call dword [eax + 0x50]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x2c]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 0x24]
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x44]
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
call dword [ecx + 0x3c]
lea eax, [ebp - 0xc]
push eax
push 0x44f900
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x405d35
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
call dword [edx + 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x405d29
xor eax, eax
jmp 0x405d4c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
call dword [edx + 8]
jmp 0x405d47
xor eax, eax
jmp 0x405d4c
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4061ab
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
Function at 0x4096ab
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447c45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x1c]
call fcn.00401660
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040ee90
mov byte [ebp - 4], 1
push 0
push 0x45a87c
push 0x45a880
mov ecx, dword [ebp - 0x90]
call fcn.00444422
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x45a88c
push str.Password
mov ecx, dword [ebp - 0x90]
call fcn.0043fc3b
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0x45a89c
push 0x45a8a0
push 0x80000001
lea ecx, [ebp - 0x18]
call fcn.0040f5a7
test eax, eax
jne 0x409753
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
push 0xfffffeb3
mov ecx, dword [ebp - 0x10]
push ecx
push 0x45a8b8
push str.Software_ancisoftxkvp
push 0x80000001
lea ecx, [ebp - 0x18]
call fcn.0040f748
cmp dword [ebp - 0x20], 1
je 0x40978c
cmp dword [ebp - 0x10], 1
jne 0x409829
push 0
lea ecx, [ebp - 0x8c]
call fcn.0040faa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00437caf
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
push str.setup_185836076.exe
mov eax, dword [ebp - 0x90]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0043bcaf
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28], 0
je 0x4097f1
push 5
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.00401680
push eax
push 0x45a8e8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x24]
call fcn.00401680
push eax
call fcn.004061ab
add esp, 4
test eax, eax
jne 0x40980e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0043ba1a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00409c20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040eea8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0043ba1a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40b29b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 5
push 0
push 0
push str.mailto:ancisoft_163.com_subject
push 0x45ab90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret

Function at 0x40b2be
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 5
push 0
push 0
push 0x45ab98
push 0x45abb0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret
Function at 0x40b2e1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
sub eax, 0x88b8
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], 0x45abb8
mov dword [ebp - 0xc], str.http:__www.skycn.com_soft_11703.html
mov dword [ebp - 8], str.http:__download.pchome.net_utility_showpass_download_17636.html
mov dword [ebp - 4], str.http:__download.enet.com.cn_speed_toftp.php_fname060752005092801
cmp dword [ebp + 8], 0
jl 0x40b31d
cmp dword [ebp + 8], 3
jbe 0x40b31f
jmp 0x40b33a
push 5
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + ecx*4 - 0x10]
push edx
push 0x45ac8c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esp, ebp
pop ebp
ret 4
Function at 0x40e6db
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44832e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x30], ecx
push 2
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
add ecx, 0x5760
call fcn.004089e0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40e723
mov eax, dword [ebp - 0x18]
jmp 0x40e83f
lea ecx, [ebp - 0x14]
call fcn.00401660
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x5760
call fcn.004367cc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043bb53
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0043ba1a
lea ecx, [ebp - 0x14]
call fcn.004089a0
test eax, eax
je 0x40e79a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043ba1a
mov eax, dword [ebp - 0x28]
jmp 0x40e83f
mov ecx, dword [ebp - 0x30]
call fcn.004089c0
test eax, eax
je 0x40e819
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x14]
call fcn.004042d0
add eax, 1
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x14]
call fcn.00401680
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00426fb0
add esp, 8
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
push eax
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0x30]
add ecx, 0x5760
call fcn.0043b189
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x30]
add ecx, 0x5760
call fcn.0043b189
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043ba1a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f01e
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov dword [ebp - 0x114], ecx
call fcn.00405900
cmp eax, 3
je 0x40f05e
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40f059
mov eax, 1
jmp 0x40f189
jmp 0x40f187
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0xff
lea edx, [ebp - 0x110]
push edx
push 0xf003f
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40f164
mov eax, dword [ebp - 0x114]
mov dword [eax], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40f0e4
mov dword [ebp - 4], 1
jmp 0x40f0eb
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40f164
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x10c]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.0040f01e
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x114]
mov dword [edx], 0
mov dword [ebp - 0xc], 0xff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40f0eb
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40f183
mov eax, 1
jmp 0x40f189
xor eax, eax
jmp 0x40f189
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40f340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x200
mov dword [ebp - 4], 3
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40f37e
xor eax, eax
jmp 0x40f38a
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x40f390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448379
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
push 0x45b7c0
lea eax, [ebp + 0x10]
push eax
call fcn.0040fa80
and eax, 0xff
test eax, eax
je 0x40f405
lea ecx, [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040fa20
and eax, 0xff
test eax, eax
je 0x40f405
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040f1cd
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0043ba1a
mov eax, dword [ebp - 0x10]
jmp 0x40f468
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004270a0
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40f44f
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0043ba1a
mov eax, dword [ebp - 0x14]
jmp 0x40f468
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.0043ba1a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40f520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004270a0
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 3
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40f558
mov eax, 1
jmp 0x40f55a
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x40f874
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0xff
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x40f8bf
mov eax, 1
jmp 0x40f8c1
xor eax, eax
mov esp, ebp
pop ebp
ret 4