joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4adf1e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b67d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004a195b
mov dword [ebp - 0x14], eax
cmp dword [0xa9913c], esi
jne 0x4ae011
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4adf9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ae0f1
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4ae0f1
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ae0f1
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa9913c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa99140], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa99144], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9914c], eax
test eax, eax
je 0x4ae00e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa99148], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ae036
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ae029
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4ae04b
push 4
pop eax
jmp 0x4ae0f3
cmp dword [ebp - 0x14], esi
je 0x4ae04b
push dword [0xa9913c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4ae030
mov eax, dword [0xa99148]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4ae0a9
cmp dword [0xa9914c], edi
je 0x4ae0a9
push eax
call ebx
push dword [0xa9914c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ae0a9
test eax, eax
je 0x4ae0a9
call ecx
test eax, eax
je 0x4ae09e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4ae09e
test byte [ebp - 8], 1
jne 0x4ae0a9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4ae0d9
mov eax, dword [0xa99140]
cmp eax, edi
je 0x4ae0d6
push eax
call ebx
test eax, eax
je 0x4ae0d6
call eax
mov esi, eax
test esi, esi
je 0x4ae0d6
mov eax, dword [0xa99144]
cmp eax, edi
je 0x4ae0d6
push eax
call ebx
test eax, eax
je 0x4ae0d6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa9913c]
call ebx
test eax, eax
je 0x4ae0f1
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4ae0f3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049edbb
mov esp, ebp
pop ebp
ret
Function at 0x405ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7bd274], 0
push esi
jne 0x405f2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f08
mov dword [ecx*4 + 0x7bd270], eax
inc ecx
cmp ecx, 0x100
jl 0x405f03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7bd270]
xor eax, esi
inc ecx
dec edx
jne 0x405f41
pop edi
not eax
pop esi
ret 0xc

Function at 0x43cf67
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43ccda
pop edx
call fcn.0043cf91
sub esp, 4
mov dword [esp], esi
pop edi
xor dword [eax], edx
sub esi, esi
inc eax
or esi, edi
cmp eax, ecx
jne fcn.0043cf67
add edi, 0xfe6fda6
inc edi
ret

Function at 0x484cea
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x484a08
dec eax
inc ebx
call fcn.00484d2b
add eax, eax
xor dword [esi], edi
add eax, 0xd013b2e6
add esi, 2
sub eax, 0xbd36f18d
mov ebx, ebx
inc eax
cmp esi, ecx
jl fcn.00484cea
add ebx, 0x4fa68335
mov eax, eax
mov eax, ebx
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
or byte [ebx - 0x31ac37f3], cl
add byte [eax - 0x7d], dl
rol dword [ebp - 0x30], 0x74
rol byte [eax], cl
push ecx
call dword [0xd7aec180]
add al, 0xac
add al, byte [ecx]
invalid

Function at 0x40ad90
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
fmul qword [ebx + 0x8458b15]
mov ah, pe_nt_image_headers32
add dh, byte [esi + ebx - 1]
in al, 0x2c
ror dh, 0
mov dword [eax], 0x271c
xor edx, ebx
pop ebp
push ds
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0x5251b948]
sbb dword [eax + eax], edx
add byte [eax], al
adc dword [esp + ecx - 0x6f6f3ca3], 0xffffff90
nop
nop
pop esi
xor byte [ebp - 0x6fcfedfe], ch
nop
nop
nop
sub al, 0x8b
in al, dx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x70]
cmp eax, 0x10
jae 0x40adee
call ecx
sub al, 0x6d
mov dword [eax], 0xa21c004e
add byte [eax], al
xor eax, eax
invalid
push ebx
push esi
dec edx
jne 0x40adfb
push edi
mov edi, 4
mov al, byte [esi]
and byte [ebx], bh
mov byte [ebp + 0x10], ah
jbe 0x40ae1d
mov eax, dword [ebp + 0x6e]
mov ebx, 0x33
and eax, 0xff
add byte [eax], al
cdq
jecxz 0x40ae0e
add al, 0xae
mov byte [ebp + 0x39], dl
cdq
add dword [ecx + 5], eax
add al, 0x3c
or dword [esi + 0x17], esi
cmp al, 9
jbe 0x40ae38
mov eax, dword [ebp + 0x10]
mov ebx, 0xe50a
mov al, byte [0x58000099]
cdq
idiv ebx
add al, 0x30
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x2e
inc ecx
jnp 0x40aeb8
mov ch, 0x8b
inc ebp
or al, 0x5f
pop esi
mov byte [ecx - 1], 0
pop ebx
pop ebp
ret
adc al, 0x84
mov dword [ebx + 0xc], ecx
or eax, 0x6c0a015
push ecx
mov edx, dword [ebx + 0xc]
mov dword [0xc438310], eax
mov ecx, dword [eax - 0x5e]
test dword [esi + 0x75], esi
and eax, 0xc0a9358b
inc eax
add byte [eax], al
salc
mov byte [0x25757685], al
mov esi, dword [0x40c0a9]
add dh, dl
xchg ecx, eax
fnstenv [ebp + 9]
pop edi
xor byte [ebp + esi*8 + 0x50c25de5], 0
call esi
pop edi
pop esi
add eax, 0xafcef
pop ebx
mov esp, ebp
jge 0x40aea2
or al, 0xff
mov eax, dword [ebx + 0x30]
or edi, 0xffffffff
cmp eax, edi
mov eax, dword [ebp + 0xc]
je 0x40af17
mov cl, byte [ebx + 0x30]
imul ecx, dword [eax], 0x4a406c8b
push ebp
push ss
mov dword [ebx + 0x30], edi
mov ecx, dword [ebx]
mov dword [ebp + 0xc], eax
cmp al, 0xc9
jne 0x40af17
mov dword [esi], 0xfcd40d01
xchg byte [esi + 0x33], bl
sub bl, byte [ebx - 0x75]
in eax, 0x5d
ret 0xc
mov cl, byte [ebx + 0x2c]
test bl, bl
jae 0x40aea2
sbb eax, 0x8b00e601
push ebx
pop eax
mov edi, dword [esi]
push edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
call 0xff8aa2d0
and dword [esi + 0x2dee0148], 0x53
call fcn.0040b2eb
xor ecx, ecx
mov ebx, eax
cwde
cmp eax, ecx
je 0x40af5d
mov eax, dword [ebx + 0x58]
push eax
call 0xe240a340
mov eax, dword [ebp + 8]
push ss
pop esi
pop ebx
mov edx, dword [ecx]
pop ebp
ret 0xc
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], ecx
invalid
Function at 0x4021f3
Capabilities:
Get common file path
Timestomp file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push edi
lea eax, [ebp - 0x74]
xor edi, edi
push eax
mov ebx, ecx
mov dword [ebp - 0x58], edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp dword [ebx + 0xfc], edi
je 0x402242
mov ecx, ebx
call fcn.00401d5e
test eax, eax
je 0x40224b
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0xfc], eax
cmp dword [ebx + 0x104], edi
jne 0x402276
lea eax, [ebp - 0x54]
push eax
call fcn.00402ff2
test eax, eax
pop ecx
jge 0x40226b
mov eax, 0x80004005
jmp 0x4023aa
call fcn.00401c29
mov dword [ebx + 0x104], eax
mov ax, word [ebp + 0x5a8]
push esi
mov esi, dword [ebp + 0x5b0]
cmp esi, edi
mov word [ebx + 0x100], ax
mov al, byte [ebp + 0x5ac]
mov byte [ebx + 0x20], al
je 0x40229f
lea edi, [ebx + 0x21]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp + 0xb0]
push eax
mov ecx, ebx
call fcn.00401d7a
mov dword [ebp - 0x5c], eax
push 0x104
lea eax, [ebp + 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [ebp + 0x498]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4022c9
mov esi, 0x41a30c
movsw word es:[edi], word [esi]
call fcn.00401ec0
add eax, 8
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022e2
lea edi, [ebp + 0x498]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4022f2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
push edi
push 2
push 2
push edi
push 2
push 0x40000000
lea eax, [ebp + 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, edi
jne 0x402335
mov dword [ebp - 0x58], 1
jmp 0x402380
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x5c]
lea eax, [ebp + 0xb0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402356
mov dword [ebp - 0x58], 1
dec word [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
inc word [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x5c]
lea eax, [ebp + 0xb0]
push eax
push edi
call fcn.00401ee9
add esp, 0xc
test eax, eax
pop esi
jge 0x4023a1
cmp dword [ebp - 0x58], edi
jne 0x402261
mov ecx, ebx
call fcn.00401e7c
xor eax, eax
mov ecx, dword [ebp + 0x59c]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040b00e
add ebp, 0x5a0
leave
ret 0xc
Function at 0x402508
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0040b020
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x500
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
leave
ret

Function at 0x40256a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0040b020
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x100
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
leave
ret

Function at 0x4025c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x374]
sub esp, 0x3f4
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp + 0x370], eax
xor eax, eax
cmp dword [ebp + 0x380], eax
push esi
mov esi, dword [ebp + 0x37c]
setne al
lea ecx, [ebp - 0x7c]
push ecx
push 0x20019
push 0
push str.SoftwareVerbAce_ResearchVerbAce_ProRegInfo
mov dword [ebp - 0x80], 0x3e8
add eax, 0x80000001
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402623
mov eax, 0x80004005
jmp 0x402667
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.data
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40261c
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call fcn.00401a11
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0040195a
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp + 0x370]
xor ecx, ebp
pop esi
call fcn.0040b00e
add ebp, 0x374
leave
ret
Function at 0x40267d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp dword [ebp + 0xc], esi
push edi
setne bl
lea eax, [ebp - 0x3ec]
push eax
add ebx, 0x80000001
call fcn.0040169b
mov edi, eax
lea eax, [ebp - 0x3ec]
push edi
push eax
call fcn.00401a32
pop ecx
pop ecx
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f0]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareVerbAce_ResearchVerbAce_ProRegInfo
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x402716
push edi
lea eax, [ebp - 0x3ec]
push eax
push 3
push esi
push str.data
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x3f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x40271b
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b00e
leave
ret

Function at 0x402b82
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
xor eax, eax
push eax
push eax
push 0x17
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x402bcf
push str.VerbAce_Pro
lea eax, [ebp - 0x108]
push eax
push 0x41a3e0
push esi
call fcn.0040b11c
add esp, 0x10
xor eax, eax
jmp 0x402bd4
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b00e
leave
ret

Function at 0x402be1
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x108]
push eax
push str._ProgramFiles_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x402c36
push str.VerbAce_Pro
push str.VerbAce_Research
lea eax, [ebp - 0x108]
push eax
push str._s_s_s
push esi
call fcn.0040b11c
add esp, 0x14
xor eax, eax
jmp 0x402c3b
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040b00e
leave
ret
Function at 0x402e99
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x374]
sub esp, 0x3f4
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp + 0x370], eax
push esi
mov esi, dword [ebp + 0x37c]
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
push 0x41a688
push 0x80000002
mov dword [ebp - 0x80], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402ee8
mov eax, 0x80004005
jmp 0x402f2c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.data
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402ee1
push dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call fcn.00401a11
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0040195a
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp + 0x370]
xor ecx, ebp
pop esi
call fcn.0040b00e
add ebp, 0x374
leave
ret

Function at 0x4034f6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea edx, [ebp - 0x108]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403518
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push edi
call esi
test eax, eax
je 0x403535
xor eax, eax
jmp 0x40357f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403531
cmp eax, 3
jne 0x40357a
lea eax, [ebp - 0x108]
push eax
call fcn.00401a53
lea eax, [ebp - 0x108]
push eax
call fcn.004034f6
test eax, eax
pop ecx
pop ecx
jl 0x40357a
push 0
push edi
call esi
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
jmp 0x40357f
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b00e
leave
ret
Function at 0x40358d
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
mov ebx, dword [ebp + 0x98]
push esi
mov eax, ebx
push edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4035b6
sub eax, edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov edx, ebx
sub ecx, ebx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4035c9
mov eax, dword [ebp - 0x7c]
cmp eax, 3
jbe 0x4035f9
push 4
mov edi, 0x41a758
lea esi, [ebx + eax - 3]
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4035f9
mov dword [ebp - 0x80], ebx
lea ebx, [ebp - 0x78]
mov byte [ebp + eax - 0x7b], dl
jmp 0x403610
lea eax, [ebp - 0x78]
mov edi, eax
mov dword [ebp - 0x80], eax
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403602
mov esi, 0x41a758
movsd dword es:[edi], dword [esi]
push 0x41a754
push dword [ebp - 0x80]
call fcn.004052d0
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x403668
push 0x41a750
push ebx
call fcn.0040b9e6
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
je 0x403668
mov esi, 0x104
push esi
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.004052f0
mov ebx, eax
add esp, 0xc
test ebx, ebx
push dword [ebp - 0x7c]
je 0x403685
push ebx
lea eax, [ebp - 0x78]
push 1
push eax
call fcn.0040b895
add esp, 0x10
cmp eax, ebx
je 0x40363e
mov eax, 0x80004005
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b00e
add ebp, 0x90
leave
ret
call fcn.0040b6ff
test eax, eax
pop ecx
jne 0x403668
push edi
call fcn.00404fd0
test eax, eax
pop ecx
jne 0x403668
push dword [ebp - 0x80]
call fcn.00419766
pop ecx
xor eax, eax
jmp 0x40366d
Function at 0x403777
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1b0]
push ebx
mov ebx, dword [ebp + 0x1ac]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1b4]
push esi
push edi
mov edi, dword [ebp + 0x1a8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1b8]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x70]
push eax
push 0x41e568
push 1
push 0
push 0x41e588
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x403858
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push 0x41e578
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x40384f
push 0x104
lea eax, [ebp - 0x6c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x7c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x6c]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0x19c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b00e
add ebp, 0x1a0
leave
ret

Function at 0x403872
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp - 0x108]
push str._s
push eax
call fcn.0040b11c
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40392c
cmp byte [ebp - 0x21c], 0x2e
je 0x4038f0
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x108]
push 0x41a3e0
push eax
call fcn.0040b11c
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x403930
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4038ba
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b00e
leave
ret
xor eax, eax
jmp 0x40391e
mov eax, 0x80004005
jmp 0x40391e
Function at 0x403c32
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x422108]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x310]
push eax
call fcn.00402b82
test eax, eax
pop ecx
jge 0x403c60
mov eax, 0x80004005
jmp 0x403e1f
lea eax, [ebp - 0x310]
push eax
call fcn.00403872
pop ecx
push 0
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jl 0x403c56
push ebx
push esi
push edi
mov edi, 0x42395e
push edi
lea eax, [ebp - 0x414]
push 0x41a390
push eax
call fcn.0040b11c
push str.VerbAce_Pro.exe
push edi
mov esi, 0x41a3e0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040b11c
push str.VerbAce_Pro.lnk
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040b11c
lea eax, [ebp - 0x414]
push eax
mov ebx, str.VerbAce_Pro_Translation_Software
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x41a378
push eax
call fcn.00403777
add esp, 0x40
lea eax, [ebp - 0x518]
push eax
xor eax, eax
push eax
push eax
push 0x18
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x403d47
push str.VerbAce_Pro_Startup_Agent.lnk
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040b11c
lea eax, [ebp - 0x414]
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.AutoRun
push eax
call fcn.00403777
add esp, 0x24
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0
push 0x405
push 0x3fb
push dword [0x4238e4]
call ebx
push str.VerbAce_Pro.chm
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040b11c
push str.VerbAce_Pro_Help.lnk
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040b11c
lea eax, [ebp - 0x414]
push eax
push str.Open_VerbAce_Pro_Help
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x41a378
push eax
call fcn.00403777
add esp, 0x34
push 0
push 0
push 0x405
push 0x3fb
push dword [0x4238e4]
call ebx
push str.VAInstBroker.exe
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0040b11c
push str.Uninstall_VerbAce_Pro.lnk
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040b11c
push 0
push str.Uninstall_VerbAce_Pro
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.Uninst
push eax
call fcn.00403777
add esp, 0x34
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b00e
leave
ret