joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4042d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x804
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00410d60
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
lea edi, [esp + 0x18]
mov esi, str.ZVpath
mov ecx, reloc.WS2_32.dll_bind
call fcn.00404f40
mov edx, edi
push 0x5c
push edx
call fcn.0040f554
add esp, 0x18
test eax, eax
je 0x40432b
xor ecx, ecx
mov word [eax], cx
push str.DCUDD.dll
lea edx, [esp + 0xc]
push 0x400
push edx
call fcn.0040ec9c
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40438b
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x42ff04], eax
test eax, eax
je 0x40438b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeviceEventNotify
push eax
call esi
mov edx, dword [0x42ff04]
push str.EnableAllDevices
push edx
mov dword [0x43098c], eax
call esi
mov dword [0x42ff00], eax
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.0040e6d9
add esp, 0x804
ret

Function at 0x4043b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x85c], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.00410d60
add esp, 0xc
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
lea edi, [esp + 0x64]
mov esi, str.ZVpath
mov ecx, reloc.WS2_32.dll_bind
call fcn.00404f40
add esp, 4
mov edx, edi
push 0x5c
push edx
call fcn.0040f554
add esp, 8
test eax, eax
je 0x404411
xor ecx, ecx
mov word [eax], cx
push 0x42766c
lea edx, [esp + 0x64]
push 0x400
push edx
call fcn.0040ec9c
add esp, 0xc
mov edi, str.ZVMOUNT.EXE
call fcn.004044d0
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00410d60
add esp, 0xc
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push eax
mov word [esp + 0x4e], cx
lea ecx, [esp + 0x1c]
push ecx
push edx
push edx
push 0x8000000
push edx
push edx
push edx
mov word [esp + 0x68], dx
lea edx, [esp + 0x80]
push edx
push 0
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4044a7
lea eax, [esp + 0x60]
push eax
push str._s_process_launched_successfully
jmp 0x4044b1
lea ecx, [esp + 0x60]
push ecx
push str._s_process_failed_to_launch
call fcn.00404e10
mov ecx, dword [esp + 0x86c]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.0040e6d9
add esp, 0x864
ret
Function at 0x4044d0
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x240
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push 0
push 2
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4045a0
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x404599
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x404599
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea edx, [esp + 0x38]
push edi
push edx
call fcn.0040f49b
add esp, 8
test eax, eax
jne 0x40458a
push edi
push str._s_Process_Running_found__Killing_Process
call fcn.00404e10
mov esi, dword [esp + 0x24]
add esp, 8
call ebx
cmp eax, 0x80000000
jae 0x404566
call fcn.00401520
push esi
push 0
push 0x1fffff
call ebp
mov esi, eax
test esi, esi
je 0x404586
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x404534
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x248]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6d9
add esp, 0x240
ret
Function at 0x404cd0
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x404d1c
push 0xf01ff
push str.NPAV_ACClient
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x404d24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed__Error_:__d
call fcn.00404e10
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
add esp, 0x1c
ret
lea eax, [esp + 8]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x404d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed__Error_:__d
call fcn.00404e10
add esp, 8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
xor eax, eax
pop edi
pop esi
add esp, 0x1c
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret

Function at 0x404d90
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 4], eax
push str.C:zvNPADC
mov dword [esp + 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404df7
push 0x427e54
lea eax, [esp + 4]
push str.C:zvNPADCNPACClientSrv.log
push eax
call fcn.0040fde7
mov eax, dword [esp + 0xc]
add esp, 0xc
test eax, eax
je 0x404df7
push eax
push esi
call fcn.0040fe3a
mov ecx, dword [esp + 8]
push ecx
push 0x427e98
call fcn.0040fe3a
mov edx, dword [esp + 0x10]
push edx
call fcn.0040ff5d
add esp, 0x14
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0040e6d9
add esp, 8
ret
Function at 0x404f40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov ebp, dword [esp + 0x228]
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00410d60
push 0x424e08
push edi
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, esi
add esp, 0x14
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f92
sub eax, edx
sar eax, 1
je 0x40509e
lea edx, [esp + 8]
push edx
push 1
push 0
push ebp
push ebx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40509e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push esi
push eax
call ebx
test eax, eax
jne 0x405093
cmp dword [esp + 0x10], 4
jne 0x40504e
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push esi
push ecx
call ebx
test eax, eax
jne 0x40504e
mov edx, dword [esp + 0x14]
push edx
push 0x427f04
mov edx, edi
call fcn.0040db10
mov eax, dword [esp + 0x10]
add esp, 8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0040e6d9
add esp, 0x21c
ret
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
xor ecx, ecx
push 0x104
push edi
mov word [esp + edx*2 + 0x24], cx
call fcn.0040ee2f
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0040e6d9
add esp, 0x21c
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040e6d9
add esp, 0x21c
ret
Function at 0x4050c0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xe4
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xec]
push ebx
push ebp
mov ebp, dword [esp + 0xf0]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov esi, edx
lea edx, [esp + 0x20]
push 0x424e08
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call edi
mov eax, esi
add esp, 8
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405110
sub eax, edx
sar eax, 1
jne 0x40512c
push 0x424e08
push esi
call edi
add esp, 8
push esi
call fcn.00404e10
mov eax, esi
add esp, 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405140
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405156
sub eax, edx
sar eax, 1
je 0x4051d1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ecx, dword [esp + 0x18]
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 3
push 0
push 0
push 0
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40524c
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [ebx + ebx]
push edx
push esi
push 1
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4051ca
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40524e
mov eax, dword [esp + 0x10]
push eax
jmp 0x405246
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 3
xor ecx, ecx
push ecx
push eax
push ebp
mov word [esp + 0x34], cx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40524c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
lea eax, [esp + 0x20]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405200
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x405241
call esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x40524e
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6d9
add esp, 0xe4
ret
Function at 0x406d70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x2d0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xd2]
push ecx
mov word [esp + 0xd4], ax
call fcn.00410d60
xor edx, edx
push 0xc6
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.00410d60
push 0x430728
push str._scclm.ini
lea edx, [esp + 0xe8]
call fcn.0040d990
add esp, 0x20
lea ecx, [esp + 0xc8]
push ecx
push 0x64
lea edx, [esp + 8]
push edx
push str.NULL
push str.PolicyName
push str.EPSPOL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp]
push eax
push 0x430728
push str._sEPSPOL_s.epl
push 0x430e30
call fcn.0040fa48
mov ecx, dword [esp + 0x2e0]
add esp, 0x10
xor ecx, esp
call fcn.0040e6d9
add esp, 0x2d4
ret

Function at 0x408be0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.GlobalEPS_DCTempAccess
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x408c0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408c0a
xor eax, eax
pop esi
ret
push str.DCTempAccess_mutex_found
call fcn.00404e10
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
ret

Function at 0x4094a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x424
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x420], eax
push ebp
mov ebp, dword [esp + 0x42c]
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22a]
push ecx
mov word [esp + 0x22c], ax
call fcn.00410d60
add esp, 0xc
push 0x103
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.00410d60
add esp, 0xc
push 0x103
lea eax, [esp + 0x11d]
push 0
push eax
mov byte [esp + 0x124], 0
call fcn.00410d60
add esp, 0xc
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
lea edi, [esp + 0x224]
mov esi, str.LicenseCode
mov ecx, reloc.WS2_32.dll_bind
call fcn.00404f40
add esp, 4
push ebp
lea ecx, [esp + 0x14]
push 0x426d04
push ecx
call fcn.0040fc5d
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push eax
mov eax, edi
push eax
lea ecx, [esp + 0x120]
push str._S__s
push ecx
call fcn.0040fc5d
mov eax, dword [0x430988]
add esp, 0x10
test eax, eax
je 0x4095ca
lea edx, [esp + 0x118]
push edx
lea ecx, [esp + 0x14]
push ecx
call eax
add esp, 8
test eax, eax
jne 0x4095ca
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
push str._S_File_Send_Successfully_to_FTP_Server
call fcn.00404e10
add esp, 8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0040e6d9
add esp, 0x424
ret
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
push ecx
push str._S_File_Send_Failed_to_FTP_Server
call fcn.00404e10
mov ecx, dword [esp + 0x434]
add esp, 8
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040e6d9
add esp, 0x424
ret
Function at 0x409bf0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x409c27
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcessToken_failed_with__d_n
call fcn.0040f999
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x409c58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LookupPrivilegeValue_failed_with__d_n
call fcn.0040f999
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
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 0x409cb3
call esi
push eax
push str.AdjustTokenPrivileges_failed_with__d_n
call fcn.0040f999
add esp, 8
xor eax, eax
pop esi
add esp, 0x20
ret
mov eax, 1
pop esi
add esp, 0x20
ret
Function at 0x40a000
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
push 0x42bb18
push 1
push 0
push 0x42bb08
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x40a070
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x40a070
cmp dword [esp + 0x10], 1
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edi
jne 0x40a068
mov edx, dword [ecx + 0x20]
push 1
push eax
call edx
jmp 0x40a06e
mov edx, dword [ecx + 0x1c]
push eax
call edx
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x40a080
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 8]
test eax, eax
je 0x40a090
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x40a7c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x50
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov eax, str.01_01_1980
mov edx, ebp
push edi
mov esi, ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40a7e1
push 0
push 0x80
push 3
push 0
push 3
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40a8cd
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0x3c
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x18]
push 0
push 0
add edx, 8
push edx
push esi
call edi
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x10]
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.00412210
mov dword [esp + 0x1c], eax
mov eax, edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x20]
push edx
sar eax, 0x1f
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x14
push 0x424e08
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.0040ee9e
movzx ecx, word [esp + 0x34]
movzx edx, word [esp + 0x36]
movzx eax, word [esp + 0x3a]
push ecx
push edx
push eax
push str._02d__02d__04d
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6d9
add esp, 0x50
ret
Function at 0x40a8e0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x968
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x964], eax
mov eax, dword [esp + 0x96c]
push ebx
push ebp
push esi
push edi
push 0x430520
lea ecx, [esp + 0x774]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0x20], eax
call fcn.0040ee2f
add esp, 0xc
push str.ZVSCAN
lea edx, [esp + 0x774]
push pe_nt_image_headers32
push edx
call fcn.0040ec9c
add esp, 0xc
push 0x430520
lea eax, [esp + 0x574]
push pe_nt_image_headers32
push eax
call fcn.0040ee2f
add esp, 0xc
push str.ZVSCAN.
lea ecx, [esp + 0x574]
push pe_nt_image_headers32
push ecx
call fcn.0040ec9c
add esp, 0xc
push str.01_01_1980
lea edx, [esp + 0x30c]
push 0x32
push edx
call fcn.0040ee2f
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x574]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40a9a6
mov eax, 1
jmp 0x40ab06
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIW]
test byte [esp + 0x28], 0x10
jne 0x40aae9
lea edx, [esp + 0x770]
push edx
lea eax, [esp + 0x374]
push pe_nt_image_headers32
push eax
call fcn.0040ee2f
add esp, 0xc
push 0x42a5f4
lea ecx, [esp + 0x374]
push pe_nt_image_headers32
push ecx
call fcn.0040ec9c
add esp, 0xc
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x374]
push pe_nt_image_headers32
push eax
call fcn.0040ec9c
add esp, 0xc
push 0x42a5f8
lea ecx, [esp + 0x374]
push ecx
call ebp
test eax, eax
je 0x40aae9
push 0x42a600
lea edx, [esp + 0x374]
push edx
call ebp
test eax, eax
jne 0x40aae9
push 0x424e08
lea eax, [esp + 0x27c]
push 0x14
push eax
call fcn.0040ee2f
lea ecx, [esp + 0x37c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x27c]
call fcn.0040ab80
add esp, 4
lea edx, [esp + 0x278]
push edx
lea eax, [esp + 0x2a4]
push 0x32
push eax
call fcn.0040ee2f
lea ecx, [esp + 0x2c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x2a4]
call fcn.0040ac70
mov edi, dword [eax]
mov esi, dword [eax + 4]
lea edx, [esp + 0x1c]
add esp, 4
push edx
lea ecx, [esp + 0x30c]
call fcn.0040ac70
mov ecx, dword [eax]
add esp, 4
cmp esi, dword [eax + 4]
jl 0x40aae9
jg 0x40aab8
cmp edi, ecx
jbe 0x40aae9
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x30c]
push 0x32
push ecx
call fcn.0040ee2f
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x2a0]
push edx
push 0x32
push eax
call fcn.0040ee2f
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40a9ac
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov ecx, dword [esp + 0x974]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6d9
add esp, 0x968
ret
Function at 0x40ab80
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push esi
push 0x42a60c
push eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
call fcn.0040fde7
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
je 0x40abdc
push 0
push 0xa
push eax
call fcn.0041028a
mov ecx, dword [esp + 0x10]
push ecx
push 0xa
push 1
push esi
call fcn.004105af
mov eax, dword [esp + 0x20]
xor edx, edx
push eax
mov word [esi + 0x14], dx
call fcn.0040ff5d
add esp, 0x20
push esi
lea ecx, [esp + 0xc]
push 0xa
push ecx
call fcn.0040ee2f
lea edx, [esp + 0x14]
push 0x2f
push edx
call fcn.0040f554
add esp, 0x14
test eax, eax
je 0x40ac03
xor ecx, ecx
mov word [eax], cx
jmp 0x40ac1f
mov eax, 0x424e08
mov edx, esi
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40ac10
lea edx, [esp + 8]
push 0x2f
push edx
call fcn.0040f554
add esp, 8
test eax, eax
je 0x40ac47
xor ecx, ecx
mov word [eax], cx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0040e6d9
add esp, 0x1c
ret
mov eax, 0x424e08
sub esi, eax
mov edi, edi
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x40ac50
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.0040e6d9
add esp, 0x1c
ret
Function at 0x40c1e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc68
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0xc64], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc74]
push esi
push edi
push 0x1ff
lea eax, [esp + 0x46d]
push 0
push eax
mov byte [esp + 0x474], 0
call fcn.00410d60
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x672]
push edx
mov word [esp + 0x674], cx
call fcn.00410d60
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
mov word [esp + 0x26c], ax
call fcn.00410d60
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x62]
push eax
mov word [esp + 0x64], dx
call fcn.00410d60
add esp, 0xc
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x87a]
push edx
mov word [esp + 0x87c], cx
call fcn.00410d60
add esp, 0xc
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00410d60
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x430728
lea edx, [esp + 0x66c]
push str._sKeyPollingSet.ini
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x260]
push 0x424e08
push eax
call ebx
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
lea edi, [esp + 0x26c]
mov esi, str.CorporateID
mov ecx, reloc.WS2_32.dll_bind
call fcn.00404f40
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c300
sub eax, edx
sar eax, 1
jne 0x40c323
push str.Corporate_ID_Not_Found_in_Registry...
call fcn.00404e10
add esp, 4
jmp 0x40c3fa
lea ecx, [esp + 0x58]
push 0x424e08
push ecx
call ebx
push str.SOFTWAREMessage_LabsNet_ProtectorConfig
lea edi, [esp + 0x64]
mov esi, str.LicenseCode
mov ecx, reloc.WS2_32.dll_bind
call fcn.00404f40
mov eax, edi
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c350
sub eax, edx
sar eax, 1
jne 0x40c373
push str.License_Key_Not_Found_in_Registry...
call fcn.00404e10
add esp, 4
jmp 0x40c3fa
lea edx, [esp + 0x668]
push edx
push 0x20
lea eax, [esp + 0x20]
push eax
push str.2010_01_01_00:00:00
push str.LastSettingTime
push str.LoginMode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x87c]
push str._NPLOGIN__s__s__s
push ecx
call ebx
add esp, 0x14
push 0
push 0
push 0x200
lea edx, [esp + 0x474]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x884]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x468]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40c3f0
mov ecx, dword [esp + 0xc74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e6d9
add esp, 0xc68
ret