joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10074271
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
jne 0x10074299
xor eax, eax
jmp 0x100743cf
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10074292
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10080190
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100743bd
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10074397
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.10080190
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1007438b
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.100823bb
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x100743c5
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10074302
push dword [ebp - 0x418]
call ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret 4
Function at 0x10074ebd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x10074ee2
xor eax, eax
jmp 0x10074f75
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10074f73
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x10074f51
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.10093e28
pop ecx
pop ecx
test eax, eax
je 0x10074f63
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10074f30
jmp 0x10074f66
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10062ee4
mov esp, ebp
pop ebp
ret 4
Function at 0x10075373
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push 0x83c
mov eax, 0x10172109
call fcn.1016d10a
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor ebx, ebx
push ebx
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x834], 7
mov dword [ebp - 0x838], ebx
mov word [ebp - 0x848], ax
cmp word [ebp - 0x218], ax
je 0x100753de
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x848]
call fcn.10006830
mov dword [ebp - 4], ebx
mov ebx, str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ebx
call fcn.10093843
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x848]
call fcn.100065e0
xor ebx, ebx
cmp word [esi], bx
jne 0x10075418
mov eax, ebx
jmp 0x1007541f
push esi
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.100065e0
mov esi, str..lnk
push esi
call fcn.10093843
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.100065e0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x848]
push eax
call esi
test eax, eax
je 0x1007552d
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.10080190
push 0x208
lea eax, [ebp - 0x628]
push ebx
push eax
call fcn.10080190
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.10093821
add esp, 0x20
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.10073a7e
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.10093843
pop ecx
test eax, eax
jne 0x1007551b
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.10093821
pop ecx
pop ecx
lea eax, [ebp - 0x420]
push eax
call esi
test eax, eax
je 0x1007552d
xor esi, esi
inc esi
jmp 0x1007552f
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x848]
call fcn.10006390
mov eax, esi
call fcn.1016d0c5
ret 4
Function at 0x10075547
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x101e5be0]
test al, al
jne 0x100755e0
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100755d7
lea eax, [ebp - 0x20c]
push eax
call fcn.1008332e
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.100823bb
pop ecx
pop ecx
test eax, eax
jne 0x100755cf
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.100823bb
pop ecx
pop ecx
test eax, eax
je 0x100755d7
mov byte [0x101e5be0], bl
jmp 0x100755dd
mov bl, byte [0x101e5be0]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10062ee4
mov esp, ebp
pop ebp
ret
Function at 0x100760a9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10076114
lea eax, [ebp - 0x20c]
push 0x101734d4
push eax
call fcn.10093dd2
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.100755ee
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret 4
Function at 0x10076a85
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x101722b6
call fcn.1016d10a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x10076c73
push eax
lea ecx, [ebp - 0x40]
call fcn.10003560
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.100643de
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.10080190
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x28c], edi
cmp edi, 0xffffffff
je 0x10076c63
call fcn.10064cf4
test al, al
je 0x10076b08
pop ebp
push ecx
push ebp
push esi
pop ecx
push ebp
pop ebp
push ebp
push edi
push edx
push edx
pop esi
push ecx
pop esi
push ebx
push edx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10076be4
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x10076b4b
lea eax, [ebp - 0x260]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.10006830
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.100643de
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10066d10
test eax, eax
je 0x10076b9f
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10068534
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.10066d10
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x10076ba6
mov byte [ebp - 0x285], 1
test bl, 1
je 0x10076bba
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.10006390
cmp byte [ebp - 0x285], 0
jne 0x10076c79
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.10006390
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10076b24
call fcn.10064b9b
test al, al
je 0x10076c0f
pop esp
pop esi
pop ecx
pop edx
pop edx
push ebx
push edx
push ebp
pop ecx
pop ebp
pop eax
pop esi
push ebx
pop esp
pop eax
push ebp
push esi
push esp
pop eax
push esi
push ebx
push eax
push esp
pop ecx
pop edi
push ebx
call fcn.10064c25
test al, al
je 0x10076c2e
push eax
pop esi
pop edx
push ebp
pop ebx
push ebx
pop eax
push ebx
push ebx
push eax
push edx
push esp
pop ecx
pop esi
push ebx
pop edi
push ebx
push ebx
push esp
pop ebp
pop esi
pop esp
call fcn.10064d39
test al, al
je 0x10076c57
push edi
push eax
pop ebx
pop ebx
push esp
pop ecx
push esi
pop eax
push edx
pop ecx
pop edi
push esp
pop esp
pop edx
push ebx
pop edx
push esi
pop ebx
push ecx
push eax
pop edi
pop eax
pop eax
pop edi
pop esi
push ebx
pop ecx
push ebp
push edx
pop ebp
push ebp
push ebp
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.10006390
mov eax, esi
call fcn.1016d0c5
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.10006390
jmp 0x10076c65
Function at 0x1007730f
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x10077b9f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push str.kernel32.dll
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.10064c6a
test al, al
je 0x10077bd8
pop ebx
push ebp
push esp
pop edi
push ebp
pop eax
pop ebx
pop ecx
pop ebp
push eax
pop esp
pop ebp
pop ebx
push ecx
push ebx
pop esp
pop eax
pop ebp
pop eax
push ebx
push ebx
pop ecx
push esp
call fcn.10064b9b
test al, al
je 0x10077bf8
push ebx
push ecx
push ecx
pop esp
push esi
pop edx
push esi
pop edx
pop ecx
pop ebp
push edx
pop ebx
pop ecx
pop esp
push ebx
push eax
pop esp
push ebx
push edx
push esp
pop ebp
push esp
push esi
call fcn.10064acc
test al, al
je 0x10077c15
push ebx
push ebx
pop ecx
pop esp
pop ebx
pop ebp
push esi
push edi
pop ecx
push esp
pop esp
push ebp
push eax
pop edx
push ebp
pop ebx
push ebp
push eax
push edi
push eax
call fcn.10064b11
test al, al
je 0x10077c34
push esp
pop ebp
push edi
pop ecx
push ebx
pop ecx
push eax
pop ebp
push ecx
push edi
pop edi
push ebp
push esp
push ebx
pop ebx
pop ebp
pop esi
push edi
pop edi
push edi
push esi
pop ecx
call fcn.10065078
test al, al
je 0x10077c54
pop esi
push ebx
push ebx
push esp
push ebx
push eax
push ebp
push esi
pop ebx
push edx
push eax
pop esp
pop ebx
pop eax
push ebp
push esp
pop edi
push ecx
pop ecx
push ebp
pop eax
push ecx
pop ecx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10077c63
xor eax, eax
jmp 0x10077d20
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10181e30
push dword [ebx]
call esi
push str.IsWow64Process
push dword [ebx]
mov dword [ebx + 8], eax
call esi
push str.Wow64DisableWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0xc], eax
call esi
push str.Wow64RevertWow64FsRedirection
push dword [ebx]
mov dword [ebx + 0x18], eax
call esi
push 0x10183158
push dword [ebx]
mov dword [ebx + 0x14], eax
call esi
push str.advapi32.dll
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 4], eax
call fcn.10064caf
test al, al
je 0x10077cd0
push ebx
pop eax
pop edx
pop ebp
pop edi
push edi
pop edi
push eax
push esp
push edi
pop esi
pop ebx
pop esi
pop eax
push ebp
pop ebx
push esi
push ecx
pop edx
pop ebx
call fcn.10064caf
test al, al
je 0x10077cf1
push esi
push edx
push edi
push eax
pop esi
push edx
push esp
pop esp
push edx
pop edi
pop edi
push ebp
pop edx
pop eax
push ecx
pop ebx
push ecx
pop ecx
push eax
pop esi
push ebx
push ebp
pop esp
push ebx
mov esi, dword [ebp - 4]
cmp dword [esi + 4], 0
je 0x10077c5c
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10077df4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, ecx
mov byte [ebp - 1], 0
push ebx
push esi
push edi
lea ecx, [eax + 0x210]
mov dword [ebp - 0x14], eax
mov esi, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp esi, dword [eax + 0x214]
je 0x10077eab
mov eax, dword [ebp + 8]
lea edi, [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 8], edi
lea ecx, [eax + 0xa8]
add eax, 0x28
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push ecx
call ebx
push 0x10178808
call ebx
sub edi, 0xffffff80
push edi
call ebx
push 0x10178808
call ebx
push dword [ebp - 0xc]
call ebx
push 0x10178808
call ebx
push dword [ebp - 8]
call ebx
push 0x10178808
call ebx
push edi
push dword [ebp - 0x10]
call fcn.10093fa0
mov edi, dword [ebp - 8]
pop ecx
pop ecx
test eax, eax
jne 0x10077e8b
push edi
push dword [ebp - 0xc]
call fcn.10093fa0
pop ecx
pop ecx
test eax, eax
je 0x10077ea7
mov eax, 0x1b0
add edi, eax
add esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x10077eab
mov ecx, dword [ebp - 0x10]
jmp 0x10077e3b
mov byte [ebp - 1], 1
call fcn.1006492e
test al, al
je 0x10077ecc
push ecx
push esi
pop esi
pop esi
pop ebx
pop ebp
pop ebp
push ebx
pop ecx
push ebp
pop esp
push esp
push esi
push esp
pop edi
pop ebp
pop ecx
pop edi
pop esi
push edi
push ecx
push ebp
pop esi
pop esp
cmp byte [ebp - 1], 0
jne 0x10077ef3
mov esi, dword [ebp + 8]
lea edx, [esi + 0xa8]
push edx
call fcn.10093860
pop ecx
test eax, eax
je 0x10077ef3
mov ecx, dword [ebp - 0x18]
push esi
call fcn.10078c8c
mov al, 1
jmp 0x10077ef5
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10078b7d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x210]
push ebx
push esi
push edi
mov dword [ebp - 0x11c], ecx
mov dword [ecx + 0x214], eax
call fcn.10064e08
test al, al
je 0x10078bc6
push ecx
push esp
push esi
push ebx
push edx
pop esi
pop ebx
pop esp
pop edi
pop eax
pop esi
pop edx
pop esp
pop esi
pop esp
pop ebp
push ebx
pop edi
pop edx
pop ebx
pop esi
push eax
pop ecx
push ebx
call fcn.10064e08
test al, al
je 0x10078bed
push edi
pop ecx
push ecx
pop esi
push ebx
pop ebp
push edx
pop esp
pop esi
push edx
pop ebx
push ecx
push esp
pop ebp
pop edi
pop edi
pop ebp
pop edi
pop esp
pop ecx
push edx
pop edx
push ecx
push esp
pop eax
pop ebp
push esp
push eax
push esp
pop edi
mov esi, 0x114
lea eax, [ebp - 0x118]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.10080190
add esp, 0xc
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
mov esi, dword [ebp - 0x11c]
jne 0x10078c30
mov ecx, esi
call fcn.100783e1
jmp 0x10078c45
mov edi, ebx
test ebx, ebx
jne 0x10078c45
mov ecx, esi
call fcn.1007825c
inc edi
mov ebx, eax
cmp edi, 0xa
jl 0x10078c32
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10062ee4
mov esp, ebp
pop ebp
ret
Function at 0x1007bfc7
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x248
mov eax, 0x1017280c
call fcn.1016d10a
mov eax, dword [ebp + 8]
and dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080190
add esp, 0xc
call fcn.10064d7e
test al, al
je 0x1007c02b
push ecx
pop ecx
push eax
push edx
push esp
pop esi
pop ebp
push ebx
pop ebp
pop ebx
pop esp
push ecx
pop esp
pop edi
push ecx
push ebx
push edx
push ecx
pop edx
push edx
pop ecx
push ecx
push ebx
pop eax
push ebx
push eax
push ecx
pop ebx
pop edi
call fcn.10064e08
test al, al
je 0x1007c04d
push eax
pop edi
pop edi
pop edi
push esp
pop edx
pop eax
pop eax
push eax
push esi
push esp
push edx
pop esp
push esp
push esi
pop eax
pop edi
pop edx
push ebx
push esp
pop ecx
push esp
push ebp
push esi
push esp
call fcn.10064fa6
test al, al
je 0x1007c075
push ebx
push eax
push esi
pop ebx
pop esi
push ebx
pop eax
push eax
pop edi
push ebp
push edi
pop ebx
pop ebx
pop edx
push esi
pop esp
push edx
push ebx
pop eax
push edx
push ebx
pop ebp
push esp
push eax
pop edx
push esi
push ebp
pop esp
push esi
push ebp
push eax
mov ebx, dword [ebp - 0x250]
lea eax, [ebp - 0x218]
push 0x104
xor edi, edi
push eax
push edi
jmp 0x1007c183
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1007c175
call fcn.10064cf4
test al, al
je 0x1007c0c5
pop ebp
push ecx
push ebp
push esi
pop ecx
push ebp
pop ebp
push ebp
push edi
push edx
push edx
pop esi
push ecx
pop esi
push ebx
push edx
and dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x1007c0f5
lea eax, [ebp - 0x218]
push eax
call fcn.10093843
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.10006830
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1006932e
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.10006390
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push dword [ebp - 0x254]
call fcn.1007702d
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
push 0
push 1
call fcn.10010fb0
push 0x104
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1007c08f
call fcn.1016d0c5
ret
Function at 0x1007c470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.1007d7c0
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.1007d770
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.1007d810
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x1007c4ac
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x1007c500
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x1007c4f0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1007c4f0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x1007c720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10172926
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x101d9154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x1007c77a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x1007c797
mov eax, dword [esi + 0x20]
jmp 0x1007c79a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x1007c7b4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x1007c7ce
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x1007c7e8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.100874c6
push eax
call fcn.10093c7d
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10080190
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1007c8a7
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.10080190
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x1007c898
test eax, eax
je 0x1007c898
add eax, eax
cmp eax, 0x412
jae 0x1007c893
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x1007c89e
call fcn.1006343d
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.10008850
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1007c8d3
cmp dword [esi + 0x34], 8
jb 0x1007c8b9
mov ecx, dword [esi + 0x20]
jmp 0x1007c8bc
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1007c8d3
push 1
push 0x101734d4
lea ecx, [esi + 0x20]
call fcn.100065e0
cmp dword [esi + 0x30], 0
jne 0x1007c8e8
push 3
push 0x10181ea4
lea ecx, [esi + 0x20]
call fcn.10006830
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10062ee4
mov esp, ebp
pop ebp
ret