joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fc5f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fc6ab
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..AndreaFilterRealtek
mov dword [esp + 0x28], vtable.CDriverCtrl.0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 1
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x4fc694
lea ecx, [esp + 0x24]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 2
call fcn.004fe4d0
test eax, eax
je 0x4fc68d
cmp dword [esp + 0x30], ebx
je 0x4fc68d
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret
mov al, byte [0x5c4730]
mov ecx, dword [esp + 0x174]
and al, 8
neg al
pop edi
pop esi
pop ebx
sbb eax, eax
and eax, dword [0x5c4728]
xor ecx, esp
call fcn.00524c67
mov esp, ebp
pop ebp
ret

Function at 0x4fc6e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x174
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fc796
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str..AndreaFilterRealtek
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edi
je 0x4fc77d
push edi
lea ecx, [esp + 0x10]
push ecx
push edi
push edi
push 0x34
lea edx, [esp + 0x24]
push edx
push 0x222000
push esi
mov dword [esp + 0x2c], 0x34
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x5c482c]
push edi
push edi
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.00524c67
add esp, 0x174
ret
test byte [0x5c4730], 1
je 0x4fc7be
mov ecx, 0x11
mov esi, 0x5c4718
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.004fcee0
jmp 0x4fc7c0
xor eax, eax
mov ecx, dword [esp + 0x174]
neg eax
sbb eax, eax
pop edi
and eax, 0x80000000
pop esi
xor ecx, esp
add eax, 0x80000000
call fcn.00524c67
add esp, 0x174
ret
Function at 0x4fc7f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x158
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x40], 6
jae 0x4fc8aa
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], 1
mov dword [esp + 0x14], edi
je 0x4fc892
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x34
lea edx, [esp + 0x1c]
push edx
push 0x222000
push esi
mov dword [esp + 0x24], 0x34
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x5c482c]
push 0
push 0
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00524c67
add esp, 0x158
ret
mov eax, edi
call fcn.004fce40
mov ecx, dword [esp + 0x158]
neg eax
sbb eax, eax
and eax, 0x80000000
pop esi
xor ecx, esp
add eax, 0x80000000
call fcn.00524c67
add esp, 0x158
ret

Function at 0x4fc8e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x158
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x40], 6
jae 0x4fc99a
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 8], 3
mov dword [esp + 0x14], edi
je 0x4fc982
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x34
lea edx, [esp + 0x1c]
push edx
push 0x222000
push esi
mov dword [esp + 0x24], 0x34
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x5c482c]
push 0
push 0
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00524c67
add esp, 0x158
ret
mov eax, edi
call fcn.004fce90
mov ecx, dword [esp + 0x158]
neg eax
sbb eax, eax
and eax, 0x80000000
pop esi
xor ecx, esp
add eax, 0x80000000
call fcn.00524c67
add esp, 0x158
ret
Function at 0x4fc9d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x174
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x5c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x5c], 6
jae 0x4fca8c
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push str..AndreaFilterRealtek
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], 2
mov dword [esp + 0x1c], ebx
je 0x4fca73
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x34
lea edx, [esp + 0x24]
push edx
push 0x222000
push esi
mov dword [esp + 0x2c], 0x34
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [0x5c482c]
push 0
push 0
push eax
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.00524c67
add esp, 0x174
ret
test byte [0x5c4730], 8
je 0x4fcab4
mov ecx, 0x11
mov esi, 0x5c4718
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x10]
mov dword [esp + 0x20], ebx
call fcn.004fcee0
jmp 0x4fcab6
xor eax, eax
mov ecx, dword [esp + 0x174]
neg eax
sbb eax, eax
pop edi
and eax, 0x80000000
pop esi
xor ecx, esp
add eax, 0x80000000
call fcn.00524c67
add esp, 0x174
ret
Function at 0x4fcc90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x94
push esi
lea eax, [esp + 8]
push eax
push 0x20119
xor esi, esi
push esi
push 0x58b2dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fce33
push edi
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push esi
push str.CapProperties
mov edi, 0x44
push ecx
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fcd07
cmp dword [esp + 8], edi
jne 0x4fcd07
cmp dword [esp + 0x14], 0xaeaeaeae
jne 0x4fcd07
test dword [esp + 0x2c], 0xfffffee0
jne 0x4fcd07
lea esi, [edi - 0x43]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fce32
mov ecx, 0x11
mov esi, ebx
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x11
lea esi, [esp + 0x18]
mov edi, ebx
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
push str.LoadFiltersInfo_successful
mov ecx, ebx
call fcn.004fd2f0
cmp dword [esp + 0xa0], 0
je 0x4fce32
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x4fce32
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x5c]
je 0x4fcd70
mov edx, dword [ebx + 0x7c]
push edx
push ecx
push 0
call eax
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x60]
je 0x4fcd86
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 1
call edx
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x64]
je 0x4fcd9c
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 2
call edx
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x68]
je 0x4fcdb2
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 3
call edx
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x6c]
je 0x4fcdc8
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 4
call edx
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x78]
je 0x4fcdde
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 6
call edx
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x7c]
je 0x4fcdf4
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 7
call edx
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x80]
je 0x4fce19
mov esi, ebx
call fcn.004fd8f0
test eax, eax
je 0x4fce19
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push 0
push 8
call edx
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x84]
je 0x4fce32
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x44]
push ecx
push eax
push 9
call edx
pop edi
pop esi
add esp, 0x94
ret 4
Function at 0x4fcee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
xor esi, esi
mov dword [edi], 0xaeaeaeae
cmp dword [0x5c476c], esi
jne 0x4fcf04
mov ecx, edi
call fcn.004fcf90
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x58b2dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4fcf72
mov ecx, dword [esp + 4]
push 0x44
push edi
push 3
push eax
push str.CapProperties
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4fcf49
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fcf72
push 0
push 0xffffffffffffffff
push str.WriteRegistry_successful
mov ecx, 0x5c4718
call fcn.004fd2f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
push str.WriteRegistry_failed
mov ecx, 0x5c4718
call fcn.004fd2f0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4fcf90
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
push 1
push 0xffffffffffffffff
mov esi, ecx
push str.Start_WriteService
mov ecx, 0x5c4718
xor ebp, ebp
call fcn.004fd2f0
call fcn.004fd070
mov ebx, eax
test ebx, ebx
jne 0x4fcfdd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004fd070
mov ebx, eax
test ebx, ebx
je 0x4fd037
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], 0xae0ae0ae
mov dword [esp + 0x24], 1
mov ecx, 0x11
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x88
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4fd021
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x4fd037
push 0
push 0xffffffffffffffff
push str.WriteService_successful
jmp 0x4fd040
push 0
push 0xffffffffffffffff
push str.WriteService_failed
mov ecx, 0x5c4718
call fcn.004fd2f0
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x9c
ret
Function at 0x4fd2f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x138
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebx, ecx
cmp dword [ebx + 0x50], 0
push esi
push edi
mov dword [esp + 0x10], eax
je 0x4fd528
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:AEFilters.log
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fd371
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:AEFilters.log
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4fd528
xor ebp, ebp
cmp dword [ebx + 4], ebp
je 0x4fd37d
mov ebp, 1
cmp dword [ebx + 8], 0
je 0x4fd386
add ebp, 2
cmp dword [ebx + 0xc], 0
je 0x4fd38f
add ebp, 4
cmp dword [ebx + 0x10], 0
je 0x4fd398
add ebp, 8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x28
lea edx, [esp + 0x40]
push edx
push str.ddMMMyy
lea eax, [esp + 0x24]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x4fd3d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fd3d0
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0x58b2d8
sub eax, edx
push 0x14
sar eax, 1
lea ecx, [esp + 0x70]
push ecx
add eax, 1
push eax
lea edx, [esp + 0x50]
push edx
push 0x400
push 0
call edi
push 0x28
lea eax, [esp + 0x40]
push eax
push 0x58b450
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [esp + 0x3c]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4fd430
push 0
push 0x58b2d8
sub eax, ecx
push 0x14
sar eax, 1
lea edx, [esp + 0x34]
push edx
add eax, 1
push eax
lea eax, [esp + 0x50]
push eax
push 0x400
push 0
call edi
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x10]
push ebp
add ebx, 0x60
cmp eax, 0xffffffff
push ecx
lea ecx, [esp + 0x30]
jne 0x4fd4a5
movzx eax, word [esp + 0x2e]
push edx
push eax
push ecx
lea edx, [esp + 0x78]
push edx
push ebx
push str._s__s__s._i:__s___i____i__r_n
lea eax, [esp + 0x98]
push 0xc8
push eax
call fcn.00526c37
add esp, 0x28
jmp 0x4fd4ce
push eax
movzx eax, word [esp + 0x32]
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
push edx
push ebx
push str._s__s__s._i:__s___i____i____i__r_n
lea eax, [esp + 0x9c]
push 0xc8
push eax
call fcn.00526c37
add esp, 0x2c
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x154], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4fd4fc
push 0
lea ecx, [esp + 0x18]
push ecx
push 2
push 0x58b4a4
push esi
call edi
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4fd503
sub eax, edx
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x84]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x138
ret 0xc
Function at 0x4fd8f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esi + 0x28]
sub esp, 0x10
push edi
xor edi, edi
test eax, eax
jne 0x4fd902
pop edi
add esp, 0x10
ret
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4fd975
add ecx, ecx
cmp ecx, eax
jne 0x4fd975
lea edx, [esp + 4]
push edx
push 0x20119
push 0
push str.SoftwareAndrea_ElectronicsAEAudioAPOSettings
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fd975
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.AEOpts
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fd96a
mov ecx, dword [esp + 0xc]
not ecx
cmp ecx, dword [esi + 0x28]
jne 0x4fd96a
lea edi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
add esp, 0x10
ret

Function at 0x4fd980
Capabilities:
Create thread
Resume thread

Disassembly:
cmp dword [0x5c4790], 0
jne 0x4fd9f5
push 0
push 4
push 0x5c4718
push 0x4fd100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x5c478c], eax
jne 0x4fd9b5
mov dword [0x5c4774], 1
ret
push 0
push 0
push 1
push 0
mov dword [0x5c4774], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5c4790], eax
mov eax, dword [0x5c478c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x5c478c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
ret
Function at 0x4fdb70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20119
xor esi, esi
push esi
push 0x58b2dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4fdc8e
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
push str.RenProperties
mov edi, 0x60
push ecx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4fdbe3
cmp dword [esp + 0xc], edi
jne 0x4fdbe3
cmp dword [esp + 0x18], 0xaee0aee0
jne 0x4fdbe3
lea esi, [edi - 0x5f]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fdc8e
mov ecx, 0x18
mov esi, ebx
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
push 0
mov ecx, 0x18
lea esi, [esp + 0x1c]
mov edi, ebx
push 0xffffffffffffffff
rep movsd dword es:[edi], dword [esi]
push str.LoadEQInfo_successful
mov ecx, ebx
call fcn.004fdfc0
cmp dword [ebp + 8], 0
je 0x4fdc8e
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4fdc8e
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x84]
je 0x4fdc46
mov edx, dword [ebx + 0x90]
push edx
push ecx
push 0
call eax
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0x60]
push eax
push 0
push 1
call ecx
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x80]
je 0x4fdc72
mov edx, dword [ebx + 0x90]
push edx
push eax
mov eax, dword [ebx + 0x60]
push 2
call eax
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xb0]
je 0x4fdc8e
mov ecx, dword [ebx + 0x90]
mov edx, dword [ebx + 0x60]
push ecx
push eax
push 3
call edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4fdca0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
xor esi, esi
cmp dword [0x5c4800], esi
mov dword [0x5c4798], 0xaee0aee0
jne 0x4fdcc6
call fcn.004fdd60
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x102
push 0
push 0
push 0
push 0x58b2dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4fdd38
mov ecx, dword [esp + 4]
push 0x60
push 0x5c4798
push 3
push eax
push str.RenProperties
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4fdd0f
lea esi, [eax + 1]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4fdd38
push 0
push 0xffffffffffffffff
push str.WriteRegistry_successful
mov ecx, 0x5c4798
call fcn.004fdfc0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0xffffffffffffffff
push str.WriteRegistry_failed
mov ecx, 0x5c4798
call fcn.004fdfc0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4fdd60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x9c
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
push 1
push 0xffffffffffffffff
push str.Start_WriteService
mov ecx, 0x5c4798
mov dword [esp + 0x1c], 0
call fcn.004fdfc0
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4fde6d
push 1
call ebp
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4fde6d
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cant_open_pipe:
mov ecx, 0x5c4798
call fcn.004fdfc0
cmp dword [0x5c4804], 0
je 0x4fde40
mov dword [0x5c4804], 1
push 0
push 0xffffffffffffffff
push str.WriteService_failed
mov ecx, 0x5c4798
call fcn.004fdfc0
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x9c
ret
call fcn.004fd2a0
test eax, eax
je 0x4fde10
push 0x5dc
call ebp
push 0
push 0
push 3
push 0
push 0
push 0x40000000
push str..pipeAERTAPOProperties
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4fde10
test ebx, ebx
je 0x4fde10
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], 0xae0ae0ae
mov dword [esp + 0x24], 2
mov ecx, 0x18
mov esi, 0x5c4798
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
push 0x88
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4fdeb9
push 1
call ebp
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0
je 0x4fde10
push 0
push 0xffffffffffffffff
push str.WriteService_successful
jmp 0x4fde19
Function at 0x4fdfc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x138
mov eax, dword [0x5b3720]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x13c]
push ebx
push ebp
mov ebp, dword [esp + 0x148]
mov ebx, ecx
cmp dword [ebx + 0x64], 0
push esi
push edi
mov dword [esp + 0x10], eax
je 0x4fe1d5
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:Program_FilesAndrea_ElectronicsAEAPORen.log
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4fe048
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push str.C:Program_FilesAndrea_ElectronicsAEAPORen.log
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x4fe1d5
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x28
lea edx, [esp + 0x40]
push edx
push str.ddMMMyy
lea eax, [esp + 0x24]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x4fe080
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fe080
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0x58b2d8
sub eax, edx
push 0x14
sar eax, 1
lea ecx, [esp + 0x70]
push ecx
add eax, 1
push eax
lea edx, [esp + 0x50]
push edx
push 0x400
push 0
call edi
push 0x28
lea eax, [esp + 0x40]
push eax
push 0x58b450
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
lea eax, [esp + 0x3c]
lea ecx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4fe0e0
push 0
push 0x58b2d8
sub eax, ecx
push 0x14
sar eax, 1
lea edx, [esp + 0x34]
push edx
add eax, 1
push eax
lea eax, [esp + 0x50]
push eax
push 0x400
push 0
call edi
add ebx, 0x74
cmp ebp, 0xffffffff
jne 0x4fe149
movzx edx, word [esp + 0x26]
mov ecx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x70]
push ecx
push ebx
push str._s__s__s._i:__s_r_n
lea edx, [esp + 0x90]
push 0xc8
push edx
call fcn.00526c37
add esp, 0x20
jmp 0x4fe17a
movzx ecx, word [esp + 0x26]
mov eax, dword [esp + 0x10]
push ebp
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x74]
push eax
push ebx
push str._s__s__s._i:__s___i__r_n
lea ecx, [esp + 0x94]
push 0xc8
push ecx
call fcn.00526c37
add esp, 0x24
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [esp + 0x154], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4fe1a8
push 0
lea edx, [esp + 0x18]
push edx
push 2
push 0x58b4a4
push esi
call edi
lea eax, [esp + 0x78]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4fe1b0
push 0
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x84]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00524c67
add esp, 0x138
ret 0xc