joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d890
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546437
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5b2390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40d8f2
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
mov eax, dword [ebp - 0x14]
jmp 0x40d91c
lea ecx, [ebp + 8]
call fcn.0040daf0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040d930
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d930
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004b7bc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d980
jmp 0x40daa3
mov eax, dword [ebp + 8]
push eax
push 0x555174
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b7a6c
add esp, 0xc
push 0x55517c
lea edx, [ebp - 0x210]
push edx
call fcn.00401d40
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x40d9ce
push 5
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40daa3
mov dword [ebp - 0x218], 0
mov ecx, 1
test ecx, ecx
je 0x40daa3
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0x218], 0
jne 0x40da12
mov edx, dword [ebp + 8]
push edx
push 0x555188
lea eax, [ebp - 0x210]
push eax
call fcn.004b7a6c
add esp, 0xc
jmp 0x40da31
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x555198
lea eax, [ebp - 0x210]
push eax
call fcn.004b7a6c
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40da55
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x40da84
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ba276
add esp, 8
push 5
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40daa3
cmp dword [ebp - 0x218], 0xa
jle 0x40da8f
jmp 0x40daa3
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x40d9d8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret 4
Function at 0x40dbe0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe44
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe44], ecx
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401d20
add esp, 8
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
mov word [ebp - 0xa30], ax
push 0x206
push 0
lea ecx, [ebp - 0xa2e]
push ecx
call fcn.004b7bc0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x620], dx
push 0x206
push 0
lea eax, [ebp - 0x61e]
push eax
call fcn.004b7bc0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x828], cx
push 0x206
push 0
lea edx, [ebp - 0x826]
push edx
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc38], ax
push 0x206
push 0
lea ecx, [ebp - 0xc36]
push ecx
call fcn.004b7bc0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xe40], dx
push 0x206
push 0
lea eax, [ebp - 0xe3e]
push eax
call fcn.004b7bc0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x210], cx
push 0x206
push 0
lea edx, [ebp - 0x20e]
push edx
call fcn.004b7bc0
add esp, 0xc
push 0
push 0x2b
lea eax, [ebp - 0xa30]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x55520c
lea ecx, [ebp - 0xa30]
push ecx
call fcn.004b7b6c
add esp, 8
push 0x555210
lea edx, [ebp - 0xa30]
push edx
call fcn.004b7b6c
add esp, 8
push 0x555224
lea eax, [ebp - 0xa30]
push eax
call fcn.004b7b6c
add esp, 8
lea ecx, [ebp - 0xa30]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40dd4d
push 0
lea edx, [ebp - 0xa30]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x555228
lea eax, [ebp - 0xa30]
push eax
call fcn.004b7b6c
add esp, 8
push str..ini
lea ecx, [ebp - 0xa30]
push ecx
call fcn.004b7b6c
add esp, 8
lea edx, [ebp - 0xa30]
push edx
lea eax, [ebp - 0x418]
push eax
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x40ed60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40eda1
push 0x555548
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov esp, ebp
pop ebp
ret
Function at 0x40edc0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x555550
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ee01
push str.Shield
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov esp, ebp
pop ebp
ret
Function at 0x40ee20
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546604
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x694], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push str._s.
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004b7a6c
add esp, 0xc
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x478], 0xffffffff
je 0x40f005
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x478]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x40eebf
jmp 0x40f005
movzx eax, word [ebp - 0x448]
cmp eax, 0x2e
jne 0x40eecd
jmp 0x40ee8a
movzx ecx, word [ebp - 0x446]
test ecx, ecx
jne 0x40eeda
jmp 0x40ee8a
movzx edx, word [ebp - 0x446]
cmp edx, 0x2e
jne 0x40eef3
movzx eax, word [ebp - 0x444]
test eax, eax
jne 0x40eef3
jmp 0x40ee8a
lea ecx, [ebp - 0x47c]
call fcn.0040db30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x448]
push ecx
push 0x555580
lea edx, [ebp - 0x47c]
push edx
call fcn.0040d300
add esp, 0xc
mov eax, dword [ebp - 0x474]
and eax, 0x10
je 0x40ef8e
xor ecx, ecx
mov word [ebp - 0x684], cx
push 0x206
push 0
lea edx, [ebp - 0x682]
push edx
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp - 0x47c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x555588
lea edx, [ebp - 0x684]
push edx
call fcn.004b7a6c
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x68c], esp
lea eax, [ebp - 0x684]
push eax
call fcn.004048c0
mov dword [ebp - 0x698], eax
mov ecx, dword [ebp - 0x694]
call fcn.0040ee20
jmp 0x40eff1
lea ecx, [ebp - 0x688]
call fcn.0040db30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x47c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x555594
lea eax, [ebp - 0x688]
push eax
call fcn.0040d300
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x690], esp
lea edx, [ebp - 0x688]
push edx
call fcn.004048a0
mov dword [ebp - 0x69c], eax
mov ecx, dword [ebp - 0x694]
call fcn.0040f080
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x688]
call fcn.00404940
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.00404940
jmp 0x40ee8a
mov eax, dword [ebp - 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp + 8]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40f038
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
jmp 0x40f05a
push 4
push 0
lea ecx, [ebp + 8]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret 4
Function at 0x40f080
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546634
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5b2390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40f0e2
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
mov eax, dword [ebp - 0x14]
jmp 0x40f10c
lea ecx, [ebp + 8]
call fcn.0040daf0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0040f120
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404940
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f120
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x220], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004b7bc0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40f170
jmp 0x40f293
mov eax, dword [ebp + 8]
push eax
push 0x5555a0
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b7a6c
add esp, 0xc
push str..del
lea edx, [ebp - 0x210]
push edx
call fcn.00401d40
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x40f1be
push 5
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40f293
mov dword [ebp - 0x218], 0
mov ecx, 1
test ecx, ecx
je 0x40f293
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0x218], 0
jne 0x40f202
mov edx, dword [ebp + 8]
push edx
push str._s.del
lea eax, [ebp - 0x210]
push eax
call fcn.004b7a6c
add esp, 0xc
jmp 0x40f221
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s.del_d
lea eax, [ebp - 0x210]
push eax
call fcn.004b7a6c
add esp, 0x10
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f245
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x40f274
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ba276
add esp, 8
push 5
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x40f293
cmp dword [ebp - 0x218], 0xa
jle 0x40f27f
jmp 0x40f293
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x40f1c8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret 4
Function at 0x40f920
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 4]
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40f971
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
jmp 0x40f97b
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x40f9c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40fa08
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
jmp 0x40fa12
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
mov esp, ebp
pop ebp
ret 4

Function at 0x40fa40
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004b7b43
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.004b7b9a
add esp, 8
mov byte [ebp - 9], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x40faad
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jg 0x40fb1b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + eax*2]
cmp edx, 0x5c
jne 0x40fb19
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dx, word [ecx + eax*2]
mov word [ebp - 0x18], dx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40fb02
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40fb02
mov byte [ebp - 9], 0
jmp 0x40fb1b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov dx, word [ebp - 0x18]
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x40faa4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00493cc9
add esp, 4
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fe40
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, 0x464
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
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 - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40fe88
xor eax, eax
jmp 0x40ff93
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x218], 0x104
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
push 0x55463c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ff71
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.004b7bc0
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x555af8
lea eax, [ebp - 0x424]
push eax
call fcn.004b7b6c
add esp, 8
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ff57
xor eax, eax
jmp 0x40ff93
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b7b9a
add esp, 8
mov eax, 1
jmp 0x40ff93
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b7b9a
add esp, 8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x40ffb0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov word [ebp - 0x228], ax
push 0x206
push 0
lea eax, [ebp - 0x226]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x430], ax
push 0x206
push 0
lea eax, [ebp - 0x42e]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x434], 0x104
mov dword [ebp - 0x438], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x555be8
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x410074
xor eax, eax
jmp 0x4101b3
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.shell
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41009e
xor eax, eax
jmp 0x4101b3
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x555bc0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4100c8
xor eax, eax
jmp 0x4101b3
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 0x43c], 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x43c]
push edx
push 0
push 0x55463c
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x228]
push eax
call fcn.004bb1cd
add esp, 4
mov dword [ebp - 0x440], eax
push 0x555bbc
mov eax, dword [ebp - 0x440]
push eax
call fcn.00401d40
add esp, 8
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x41014c
xor eax, eax
jmp 0x4101b3
mov eax, dword [ebp - 0x444]
add eax, 2
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x448], eax
push 0x555bbc
mov eax, dword [ebp - 0x440]
push eax
call fcn.00401d40
add esp, 8
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0
jne 0x41018e
xor eax, eax
jmp 0x4101b3
xor eax, eax
mov ecx, dword [ebp - 0x444]
mov word [ecx], ax
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4101ae
xor eax, eax
jmp 0x4101b3
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x4102a0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.004b8770
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7d0
lea eax, [ebp - 0xfa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Program_FilesInternet_Exploreriexplore.exe
lea eax, [ebp - 0xf98]
push eax
call fcn.004b7b9a
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xfa4]
push ecx
call fcn.004b7b6c
add esp, 8
push 0x3c
push 0
lea eax, [ebp - 0xfe0]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0xfd4], str.open
mov dword [ebp - 0xfdc], 0x200
mov eax, dword [ebp + 8]
mov dword [ebp - 0xfcc], eax
mov dword [ebp - 0xfc4], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x410358
lea eax, [ebp - 0xfa4]
push eax
call fcn.00410430
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x4103b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call fcn.004b7b43
add esp, 4
test eax, eax
jne 0x4103ce
jmp 0x410425
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x38], 0x200
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 1
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x20
ja 0x410425
mov eax, dword [ebp + 8]
push eax
call fcn.00410430
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x44
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x48], 0x44
push 0x10
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0x555a8c
lea ecx, [ebp - 0x828]
push ecx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [ebp - 0x828]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4104ae
jmp 0x4104c2
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret