joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7cfa4d35
Capabilities:
Check if file exists
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, 1
push edi
jne 0x7cfa4d53
call fcn.7cfa5318
test eax, eax
je 0x7cfa4d53
push 8
pop esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebp - 8]
mov edi, 0x7cf384b8
push eax
push 2
push edi
call fcn.7cfa6182
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 2
mov dword [ebp - 4], eax
ja 0x7cfa4d99
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x7cfa4d8d
or esi, 4
or esi, ebx
push 0
push esi
call fcn.7cfa4d24
jmp 0x7cfa4d9f
push ebx
call fcn.7d01415d
mov esi, eax
xor eax, eax
cmp dword [ebp + 8], eax
jl 0x7cfa4db9
cmp dword [ebp - 4], eax
jne 0x7cfa4db9
push eax
push dword [ebp - 8]
push edi
call fcn.7cfa6182
jmp 0x7cfa4dec
cmp esi, eax
jne 0x7cfa4dec
xor ecx, ecx
cmp ebx, 1
setne cl
add ecx, 0x8200
push 0x10
push ecx
xor ecx, ecx
cmp ebx, 1
setne cl
add ecx, 0x8202
push ecx
push eax
push dword [0x7d04cdfc]
call sym.SHELL32.dll_ShellMessageBoxW
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7cfa4df5
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
call fcn.7cfc5ab7
jmp fcn.7cf88f6f

Function at 0x7cfa5091
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push edi
push dword [ebp + 8]
mov edi, reloc.SHLWAPI.dll_ParseURLW
xor ebx, ebx
push 0x7cf38428
push edi
call esi
test eax, eax
jne 0x7cfa50be
push 1
pop eax
jmp 0x7cfa510a
lea eax, [ebp - 4]
push eax
push 0x7cf38458
push edi
call esi
test eax, eax
jne 0x7cfa5108
lea eax, [ebp - 0x210]
push 0x105
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x7cfa50ff
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x7cfa50ff
push 1
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7cfa5111
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 1
pop esi
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], esi
call fcn.7cfa5091
xor ebx, ebx
test eax, eax
je 0x7cfa5177
lea eax, [ebp - 0x10]
mov byte [ebp - 1], 1
push eax
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x7cf38480
mov dword [ebp - 0x10], esi
push dword [ebp - 0xc]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cfa516e
and byte [ebp - 1], 0x7f
cmp byte [ebp - 1], 2
jne 0x7cfa5164
mov dword [ebp - 8], esi
jmp 0x7cfa516e
cmp byte [ebp - 1], bl
mov dword [ebp - 8], ebx
jne 0x7cfa516e
xor esi, esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x7cfa51d9
cmp dword [ebp - 8], ebx
je 0x7cfa5189
call sym.SHELL32.dll_DllRegisterServer
test eax, eax
je 0x7cfa51d7
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push 0x7cf384a0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x7cfa51d7
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x10]
push 4
push eax
push ebx
push ebx
push 0x80ff000c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
je 0x7cfa51cc
push 1
pop esi
cmp dword [ebp - 0x10], esi
je 0x7cfa51ce
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7cfa51d9
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7cfa53fb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
xor edi, edi
push 0x10000000
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call sym.SHELL32.dll_SHRestricted
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 4
push eax
push edi
push 0x7cf3862c
push 0x7cf358cc
push reloc.SHLWAPI.dll_ParseURLA
call esi
test eax, eax
jne 0x7cfa5452
cmp dword [ebp - 0x10], edi
setne al
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push 0x7cf38618
push 0x7cf38594
push reloc.SHLWAPI.dll_ParseURLW
call esi
test eax, eax
jne 0x7cfa5486
xor ebx, ebx
cmp word [ebp - 0x218], di
setne bl
cmp dword [ebp - 0xc], 2
je 0x7cfa549d
push 1
cmp ebx, edi
pop eax
jne 0x7cfa5498
cmp dword [ebp - 8], edi
je 0x7cfa549f
cmp dword [ebp - 0xc], eax
je 0x7cfa549f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7cfa54a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 2
pop esi
call fcn.7d03f85f
test eax, eax
jne 0x7cfa54ba
push 6
pop esi
call fcn.7cfa53fb
test eax, eax
je 0x7cfa54c6
or esi, 1
call fcn.7cfa52af
test eax, eax
je 0x7cfa54d2
or esi, 0x40
call sym.SHELL32.dll_Ordinal_53
test eax, eax
je 0x7cfa5536
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x7cf38660
push reloc.SHLWAPI.dll_ParseURLW
or esi, 0x10
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cfa552d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x7cf3864c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x7cfa5536
or esi, 0x20
mov eax, esi
pop esi
leave
ret
Function at 0x7cfa571c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
call fcn.7cfa4f1f
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], esi
je 0x7cfa574e
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
call fcn.7cfa5013
cmp dword [ebp + 0xc], edi
je 0x7cfa5772
push edi
push 0x7cfa553b
push esi
push 0x42f
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov ebx, eax
jmp 0x7cfa581b
lea eax, [ebp - 8]
mov dword [ebp + 0xc], edi
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
mov dword [ebp - 8], 0x100
call fcn.7cf835b4
test eax, eax
je 0x7cfa5798
mov word [ebp - 0x20c], di
call fcn.7cfa4df5
push 0x7cf38738
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0xc], eax
je 0x7cfa57f2
push 0x7cf38724
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x7cfa57e4
lea ecx, [ebp - 0x20c]
push edi
push ecx
push esi
call eax
mov ebx, eax
cmp ebx, 0x80
jne 0x7cfa57db
call fcn.7cfa563e
xor ebx, ebx
mov dword [ebp + 0xc], 1
jmp 0x7cfa57e7
mov ebx, dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x7cfa57f5
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
jne 0x7cfa580f
call fcn.7cfa54a4
lea ecx, [ebp - 0x20c]
push ecx
push eax
push esi
call fcn.7cfa934e
mov ebx, eax
call fcn.7cf88f6f
push 0xffffffffffffffff
call sym.SHELL32.dll_Ordinal_65
cmp esi, edi
je 0x7cfa5826
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebx, edi
jne 0x7cfa5843
cmp esi, edi
je 0x7cfa5890
push edi
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x7cfa5890
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
je 0x7cfa5890
mov eax, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push fcn.7cfa5682
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x7cfa587b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x7cfa5890
cmp dword [ebp - 4], edi
je 0x7cfa588a
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.7cfa5682
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x7cfa58b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
push ebx
push esi
push edi
push 0xe
xor esi, esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
mov dword [ebp - 0x48], esi
mov word [ebp - 0x2d0], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x7cf38780
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cfa5926
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x7cf3876c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
je 0x7cfa591d
mov word [ebp - 0x2d0], si
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2d0]
push 0x7cf38750
push eax
lea eax, [ebp - 0x2d0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x18], esi
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0x7cf3339c
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], 0x3c
je 0x7cfa597c
mov dword [ebp - 0x3c], 0x7cf362c4
jmp 0x7cfa5983
mov dword [ebp - 0x44], 0x400
lea eax, [ebp - 0x48]
push eax
call sym.SHELL32.dll_ShellExecuteExW
mov ebx, eax
cmp ebx, esi
jne 0x7cfa59cb
cmp dword [ebp + 0x18], esi
jne 0x7cfa59cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0xc8]
push 0x40
push eax
push dword [ebp + 0x14]
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xc8]
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], esi
call fcn.7cfa78d8
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x14

Function at 0x7cfa5d47
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
je 0x7cfa5d9e
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x7cfa5c9b
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x7cfa5d97
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop edi
jmp 0x7cfa5d9e
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x7cfa65cd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor esi, esi
push dword [ebp + 8]
call fcn.7cf6af1b
cmp ax, 0x4550
je 0x7cfa65f6
cmp ax, 0x454e
jne 0x7cfa662c
shr eax, 0x10
cmp ax, 0x400
jb 0x7cfa662c
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [ebp + 8]
call fcn.7cfb0eb3
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push 0x7cf38a1c
push eax
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, esi
pop esi
leave
ret 4

Function at 0x7cfa6633
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.7cfb0eb3
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x20c]
push esi
push eax
push reloc.SHLWAPI.dll_ParseURLW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7cfa66b9
push esi
push esi
push esi
push esi
push 0x7cf38a38
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7cfa66b0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.7cfb0f05
test eax, eax
je 0x7cfa66b0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
pop esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
mov edi, 0x80004005
jne 0x7cfa67d7
cmp dword [ebp + 0x10], eax
je 0x7cfa67c8
mov esi, edi
jmp 0x7cfa67d7
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x7cfa67d7
xor esi, esi
cmp esi, 1
jne 0x7cfa6820
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.7cf9d846
test eax, eax
je 0x7cfa6810
cmp dword [ebp + 0x10], 0
je 0x7cfa67fd
xor eax, eax
cmp dword [ebp + 8], 2
setne al
jmp 0x7cfa6806
xor eax, eax
cmp dword [ebp + 8], 2
sete al
neg eax
sbb eax, eax
and eax, edi
mov esi, eax
jmp 0x7cfa6820
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7cfa6820
xor esi, esi
cmp esi, edi
jne 0x7cfa682c
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x7cfa6c59
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
lea eax, [ebp + 0xc]
push esi
push eax
xor esi, esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x7cfa6d1b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 8], 0x104
push eax
push esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
call esi
test eax, eax
jne 0x7cfa6d12
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfa6d04
lea eax, [ebp - 0xc]
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push 0
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], 0x208
push eax
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
push dword [ebp + 0xc]
jmp 0x7cfa6cb5
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x7cfa6d1d
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret 8

Function at 0x7cfa6d7f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x7d04b3c8]
push esi
cmp eax, 0xffffffff
push edi
jne 0x7cfa6de9
xor edi, edi
xor esi, esi
mov dword [0x7d04b3c8], edi
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathBuildRootW]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7cfa6dde
lea eax, [ebp - 0x20]
push 0x18
push eax
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x7cfa6dde
lea eax, [ebp - 0x20]
push 0x7cf36724
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x7cfa6ded
inc esi
cmp esi, 0x1a
jl 0x7cfa6d9b
mov eax, dword [0x7d04b3c8]
pop edi
pop esi
leave
ret
push 1
pop eax
mov dword [0x7d04b3c8], eax
jmp 0x7cfa6de9
Function at 0x7cfa6f03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
jmp 0x7cfa6f27
xor eax, eax
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x20], ebx
push ecx
lea ecx, [ebp - 0xc]
push eax
push ecx
push eax
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x1c]
push dword [ebp - 4]
push dword [ebp + 0x14]
call esi
test eax, eax
je 0x7cfa6f52
cmp eax, 0xea
jne 0x7cfa7040
cmp dword [ebp - 0xc], 3
jne 0x7cfa7033
push dword [ebp + 0x18]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x7cfa7033
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x20], ebx
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x20]
push 0
push eax
push dword [ebp + 0x1c]
push dword [ebp - 4]
push dword [ebp + 0x14]
call esi
test eax, eax
jne 0x7cfa702a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x10
call fcn.7d043a00
test eax, eax
je 0x7cfa702a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
push 1
and eax, 0xff
pop edx
dec eax
mov dword [edi + 4], ecx
mov dword [ebp - 8], edx
je 0x7cfa7020
dec eax
je 0x7cfa7014
dec eax
je 0x7cfa700b
dec eax
dec eax
je 0x7cfa6ff4
dec eax
jne 0x7cfa7033
jmp 0x7cfa7005
cmp ecx, 4
ja 0x7cfa7005
mov eax, dword [ecx*4 + 0x7d04b3d0]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
and dword [ebp - 8], 0
jmp 0x7cfa7027
mov dword [edi + 0xc], 0x25a1
jmp 0x7cfa7027
mov dword [edi + 0x10], edx
mov dword [edi + 0xc], 0x25a2
jmp 0x7cfa7027
mov dword [edi + 0xc], 0x25a0
mov dword [ebp - 0x14], edx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
inc dword [ebp - 4]
cmp dword [ebp - 0x14], 0
je 0x7cfa6f25
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x7cfa7465
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
mov dword [ebp - 4], 1
je 0x7cfa7557
cmp word [eax], si
je 0x7cfa7557
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
cmp ebx, esi
je 0x7cfa7557
cmp word [ebx], si
je 0x7cfa7557
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x224]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.7cfa7425
mov edi, eax
test edi, edi
jne 0x7cfa74ef
lea eax, [ebp - 0x224]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 8]
call fcn.7cfa739e
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x7cfa7557
cmp dword [ebp + 0x10], eax
je 0x7cfa750c
cmp dword [ebp + 0x14], eax
jne 0x7cfa750c
xor ecx, ecx
cmp dword [ebp - 0xc], eax
sete cl
mov dword [ebp - 4], ecx
jmp 0x7cfa7550
lea eax, [ebp - 0x1c]
push eax
push 0x7cfa6df7
push dword [ebp + 0x14]
push 0x43a
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
test esi, 0x8000
je 0x7cfa7541
lea eax, [ebp - 0x224]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
and esi, 0xfff
cmp esi, 1
je 0x7cfa7550
and dword [ebp - 4], 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7cfa7900
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea eax, [ebp - 0x41c]
and word [ebx], 0
push edi
mov esi, 0x104
push eax
push esi
mov dword [ebp - 4], 0x2a
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x7cfa7943
cmp word [edi], 0
je 0x7cfa7943
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x7cfa7949
lea edi, [ebp - 0x41c]
lea eax, [ebp - 0x214]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x7cfa796f
push esi
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0xc]
push 7
push eax
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0x214]
xor edi, edi
push eax
mov dword [ebp - 8], edi
call sym.SHELL32.dll_PathResolve
test eax, eax
jne 0x7cfa7996
mov dword [ebp - 4], 2
jmp 0x7cfa79da
lea eax, [ebp - 0x214]
push eax
call sym.SHELL32.dll_PathIsExe
test eax, eax
jne 0x7cfa79c3
lea eax, [ebp - 0x214]
push esi
push eax
lea eax, [ebp - 0x214]
push edi
push eax
push 2
push edi
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
jl 0x7cfa79d3
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x7cfa79da
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x7cfa8007
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
mov esi, 0x104
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x218]
push 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x7cfa8138
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x218]
push esi
push eax
lea eax, [ebp - 0x420]
push 0x7cf3339c
push eax
push 0x7cf38e08
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
xor edi, edi
cmp word [ebp - 0x218], di
je 0x7cfa80cd
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
lea eax, [ebp - 0x218]
push eax
jne 0x7cfa8148
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x7cfa80e6
lea eax, [ebp - 0x218]
push 0x103
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov word [ebp - 0x212], di
lea eax, [ebp - 0x628]
push esi
push eax
push edi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.7cf8ca6c
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x628]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x7cfa7f12
push dword [ebp + 8]
push 0x41b
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
dec eax
je 0x7cfa8141
dec eax
je 0x7cfa813c
push 2
jmp 0x7cfa813e
push 1
pop eax
jmp 0x7cfa8156
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7cfa7f78
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x7cfa835e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0
push 0x7cf38e28
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x7cfa83a8
push edi
push esi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push ecx
push 0
push 0x4a
push eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0x10
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop edi
jmp 0x7cfa83ad
mov eax, 0x80004005
leave
ret 4