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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b5ab
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.0043b6d0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x488]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00421d80
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], 0
push 0x5158ec
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 0x420a4f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x420b6f
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 0x420b3e
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x46c], 0
push 0x3ff
push 0
lea edx, [ebp - 0x46b]
push edx
call fcn.00463a20
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0
push 0x515920
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x6c], eax
push 0x51592c
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00467e20
add esp, 8
test eax, eax
jne 0x420b34
push 0x515938
mov edx, dword [ebp - 0x6c]
add edx, 0x2b4
push edx
call fcn.00467e20
add esp, 8
test eax, eax
jne 0x420b34
mov eax, dword [ebp - 0x6c]
add eax, 0x274
push eax
push 0x515940
mov ecx, dword [ebp - 0x48c]
add ecx, 0xf1
push ecx
call fcn.00466f9a
add esp, 0xc
mov edx, dword [ebp - 0x6c]
add edx, 0x114
push edx
push 0x515944
mov eax, dword [ebp - 0x48c]
add eax, 0x130
push eax
call fcn.00466f9a
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.00421db0
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.00463a0b
mov esp, ebp
pop ebp
ret
Function at 0x420b90
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.00463a20
add esp, 0xc
mov dword [ebp - 0x830], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x7e8]
push ecx
call fcn.00463a20
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x515948
lea eax, [ebp - 0x7d8]
push eax
call fcn.00466a1b
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 0x420c22
xor al, al
jmp 0x420c4d
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.00463a0b
mov esp, ebp
pop ebp
ret 4
Function at 0x4211e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b6b2
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.0043b6d0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x890]
call fcn.00401c50
lea ecx, [ebp - 0x44]
call fcn.00421d80
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 0x4212c3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00421db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00401cc0
jmp 0x42140f
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 0x4213de
mov dword [ebp - 0x68], 0x400
mov byte [ebp - 0x874], 0
push 0x3ff
push 0
lea edx, [ebp - 0x873]
push edx
call fcn.00463a20
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x874]
push ecx
push 0
push 0
push 0x515a04
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.00463a20
add esp, 0xc
lea ecx, [ebp - 0x874]
mov dword [ebp - 0x470], ecx
push str.7654begin
mov edx, dword [ebp - 0x470]
push edx
call fcn.00467e20
add esp, 8
test eax, eax
jne 0x4213d4
push str.7654end
mov eax, dword [ebp - 0x470]
add eax, 0x2b4
push eax
call fcn.00467e20
add esp, 8
test eax, eax
jne 0x4213d4
mov ecx, dword [ebp - 0x470]
add ecx, 0x274
push ecx
push 0x515a24
mov edx, dword [ebp - 0x894]
add edx, 0xf1
push edx
call fcn.00466f9a
add esp, 0xc
mov eax, dword [ebp - 0x470]
add eax, 0x114
push eax
push 0x515a28
mov ecx, dword [ebp - 0x894]
add ecx, 0x130
push ecx
call fcn.00466f9a
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.00421db0
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.00463a0b
mov esp, ebp
pop ebp
ret 8
Function at 0x421530
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b757
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 0x515a9c
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.00463a20
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.00463a20
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 0x4216ed
lea ecx, [ebp - 0x4d0]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216ed
lea ecx, [ebp - 0x238]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216ed
lea ecx, [ebp - 0x478]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4216ed
lea ecx, [ebp - 0x4b4]
call fcn.00401e70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4216f4
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.00463a0b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x423560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [0x568134]
push eax
call dword [0x53b028]
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 [0x568134]
push ecx
call fcn.00456e10
add esp, 4
push 0
mov edx, dword [0x568134]
push edx
push 0
mov ecx, 0x56876c
call fcn.00425640
push 1
call fcn.004180c0
mov ecx, eax
call fcn.00417f80
mov byte [ebp - 0x215], 0
push 0x515cc0
mov ecx, dword [ebp - 0x220]
call fcn.00401e70
push eax
call fcn.00466cfc
add esp, 8
test eax, eax
jne 0x423608
mov byte [ebp - 0x215], 0
jmp 0x42360f
mov byte [ebp - 0x215], 1
mov al, byte [ebp - 0x215]
push eax
call fcn.004180c0
mov ecx, eax
call fcn.00417f60
call fcn.004180c0
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.00463a20
add esp, 0xc
push 0x515cc8
push 0x515ce4
lea edx, [ebp - 0x210]
push edx
call fcn.00466a1b
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.004180c0
mov ecx, eax
call dword [0x53affc]
call fcn.004180c0
mov ecx, eax
call dword [0x53b018]
push 5
call fcn.004180c0
mov ecx, eax
call dword [0x53b000]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [0x53b024]
call dword [0x53b020]
mov ecx, 0x56876c
call fcn.004256f0
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.00463a0b
mov esp, ebp
pop ebp
ret
Function at 0x425460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
mov eax, dword [0x568134]
push eax
call dword [0x53b028]
add esp, 4
push 0x515fec
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 [0x568134]
push ecx
call fcn.00456e10
add esp, 4
push 0
mov edx, dword [0x568134]
push edx
push 0
mov ecx, 0x56876c
call fcn.00425640
call fcn.004180c0
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 0x516008
mov ecx, dword [ebp - 0x220]
call fcn.00401e70
push eax
call fcn.00466cfc
add esp, 8
test eax, eax
jne 0x42551b
mov byte [ebp - 0x215], 0
jmp 0x425522
mov byte [ebp - 0x215], 1
mov cl, byte [ebp - 0x215]
push ecx
call fcn.004180c0
mov ecx, eax
call fcn.00417f60
mov dl, byte [ebp - 0x215]
push edx
call fcn.004180c0
mov ecx, eax
call fcn.00417f60
mov dword [ebp - 0x214], 0x100
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00463a20
add esp, 0xc
push 0x516010
push str._s__
lea ecx, [ebp - 0x210]
push ecx
call fcn.00466a1b
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.004180c0
mov ecx, eax
call dword [0x53affc]
push 0
call fcn.004180c0
mov ecx, eax
call dword [0x53b000]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004180c0
mov ecx, eax
call dword [0x53b018]
call dword [0x53b024]
call dword [0x53b020]
mov ecx, 0x56876c
call fcn.004256f0
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.00463a0b
mov esp, ebp
pop ebp
ret
Function at 0x42c5f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5655bc]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.0042c430
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.0042c5a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42c650
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.0042c450
mov eax, dword [ebp - 0x21c]
jmp 0x42c6e1
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 0x42c6b6
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x10]
call fcn.0042c5f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42c6ad
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.0042c450
mov eax, dword [ebp - 0x220]
jmp 0x42c6e1
mov dword [ebp - 4], 0x100
jmp 0x42c657
lea ecx, [ebp - 0x10]
call fcn.0042c4f0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
call fcn.0042c490
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.0042c450
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00463a0b
mov esp, ebp
pop ebp
ret 4
Function at 0x42ccf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x42ccf9
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x42cd19
push 0x80004005
call fcn.004144e0
xor edx, edx
jne 0x42ccfd
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 0x42cd2a
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 0x4379a0
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.00463db7
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.0045a611
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.0046587f
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x437a0a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x437a78
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x437a76
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 0x437a5f
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x437a5f
mov byte [ebp - 1], 0
jmp 0x437a78
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 0x437a01
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0045a60c
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x439500
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 [0x5655bc]
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 0x439545
xor eax, eax
jmp 0x439644
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00463a20
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 0x51797c
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 0x439622
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.00463a20
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.00465855
add esp, 8
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x439608
xor eax, eax
jmp 0x439644
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046587f
add esp, 8
mov eax, 1
jmp 0x439644
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046587f
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.00463a0b
mov esp, ebp
pop ebp
ret
Function at 0x439660
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5655bc]
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.00463a20
add esp, 0xc
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00463a20
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
push 0x5179c0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x439733
xor eax, eax
jmp 0x439890
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x5179cc
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 0x439766
xor eax, eax
jmp 0x439890
lea edx, [ebp - 0x234]
push edx
push 0x20019
push 0
push 0x5179d8
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 0x43979c
xor eax, eax
jmp 0x439890
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 0x5179f4
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.0046911b
add esp, 4
mov dword [ebp - 0x224], eax
push 0x5179f8
mov edx, dword [ebp - 0x224]
push edx
call fcn.00414ea0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x439829
xor eax, eax
jmp 0x439890
mov eax, dword [ebp - 0x450]
add eax, 2
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x238], ecx
push 0x5179fc
mov edx, dword [ebp - 0x224]
push edx
call fcn.00414ea0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x43986b
xor eax, eax
jmp 0x439890
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 0x43988b
xor eax, eax
jmp 0x439890
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00463a0b
mov esp, ebp
pop ebp
ret