joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509ac2
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x5635bc]
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.0043a510
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00420ed0
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push 0x51383c
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.00401cf0
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 0x41fc7f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00420f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x41fd9f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401cf0
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 0x41fd6e
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x46b]
push edx
call fcn.00462540
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0
push 0x513870
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x6c], eax
push 0x51387c
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00466990
add esp, 8
test eax, eax
jne 0x41fd64
push 0x513888
mov edx, dword [ebp - 0x6c]
add edx, 0x2b4
push edx
call fcn.00466990
add esp, 8
test eax, eax
jne 0x41fd64
mov eax, dword [ebp - 0x6c]
add eax, 0x274
push eax
push 0x513890
mov ecx, dword [ebp - 0x48c]
add ecx, 0xf1
push ecx
call fcn.00465a6f
add esp, 0xc
mov edx, dword [ebp - 0x6c]
add edx, 0x114
push edx
push 0x513894
mov eax, dword [ebp - 0x48c]
add eax, 0x130
push eax
call fcn.00465a6f
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.00420f00
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.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x41fdc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x5635bc]
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.00462540
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00462540
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x513898
lea eax, [ebp - 0x7d8]
push eax
call fcn.004654fb
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 0x41fe52
xor al, al
jmp 0x41fe7d
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.0046252a
mov esp, ebp
pop ebp
ret 4
Function at 0x420410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509bc9
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x5635bc]
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.00403a00
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.0043a510
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x890]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00420ed0
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.00401cf0
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 0x4204f3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00420f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x42063f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401cf0
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 0x42060e
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x874], 0
push 0x3ff
push 0
lea edx, [ebp - 0x873]
push edx
call fcn.00462540
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0x513954
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.00462540
add esp, 0xc
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x470], ecx
push str.7654begin
mov edx, dword [ebp - 0x470]
push edx
call fcn.00466990
add esp, 8
test eax, eax
jne 0x420604
push str.7654end
mov eax, dword [ebp - 0x470]
add eax, 0x2b4
push eax
call fcn.00466990
add esp, 8
test eax, eax
jne 0x420604
mov ecx, dword [ebp - 0x470]
add ecx, 0x274
push ecx
push 0x513974
mov edx, dword [ebp - 0x894]
add edx, 0xf1
push edx
call fcn.00465a6f
add esp, 0xc
mov eax, dword [ebp - 0x470]
add eax, 0x114
push eax
push 0x513978
mov ecx, dword [ebp - 0x894]
add ecx, 0x130
push ecx
call fcn.00465a6f
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.00420f00
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.0046252a
mov esp, ebp
pop ebp
ret 8
Function at 0x420760
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c6e
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x5635bc]
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.00404d20
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.00404d20
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
push ecx
push 0x5139ec
lea edx, [ebp - 0x238]
push edx
call fcn.00404d20
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.00404d20
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.00462540
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.00462540
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.00404d20
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.00404d20
add esp, 0xc
mov byte [ebp - 4], 6
mov byte [ebp - 0x495], 0
lea ecx, [ebp - 0x494]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42091d
lea ecx, [ebp - 0x4d0]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42091d
lea ecx, [ebp - 0x238]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42091d
lea ecx, [ebp - 0x478]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42091d
lea ecx, [ebp - 0x4b4]
call fcn.00401cf0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x420924
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.0046252a
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x422470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [0x566134]
push eax
call dword [0x538ee8]
add esp, 4
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, dword [0x566134]
push ecx
call fcn.00455be0
add esp, 4
push 0
mov edx, dword [0x566134]
push edx
push 0
mov ecx, 0x56676c
call fcn.00424550
push 1
call fcn.00417900
mov ecx, eax
call fcn.004177c0
mov byte [ebp - 0x215], 0
push 0x513c10
mov ecx, dword [ebp - 0x220]
call fcn.00401cf0
push eax
call fcn.004657dd
add esp, 8
test eax, eax
jne 0x422518
mov byte [ebp - 0x215], 0
jmp 0x42251f
mov byte [ebp - 0x215], 1
mov al, byte [ebp - 0x215]
push eax
call fcn.00417900
mov ecx, eax
call fcn.004177a0
call fcn.00417900
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0x8c]
call eax
mov dword [ebp - 0x214], 0x100
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00462540
add esp, 0xc
push 0x513c18
push 0x513c34
lea edx, [ebp - 0x210]
push edx
call fcn.004654fb
add esp, 0xc
push 0
push 0x320
push 0x258
push 0
push 0
mov eax, dword [ebp - 0x214]
push eax
push 0x10ce0000
lea ecx, [ebp - 0x210]
push ecx
push 0
call fcn.00417900
mov ecx, eax
call dword [0x538ebc]
call fcn.00417900
mov ecx, eax
call dword [0x538ed8]
push 5
call fcn.00417900
mov ecx, eax
call dword [0x538ec0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [0x538ee4]
call dword [0x538ee0]
mov ecx, 0x56676c
call fcn.00424600
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x424370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [0x566134]
push eax
call dword [0x538ee8]
add esp, 4
push 0x513f3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, dword [0x566134]
push ecx
call fcn.00455be0
add esp, 4
push 0
mov edx, dword [0x566134]
push edx
push 0
mov ecx, 0x56676c
call fcn.00424550
call fcn.00417900
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x215], 0
push 0x513f58
mov ecx, dword [ebp - 0x220]
call fcn.00401cf0
push eax
call fcn.004657dd
add esp, 8
test eax, eax
jne 0x42442b
mov byte [ebp - 0x215], 0
jmp 0x424432
mov byte [ebp - 0x215], 1
mov cl, byte [ebp - 0x215]
push ecx
call fcn.00417900
mov ecx, eax
call fcn.004177a0
mov dl, byte [ebp - 0x215]
push edx
call fcn.00417900
mov ecx, eax
call fcn.004177a0
mov dword [ebp - 0x214], 0x100
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00462540
add esp, 0xc
push 0x513f60
push str._s__
lea ecx, [ebp - 0x210]
push ecx
call fcn.004654fb
add esp, 0xc
push 0
push 0x320
push 0x258
push 0
push 0
mov edx, dword [ebp - 0x214]
push edx
push 0x10ce0000
lea eax, [ebp - 0x210]
push eax
push 0
call fcn.00417900
mov ecx, eax
call dword [0x538ebc]
push 0
call fcn.00417900
mov ecx, eax
call dword [0x538ec0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00417900
mov ecx, eax
call dword [0x538ed8]
call dword [0x538ee4]
call dword [0x538ee0]
mov ecx, 0x56676c
call fcn.00424600
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x42b5e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.0042b410
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042b590
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b640
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.0042b430
mov eax, dword [ebp - 0x21c]
jmp 0x42b6d1
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42b6a6
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042b5e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b69d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.0042b430
mov eax, dword [ebp - 0x220]
jmp 0x42b6d1
mov dword [ebp - 4], 0x100
jmp 0x42b647
lea ecx, [ebp - 0x10]
call fcn.0042b4e0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.0042b480
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.0042b430
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret 4
Function at 0x42bcd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x42bcd9
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x42bcf9
push 0x80004005
call fcn.00413cb0
xor edx, edx
jne 0x42bcdd
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
lea ecx, [eax + edx*2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 1
jne 0x42bd0a
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x4367f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.004628d7
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004592dc
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0046439f
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x43685a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x4368c8
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x4368c6
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4368af
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4368af
mov byte [ebp - 1], 0
jmp 0x4368c8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x436851
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.004dfc96
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x438350
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x438395
xor eax, eax
jmp 0x438494
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x5158cc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438472
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [ebp - 0x428], 0
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.00462540
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x428]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x428]
push ecx
call fcn.00464375
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438458
xor eax, eax
jmp 0x438494
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046439f
add esp, 8
mov eax, 1
jmp 0x438494
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046439f
add esp, 8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret
Function at 0x4384b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5635bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
mov word [ebp - 0x448], 0
push 0x206
push 0
lea eax, [ebp - 0x446]
push eax
call fcn.00462540
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00462540
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
push 0x515910
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x438583
xor eax, eax
jmp 0x4386e0
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x51591c
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4385b6
xor eax, eax
jmp 0x4386e0
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push 0x515928
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4385ec
xor eax, eax
jmp 0x4386e0
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 8], 1
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x515944
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x448]
push ecx
call fcn.00467c59
add esp, 4
mov dword [ebp - 0x224], eax
push 0x515948
mov edx, dword [ebp - 0x224]
push edx
call fcn.00414670
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x438679
xor eax, eax
jmp 0x4386e0
mov eax, dword [ebp - 0x450]
add eax, 2
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x238], ecx
push 0x51594c
mov edx, dword [ebp - 0x224]
push edx
call fcn.00414670
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4386bb
xor eax, eax
jmp 0x4386e0
mov eax, dword [ebp - 0x450]
mov word [eax], 0
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4386db
xor eax, eax
jmp 0x4386e0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046252a
mov esp, ebp
pop ebp
ret