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

Disassembly:
push 0x10
mov eax, 0x4bc517
call fcn.00494508
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 8]
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 0x14], bl
lea ecx, [ebp - 0x10]
setne al
push ecx
dec eax
and eax, 0xffffff00
add eax, 0x20119
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x40ddfb
xor eax, eax
jmp 0x40de9e
mov dword [ebp + 0x14], ebx
lea ecx, [ebp - 0x1c]
call fcn.004724b0
push 0x104
push 0x105
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.004731d0
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
inc dword [ebp + 0x14]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.00473260
cmp edi, ebx
jne 0x40de7e
lea ecx, [ebp - 0x1c]
call fcn.0040d513
test al, al
jne 0x40de7e
push 8
call fcn.00493ffa
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x40de65
call fcn.004724b0
mov esi, eax
jmp 0x40de67
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.004727f0
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00473a10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00472740
cmp edi, ebx
je 0x40ddfe
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
call fcn.004945e0
ret

Function at 0x40dea4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00493f80
mov ax, word [ebp + 0xc]
push 0x10
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
call fcn.00493f80
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call fcn.004731d0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40df12
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x40df0d
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
xor eax, eax
inc eax
jmp 0x40df14
xor eax, eax
pop esi
leave
ret
Function at 0x40df50
Capabilities:
Compare security identifiers
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1e4
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push 0x98
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00493f80
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40e13b
cmp dword [ebp - 0x20], 2
jne 0x40e13b
push esi
push edi
push ebx
push 0xf
xor esi, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x40e078
push 0x124
lea eax, [ebp - 0x154]
push ebx
push eax
call fcn.00493f80
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
mov esi, 0x128
push edi
mov dword [ebp - 0x158], esi
call sub.KERNEL32.dll_Process32First
jmp 0x40e06e
lea eax, [ebp - 0x134]
push eax
push str.explorer.exe
call fcn.004948c4
pop ecx
pop ecx
test eax, eax
jne 0x40e05b
push dword [ebp - 0x150]
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
je 0x40e05b
lea ecx, [ebp - 0x168]
push ecx
push 8
push eax
mov dword [ebp - 0x168], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40e05b
lea eax, [ebp - 0x16c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp + 0x6c]
push eax
mov dword [ebp + 0x6c], ebx
mov word [ebp + 0x70], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40e081
lea eax, [ebp - 0x158]
push eax
push edi
mov dword [ebp - 0x158], esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40dfe6
mov esi, ebx
pop edi
mov eax, esi
pop esi
jmp 0x40e13e
mov eax, dword [ebp - 0x16c]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x15c]
push ecx
push ebx
push ebx
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x168]
push 2
push eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], ebx
call esi
cmp dword [ebp - 0x15c], ebx
jne 0x40e0bf
xor esi, esi
jmp 0x40e078
push dword [ebp - 0x15c]
call fcn.00491462
mov edi, eax
pop ecx
cmp edi, ebx
je 0x40e0bb
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
push edi
push 2
push dword [ebp - 0x160]
call esi
test eax, eax
jne 0x40e0f6
push edi
call fcn.0049407a
pop ecx
jmp 0x40e0bb
mov dword [ebp - 0x160], ebx
cmp dword [edi], ebx
jbe 0x40e129
lea esi, [edi + 4]
push dword [ebp - 0x164]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40e11f
inc ebx
add esi, 8
cmp ebx, dword [edi]
jb 0x40e103
jmp 0x40e129
mov dword [ebp - 0x160], 1
push edi
call fcn.0049407a
mov esi, dword [ebp - 0x160]
pop ecx
jmp 0x40e078
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop ebx
call fcn.004944f9
add ebp, 0x78
leave
ret
Function at 0x40e1d9
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
mov eax, dword [ebp + 0x1b0]
push ebx
push esi
mov esi, dword [ebp + 0x1c0]
push edi
push str.Shell32.dll
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
mov edi, 0x207
cmp eax, ebx
je 0x40e2fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHGetSpecialFolderLocation
push eax
call esi
push str.SHGetPathFromIDListW
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
call esi
push str.SHGetMalloc
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
call esi
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x68], ebx
je 0x40e2f2
cmp dword [ebp - 0x74], ebx
je 0x40e2f2
cmp eax, ebx
je 0x40e2f2
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 0x1b4]
mov dword [ebp - 0x70], ebx
push ebx
call dword [ebp - 0x68]
test eax, eax
jne 0x40e2f2
push 0x104
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
push esi
push dword [ebp - 0x70]
call dword [ebp - 0x74]
push edi
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.00493f80
add esp, 0xc
push ebx
push ebx
push 0x208
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x64]
push eax
call fcn.00472890
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], ebx
call dword [ebp - 0x80]
test eax, eax
js 0x40e2f2
mov eax, dword [ebp - 0x68]
push dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x78]
mov ecx, esi
call fcn.0040d513
test al, al
je 0x40e33d
push edi
lea eax, [ebp - 0x63]
push ebx
push eax
mov byte [ebp - 0x64], bl
call fcn.00493f80
add esp, 0xc
push ebx
push dword [ebp + 0x1b4]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40e33d
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.00472890
mov ecx, esi
call fcn.0040d513
test al, al
jne 0x40e371
mov ecx, esi
call fcn.004724c0
cmp byte [esi + 7], 0xff
mov ecx, esi
jne 0x40e359
mov ecx, dword [esi]
cmp byte [ecx + eax - 1], 0x5c
je 0x40e36c
push 0x4cd950
mov ecx, esi
call fcn.00472bc0
xor eax, eax
inc eax
jmp 0x40e373
xor eax, eax
mov ecx, dword [ebp + 0x1a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004944f9
add ebp, 0x1a8
leave
ret
Function at 0x40e591
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x3d8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x3e4]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0xc9]
push ebx
push eax
mov byte [ebp + 0xc8], bl
call fcn.00493f80
add esp, 0xc
push esi
lea eax, [ebp + 0xc8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
dec esi
push esi
lea eax, [ebp + 0x2d5]
push ebx
push eax
mov byte [ebp + 0x2d4], bl
call fcn.00493f80
push esi
lea eax, [ebp + 0x1d1]
push ebx
push eax
mov byte [ebp + 0x1d0], bl
call fcn.00493f80
push edi
call fcn.00494a70
add esp, 0x1c
cmp byte [eax + edi - 1], 0x5c
push edi
lea eax, [ebp + 0x1d0]
push eax
je 0x40e64d
call fcn.00494970
lea eax, [ebp + 0x1d0]
push 0x4cd9d0
push eax
call fcn.00494980
lea eax, [ebp + 0x2d4]
push edi
push eax
call fcn.00494970
push 0x4cd950
jmp 0x40e675
call fcn.00494970
lea eax, [ebp + 0x1d0]
push 0x4cd9cc
push eax
call fcn.00494980
lea eax, [ebp + 0x2d4]
push edi
push eax
call fcn.00494970
push 0x4cd9ca
lea eax, [ebp + 0x2d4]
push eax
call fcn.00494980
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x40e6a4
xor eax, eax
jmp 0x40e7bf
lea eax, [ebp + 0x2d4]
push eax
lea eax, [ebp + 0x1d0]
push eax
mov dword [ebp - 0x80], 1
call fcn.00494970
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40e798
lea eax, [ebp - 0x4c]
push 0x4cd9c8
push eax
call fcn.004938f0
pop ecx
pop ecx
test eax, eax
je 0x40e7a6
lea eax, [ebp - 0x4c]
push 0x4cd9c4
push eax
call fcn.004938f0
pop ecx
pop ecx
test eax, eax
je 0x40e7a6
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x2d4]
push eax
call fcn.00494980
test byte [ebp - 0x78], 0x10
pop ecx
pop ecx
je 0x40e732
lea eax, [ebp + 0x2d4]
push eax
call fcn.0040e591
pop ecx
jmp 0x40e771
lea eax, [ebp + 0xc8]
push eax
lea eax, [ebp + 0x2d4]
push eax
call fcn.004948c4
pop ecx
pop ecx
test eax, eax
je 0x40e7a6
test byte [ebp - 0x78], 1
je 0x40e764
lea eax, [ebp + 0x2d4]
push 0x80
push eax
call fcn.0049490b
pop ecx
pop ecx
lea eax, [ebp + 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40e781
push 4
push ebx
lea eax, [ebp + 0x2d4]
push eax
call esi
lea eax, [ebp + 0x1d0]
push eax
lea eax, [ebp + 0x2d4]
push eax
call fcn.00494970
pop ecx
pop ecx
jmp 0x40e7a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x40e7d7
mov dword [ebp - 0x80], ebx
cmp dword [ebp - 0x80], ebx
jne 0x40e6c6
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp + 0x3d8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004944f9
add ebp, 0x3dc
leave
ret
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40e69d
Function at 0x40ee21
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb8
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
mov esi, dword [ebp + 0x78]
push edi
push 0x98
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00493f80
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x9c
call edi
test eax, eax
jne 0x40ee74
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], 0x94
call edi
mov eax, dword [ebp - 0x20]
dec eax
je 0x40ee94
dec eax
jne 0x40eed6
cmp byte [esi + 7], 0xff
jne 0x40ee85
mov esi, dword [esi]
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
jmp 0x40eed6
cmp byte [esi + 7], 0xff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], ebx
jne 0x40eea8
mov esi, dword [esi]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x38]
mul dword [ebp - 0x3c]
push ebx
push dword [ebp - 0x34]
push edx
push eax
call fcn.004953d0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x7c]
cdq
shld edx, eax, 0x14
pop edi
shl eax, 0x14
pop esi
pop ebx
cmp edx, dword [ebp - 0x40]
ja 0x40eef4
jb 0x40eef0
cmp eax, dword [ebp - 0x44]
jae 0x40eef4
xor eax, eax
jmp 0x40eef9
mov eax, 0x80004005
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x70
leave
ret

Function at 0x40f1f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc740
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4f9590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x4c], 0
push 0x38
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00493f80
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], 0x440
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], str.open
lea ecx, [ebp + 8]
call fcn.0040d537
mov dword [ebp - 0x3c], eax
lea ecx, [ebp + 0x10]
call fcn.0040d537
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40f290
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00472740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00472740
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x410047
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x4bc973
call fcn.00494508
mov eax, dword [ebp + 8]
xor esi, esi
inc esi
cmp eax, esi
jne 0x4100bd
lea ecx, [ebp - 0x14]
call fcn.004724b0
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 4], esi
call fcn.0040e1d9
add esp, 0x14
test eax, eax
jne 0x410087
lea ecx, [ebp - 0x14]
jmp 0x410139
push str.Real_setup_
lea ecx, [ebp - 0x14]
call fcn.00472bc0
push str.config.ini
lea ecx, [ebp - 0x14]
call fcn.00472bc0
cmp dword [ebp + 0xc], esi
jne 0x41007f
cmp byte [ebp - 0xd], 0xff
lea eax, [ebp - 0x14]
jne 0x4100b2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
jmp 0x41007f
mov edi, SysReAllocString
cmp eax, 3
jne 0x4100c8
dec edi
cmp dword [ebp + 0xc], 0
push eax
jne 0x4100f3
lea eax, [ebp - 0x14]
push eax
call fcn.0040db2b
pop ecx
pop ecx
cmp byte [eax + 7], 0xff
mov dword [ebp - 4], esi
jne 0x4100e5
mov eax, dword [eax]
push eax
push edi
call fcn.0040dce7
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x410137
lea eax, [ebp - 0x24]
push eax
call fcn.0040db2b
push dword [ebp + 0xc]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00473040
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00472740
cmp byte [ebp - 0x15], 0xff
lea eax, [ebp - 0x1c]
jne 0x41012b
mov eax, dword [ebp - 0x1c]
push eax
push edi
call fcn.0040dce7
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
or dword [ebp - 4], 0xffffffff
call fcn.00472740
mov eax, esi
call fcn.004945e0
ret

Function at 0x41014a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov edx, dword [ebp + 0xac]
mov ecx, dword [ebp + 0xa0]
mov eax, dword [ebp + 0x9c]
push ebx
mov ebx, dword [ebp + 0xa8]
push esi
mov esi, dword [ebp + 0xb0]
push edi
mov edi, dword [ebp + 0xa4]
push 0x20019
push edx
push ecx
push eax
call fcn.0040dd0f
add esp, 0x10
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x410216
and dword [ebp - 0x78], 0
push 0x103
lea eax, [ebp - 0x73]
push 0
push eax
mov dword [ebp - 0x80], 0x104
mov byte [ebp - 0x74], 0
call fcn.00493f80
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push 0
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41020a
test esi, esi
je 0x4101f8
cmp dword [esi], 4
jne 0x4101f8
push dword [ebp - 0x74]
mov ecx, ebx
push str.0x_08lx
call fcn.0040fc40
jmp 0x410203
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call fcn.00472890
mov dword [ebp - 0x78], 1
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004944f9
add ebp, 0x94
leave
ret
Function at 0x41080a
Capabilities:
Copy file

Disassembly:
push 0x34
mov eax, 0x4bcaac
call fcn.00494508
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call fcn.004726a0
xor esi, esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], esi
call fcn.0040d513
test al, al
jne 0x410857
lea ecx, [ebp - 0x20]
call fcn.004724c0
cmp byte [ebp - 0x19], 0xff
lea ecx, [ebp - 0x20]
jne 0x410846
mov ecx, dword [ebp - 0x20]
cmp byte [ecx + eax - 1], 0x5c
je 0x410857
push 0x5c
lea ecx, [ebp - 0x20]
call fcn.00472c40
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.004726a0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040d513
test al, al
jne 0x410897
lea ecx, [ebp - 0x18]
call fcn.004724c0
cmp byte [ebp - 0x11], 0xff
lea ecx, [ebp - 0x18]
jne 0x410886
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + eax - 1], 0x5c
je 0x410897
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00472c40
push 0x4cdb38
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00473040
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], esi
call fcn.004724b0
cmp byte [ebp - 0x11], 0xff
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
jne 0x4108cb
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0040e4d2
mov edi, 0xa0
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e7e5
add esp, 0x18
jmp 0x410964
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00472ff0
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 4
call fcn.00472ff0
add esp, 0x18
cmp byte [esi + 7], 0xff
mov byte [ebp - 4], 5
jne 0x410925
mov esi, dword [esi]
cmp byte [eax + 7], 0xff
jne 0x41092d
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00472740
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040e7e5
add esp, 0x10
test eax, eax
jne 0x4108ee
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00472740
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00472740
xor eax, eax
inc eax
call fcn.004945e0
ret
Function at 0x411cd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcc88
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4fb44c], 0
jne 0x411d06
jmp 0x411de5
cmp dword [0x4f7008], 0
jne 0x411d14
jmp 0x411de5
lea eax, [ebp - 0x34]
push eax
call fcn.0040d61b
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040d616
add esp, 4
mov dword [ebp - 0x10], eax
mov dl, byte [0x4cd9ca]
mov byte [ebp - 0x30], dl
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
push 0x19
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00493f80
add esp, 0xc
push 0x18
mov edx, dword [ebp - 0x10]
push edx
call fcn.004962b1
add esp, 4
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00495060
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004724b0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040d537
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
push str.__s___s_r_n
lea eax, [ebp - 0x3c]
push eax
call fcn.00473410
add esp, 0x10
mov dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004724c0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d537
push eax
mov edx, dword [0x4fb44c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00472740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004944f9
mov esp, ebp
pop ebp
ret

Function at 0x411e00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bccb8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4f9590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004109b0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040d537
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x14]
call fcn.0040d537
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4fb44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00472740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41425d
Capabilities:
Read .ini file

Disassembly:
push 0x18
mov eax, 0x4bd0b4
call fcn.00494508
xor esi, esi
inc esi
cmp dword [ebp + 8], esi
jne 0x414310
lea ecx, [ebp - 0x14]
call fcn.004724b0
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x23
push esi
mov dword [ebp - 4], esi
call fcn.0040e1d9
add esp, 0x14
test eax, eax
jne 0x41429f
lea ecx, [ebp - 0x14]
jmp 0x41436c
push str.Real_setup_
lea ecx, [ebp - 0x14]
call fcn.00472bc0
cmp byte [ebp - 0xd], 0xff
lea eax, [ebp - 0x14]
jne 0x4142b8
mov eax, dword [ebp - 0x14]
push esi
push eax
call fcn.0040e4d2
pop ecx
pop ecx
push str.config.ini
lea ecx, [ebp - 0x14]
call fcn.00472bc0
lea ecx, [ebp - 0x14]
call fcn.004141d2
cmp byte [ebp - 0xd], 0xff
lea eax, [ebp - 0x14]
jne 0x4142e2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
push eax
mov eax, 0x100
push eax
push eax
call fcn.004731d0
push eax
push esi
push dword [ebp + 0xc]
push str.Upgrade_Helper
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov esi, eax
call fcn.00473260
jmp 0x414297
cmp dword [ebp + 8], 3
mov edi, SysReAllocString
jne 0x41431c
dec edi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0040db2b
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00473040
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00472740
cmp byte [ebp - 0x15], 0xff
lea eax, [ebp - 0x1c]
jne 0x414353
mov eax, dword [ebp - 0x1c]
xor esi, esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push eax
push edi
call fcn.0041014a
add esp, 0x18
mov esi, eax
lea ecx, [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
call fcn.00472740
mov eax, esi
call fcn.004945e0
ret
Function at 0x41851a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x10], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41e456
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret
Function at 0x42103e
Capabilities:
Create http request

Disassembly:
xor eax, eax
cmp dword [0x4fb63c], eax
je 0x421049
ret
push eax
push eax
push eax
push eax
push str.StubInstaller
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x4fb63c], eax
neg eax
sbb eax, eax
and eax, 0x7fff555f
add eax, 0x8000aaa1
ret