joyce8/EMBER2024-capa huggingface dataset:
Function at 0x88b7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d6000]
push edi
or ebp, 0xffffffff
jmp 0x88b7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x88b7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b7c8
mov eax, 1
add ebx, ebx
jne 0x88b7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x88b7fc
jne 0x88b81b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b81b
dec eax
add ebx, ebx
jne 0x88b808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x88b7e0
add ebx, ebx
jne 0x88b817
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x88b86d
xor ecx, ecx
sub eax, 3
jb 0x88b833
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88b8a2
sar eax, 1
mov ebp, eax
jmp 0x88b83e
add ebx, ebx
jne 0x88b83e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b80c
inc ecx
add ebx, ebx
jne 0x88b84c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b80c
add ebx, ebx
jne 0x88b859
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x88b84e
jne 0x88b86a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x88b84e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x88b88c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x88b87e
jmp 0x88b7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x88b88c
add edi, ecx
jmp 0x88b7ce
pop esi
mov edi, esi
mov ecx, 0x6992
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x88b8aa
cmp byte [edi], 0x13
jne 0x88b8aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x88b8af
lea edi, [esi + 0x482000]
mov eax, dword [edi]
or eax, eax
je 0x88b927
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48fb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48fcd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x88b8dc
mov ecx, edi
jns 0x88b90b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x48fcd8]
or eax, eax
je 0x88b921
mov dword [ebx], eax
add ebx, 4
jmp 0x88b8f9
call dword [esi + 0x48fce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x88b958
cmp al, 0xef
ja 0x88b94b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x88b92d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x88b93a
mov ebp, dword [esi + 0x48fcdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x88b98c
sub esp, 0xffffff80
jmp 0x4aeda0
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x2de03823
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x64cf78cc
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3d98319b
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x3cf028c9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402240
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404144], eax
mov ecx, ebp
add ecx, 8
mov dword [0x4040e2], ecx
mov dword [0x404148], 0x30
mov dword [0x40414c], 2
mov dword [0x404154], 0
mov dword [0x404158], 0
mov dword [0x404150], 0x4025d0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x40415c], eax
mov dword [0x404168], 0xf
mov dword [0x404170], 0x40386b
mov dword [0x4040da], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404160], eax
mov dword [0x404174], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x404164], eax
push 0x404148
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040da]
push 0
push 0
push 0x24e
push 0x320
push 0xd8
push 0xa0
push 0x40000
push str.myform
push 0x40386b
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x40413c], eax
xor eax, eax
jmp 0x40232b
push eax
push dword [0x40413c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x40413c]
call dword [sym.imp.user32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x404178
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x402371
push 0x404178
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x404178
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x402344
mov eax, dword [0x404180]
call fcn.00401208
ret

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x717b7e90
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x58a67162
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x42c7427e
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6eb2765f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406f09
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406f44
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x406f40
lea ebx, [ebx]
cmp esi, eax
jae 0x406f44
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x406f30
cmp esi, eax
jb 0x406f4a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407460
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
push 0x103
lea eax, [esp + 0x115]
push 0
push eax
mov byte [esp + 0x11c], 0
call fcn.0042e2e0
add esp, 0xc
push 0
push 0x23
lea ecx, [esp + 0x118]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x103
lea edx, [esp + 0x11]
push 0
push edx
mov byte [esp + 0x18], 0
call fcn.0042e2e0
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x110]
mov byte [esp + eax + 0xc], cl
inc eax
test cl, cl
jne 0x4074d0
lea edi, [esp + 0xc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4074e5
mov ecx, 7
mov esi, str.Net_Protector_npav4PopUpB.ini
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
movsw word es:[edi], word [esi]
push ebp
push str.POP_UP_BLOCK
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x214]
dec eax
pop edi
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.0042e2c5
add esp, 0x20c
ret

Function at 0x407530
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 4]
push eax
push esi
push 0
push str.Common_AppData
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x104
mov byte [esi], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
dec esi
mov eax, esi
pop esi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407562
mov ecx, dword [str.Net_Protector]
mov dword [eax], ecx
mov edx, dword [0x45bcac]
mov dword [eax + 4], edx
mov ecx, dword [0x45bcb0]
mov dword [eax + 8], ecx
mov dx, word [0x45bcb4]
mov word [eax + 0xc], dx
mov cl, byte [0x45bcb6]
mov byte [eax + 0xe], cl
pop ecx
ret
Function at 0x4075a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push str.SOFTWAREVB_and_VBA_Program_SettingsSPYWAREPROTECTIONConfig
push SysReAllocString
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4075ed
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push esi
push eax
push eax
push str.ZVpath
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ecx
ret

Function at 0x4075f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x108
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x104], eax
lea eax, [esp]
push eax
mov byte [esp + 4], 0
call fcn.004075a0
lea eax, [esp + 4]
add esp, 4
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407620
mov ecx, dword [str.CReport.Dll]
mov edx, dword [0x45bd68]
mov dword [eax], ecx
mov ecx, dword [0x45bd6c]
mov dword [eax + 4], edx
mov dl, byte [0x45bd70]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x407670
xor eax, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x108
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x407659
push str.AddEntry_OnLine
push eax
mov dword [0x46f734], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x104]
xor edx, edx
test eax, eax
setne dl
mov dword [0x46f734], eax
xor ecx, esp
mov eax, edx
call fcn.0042e2c5
add esp, 0x108
ret

Function at 0x4077c0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4077f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_failed_with__d_n
call fcn.0042dad9
add esp, 8
xor eax, eax
add esp, 0x1c
ret
lea ecx, [esp + 4]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x407824
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_failed_with__d_n
call fcn.0042dad9
add esp, 8
xor eax, eax
add esp, 0x1c
ret
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push esi
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x407880
call esi
push eax
push str.AdjustTokenPrivileges_failed_with__d_n
call fcn.0042dad9
add esp, 8
xor eax, eax
pop esi
add esp, 0x1c
ret
mov eax, 1
pop esi
add esp, 0x1c
ret
Function at 0x407890
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call fcn.0042e2e0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x4078e5
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
je 0x407952
cmp dword [esp + 0x14], 2
jne 0x407952
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x407942
mov ecx, dword [esp + 0xc]
mov eax, 1
cmp ecx, eax
jne 0x407922
mov dword [0x47013c], eax
mov dword [0x470140], eax
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0042e2c5
add esp, 0xa0
ret
cmp ecx, 2
jne 0x407952
mov dword [0x47013c], eax
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.0042e2c5
add esp, 0xa0
ret
cmp eax, 6
jne 0x407952
mov eax, 1
cmp dword [esp + 0xc], eax
je 0x407907
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042e2c5
add esp, 0xa0
ret

Function at 0x4079c0
Capabilities:
Delete file
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x104
lea eax, [esp + 4]
push 0
push eax
call fcn.0042e2e0
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.00407970
push 0x104
lea edx, [esp + 0x11c]
push 0
push edx
call fcn.0042e2e0
add esp, 0x20
push str.c:zvcryp_inf.ini
push 0x104
lea eax, [esp + 0x10c]
push eax
push 0x45be70
lea ecx, [esp + 0x10]
push ecx
push 0x45be6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x104]
push 0x45be68
push edx
call fcn.0045290b
add esp, 8
test eax, eax
je 0x407a6d
push str.c:zvcryp_inf.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x20c
ret
mov ecx, dword [esp + 0x208]
xor ecx, esp
mov al, 1
call fcn.0042e2c5
add esp, 0x20c
ret
Function at 0x407c90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x378
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x374], eax
push 0x104
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.0042e2e0
lea ecx, [esp + 0x74]
push ecx
call fcn.004075a0
lea eax, [esp + 0x78]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407cd0
sub eax, edx
je 0x407e42
lea edx, [esp + 0x68]
push edx
call fcn.0042fb5a
lea eax, [esp + 0x6c]
push str.ZVSCAN
push eax
call fcn.0042e840
add esp, 0xc
test eax, eax
je 0x407e42
push esi
push edi
lea edi, [esp + 0x70]
mov byte [eax], 0
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407d10
mov ecx, 9
mov esi, str.FASTSCANpassmacleaner.exe__SCANPC
push 0x44
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0042e2e0
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x90]
push ecx
push 0
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
test eax, eax
je 0x407e42
xor eax, eax
lea edx, [esp]
push edx
mov dword [0x470150], 1
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x104
lea eax, [esp + 0x274]
push 0
push eax
call fcn.0042e2e0
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0xe]
movzx eax, word [esp + 0x12]
push ecx
push edx
push eax
lea ecx, [esp + 0x288]
push str._02d:_02d:_04d
push ecx
call fcn.0042e476
lea edx, [esp + 0x18c]
push edx
call fcn.00407530
lea eax, [esp + 0x190]
add esp, 0x24
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407df5
mov ecx, dword [str._npav4.ini]
mov edx, dword [0x45beb0]
mov dword [eax], ecx
mov cx, word [0x45beb4]
mov dword [eax + 4], edx
mov dl, byte [0x45beb6]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x16c]
push eax
lea ecx, [esp + 0x274]
push ecx
push 0x45bea8
push 0x45bea4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x378
ret
Function at 0x407e60
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x324
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x320], eax
lea eax, [esp + 0x14]
push eax
call fcn.00407530
lea eax, [esp + 0x18]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407e88
sub eax, edx
jne 0x407ea8
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x324
ret
lea eax, [esp + 0x14]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407eb0
mov ecx, dword [str._npav4.ini]
mov edx, dword [0x45beb0]
mov dword [eax], ecx
mov cx, word [0x45beb4]
mov dword [eax + 4], edx
mov dl, byte [0x45beb6]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x224]
push ecx
push 0x45b5a5
push 0x45bea8
push 0x45bea4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor eax, eax
lea edx, [esp]
push edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x104
lea eax, [esp + 0x11c]
push 0
push eax
call fcn.0042e2e0
movzx ecx, word [esp + 0xc]
movzx edx, word [esp + 0xe]
movzx eax, word [esp + 0x12]
push ecx
push edx
push eax
lea ecx, [esp + 0x130]
push str._02d:_02d:_04d
push ecx
call fcn.0042e476
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x240]
push eax
call fcn.0045290b
mov ecx, dword [esp + 0x348]
add esp, 0x28
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.0042e2c5
add esp, 0x324
ret
Function at 0x407f90
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
sub esp, 0x314
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x310], eax
call fcn.00407b00
push 0x104
lea eax, [esp + 8]
push 0
push eax
call fcn.0042e2e0
lea ecx, [esp + 0x10]
push ecx
call fcn.004075a0
lea eax, [esp + 0x14]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407fd0
sub eax, edx
je 0x408133
push 0x104
lea edx, [esp + 0x10c]
push 0
push edx
call fcn.0042e2e0
add esp, 0xc
xor eax, eax
jmp 0x408000
mov cl, byte [esp + eax + 4]
mov byte [esp + eax + 0x108], cl
inc eax
test cl, cl
jne 0x408000
lea eax, [esp + 4]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408015
mov ecx, dword [str.lClean.dll]
mov edx, dword [0x45bf10]
mov dword [eax], ecx
mov ecx, dword [0x45bf14]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea eax, [esp + 0x108]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408040
mov edx, dword [str.lClean2.dll]
mov ecx, dword [0x45bf00]
mov dword [eax], edx
mov edx, dword [0x45bf04]
mov dword [eax + 4], ecx
mov cl, byte [0x45bf08]
mov dword [eax + 8], edx
lea edx, [esp + 0x108]
push edx
mov byte [eax + 0xc], cl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x408133
push 0x104
lea eax, [esp + 0x210]
push 0
push eax
call fcn.0042e2e0
add esp, 0xc
xor eax, eax
lea ebx, [ebx]
mov cl, byte [esp + eax + 4]
mov byte [esp + eax + 0x20c], cl
inc eax
test cl, cl
jne 0x4080a0
lea eax, [esp + 0x20c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4080b8
mov ecx, dword [str..npav4]
mov dx, word [0x45bef8]
mov dword [eax], ecx
mov cl, byte [0x45befa]
mov word [eax + 4], dx
push 1
lea edx, [esp + 0x210]
mov byte [eax + 6], cl
push edx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
call fcn.00407e60
test eax, eax
je 0x408129
call fcn.00407c90
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x314
ret
mov dword [0x470150], 1
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.0042e2c5
add esp, 0x314
ret