joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d78c
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
lea eax, [ebp - 4]
push ecx
push eax
push ecx
push 3
push ecx
push ecx
push ecx
push 0x4017d0
push SysReAllocStringLen
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40d7cd
push 0x4018f0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x40d7cf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, ecx
test eax, eax
je 0x40d88a
test ebx, ebx
je 0x40d88a
test edi, edi
je 0x40d88a
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], esi
push ecx
push 0x20019
push esi
push eax
push SysReAllocStringLen
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d88a
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d871
cmp dword [ebp - 0x214], 1
jne 0x40d871
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40d88a
lea eax, [ebp - 0x20c]
push eax
jmp 0x40d88f
push 0x401a00
mov edx, 0x104
mov ecx, edi
call fcn.0040c040
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 8

Function at 0x40d8ac
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, edx
test esi, esi
jne 0x40d8d2
xor eax, eax
jmp 0x40d94e
push 0x104
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40d94c
test ebx, ebx
je 0x40d8f8
mov eax, 0x401a10
mov ecx, 0x40334c
jmp 0x40d902
mov eax, 0x401a34
mov ecx, 0x4032a0
push ecx
lea ecx, [ebp - 0x418]
push ecx
push eax
lea eax, [ebp - 0x210]
push 0x208
push eax
call fcn.0040c125
add esp, 0x14
test eax, eax
js 0x40d94c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d94c
test al, 0x10
jne 0x40d94c
xor edi, edi
lea ecx, [ebp - 0x210]
inc edi
call fcn.00420348
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret
Function at 0x40e1c5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
mov dword [ebp - 0x10], edx
push eax
push 2
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push 0x4017d0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e265
push esi
push 4
pop esi
cmp dword [ebp - 0xc], edi
je 0x40e246
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
push eax
push esi
push edi
push 0x401afc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push 0x401b24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push esi
push edi
push 0x401b54
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push edi
push 0x401b7c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
leave
ret

Function at 0x40e2db
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x443f3c], 0
push esi
push edi
mov edi, ecx
mov esi, 0x80004005
jne 0x40e360
push 0x54
call fcn.00440dbc
pop ecx
test eax, eax
je 0x40e317
mov ecx, eax
call fcn.0041c6ac
jmp 0x40e319
xor eax, eax
mov dword [0x443f3c], eax
test eax, eax
je 0x40e363
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40e363
mov ecx, dword [0x443f3c]
mov eax, dword [0x442a4c]
push ecx
mov dword [ecx + 0x48], eax
mov eax, dword [0x442514]
mov dword [ecx + 0x40], eax
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.0041d404
xor esi, esi
jmp 0x40e363
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00441130
leave
ret
Function at 0x40e5cf
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0043f3bf
push 4
pop edi
or word [ebp - 0xc], di
lea ecx, [ebp - 0x14]
call fcn.0041999e
mov ebx, 0x401bac
test eax, eax
js 0x40e63c
lea eax, [ebp - 4]
push eax
push 2
push esi
push dword [ebp - 0x14]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e63c
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push 0x401690
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e675
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x14]
call fcn.0043f743
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40e682
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
call fcn.0041f21e
test eax, eax
je 0x40e741
push esi
push 0x8000080
push 3
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40e6ce
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e741
push edi
mov edi, 0x104
lea ecx, [ebp - 0x20c]
mov edx, edi
call fcn.0040c040
test eax, eax
js 0x40e741
lea ecx, [ebp - 0x20c]
call fcn.0041eaf6
lea eax, [ebp - 0x20c]
push eax
push 0x401be0
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0040c0e1
add esp, 0x10
test eax, eax
js 0x40e741
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40e73e
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x40e741
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00441130
leave
Function at 0x40e7c1
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 0x401bf8
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x40e82a
push edi
push 0x401c14
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
je 0x40e82a
push edi
push 0x401c30
push edi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x40e8e7
push edi
push 0x401c48
push edi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
jne 0x40e8e7
xor edx, edx
lea ecx, [ebp - 0x20c]
call fcn.0041fb21
mov esi, 0x104
test eax, eax
je 0x40e88b
push ecx
lea eax, [ebp - 0x210]
mov edx, esi
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040c15d
test eax, eax
js 0x40e88b
mov eax, dword [ebp - 0x210]
mov edx, esi
push ecx
push 0x401c64
push ecx
lea ecx, [ebp - 0x20c]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0040c1c3
test eax, eax
js 0x40e88b
lea ecx, [ebp - 0x20c]
call fcn.0040e682
test eax, eax
jne 0x40e8e7
xor edx, edx
lea ecx, [ebp - 0x20c]
call fcn.0041fb21
test eax, eax
je 0x40e8ec
push ecx
lea eax, [ebp - 0x210]
mov edx, esi
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040c15d
test eax, eax
js 0x40e8ec
mov eax, dword [ebp - 0x210]
sub esi, eax
push ecx
push 0x401c80
push ecx
lea ecx, [ebp - 0x20c]
mov edx, esi
lea ecx, [ecx + eax*2]
call fcn.0040c1c3
test eax, eax
js 0x40e8ec
lea ecx, [ebp - 0x20c]
call fcn.0040e682
test eax, eax
je 0x40e8ec
xor eax, eax
inc eax
jmp 0x40e8ee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00441130
leave

Function at 0x40ebd9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
test edi, edi
je 0x40ec3f
mov dword [ebp - 4], esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 2
push esi
push esi
push esi
test edx, edx
je 0x40ec02
push 0x401d30
jmp 0x40ec07
push 0x401d98
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40ec3f
cmp dword [ebp - 4], esi
je 0x40ec3f
push 2
push 0x4015d0
push 1
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40ec36
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x40ec45
Capabilities:
Delete registry key
Delete registry value
Get installed programs
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x418]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push 0x401d30
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ed63
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
mov edi, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x40ed38
lea eax, [ebp - 0x20c]
inc edi
push eax
push 0x401e08
push 0x401d10
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x40ed25
mov dword [ebp - 0x41c], ebx
mov esi, 0x2001f
call fcn.0042d4bd
test eax, eax
je 0x40ece8
mov esi, 0x2011f
lea eax, [ebp - 0x41c]
push eax
push esi
push ebx
lea eax, [ebp - 0x414]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ed25
push 0x401e70
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40eca5
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x401d30
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret
Function at 0x40ed7d
Capabilities:
Delete registry key
Delete registry value
Get installed programs
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x418]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push 0x401d98
mov esi, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x418], ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ee9b
push edi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
mov edi, ebx
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
jmp 0x40ee70
lea eax, [ebp - 0x20c]
inc edi
push eax
push 0x401e08
push 0x401d10
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x40ee5d
mov dword [ebp - 0x41c], ebx
mov esi, 0x2001f
call fcn.0042d4bd
test eax, eax
je 0x40ee20
mov esi, 0x2011f
lea eax, [ebp - 0x41c]
push eax
push esi
push ebx
lea eax, [ebp - 0x414]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ee5d
push 0x401e70
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x418]
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40eddd
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x401d98
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
Function at 0x40eeb5
Capabilities:
Get installed programs
Query or enumerate registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
mov dword [ebp - 0x630], edx
test ecx, ecx
je 0x40f07a
push ecx
push 0x401e90
push 0x401d10
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x40f07a
and dword [ebp - 0x620], edi
push esi
mov esi, 0x20019
call fcn.0042d4bd
test eax, eax
je 0x40ef1c
mov esi, 0x20119
lea eax, [ebp - 0x620]
push eax
push esi
xor esi, esi
lea eax, [ebp - 0x414]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f079
push ebx
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x628]
mov ebx, esi
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
jmp 0x40f04e
lea eax, [ebp - 0x20c]
inc ebx
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
cmp word [ebp - 0x20c], 0x6b
pop ecx
jne 0x40f03b
cmp word [ebp - 0x20a], 0x62
jne 0x40f03b
lea eax, [ebp - 0x20c]
mov edi, esi
push eax
push 0x401e08
push 0x401d10
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0040c0e1
add esp, 0x14
test eax, eax
js 0x40f03b
mov dword [ebp - 0x624], esi
mov esi, 0x2001f
call fcn.0042d4bd
test eax, eax
je 0x40efcf
mov esi, 0x2011f
lea eax, [ebp - 0x624]
push eax
push esi
xor esi, esi
lea eax, [ebp - 0x61c]
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f03b
push 4
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 1
push eax
push 4
push esi
push 0x401e70
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40f02f
mov edx, dword [ebp - 0x630]
lea ecx, [ebp - 0x20c]
xor edi, edi
inc edi
call fcn.0040ebd9
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x620]
mov dword [ebp - 0x628], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40ef5c
push dword [ebp - 0x620]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.00441130
leave
ret
Function at 0x40f1ba
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.00410f5b
test eax, eax
je 0x40f298
lea ecx, [ebp - 0x210]
call fcn.0041ff89
test eax, eax
jne 0x40f298
call fcn.0041fef6
test eax, eax
jne 0x40f298
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
mov edi, 0x2001f
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push edi
push esi
push 0x401fc8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f25c
push 0x402064
push dword [ebp - 0x214]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
push edi
push esi
push 0x402090
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40f298
push 0x402160
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
Function at 0x40ffc9
Capabilities:
Hash data using murmur3

Disassembly:
or byte [edx + 0x2b], dl
aam 0x81
ret
Function at 0x4152f4
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
mov esi, 0x401690
mov dword [ebp - 4], edi
cmp dword [0x442a4c], edi
jne 0x415373
push edi
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x415341
push edi
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 4], edi
je 0x4153cb
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push edi
push 0x402cb8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4153cb
push ebx
push eax
push 2
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, 0x402cb8
test eax, eax
jne 0x4153a0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 2
push edi
push esi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4153ca
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
Function at 0x4155d2
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebp - 0x14]
mov dword [ebp - 0x28], edx
stosd dword es:[edi], eax
mov esi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x415693
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x415649
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x24]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebp + 0xc], 0
je 0x415649
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 0x28]
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x415693
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
push 1
push 0
push 0
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 8
Function at 0x4156a4
Capabilities:
Check if file exists
Get file attributes
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x415865
mov eax, dword [edi + 0xc]
mov ebx, 0x4015d0
test eax, eax
jne 0x4156d6
mov eax, ebx
push ecx
push eax
push ecx
mov edx, 0x200
lea ecx, [ebp - 0x408]
call fcn.0040c1c3
test eax, eax
js 0x415704
lea eax, [ebp - 0x408]
push eax
push 0
push 0xc
push 0x47c
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41570d
mov eax, ebx
push ecx
push eax
push ecx
mov edx, 0x200
lea ecx, [ebp - 0x408]
call fcn.0040c1c3
test eax, eax
js 0x41573b
lea eax, [ebp - 0x408]
push eax
push 0
push 0xc
push 0x46e
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push 0x46d
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x415865
mov eax, dword [0x443f20]
test eax, eax
je 0x415768
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
and dword [0x443f20], 0
cmp dword [edi + 0x34], 0
je 0x415771
mov ebx, dword [edi + 0x34]
push ecx
push ebx
push ecx
mov edx, 0x200
lea ecx, [ebp - 0x408]
call fcn.0040c1c3
xor ebx, ebx
inc ebx
test eax, eax
js 0x41583e
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41583e
test al, 0x10
jne 0x41583e
cmp dword [0x442a60], 0
jne 0x4157ee
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x41c]
and dword [ebp - 0x414], 0
and dword [ebp - 0x410], 0
push 0
push eax
push 0x442a60
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
cmp dword [0x442a60], 0
je 0x41583e
and dword [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov edi, dword [ebp - 0x40c]
push 0xff000000
push 0x443f20
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateHBITMAPFromBitmap]
test eax, eax
jne 0x415837
push dword [0x443f20]
push eax
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
cmp dword [0x443f20], 0
jne 0x415854
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
jmp 0x41585e
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 8
Function at 0x418355
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [str.6ij]
push esi
push edi
cmp ecx, 0x4420b0
jne 0x4183ac
cmp dword [0x442ae8], 0xd2af9
je 0x4184a2
call fcn.004182b9
test eax, eax
je 0x41839d
call fcn.00418302
jmp 0x4184a2
mov dword [0x442a84], 1
jmp 0x4184a2
xor esi, esi
inc esi
cmp ecx, str.K
jne 0x4183f8
cmp dword [0x442ae8], 0xd2af9
je 0x4183c9
mov dword [0x442a84], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x401ce4
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4184a2
and dword [0x442a84], 0
mov ecx, esi
call fcn.0041a33a
jmp 0x4184a2
mov eax, dword [0x442ae8]
cmp eax, 0xd2af8
jne 0x41844f
mov edi, 0x104
lea eax, [ebp - 0x210]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x418444
push 0x4042ac
mov edx, edi
lea ecx, [ebp - 0x210]
call fcn.0040c075
test eax, eax
js 0x418444
push 0xffff
push esi
lea edx, [ebp - 0x210]
xor ecx, ecx
call fcn.00421540
mov eax, dword [0x442ae8]
mov ecx, dword [str.6ij]
test eax, eax
js 0x41847a
cmp ecx, str.6ij
jne 0x41847a
cmp dword [0x442ab0], 0
jne 0x418470
call fcn.0040f160
call fcn.0040f089
jmp 0x418475
call fcn.0040f160
mov eax, dword [0x442ae8]
cmp eax, 0xd2af9
je 0x41849d
cmp eax, 0xc00d2afb
je 0x41849d
test eax, eax
js 0x4184a2
cmp dword [0x442a4c], 0
jne 0x4184a2
mov dword [0x442a84], esi
jmp 0x4184a2
call fcn.004196bd
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00441130
leave
ret