joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], ecx
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42d65b
xor al, al
jmp 0x42d6c9
push str.SHGetKnownFolderPath
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42d677
xor al, al
jmp 0x42d6c9
lea ecx, [ebp - 0x18]
push ecx
push str.A520A1A4_1780_4FF6_BD18_167343C5AF16
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [ebp - 4]
push edx
push 0
push 0x400
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x42d6a5
xor al, al
jmp 0x42d6c9
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005b4dbe
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d6c7
xor al, al
jmp 0x42d6c9
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.0042d6e0
movzx eax, al
test eax, eax
jne 0x42d7b9
push 0
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x42d7b9
jmp 0x42d82a
push 0x641e20
lea eax, [ebp - 0x210]
push eax
call fcn.005b4d90
add esp, 8
push 0x641e24
lea ecx, [ebp - 0x210]
push ecx
call fcn.005b4d90
add esp, 8
push 0x641e3c
lea edx, [ebp - 0x210]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d815
lea ecx, [ebp - 0x210]
push ecx
call fcn.00432f80
add esp, 4
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x40
call fcn.0040e570
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x42d840
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.0042d6e0
movzx eax, al
test eax, eax
jne 0x42d8c9
push 0
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x42d8c9
jmp 0x42d93a
push 0x641e40
lea eax, [ebp - 0x210]
push eax
call fcn.005b4d90
add esp, 8
push 0x641e44
lea ecx, [ebp - 0x210]
push ecx
call fcn.005b4d90
add esp, 8
push 0x641e58
lea edx, [ebp - 0x210]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d925
lea ecx, [ebp - 0x210]
push ecx
call fcn.00432f80
add esp, 4
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x24
call fcn.0040e570
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x42d950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x62c], ecx
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x641e5c
lea edx, [ebp - 0x420]
push edx
call fcn.005b4dbe
add esp, 8
push 0x641e70
lea eax, [ebp - 0x420]
push eax
call fcn.005b4d90
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x40
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.005b4dbe
add esp, 8
mov ecx, dword [ebp - 0x62c]
add ecx, 0x24
call fcn.0040e5d0
push eax
lea edx, [ebp - 0x628]
push edx
call fcn.005b4dbe
add esp, 8
lea eax, [ebp - 4]
push eax
push 2
push 0
lea ecx, [ebp - 0x420]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x42da53
push 0x104
lea edx, [ebp - 0x210]
push edx
push 1
push 0
push 0x641e74
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 1
push 0
push 0x641e8c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x42dd90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0xc]
test ecx, ecx
je 0x42dda6
mov al, 1
jmp 0x42de0f
mov edx, dword [ebp - 4]
mov al, byte [ebp + 8]
mov byte [edx + 0xf], al
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 1
mov edx, dword [ebp - 4]
mov byte [edx + 0xd], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0xf]
neg eax
sbb eax, eax
and eax, 8
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x42df30
push 0
push 0
call fcn.005b8935
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x42de09
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xc], 0
xor al, al
jmp 0x42de0f
mov edx, dword [ebp - 4]
mov al, byte [edx + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x42e020
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62882a
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x654], 0
mov dword [ebp - 4], 2
xor eax, eax
mov word [ebp - 0x42c], ax
push 0x206
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x650]
call fcn.0040e4b0
mov byte [ebp - 4], 3
lea edx, [ebp + 0x28]
push edx
lea ecx, [ebp - 0x650]
call fcn.0040e590
lea ecx, [ebp - 0x650]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e112
lea ecx, [ebp - 0x650]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [ebp - 0x634], ax
push 0x206
push 0
lea ecx, [ebp - 0x632]
push ecx
call fcn.005b4de0
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
push 0x6421f0
call fcn.0043eb90
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x650]
call fcn.0040e5d0
push eax
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x650]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e1e1
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
push 0x642208
call fcn.0043eb90
add esp, 8
push 0x64221c
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x654]
or edx, 1
mov dword [ebp - 0x654], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x650]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x42e23f
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
push 0x642220
call fcn.0043eb90
add esp, 8
lea eax, [ebp - 0x650]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov ecx, dword [ebp - 0x654]
or ecx, 1
mov dword [ebp - 0x654], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x650]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x42e6a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc44], 0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 8], 0x104
mov dword [ebp - 0x21c], 0
jmp 0x42e705
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x42e89c
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x218]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42e897
mov dword [ebp - 0x228], 0x104
xor ecx, ecx
mov word [ebp - 0x430], cx
push 0x206
push 0
lea edx, [ebp - 0x42e]
push edx
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0x6423b0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x42e88d
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x430]
push edx
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0
je 0x42e88d
push 0x6423c8
lea eax, [ebp - 0x430]
push eax
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x438], eax
push 0x6423d0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jne 0x42e81b
cmp dword [ebp - 0x438], 0
jne 0x42e88d
xor edx, edx
mov word [ebp - 0xc40], dx
push 0x7fe
push 0
lea eax, [ebp - 0xc3e]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x228], 0x400
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0xc40]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x6423d8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0xc40]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0xc44]
or eax, 1
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp + 8]
jmp 0x42e8bb
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42e6f6
push 0x6423f8
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0xc44]
or edx, 1
mov dword [ebp - 0xc44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x42f6e0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628b33
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 1
push 0x6420fe
lea ecx, [ebp - 0x2c]
call fcn.0040e3a0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f871
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
push 0
push 0x80
push 4
push 0
push 1
push connect
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
jne 0x42f7ac
push 0x6420ff
mov ecx, dword [ebp + 8]
call fcn.0040e3a0
mov eax, dword [ebp - 0x48]
or eax, 1
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x42f8a1
push 0
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
add edx, 1
push edx
call fcn.005b2e02
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x42f80f
push 0x642146
mov ecx, dword [ebp + 8]
call fcn.0040e3a0
mov ecx, dword [ebp - 0x48]
or ecx, 1
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x42f8a1
mov edx, dword [ebp - 0x38]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.005b4de0
add esp, 0xc
push 0
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00414070
cmp dword [ebp - 0x30], 0
je 0x42f871
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
call fcn.005b467e
add esp, 4
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00410c40
mov ecx, dword [ebp - 0x48]
or ecx, 1
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x42f8c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x642484
mov eax, dword [ebp + 8]
push eax
call fcn.005b7987
add esp, 8
mov dword [ebp - 4], eax
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b824e
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.005b8156
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.005b824e
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.005b2e02
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.005b4de0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
call fcn.005b7db8
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b7a68
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x430390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628df5
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 3
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0040e4f0
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x20119
push 0
lea ecx, [ebp + 0x10]
call fcn.0040e5d0
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
je 0x430469
lea eax, [ebp + 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov ecx, dword [ebp - 0x840]
or ecx, 1
mov dword [ebp - 0x840], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x2c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x48]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x43057a
xor edx, edx
mov word [ebp - 0x81c], dx
push 0x7fe
push 0
lea eax, [ebp - 0x81a]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0x18], 0x400
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x81c]
push edx
push 0
push 0
lea ecx, [ebp + 0x2c]
call fcn.0040e5d0
push eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x81c]
push edx
call fcn.005b50b1
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x430526
lea eax, [ebp + 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040e4f0
mov ecx, dword [ebp - 0x840]
or ecx, 1
mov dword [ebp - 0x840], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x2c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x48]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x43057a
lea edx, [ebp - 0x81c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0x840]
or eax, 1
mov dword [ebp - 0x840], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x83c]
call fcn.0040e530
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x10]
call fcn.0040e530
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x2c]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x48]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x4305a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628e2d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x20119
push 0
lea ecx, [ebp + 0xc]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x430620
mov edx, dword [ebp + 0x44]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0040e530
mov eax, dword [ebp - 0x28]
jmp 0x430683
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0040e530
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x628fb7
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x20019
push 0
lea ecx, [ebp + 0x10]
call fcn.0040e5d0
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x431139
push 0x6425e0
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov ecx, dword [ebp - 0x230]
or ecx, 1
mov dword [ebp - 0x230], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x2c]
call fcn.0040e530
mov eax, dword [ebp + 8]
jmp 0x4311ae
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp + 0x2c]
call fcn.0040e5d0
push eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x230]
or edx, 1
mov dword [ebp - 0x230], edx
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.0040e530
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x2c]
call fcn.0040e530
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x431930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6290c9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431993
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x84]
jmp 0x431a33
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x54]
sub eax, 0x76c
mov dword [ebp - 0x6c], eax
movzx ecx, word [ebp - 0x52]
sub ecx, 1
mov dword [ebp - 0x70], ecx
movzx edx, word [ebp - 0x4e]
mov dword [ebp - 0x74], edx
movzx eax, word [ebp - 0x4c]
mov dword [ebp - 0x78], eax
movzx ecx, word [ebp - 0x4a]
mov dword [ebp - 0x7c], ecx
movzx edx, word [ebp - 0x48]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x80]
push eax
call fcn.00431a50
add esp, 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret