joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41312b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp byte [0x42eeec], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ecx, 0x481858
jne 0x41314c
mov ecx, 0x481828
call fcn.0041f593
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [esi + 0x34]
push dword [ecx]
mov ecx, ebx
push eax
call fcn.0041f32f
test eax, eax
jge 0x413186
push 0
push str.Couldnt_read_filename___skipping_file
push dword [edi + 8]
mov ecx, 0x4810c0
call fcn.0041da57
xor eax, eax
jmp 0x4132b7
mov edi, 0x4810c0
push ebx
mov ecx, edi
call fcn.00418851
push ebx
mov ecx, edi
call fcn.0041cf5a
push 0x7fffffff
push ebx
mov ecx, edi
call fcn.0041dbff
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov byte [eax], 1
mov eax, dword [esi + 0x34]
add dword [0x482378], eax
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
jne 0x413235
lea ecx, [ebp - 0x10]
call fcn.0041e62f
mov ecx, ebx
call fcn.0041f593
push eax
mov ecx, 0x48200c
call fcn.0041f593
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041ecd1
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x413224
mov ecx, 0x481868
call fcn.0041f593
mov ecx, dword [ebp - 4]
push 4
push eax
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
push esi
mov ecx, edi
call fcn.0041da7b
cmp eax, 7
jne 0x413224
or esi, 0xffffffff
jmp 0x413226
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.0041e765
mov eax, esi
jmp 0x4132b7
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, ebx
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4132b4
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 0x18]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x24]
mov ecx, ebx
push eax
lea eax, [esi + 0x20]
push eax
call fcn.0041f593
push eax
call fcn.0040e9cc
add esp, 0xc
add esi, 0x28
mov ecx, ebx
push 0
push esi
call fcn.0041f593
push eax
call fcn.0040ea60
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4137b7
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
push str..DLL
push dword [esp + 0x14]
call fcn.00420582
mov edi, dword [esp + 0x1c]
pop ecx
pop ecx
mov esi, 0x481408
push edi
mov ecx, esi
call fcn.0041f167
add edi, 4
mov ecx, esi
push edi
mov ebx, eax
call fcn.0041f167
test ebx, ebx
mov esi, eax
je 0x413856
test esi, esi
je 0x413856
push 1
pop eax
mov dword [0x482394], eax
mov dword [0x4813a8], eax
mov eax, dword [0x482408]
test eax, eax
je 0x41380f
push eax
call fcn.00427dae
pop ecx
push 4
call fcn.00427db9
pop ecx
mov dword [0x482408], eax
lea ecx, [esi + ebx]
mov dword [eax], ecx
cmp byte [0x42eeec], 0
mov ecx, 0x481858
jne 0x413834
mov ecx, 0x481828
call fcn.0041f593
push esi
push ebx
push dword [esp + 0x18]
push eax
call fcn.00401ac0
add esp, 0x10
test eax, eax
je 0x41385e
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
pop edi
pop esi
pop ebx
ret 8
mov al, 1
jmp 0x413858

Function at 0x413862
Capabilities:
Shutdown system
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push ebx
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 1
mov ecx, 0x4810c0
call fcn.0041dca3
push ebx
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
cmp byte [0x48244d], bl
sete al
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41486a
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x414877
mov al, 1
pop esi
ret
mov edx, dword [esi]
push 1
pop eax
test al, dl
jne 0x41490c
mov ecx, dword [0x481304]
test edx, 0x40000000
je 0x414896
cmp ecx, eax
je 0x41490c
test edx, 0x20000000
je 0x4148a3
cmp ecx, 2
je 0x41490c
cmp ecx, eax
jne 0x4148cb
mov ecx, dword [0x4812fc]
cmp ecx, 0x5a
je 0x4148c6
cmp dword [0x4812f8], 4
jne 0x4148c6
neg ecx
sbb ecx, ecx
and ecx, 2
inc ecx
inc ecx
jmp 0x414904
push 8
pop ecx
jmp 0x414904
mov ecx, dword [0x4812f8]
cmp ecx, 4
ja 0x4148da
push 0x10
jmp 0x4148c8
cmp ecx, 5
jne 0x4148ff
mov ecx, dword [0x4812fc]
test ecx, ecx
jne 0x4148ed
push 0x20
jmp 0x4148c8
cmp ecx, eax
jne 0x4148f5
push 0x40
jmp 0x4148c8
cmp ecx, 2
mov ecx, 0x80
je 0x414904
mov ecx, pe_nt_image_headers32
test ecx, edx
jne 0x41490c
xor al, al
pop esi
ret
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x414927
shr edx, 0x1f
and dl, al
push edx
push 0
push dword [esi + 4]
push ecx
call fcn.004144bb
add esp, 0x10
pop esi
ret
Function at 0x415aa1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7d08
call fcn.00428300
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x80
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x415b53
push dword [ebp + 0xc]
call fcn.0040e99b
pop ecx
push ebx
push edi
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 0xc]
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x415b03
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x415b53
mov dword [ebp + 8], ebx
mov esi, 0x7d00
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x7d08]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x7d08]
push dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 8]
call fcn.00416ea5
cmp dword [ebp + 8], esi
pop ecx
je 0x415b0b
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x415ed2
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push ebx
push eax
mov eax, dword [0x4823f8]
or eax, 0x2001f
xor ebx, ebx
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionSharedDLLs
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415f7e
lea eax, [ebp - 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
mov dword [ebp - 0xc], 4
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push 4
push eax
inc dword [ebp - 4]
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0041e69f
cmp byte [ebp + 0xc], bl
je 0x415f5e
push ebx
push str.ctrl
lea ecx, [ebp - 0x18]
call fcn.0041e8b1
lea ecx, [ebp - 0x18]
call fcn.0041f593
push 0x481988
push eax
mov ecx, 0x481910
call fcn.00424c25
lea ecx, [ebp - 0x18]
call fcn.0041e765
pop ebx
leave
ret 8

Function at 0x415f83
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
xor esi, esi
cmp dword [0x481808], esi
je 0x4160b2
mov ecx, 0x481808
call fcn.0041f593
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [0x481808]
inc ecx
push ecx
push eax
call fcn.00420718
add esp, 0x10
test al, al
je 0x4160b2
cmp dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
jbe 0x416099
push ebx
push edi
mov esi, 0x104
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
shl eax, 2
push 5
mov edi, dword [eax + ecx]
mov ebx, dword [eax + ecx + 4]
add edi, dword [ebp - 0x10]
add ebx, dword [ebp - 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x416087
push 0x4810d0
lea ecx, [ebp - 0x1c]
call fcn.0041e703
push 0
push str.WININIT.INI
lea ecx, [ebp - 0x1c]
call fcn.0041e8b1
push esi
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004274e0
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004274e0
add esp, 0x18
lea eax, [ebp - 0x224]
push esi
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
call edi
lea eax, [ebp - 0x120]
push esi
push eax
push ebx
call edi
lea ecx, [ebp - 0x1c]
call fcn.0041f593
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1c]
call fcn.0041e765
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x415fdc
pop edi
pop ebx
push dword [ebp - 8]
call fcn.00427dae
mov ecx, 0x481808
mov dword [esp], 0x4311c8
call fcn.0041e77c
pop esi
leave
ret
Function at 0x4163e7
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [esp + 0x10]
mov edi, eax
cmp edi, 0xffffffff
je 0x41643e
mov eax, dword [esi + 8]
lea edx, [esi + 0x10]
mov ecx, eax
and cl, 0x10
neg cl
sbb ecx, ecx
and al, 8
and ecx, edx
neg al
push ecx
lea ecx, [esi + 0x18]
sbb eax, eax
push 0
and eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esi + 8]
test cl, 2
je 0x416455
test cl, 4
jne 0x41646f
mov ecx, dword [esi + 0xc]
and al, 0xdc
test cl, 4
je 0x416461
or al, 2
test cl, 8
je 0x416468
or al, 0x20
test cl, 0x10
je 0x41646f
or al, 1
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
ret 8
Function at 0x416923
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], ecx
xor edi, edi
mov ecx, ebx
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
je 0x416a97
push edi
push 0x80
push 3
push edi
push edi
push 0xc0000000
mov ecx, ebx
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xc
je 0x41698c
cmp esi, 0x20
jne 0x416a97
cmp dword [0x4812b4], edi
je 0x416a09
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041e703
push edi
push str..delete_on_reboot0
lea ecx, [ebp - 0xc]
call fcn.0041e8b1
push 1
pop esi
lea ecx, [ebp - 0xc]
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
je 0x4169e5
mov eax, dword [ebp - 0xc]
push 1
dec eax
lea ecx, [ebp - 0xc]
push eax
call fcn.0041ec13
push esi
lea eax, [ebp - 0xc]
push 0x42ef6c
push eax
call fcn.0041ecd1
add esp, 0xc
inc esi
jmp 0x4169ae
push edi
lea ecx, [ebp - 0xc]
call fcn.0041f593
push eax
mov ecx, ebx
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x416a7a
lea ecx, [ebp - 0xc]
call fcn.0041e765
test byte [0x4812aa], 0x40
jne 0x416aa1
lea ecx, [ebp - 0x1c]
call fcn.0041e62f
mov ecx, ebx
call fcn.0041f593
push eax
mov ecx, 0x481fb8
call fcn.0041f593
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ecd1
add esp, 0xc
mov ecx, 0x481868
call fcn.0041f593
mov ecx, dword [ebp - 0x10]
push 5
push eax
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.0041f593
push eax
push esi
mov ecx, 0x4810c0
call fcn.0041da7b
cmp eax, 4
lea ecx, [ebp - 0x1c]
jne 0x416af8
call fcn.0041e765
jmp 0x416937
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0041e7ea
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov dword [eax], 2
call fcn.0041e765
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
lea eax, [ebp - 0x120]
push str..tmp
push eax
call fcn.00420582
pop ecx
mov esi, 0x481808
pop ecx
push ebx
mov ecx, esi
call fcn.0041e92f
push edi
mov ecx, esi
call fcn.0041e862
lea eax, [ebp - 0x120]
push edi
push eax
mov ecx, esi
call fcn.0041e8b1
push edi
mov ecx, esi
call fcn.0041e862
lea eax, [ebp - 0x120]
mov ecx, ebx
push eax
call fcn.0041e77c
mov ecx, dword [ebp + 0xc]
push 1
pop eax
mov dword [ecx], eax
jmp 0x416a9a
call fcn.0041e765
xor eax, eax
jmp 0x416a9a
Function at 0x416d7d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0041e69f
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
dec eax
push eax
call fcn.0041e84d
cmp al, 0x5c
je 0x416db2
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041e862
lea ecx, [ebp - 0xc]
call fcn.0041e62f
push 0x4311c8
lea ecx, [ebp - 0xc]
call fcn.0041e77c
push esi
lea ecx, [ebp - 0x18]
call fcn.0041f593
push eax
lea eax, [ebp - 0xc]
push str._s_d.tmp
push eax
call fcn.0041ecd1
add esp, 0x10
lea ecx, [ebp - 0xc]
inc esi
call fcn.0041f593
push eax
call fcn.0040f0b8
test al, al
pop ecx
jne 0x416dba
xor esi, esi
lea ecx, [ebp - 0xc]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x416e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x416e8e
lea ecx, [ebp - 0x24]
call fcn.0041e62f
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push str.You_dont_have_write_privilege_to_directory__s._Please_have_your_system_administrator__or_other_user_with_higher_privileges__install_this_software.
push eax
call fcn.0041ecd1
add esp, 0xc
lea ecx, [ebp - 0x24]
push esi
call fcn.0041f593
push eax
mov ecx, 0x4810c0
push dword [0x481290]
call fcn.0041da57
lea ecx, [ebp - 0x24]
call fcn.0041e765
lea ecx, [ebp - 0xc]
call fcn.0041e765
lea ecx, [ebp - 0x18]
call fcn.0041e765
xor al, al
jmp 0x416ea0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc]
call fcn.0041f593
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xc]
call fcn.0041e765
lea ecx, [ebp - 0x18]
call fcn.0041e765
mov al, 1
pop esi
leave
ret 4
Function at 0x417b93
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov ebx, ecx
cmp dword [0x4816d4], esi
jne 0x417bb1
cmp dword [0x4816e0], esi
je 0x417c3c
test byte [0x4812a4], 0x40
je 0x417bc3
mov ecx, ebx
call fcn.0041de61
jmp 0x417c08
lea eax, [ebp - 4]
mov ecx, 0x4816d4
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
push eax
push esi
call fcn.0041f593
push eax
push dword [0x4816d0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417c35
cmp dword [0x4816e0], esi
jne 0x417c0c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
mov ecx, ebx
call fcn.00417883
pop esi
pop ebx
leave
ret
push edi
push esi
push esi
push esi
push esi
mov ecx, 0x4816e0
call fcn.0041f593
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
je 0x417bff
mov ecx, ebx
call fcn.004180e7
mov al, 1
jmp 0x417c08
Function at 0x41b68d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x94
push 0x4812f4
mov dword [0x4817a8], esi
mov dword [0x4817ac], esi
mov dword [0x4817b4], 2
mov dword [0x4815d8], esi
mov byte [0x48168c], 1
mov dword [0x481294], eax
mov dword [0x48129c], esi
mov dword [0x481298], esi
mov dword [0x481290], esi
mov dword [0x4812f4], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x38
push esi
push 0x4813b0
mov dword [0x4819d4], esi
call fcn.004274e0
push 0x4c
push esi
push 0x481230
call fcn.004274e0
push 0x28
push esi
push 0x4818e8
call fcn.004274e0
push 0x38
push esi
push 0x481418
call fcn.004274e0
mov edi, 0x104
mov dword [0x48142c], 0x42723c
push edi
mov dword [0x481418], 0x427210
mov dword [0x48141c], 0x427268
mov dword [0x481424], 0x4272e9
mov dword [0x481420], 0x427383
mov dword [0x481428], 0x427423
mov dword [0x481444], 0x4201fa
mov dword [0x48144c], 0x4200fd
mov dword [0x481440], 0x41fe04
mov dword [0x481448], 0x41fa8c
mov dword [0x48143c], 0x4812a8
call fcn.00427db9
add esp, 0x34
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x41b7bc
mov ecx, 0x481a9c
call fcn.0041f593
push eax
call fcn.0042024b
pop ecx
push edi
push esi
push dword [ebp + 8]
call fcn.004274e0
add esp, 0xc
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 8]
mov ecx, 0x481828
call fcn.0041e77c
push dword [ebp + 8]
call fcn.00427dae
cmp dword [0x481858], esi
pop ecx
jne 0x41b801
push 0x481828
mov ecx, 0x481858
call fcn.0041e7ea
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041e69f
lea ecx, [ebp - 0xc]
call fcn.0041f5dd
push 1
push esi
push str._SILENT
lea ecx, [ebp - 0xc]
call fcn.0041ef3a
or edi, 0xffffffff
cmp eax, edi
je 0x41b836
mov byte [0x4823f4], 1
push 1
push esi
push str._REVERT
lea ecx, [ebp - 0xc]
call fcn.0041ef3a
cmp eax, edi
je 0x41b851
mov byte [0x48244d], 1
push 1
push esi
push str._ACCEPTLICENSE
lea ecx, [ebp - 0xc]
call fcn.0041ef3a
cmp eax, edi
je 0x41b86c
mov byte [0x4823f5], 1
push ebx
lea eax, [ebp - 0xa0]
push esi
push eax
mov dword [0x481838], edi
mov dword [0x48183c], edi
mov dword [0x481840], edi
mov dword [0x481844], edi
mov dword [0x481848], edi
mov dword [0x48184c], edi
mov dword [0x481850], edi
mov dword [0x481854], edi
call fcn.004274e0
add esp, 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x41b8d5
mov dword [0x4812b4], 1
jmp 0x41b8f4
mov eax, dword [ebp - 0x94]
mov dword [0x4812b4], esi
and eax, 0xffff
cmp eax, 0x3e8
ja 0x41b8f4
mov byte [0x4813b1], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push str._InstallerCommandLine_
call fcn.0041fa8c
lea ecx, [ebp - 0xc]
call fcn.0041e765
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c1ec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, 0x481408
push edi
push 0x2c
mov ecx, esi
call fcn.0041f167
push 0x28
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0041f167
xor edi, edi
mov dword [ebp - 0x18], eax
cmp eax, edi
mov dword [ebp - 8], edi
jle 0x41c359
mov esi, 0x4816b8
mov ebx, 0x42ea2c
lea ecx, [ebp - 0x14]
call fcn.0041e62f
push 4
mov ecx, 0x481858
push dword [ebp - 4]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f32f
add dword [ebp - 4], 4
lea eax, [ebp - 0x11c]
push str..TTF
push eax
call fcn.00420582
pop ecx
pop ecx
push 1
pop eax
mov dword [0x482394], eax
mov dword [0x4813a8], eax
mov eax, dword [0x482408]
cmp eax, edi
je 0x41c280
push eax
call fcn.00427dae
pop ecx
push 4
call fcn.00427db9
pop ecx
mov dword [0x482408], eax
push edi
lea ecx, [ebp - 0x14]
call fcn.0041f167
add eax, dword [ebp - 4]
mov ecx, dword [0x482408]
push edi
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
call fcn.0041f167
push eax
lea eax, [ebp - 0x11c]
push dword [ebp - 4]
mov ecx, 0x481858
push eax
call fcn.0041f593
push eax
call fcn.00401ac0
add esp, 0x10
test eax, eax
jne 0x41c360
push edi
lea ecx, [ebp - 0x14]
call fcn.0041f167
add dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push str..FOT
push eax
call fcn.00420582
pop ecx
lea eax, [ebp - 0x11c]
pop ecx
push edi
push eax
lea eax, [ebp - 0x220]
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
lea eax, [ebp - 0x220]
push edi
push eax
mov ecx, esi
call fcn.0041e8b1
push edi
push ebx
mov ecx, esi
call fcn.0041e8b1
lea eax, [ebp - 0x11c]
push edi
push eax
mov ecx, esi
call fcn.0041e8b1
push edi
push ebx
mov ecx, esi
call fcn.0041e8b1
lea ecx, [ebp - 0x14]
call fcn.0041e765
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x41c22c
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.0041e765
xor al, al
jmp 0x41c35b

Function at 0x41c379
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x481480
lea ecx, [ebp - 0xc]
call fcn.0041e703
xor ebx, ebx
lea ecx, [ebp - 0xc]
push ebx
push str._inst_m
call fcn.0041e8b1
lea ecx, [ebp - 0xc]
call fcn.0041f593
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41c3f6
mov ecx, 0x4819d8
call fcn.0041f593
push eax
push str.AstrumInstaller
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x41c3f4
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41c3ed
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov bl, 1
lea ecx, [ebp - 0xc]
call fcn.0041e765
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41c4bb
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push ebx
xor ebx, ebx
cmp dword [0x48176c], ebx
push esi
je 0x41c543
lea eax, [ebp - 4]
mov ecx, 0x4816d4
push eax
mov eax, dword [0x4823f8]
or eax, 0x20019
mov dword [ebp - 4], ebx
push eax
push ebx
call fcn.0041f593
push eax
push dword [0x4816d0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41c543
push edi
push 0x4d
pop ecx
lea edi, [ebp - 0x19f]
mov byte [ebp - 0x1a0], bl
mov dword [ebp - 0x14], 0x136
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1a0]
push eax
push ebx
push ebx
push str.AutorunCommand
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop edi
je 0x41c54a
xor al, al
jmp 0x41c5d6
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041e69f
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041e84d
cmp al, 0x22
je 0x41c57b
push ebx
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041f26b
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041e862
push 0x44
lea eax, [ebp - 0x68]
pop esi
push esi
push ebx
push eax
call fcn.004274e0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.004274e0
add esp, 0x18
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
call fcn.0041f593
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41c5cc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0041e765
mov al, bl
pop esi
pop ebx
leave
ret