joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f9a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x7d08
call fcn.00429280
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 0x41604c
push dword [ebp + 0xc]
call fcn.0040eb61
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 0x415ffc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41604c
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.0041742a
cmp dword [ebp + 8], esi
pop ecx
je 0x416004
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 0x4163cb
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 [0x483760]
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 0x416477
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.0041ef9d
cmp byte [ebp + 0xc], bl
je 0x416457
push ebx
push str.ctrl
lea ecx, [ebp - 0x18]
call fcn.0041f205
lea ecx, [ebp - 0x18]
call fcn.0041fee9
push 0x482cf0
push eax
mov ecx, 0x482c78
call fcn.00425a02
lea ecx, [ebp - 0x18]
call fcn.0041f063
pop ebx
leave
ret 8

Function at 0x41647c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
xor esi, esi
cmp dword [0x482b70], esi
je 0x4165ab
mov ecx, 0x482b70
call fcn.0041fee9
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [0x482b70]
inc ecx
push ecx
push eax
call fcn.0042106e
add esp, 0x10
test al, al
je 0x4165ab
cmp dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
jbe 0x416592
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 0x416580
push 0x482418
lea ecx, [ebp - 0x1c]
call fcn.0041f001
push 0
push str.WININIT.INI
lea ecx, [ebp - 0x1c]
call fcn.0041f205
push esi
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004282e0
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004282e0
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.0041fee9
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.0041f063
add dword [ebp - 4], 2
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x4164d5
pop edi
pop ebx
push dword [ebp - 8]
call fcn.00428bae
mov ecx, 0x482b70
mov dword [esp], 0x432518
call fcn.0041f0d0
pop esi
leave
ret
Function at 0x41696c
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 0x4169c3
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 0x4169da
test cl, 4
jne 0x4169f4
mov ecx, dword [esi + 0xc]
and al, 0xdc
test cl, 4
je 0x4169e6
or al, 2
test cl, 8
je 0x4169ed
or al, 0x20
test cl, 0x10
je 0x4169f4
or al, 1
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
ret 8
Function at 0x416ea8
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.0041fee9
push eax
call fcn.0040f27e
test al, al
pop ecx
je 0x41701c
push edi
push 0x80
push 3
push edi
push edi
push 0xc0000000
mov ecx, ebx
call fcn.0041fee9
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 0x416f11
cmp esi, 0x20
jne 0x41701c
cmp dword [0x48261c], edi
je 0x416f8e
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041f001
push edi
push str..delete_on_reboot0
lea ecx, [ebp - 0xc]
call fcn.0041f205
push 1
pop esi
lea ecx, [ebp - 0xc]
call fcn.0041fee9
push eax
call fcn.0040f27e
test al, al
pop ecx
je 0x416f6a
mov eax, dword [ebp - 0xc]
push 1
dec eax
lea ecx, [ebp - 0xc]
push eax
call fcn.0041f567
push esi
lea eax, [ebp - 0xc]
push 0x42ff84
push eax
call fcn.0041f625
add esp, 0xc
inc esi
jmp 0x416f33
push edi
lea ecx, [ebp - 0xc]
call fcn.0041fee9
push eax
mov ecx, ebx
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x416fff
lea ecx, [ebp - 0xc]
call fcn.0041f063
test byte [0x482612], 0x40
jne 0x417026
lea ecx, [ebp - 0x1c]
call fcn.0041ef2d
mov ecx, ebx
call fcn.0041fee9
push eax
mov ecx, 0x483320
call fcn.0041fee9
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041f625
add esp, 0xc
mov ecx, 0x482bd0
call fcn.0041fee9
mov ecx, dword [ebp - 0x10]
push 5
push eax
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x1c]
call fcn.0041fee9
push eax
push esi
mov ecx, 0x482408
call fcn.0041e217
cmp eax, 4
lea ecx, [ebp - 0x1c]
jne 0x41707d
call fcn.0041f063
jmp 0x416ebc
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push eax
call fcn.0041f13e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
mov dword [eax], 2
call fcn.0041f063
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
lea eax, [ebp - 0x120]
push str..tmp
push eax
call fcn.00420ed8
pop ecx
mov esi, 0x482b70
pop ecx
push ebx
mov ecx, esi
call fcn.0041f283
push edi
mov ecx, esi
call fcn.0041f1b6
lea eax, [ebp - 0x120]
push edi
push eax
mov ecx, esi
call fcn.0041f205
push edi
mov ecx, esi
call fcn.0041f1b6
lea eax, [ebp - 0x120]
mov ecx, ebx
push eax
call fcn.0041f0d0
mov ecx, dword [ebp + 0xc]
push 1
pop eax
mov dword [ecx], eax
jmp 0x41701f
call fcn.0041f063
xor eax, eax
jmp 0x41701f
Function at 0x417302
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.0041ef9d
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
dec eax
push eax
call fcn.0041f1a1
cmp al, 0x5c
je 0x417337
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.0041f1b6
lea ecx, [ebp - 0xc]
call fcn.0041ef2d
push 0x432518
lea ecx, [ebp - 0xc]
call fcn.0041f0d0
push esi
lea ecx, [ebp - 0x18]
call fcn.0041fee9
push eax
lea eax, [ebp - 0xc]
push str._s_d.tmp
push eax
call fcn.0041f625
add esp, 0x10
lea ecx, [ebp - 0xc]
inc esi
call fcn.0041fee9
push eax
call fcn.0040f27e
test al, al
pop ecx
jne 0x41733f
xor esi, esi
lea ecx, [ebp - 0xc]
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4173fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x417413
lea ecx, [ebp - 0x24]
call fcn.0041ef2d
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.0041f625
add esp, 0xc
lea ecx, [ebp - 0x24]
push esi
call fcn.0041fee9
push eax
mov ecx, 0x482408
push dword [0x4825f8]
call fcn.0041e1f3
lea ecx, [ebp - 0x24]
call fcn.0041f063
lea ecx, [ebp - 0xc]
call fcn.0041f063
lea ecx, [ebp - 0x18]
call fcn.0041f063
xor al, al
jmp 0x417425
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xc]
call fcn.0041fee9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xc]
call fcn.0041f063
lea ecx, [ebp - 0x18]
call fcn.0041f063
mov al, 1
pop esi
leave
ret 4
Function at 0x418139
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 [0x482a3c], esi
jne 0x418157
cmp dword [0x482a48], esi
je 0x4181e2
test byte [0x48260c], 0x40
je 0x418169
mov ecx, ebx
call fcn.0041e5fd
jmp 0x4181ae
lea eax, [ebp - 4]
mov ecx, 0x482a3c
push eax
mov eax, dword [0x483760]
or eax, 0x20019
push eax
push esi
call fcn.0041fee9
push eax
push dword [0x482a38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4181db
cmp dword [0x482a48], esi
jne 0x4181b2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push esi
mov ecx, ebx
call fcn.00417e29
pop esi
pop ebx
leave
ret
push edi
push esi
push esi
push esi
push esi
mov ecx, 0x482a48
call fcn.0041fee9
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 0x4181a5
mov ecx, ebx
call fcn.0041868d
mov al, 1
jmp 0x4181ae
Function at 0x41bdad
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 0x48265c
mov dword [0x482b10], esi
mov dword [0x482b14], esi
mov dword [0x482b1c], 2
mov dword [0x482940], esi
mov byte [0x4829f4], 1
mov dword [0x4825fc], eax
mov dword [0x482604], esi
mov dword [0x482600], esi
mov dword [0x4825f8], esi
mov dword [0x48265c], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x38
push esi
push 0x482718
mov dword [0x482d3c], esi
call fcn.004282e0
push 0x4c
push esi
push 0x482598
call fcn.004282e0
push 0x28
push esi
push 0x482c50
call fcn.004282e0
push 0x38
push esi
push 0x482780
call fcn.004282e0
mov edi, 0x104
mov dword [0x482794], 0x428045
push edi
mov dword [0x482780], 0x428019
mov dword [0x482784], 0x428071
mov dword [0x48278c], 0x4280f2
mov dword [0x482788], 0x42818c
mov dword [0x482790], 0x42822c
mov dword [0x4827ac], 0x420b50
mov dword [0x4827b4], 0x420a53
mov dword [0x4827a8], 0x42075a
mov dword [0x4827b0], 0x4203e2
mov dword [0x4827a4], 0x482610
call fcn.00428bb9
add esp, 0x34
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x41bedc
mov ecx, 0x482e04
call fcn.0041fee9
push eax
call fcn.00420ba1
pop ecx
push edi
push esi
push dword [ebp + 8]
call fcn.004282e0
add esp, 0xc
push edi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp + 8]
mov ecx, 0x482b90
call fcn.0041f0d0
push dword [ebp + 8]
call fcn.00428bae
cmp dword [0x482bc0], esi
pop ecx
jne 0x41bf21
push 0x482b90
mov ecx, 0x482bc0
call fcn.0041f13e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0xc]
call fcn.0041ef9d
lea ecx, [ebp - 0xc]
call fcn.0041ff33
push 1
push esi
push str._SILENT
lea ecx, [ebp - 0xc]
call fcn.0041f88e
or edi, 0xffffffff
cmp eax, edi
je 0x41bf56
mov byte [0x48375c], 1
push 1
push esi
push str._REVERT
lea ecx, [ebp - 0xc]
call fcn.0041f88e
cmp eax, edi
je 0x41bf71
mov byte [0x4837ad], 1
push 1
push esi
push str._ACCEPTLICENSE
lea ecx, [ebp - 0xc]
call fcn.0041f88e
cmp eax, edi
je 0x41bf8c
mov byte [0x48375d], 1
push ebx
lea eax, [ebp - 0xa0]
push esi
push eax
mov dword [0x482ba0], edi
mov dword [0x482ba4], edi
mov dword [0x482ba8], edi
mov dword [0x482bac], edi
mov dword [0x482bb0], edi
mov dword [0x482bb4], edi
mov dword [0x482bb8], edi
mov dword [0x482bbc], edi
call fcn.004282e0
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 0x41bff5
mov dword [0x48261c], 1
jmp 0x41c014
mov eax, dword [ebp - 0x94]
mov dword [0x48261c], esi
and eax, 0xffff
cmp eax, 0x3e8
ja 0x41c014
mov byte [0x482719], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push str._InstallerCommandLine_
call fcn.004203e2
lea ecx, [ebp - 0xc]
call fcn.0041f063
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41c983
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, 0x482770
push edi
push 0x2c
mov ecx, esi
call fcn.0041fabb
push 0x28
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.0041fabb
xor edi, edi
mov dword [ebp - 0x18], eax
cmp eax, edi
mov dword [ebp - 8], edi
jle 0x41caf3
mov esi, 0x482a20
mov ebx, 0x42fa7c
push edi
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [ebp - 0x14]
call fcn.0041ef2d
push 4
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
call fcn.0041fc83
add dword [ebp - 4], 4
lea eax, [ebp - 0x11c]
push str..TTF
push eax
call fcn.00420ed8
pop ecx
pop ecx
push 1
pop eax
mov dword [0x4836fc], eax
mov dword [0x482710], eax
mov eax, dword [0x483770]
cmp eax, edi
je 0x41ca1a
push eax
call fcn.00428bae
pop ecx
push 4
call fcn.00428bb9
pop ecx
mov dword [0x483770], eax
push edi
lea ecx, [ebp - 0x14]
call fcn.0041fabb
add eax, dword [ebp - 4]
mov ecx, dword [0x483770]
push edi
mov dword [ecx], eax
lea ecx, [ebp - 0x14]
call fcn.0041fabb
push eax
lea eax, [ebp - 0x11c]
push dword [ebp - 4]
mov ecx, 0x482bc0
push eax
call fcn.0041fee9
push eax
call fcn.00401ac0
add esp, 0x10
test eax, eax
jne 0x41cafc
push edi
lea ecx, [ebp - 0x14]
call fcn.0041fabb
add dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push str..FOT
push eax
call fcn.00420ed8
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.0041f205
push edi
push ebx
mov ecx, esi
call fcn.0041f205
lea eax, [ebp - 0x11c]
push edi
push eax
mov ecx, esi
call fcn.0041f205
push edi
push ebx
mov ecx, esi
call fcn.0041f205
lea ecx, [ebp - 0x14]
call fcn.0041f063
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x41c9c3
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.0041f063
xor al, al
jmp 0x41caf5

Function at 0x41cb15
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0x4827e8
lea ecx, [ebp - 0xc]
call fcn.0041f001
xor ebx, ebx
lea ecx, [ebp - 0xc]
push ebx
push str._inst_m
call fcn.0041f205
lea ecx, [ebp - 0xc]
call fcn.0041fee9
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41cb92
mov ecx, 0x482d40
call fcn.0041fee9
push eax
push str.AstrumInstaller
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x41cb90
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41cb89
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.0041f063
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41cc57
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 [0x482ad4], ebx
push esi
je 0x41ccdf
lea eax, [ebp - 4]
mov ecx, 0x482a3c
push eax
mov eax, dword [0x483760]
or eax, 0x20019
mov dword [ebp - 4], ebx
push eax
push ebx
call fcn.0041fee9
push eax
push dword [0x482a38]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ccdf
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 0x41cce6
xor al, al
jmp 0x41cd72
lea eax, [ebp - 0x1a0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041ef9d
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041f1a1
cmp al, 0x22
je 0x41cd17
push ebx
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041fbbf
push 0x22
lea ecx, [ebp - 0x10]
call fcn.0041f1b6
push 0x44
lea eax, [ebp - 0x68]
pop esi
push esi
push ebx
push eax
call fcn.004282e0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.004282e0
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.0041fee9
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41cd68
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0041f063
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x41dfe7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x482ad0], edi
mov esi, ecx
mov ebx, 0x42fb94
je 0x41e05f
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
add esi, 0x124
lea eax, [ebp - 0x110]
push eax
mov ecx, esi
call fcn.0041f0d0
mov eax, dword [esi]
mov ecx, esi
dec eax
push eax
call fcn.0041f1a1
cmp al, 0x5c
jne 0x41e08d
mov eax, dword [esi]
push 1
dec eax
mov ecx, esi
push eax
call fcn.0041f567
jmp 0x41e08d
add esi, 0x124
push 0x482b90
mov ecx, esi
call fcn.0041f13e
push 1
push edi
push ebx
mov ecx, esi
call fcn.0041f999
push eax
push edi
mov ecx, esi
call fcn.0041fe55
push eax
mov ecx, esi
call fcn.0041f13e
cmp dword [0x482ad0], 0
je 0x41e12b
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
xor esi, esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0xc]
push eax
call fcn.0041ef9d
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041f999
cmp eax, 0xffffffff
je 0x41e123
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041f567
push 1
push esi
push ebx
lea ecx, [ebp - 0xc]
call fcn.0041f999
cmp eax, 0xffffffff
je 0x41e123
mov ecx, dword [ebp - 0xc]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.0041f567
lea eax, [ebp - 0xc]
mov ecx, 0x482ae8
push eax
call fcn.0041f13e
lea ecx, [ebp - 0xc]
jmp 0x41e1e9
and byte [ebp - 0x110], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [ebp - 0x110], 0
je 0x41e1ee
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp + eax - 0x111], 0x5c
je 0x41e186
lea eax, [ebp - 0x110]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0xc]
and esi, 0x7fffffff
call fcn.0041ef2d
push 0x432518
lea ecx, [ebp - 0xc]
call fcn.0041f0d0
mov eax, esi
inc esi
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push str._sinst_d
push eax
call fcn.0041f625
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.0041fee9
push eax
call fcn.0040f27e
test al, al
pop ecx
jne 0x41e19c
lea eax, [ebp - 0xc]
mov ecx, 0x482ae8
push eax
call fcn.0041f13e
lea ecx, [ebp - 0xc]
call fcn.0041f063
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e43f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea esi, [ecx + 0x188]
xor ebx, ebx
push edi
mov ecx, dword [esi]
cmp ecx, ebx
je 0x41e45c
push ebx
call fcn.00407f13
mov dword [esi], ebx
push dword [0x482604]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [0x482c40], ebx
je 0x41e49f
cmp byte [0x48376d], 0
je 0x41e483
push ebx
call dword [0x482be4]
pop ecx
cmp byte [0x48376c], 0
je 0x41e495
push 1
call dword [0x482be4]
pop ecx
mov ecx, 0x482be0
call fcn.00421e02
mov ecx, 0x482750
call fcn.0041ee95
cmp byte [ebp + 8], 0
je 0x41e4c5
mov eax, dword [0x48374c]
cmp eax, ebx
je 0x41e4c5
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x48374c], ebx
cmp dword [0x482c54], ebx
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp + 8], ebx
jle 0x41e4fe
xor edi, edi
mov eax, dword [0x482c50]
cmp dword [edi + eax], ebx
lea ecx, [edi + eax]
jbe 0x41e4ed
call fcn.0041fee9
push eax
call esi
inc dword [ebp + 8]
add edi, 0xc
mov eax, dword [ebp + 8]
cmp eax, dword [0x482c54]
jl 0x41e4d8
cmp dword [0x4829dc], ebx
mov dword [ebp + 8], ebx
mov edi, 0x4829d0
jle 0x41e548
push dword [ebp + 8]
mov ecx, edi
call fcn.00421fe1
mov ebx, eax
lea ecx, [ebx + 4]
call fcn.0041fee9
push eax
call esi
test ebx, ebx
je 0x41e538
lea ecx, [ebx + 4]
call fcn.0041f063
push ebx
call fcn.00428bae
pop ecx
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [0x4829dc]
jl 0x41e50e
xor ebx, ebx
mov ecx, edi
call fcn.004220a2
lea ecx, [ebp - 0x10]
call fcn.0041ef2d
mov dword [ebp - 4], ebx
push ebx
mov edi, 0x482a20
mov ecx, edi
call fcn.0041fb90
test al, al
je 0x41e59f
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
inc ebx
call fcn.0041faed
test bl, 1
je 0x41e58f
lea ecx, [ebp - 0x10]
call fcn.0041fee9
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
lea ecx, [ebp - 0x10]
call fcn.0041fee9
push eax
call esi
push dword [ebp - 4]
jmp 0x41e560
push 0x432518
mov ecx, edi
call fcn.0041f0d0
mov ecx, 0x4823ec
call fcn.0041fee9
push eax
call esi
mov ecx, 0x4823f8
call fcn.0041fee9
push eax
call esi
mov ecx, 0x4823e0
call fcn.0041fee9
push eax
call esi
mov ecx, 0x482c78
call fcn.0041fee9
push eax
call esi
push dword [0x482600]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x10]
call fcn.0041f063
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4