joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c730
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a18d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00463a30
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.00401c80
mov dword [ebp - 4], 0
push str.7654.debug
lea ecx, [ebp - 0x238]
call fcn.00403bf0
lea ecx, [ebp - 0x238]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c7f3
mov byte [ebp - 0x239], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401cc0
mov al, byte [ebp - 0x239]
jmp 0x40c812
mov byte [ebp - 0x23a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00401cc0
mov al, byte [ebp - 0x23a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret

Function at 0x40c970
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x260]
call fcn.00401c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.00401e70
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x244], 0x22c
mov dword [ebp - 0x240], 0
push 0x224
push 0
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00463a30
add esp, 0xc
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40caac
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x27c]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00401e70
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00411150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ca85
mov edx, dword [ebp - 0x23c]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x280], eax
push 0
mov eax, dword [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00401cc0
lea ecx, [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ca17
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x260]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a368
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40eda0
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40edac
mov al, 1
jmp 0x40ef4f
mov dword [ebp - 0x10], 8
call fcn.00411760
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00411760
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00411740
add esp, 8
movzx eax, al
test eax, eax
je 0x40edef
xor al, al
jmp 0x40ef4f
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040dfe0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040e090
mov ecx, eax
call fcn.0040e430
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403cc0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e090
mov ecx, eax
call fcn.0040e430
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040fc50
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40ee6a
cmp dword [ebp - 0x6c], 1
je 0x40ee71
cmp dword [ebp - 0x6c], 3
je 0x40ef0b
jmp 0x40ef23
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e090
mov ecx, eax
call fcn.0040e430
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40eed4
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e090
mov ecx, eax
call fcn.0040e430
push eax
call fcn.00465a20
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40eed4
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x61]
jmp 0x40ef4f
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40eef7
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x62]
jmp 0x40ef4f
cmp dword [ebp - 0x38], 0
jne 0x40ef09
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040e020
jmp 0x40ef3b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x63]
jmp 0x40ef4f
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401c50
mov al, byte [ebp - 0x64]
jmp 0x40ef4f
jmp 0x40ee02
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret
Function at 0x413700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a6cb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x480], ecx
cmp dword [ebp + 8], 0
jne 0x41373e
xor eax, eax
jmp 0x4138f8
mov byte [ebp - 0x214], 0
push 0xff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.00463a30
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.004655d0
add esp, 8
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00463e40
add esp, 4
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x470]
call fcn.00414370
mov dword [ebp - 4], 0
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.00463a30
add esp, 0xc
mov edx, dword [ebp - 0x474]
movsx eax, byte [ebp + edx - 0x215]
cmp eax, 0x5c
je 0x4137da
mov ecx, dword [ebp - 0x474]
mov byte [ebp + ecx - 0x214], 0x5c
mov edx, dword [ebp - 0x218]
movsx eax, byte [ebp + edx - 0x214]
test eax, eax
je 0x4138d6
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x3a
jne 0x413814
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x218], eax
jmp 0x4137da
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x5c
jne 0x4138c2
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.00466540
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x470]
call fcn.004143b0
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x470]
call fcn.00423270
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4138c2
push 0
lea ecx, [ebp - 0x470]
call fcn.00423270
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4138c2
mov dword [ebp - 0x478], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00414390
mov eax, dword [ebp - 0x478]
jmp 0x4138f8
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x4137da
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.00414390
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 4
Function at 0x417390
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x5145ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4173b6
xor eax, eax
jmp 0x41747c
push str.GetNativeSystemInfo
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.IsWow64Process
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.Wow64DisableWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push 0x51464c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.GetSystemWow64DirectoryW
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x417447
xor eax, eax
jmp 0x41747c
push 0x5146a4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push str.Wow64RevertWow64FsRedirection
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4193f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50abd8
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x288], ecx
mov eax, dword [ebp - 0x288]
mov cl, byte [eax + 0x25]
mov byte [ebp - 0x23e], cl
mov edx, dword [ebp - 0x288]
mov al, byte [edx + 0x24]
mov byte [ebp - 0x23d], al
push str.0025
lea ecx, [ebp - 0x30]
call fcn.00401c80
mov dword [ebp - 4], 0
mov word [ebp - 0x23c], 0
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.00463a30
add esp, 0xc
push 0x104
lea edx, [ebp - 0x23c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00401c80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
push ecx
call fcn.00411050
mov ecx, eax
call fcn.0040a340
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x30]
call fcn.00403ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00401cc0
push 0x1034
call fcn.0045a5f1
add esp, 4
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x280], 0
je 0x41956e
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x288]
mov al, byte [edx + 0x27]
push eax
mov ecx, dword [ebp - 0x288]
mov dl, byte [ecx + 0x26]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x284], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00403b70
mov dword [ebp - 0x294], eax
mov cl, byte [ebp - 0x23e]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x280]
call fcn.004218e0
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
jmp 0x419578
mov dword [ebp - 0x29c], 0
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x288]
add eax, 0x1c
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push 0x419600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 0x288]
mov dword [edx + 0x20], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x420980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b5bb
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
push str.Ssffdrive
lea ecx, [ebp - 0x488]
call fcn.00401c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x488]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0043b6e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00421d90
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push 0x5158fc
lea ecx, [ebp - 0x34]
call fcn.00401c80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x48]
push edx
push 9
push 0
lea ecx, [ebp - 0x34]
call fcn.00401e70
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420a5f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x420b7f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401e70
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
sbb eax, eax
add eax, 1
je 0x420b4e
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x46b]
push edx
call fcn.00463a30
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0
push 0x515930
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x6c], eax
push 0x51593c
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00467e30
add esp, 8
test eax, eax
jne 0x420b44
push 0x515948
mov edx, dword [ebp - 0x6c]
add edx, 0x2b4
push edx
call fcn.00467e30
add esp, 8
test eax, eax
jne 0x420b44
mov eax, dword [ebp - 0x6c]
add eax, 0x274
push eax
push 0x515950
mov ecx, dword [ebp - 0x48c]
add ecx, 0xf1
push ecx
call fcn.00466faa
add esp, 0xc
mov edx, dword [ebp - 0x6c]
add edx, 0x114
push edx
push 0x515954
mov eax, dword [ebp - 0x48c]
add eax, 0x130
push eax
call fcn.00466faa
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret
Function at 0x420ba0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x834], ecx
push 0x44
push 0
lea eax, [ebp - 0x830]
push eax
call fcn.00463a30
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00463a30
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x515958
lea eax, [ebp - 0x7d8]
push eax
call fcn.00466a2b
add esp, 0xc
lea ecx, [ebp - 0x7e8]
push ecx
lea edx, [ebp - 0x830]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x7d8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x420c32
xor al, al
jmp 0x420c5d
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x7e4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x7e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x7e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 4
Function at 0x4211f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b6c2
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x894], ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403b40
push eax
lea ecx, [ebp - 0x890]
call fcn.00401c10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0043b6e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x890]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00421d90
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push str.SOFTWARE7654InstallV2_
lea ecx, [ebp - 0x34]
call fcn.00401c80
mov byte [ebp - 4], 4
lea edx, [ebp - 0x48]
push edx
push 9
push 0
lea ecx, [ebp - 0x34]
call fcn.00401e70
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4212d3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x42141f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401e70
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
sbb eax, eax
add eax, 1
je 0x4213ee
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x874], 0
push 0x3ff
push 0
lea edx, [ebp - 0x873]
push edx
call fcn.00463a30
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0x515a14
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea eax, [ebp - 0x46b]
push eax
call fcn.00463a30
add esp, 0xc
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x470], ecx
push str.7654begin
mov edx, dword [ebp - 0x470]
push edx
call fcn.00467e30
add esp, 8
test eax, eax
jne 0x4213e4
push str.7654end
mov eax, dword [ebp - 0x470]
add eax, 0x2b4
push eax
call fcn.00467e30
add esp, 8
test eax, eax
jne 0x4213e4
mov ecx, dword [ebp - 0x470]
add ecx, 0x274
push ecx
push 0x515a34
mov edx, dword [ebp - 0x894]
add edx, 0xf1
push edx
call fcn.00466faa
add esp, 0xc
mov eax, dword [ebp - 0x470]
add eax, 0x114
push eax
push 0x515a38
mov ecx, dword [ebp - 0x894]
add ecx, 0x130
push ecx
call fcn.00466faa
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 8
Function at 0x421540
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b767
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push str.C:Program_Files__x86_
lea ecx, [ebp - 0x494]
push ecx
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp + 8]
push edx
push str.C:Program_Files
lea eax, [ebp - 0x4d0]
push eax
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
push ecx
push 0x515aac
lea edx, [ebp - 0x238]
push edx
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
push str.d:Program_Files
lea ecx, [ebp - 0x254]
push ecx
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 4
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.00463a30
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov word [ebp - 0x45c], 0
push 0x206
push 0
lea ecx, [ebp - 0x45a]
push ecx
call fcn.00463a30
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x45c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x478]
push edx
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x45c]
push ecx
lea edx, [ebp - 0x4b4]
push edx
call fcn.00404bf0
add esp, 0xc
mov byte [ebp - 4], 6
mov byte [ebp - 0x495], 0
lea ecx, [ebp - 0x494]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216fd
lea ecx, [ebp - 0x4d0]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216fd
lea ecx, [ebp - 0x238]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216fd
lea ecx, [ebp - 0x478]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216fd
lea ecx, [ebp - 0x4b4]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421704
mov byte [ebp - 0x495], 1
mov al, byte [ebp - 0x495]
mov byte [ebp - 0x4d1], al
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4b4]
call fcn.00401cc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x478]
call fcn.00401cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.00401cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.00401cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x494]
call fcn.00401cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401cc0
mov al, byte [ebp - 0x4d1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00463a1b
mov esp, ebp
pop ebp
ret 0x1c