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

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0xe14ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xe15035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00e14e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0xe14fc5
mov edi, 0xe2f8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0xe15035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00e14e00
add edi, 4
add esp, 0xc
cmp edi, 0xe2f8c0
jb 0xe15000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0xe15070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00e1b082
mov esi, eax
add esp, 8
test esi, esi
je 0xe15107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xe15102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00e1a946
add esp, 8
test eax, eax
je 0xe150e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0xe150e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00e1a946
add esp, 8
test eax, eax
jne 0xe150c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0xe15102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0xe15f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xe2a9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xe16002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00e19dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xe16002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00e116e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00e1a20b
push 0x10
call fcn.00e1a1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xe15fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00e061c0
jmp 0xe15fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00e15b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xe15ff0
mov ecx, edi
call fcn.00e062c0
push edi
call fcn.00e1a1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xe16021
inc ebx
cmp ebx, 0x20
jb 0xe15f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xe17250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe2b808
push 0xe1b288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xe17329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xe17329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00e1a1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xe17329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xe17329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xe1732c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00e17351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xe17d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe17d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xe17d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xe17d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xe17d94
push eax
push esi
call fcn.00e1a20b
add esp, 8
pop esi
ret 0x10

Function at 0xe17da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe17e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xe17e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xe30320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e19dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xe17dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xe17e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xe17ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xe17eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xe30320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00e19dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xe17eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xe17e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xe18000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xe18131
push esi
call fcn.00e1b145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00e0a080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xe18131
push 0
push ebp
call fcn.00e0a3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00e0a260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xe1808b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00e0a2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xe18121
push 0xe30918
push edi
call fcn.00e193f0
push eax
push ebx
push esi
call fcn.00e17f60
push 0xe308f8
push edi
call fcn.00e193f0
push eax
push ebx
push esi
call fcn.00e17f60
push 0xe308d8
push edi
call fcn.00e193f0
push eax
push ebx
push esi
call fcn.00e17f60
push 0xe308c0
push edi
call fcn.00e193f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00e17f60
push 0xe308a0
push edi
call fcn.00e193f0
push eax
push ebx
push esi
call fcn.00e17f60
push 0xe30888
push edi
call fcn.00e193f0
push eax
push ebx
push esi
call fcn.00e17f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xe191b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00e19140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00e19140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00e19140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00e19140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xe19bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xe19c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xe2b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xe19c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xe19c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40265a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x402662
mov dword [ecx*4 + 0x48cca0], eax
inc ecx
cmp ecx, 0x100
jb 0x40265d
mov edx, 0x800
jmp 0x4026af
mov eax, dword [ecx*4 + 0x48c8a0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x48cca0]
inc ecx
mov dword [ecx*4 + 0x48cc9c], eax
cmp ecx, edx
jb 0x40268e
mov dword [0x48b390], 0x4026d2
call fcn.00410b65
test eax, eax
jne 0x4026d0
mov dword [0x48b390], 0x40276e
pop esi
ret

Function at 0x402ff0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x403038
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x403009
mov eax, edi
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x40303d
test ecx, ecx
je 0x403038
test edi, edi
ja 0x402ffe
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40303a
Function at 0x406901
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x34
mov eax, 0x453cb5
call fcn.0043cf3d
mov edi, dword [ebp + 8]
push str.InitUIStrings...
lea ecx, [ebp - 0x14]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e50d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
push str.ArmUI.ini
lea eax, [edi + 0xd8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004088df
add esp, 0xc
lea esi, [edi + 0xd4]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00408b86
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
push str.ARM_UI_INI
push 0x83
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x4069dc
push str.FindResource_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push 2
pop eax
push ebx
push esi
lea ecx, [ebp + 8]
push ecx
mov dword [ebp - 4], eax
push eax
call fcn.0040e087
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x61c]
call fcn.0040e802
jmp 0x406b91
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
jne 0x406a06
push str.LoadResource_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
push esi
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], 3
push 2
jmp 0x4069ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.0042a277
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 4
call fcn.00402056
lea ecx, [ebp - 0x40]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [esi]
push 0x1021
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042a678
test eax, eax
jne 0x406abd
push str.Open_file_failed:
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
push esi
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 6
call fcn.0040e087
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x61c]
call fcn.0040e802
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov esi, eax
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004025e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042a352
mov eax, esi
jmp 0x406b91
mov byte [ebp - 4], 7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00429fad
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.0042a211
lea eax, [edi + 0x510]
push eax
lea ecx, [edi + 0x61c]
call fcn.0040e802
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x40], vtable.CFileException.0
call fcn.004025e7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042a352
xor eax, eax
inc eax
jmp 0x406b91
call fcn.0043cfe2
ret 4
Function at 0x40749b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x456ce5
call fcn.0043cf0a
mov edi, ecx
push str.ExecuteInstalls...
lea ecx, [ebp - 0x10]
call fcn.0040215a
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.0040e50d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
push 8
pop ecx
mov eax, edi
mov dword [edi + 0xe0], ecx
call fcn.0040785c
call fcn.0042621c
push ebx
mov dword [edi + 0xc8], eax
call fcn.0040f836
pop ecx
lea eax, [edi + 0x500]
lea ecx, [edi + 0x514]
push eax
call fcn.00408b86
push ebx
call fcn.004202e8
lea ecx, [ebp - 0x10]
mov dword [esp], str.Execute_Installs
call fcn.0040215a
lea eax, [ebp - 0x10]
xor esi, esi
push eax
inc esi
push edi
mov dword [ebp - 4], esi
call fcn.00405aee
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x600], eax
cmp dword [edi + 0x690], ebx
jne 0x40755f
mov esi, edi
call fcn.00405e3d
mov esi, 0x249f0
cmp dword [0x48bab0], esi
je 0x40757d
lea ebx, [edi + 0x564]
call fcn.004169ca
xor ebx, ebx
test eax, eax
jne 0x4075bb
push 0x45eeb8
lea ecx, [ebp - 0x10]
call fcn.0040215a
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [edi + 0x650]
mov ecx, eax
call fcn.0040c8ce
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov dword [ebp - 0x10], ebx
push str.Execute_Installs
lea ecx, [ebp - 0x14]
call fcn.0040215a
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], 3
call fcn.00405b3a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025e7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x600]
dec eax
mov dword [edi + 0x600], eax
cmp dword [edi + 0x54c], ebx
je 0x40760d
mov dword [edi + 0x608], 1
push str._Product_after_installation_
lea ecx, [ebp - 0x18]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
mov dword [ebp - 4], 4
call fcn.0040e50d
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea esi, [edi + 0x4ac]
push ebx
mov eax, esi
call fcn.004051e1
push eax
call fcn.00422dfc
mov esi, edi
call fcn.00406fba
push 4
lea eax, [edi + 0x5a8]
call fcn.00415ceb
push 1
call fcn.00427863
pop ecx
cmp dword [edi + 0xac], ebx
jne 0x407688
cmp dword [edi + 0x54c], ebx
jne 0x407688
cmp dword [edi + 0xe4], 2
je 0x4076bd
mov eax, edi
cmp dword [ebp - 0x10], ebx
jne 0x40769f
push 2
pop ecx
mov dword [edi + 0xe0], ecx
call fcn.0040785c
jmp 0x4076bd
push 9
pop ecx
mov dword [edi + 0xe0], ecx
call fcn.0040785c
mov edi, dword [edi + 0x690]
cmp edi, ebx
je 0x4076bd
push edi
call fcn.0040a8bb
mov eax, dword [ebp - 0x10]
call fcn.0043cfe2
ret
Function at 0x407f88
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x455348
call fcn.0043cf0a
call fcn.00429b48
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fc71
xor ebx, ebx
mov esi, 0x1b2c4
mov dword [ebp - 4], ebx
cmp dword [0x48bab0], esi
je 0x4080ec
push dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.0042535e
pop ecx
test eax, eax
je 0x4080ec
push str.Launcher_path:
lea ecx, [ebp + 0x10]
call fcn.0040215a
push ebx
mov eax, edi
push eax
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.0040e087
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x10]
push 5
push ebx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 0xc], eax
cmp dword [0x48bab0], esi
je 0x408074
cmp eax, 0x21
jl 0x408074
mov eax, dword [ebp + 8]
push str.ShellExecute_succeded.
lea ecx, [ebp + 8]
mov dword [eax + 0xbc], 1
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.0040e50d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
xor eax, eax
jmp 0x408131
push str.ShellExecute_failed
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x650
mov ecx, eax
call fcn.0040c8ce
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
cmp dword [ebp + 0xc], 5
jne 0x4080df
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 8]
call fcn.0040215a
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040e50d
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025e7
lea ecx, [edi - 0x10]
call fcn.004025e7
mov eax, dword [ebp + 0xc]
jmp 0x408131
push str.Failed_to_create_launcher_path
lea ecx, [ebp + 0x10]
call fcn.0040215a
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x650
mov ecx, eax
call fcn.0040c8ce
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e7
push 0xd
pop eax
call fcn.0043cfe2
ret 0xc
Function at 0x40b9ca
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x455073
call fcn.0043cf0a
mov esi, dword [ebp + 8]
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.00402102
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], vtable.CProxy.0
call fcn.00402102
lea ecx, [esi + 0x34]
call fcn.00402102
mov dword [esi + 0x2c], 1
push 0x10
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.0043b400
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], 4
call fcn.00402123
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, 0x272f4
mov dword [esi + 0xc], eax
cmp dword [0x48bab0], ebx
je 0x40bb05
cmp eax, edi
jl 0x40bb05
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, edi
mov dword [esi + 0xc], eax
jge 0x40ba99
cmp eax, 0x80010119
je 0x40ba99
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40bae5
push esi
push 0x460804
push 4
push edi
push 0x4607f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, 0x222e0
mov dword [esi + 0xc], eax
cmp dword [0x48bab0], ebx
je 0x40bac1
cmp eax, edi
jge 0x40bb33
mov eax, dword [esi]
cmp eax, edi
je 0x40bacf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
push ebx
mov ecx, dword [esi + 0xc]
mov edx, 0x48baa8
call fcn.0040c8ce
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025e7
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40bb33
push 0x45fb48
lea ecx, [ebp + 0xc]
call fcn.0040215a
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
push ebx
mov edx, 0x48baa8
call fcn.0040c8ce
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, esi
call fcn.0043cfe2
ret 8

Function at 0x40d0a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40d0ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x40d0d7
push 0xd
pop esi
cmp esi, 0xe8
jne 0x40d0fc
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x40d0ac
jmp 0x40d0fc
mov esi, dword [ebp - 4]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
pop edi
mov eax, esi
pop esi
leave
ret