joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455eaa
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4aac7a
call fcn.004a9484
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x455ecb
xor eax, eax
jmp 0x45607e
mov eax, dword [0x4dc148]
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x4c0c10
call fcn.00408cd5
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00479200
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x455f30
cmp dword [ebp - 0x18c], 6
jne 0x455f30
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x455f44
call fcn.0040be24
jmp 0x455f49
call fcn.0040bdd4
cmp eax, ebx
jne 0x456062
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00479200
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.0040be8f
add esp, 0x10
test al, al
jne 0x455fae
cmp dword [ebp - 0x10], ebx
je 0x455fa4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040c009
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], str.Winsta0Default
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x45600d
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x45600d
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x45600a
mov dword [ebp - 0x14], 0x430
jmp 0x45600d
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x45603d
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x45604b
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, ebx
je 0x456054
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x456062
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x456070
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407f26
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45646a
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.00475e32
mov edi, eax
test edi, edi
pop ecx
je 0x4564b7
push dword [ebp - 4]
push 0
push edi
call fcn.00479200
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x4564bd
push edi
call fcn.004791f7
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x456480
test esi, esi
jne 0x456504
test edi, edi
mov esi, edi
je 0x45650f
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.0047c6b0
add esp, 0xc
test eax, eax
jne 0x4564e9
mov esi, dword [esi]
test esi, esi
jne 0x4564c7
jmp 0x456504
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.0047ac50
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x45650f
push edi
call fcn.004791f7
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4567cd
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
je 0x456837
push ebx
push 0x14
push str.ascore
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x456833
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x456830
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov dword [ebp - 4], 1
push ebx
call esi
push edi
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x45698d
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x45699e
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4569b0
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00455eaa
add esp, 0xc
test eax, eax
je 0x4569cb
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00455d3a
test eax, eax
pop ecx
pop ecx
jne 0x4569c7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00455a69
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffec7
pop ecx
add eax, 0x139
pop ecx
ret
Function at 0x456a03
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 4], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x456a79
lea eax, [ebp - 0x10]
push eax
push 0x4c0cb8
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x456a79
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x456a79
push 0x40000
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
jne 0x456a79
inc ebx
cmp dword [ebp - 4], edi
je 0x456a87
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x456ae8
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4ab1e5
call fcn.004a9484
push ecx
mov eax, dword [0x4dc148]
push esi
push edi
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push str.asreboot_inst
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00408619
mov edi, dword [ebp - 0x10]
xor esi, esi
inc esi
add esp, 0x10
cmp eax, esi
jne 0x456b5a
push str.true
push edi
call fcn.0047b0c4
test eax, eax
pop ecx
pop ecx
jne 0x456b5a
lea eax, [edi - 0x10]
call fcn.00407f26
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
xor esi, esi
jmp 0x456b42
Function at 0x458fe5
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4ae63e
call fcn.004a9484
sub esp, 0x21c
mov eax, dword [0x4dc148]
push ebx
push esi
push edi
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.00479200
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004083bc
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004083bc
push 0x2e
lea esi, [ebp - 0x10]
call fcn.004088db
cmp eax, 0xffffffff
je 0x45909a
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004089e5
mov edi, esi
mov byte [ebp - 4], 1
call fcn.004074cd
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407f26
mov eax, dword [0x4dc148]
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.00458ce5
test eax, eax
jne 0x4590f7
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407f26
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407f26
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x459132
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407f26
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407f26
mov eax, ebx
jmp 0x4590e6
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x45919a
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.0040a3a4
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x459190
cmp dword [ebp - 0x14], edi
jne 0x459190
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x459178
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.0040b3fe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x459118
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.0040a3ca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, esi
jmp 0x459118
Function at 0x45b631
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ab798
call fcn.004a9484
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.00407d63
lea ecx, [esi + 0x78]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45e462
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x45e565
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x45e48a
mov ecx, esi
call fcn.00460086
mov eax, edi
jmp 0x45e56e
cmp eax, 2
jne 0x45e49c
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45e483
cmp eax, 0x65
jne 0x45e4aa
mov eax, esi
call fcn.00460563
jmp 0x45e483
cmp eax, 0x66
jne 0x45e4c2
xor eax, eax
cmp dword [esi + 0x510], eax
sete al
push eax
call fcn.00460cf3
jmp 0x45e483
cmp eax, 0x191
jne 0x45e4d1
push edi
call fcn.00460749
jmp 0x45e483
cmp eax, 0x96
jne 0x45e4f7
push dword [esi + 0x53c]
push dword [esi + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.0045ffef
jmp 0x45e483
cmp eax, 0x1f5
jne 0x45e50c
xor ecx, ecx
mov eax, esi
call fcn.0042cd95
jmp 0x45e483
cmp eax, 0x3e9
jne 0x45e52e
push edi
xor eax, eax
push eax
push eax
push str.https:__vipguanjia.net_userLicense.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45e483
cmp eax, 0x3ea
jne 0x45e541
push edi
xor eax, eax
push eax
push eax
push str.https:__vipguanjia.net_privacy.html
jmp 0x45e51d
cmp eax, 0x68
jne 0x45e552
mov ebx, esi
call fcn.00460aa8
jmp 0x45e483
cmp eax, 0x3e8
jne 0x45e565
mov ebx, esi
call fcn.0045ff6d
jmp 0x45e483
and dword [esi + 0x544], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x45e81b
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
jne 0x45e892
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x45e892
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4c3548]
fcomp qword [0x4c3540]
fnstsw ax
test ah, 1
jne 0x45e892
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x45ebd1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ab1e5
call fcn.004a9484
sub esp, 0x5c
mov eax, dword [0x4dc148]
push esi
push edi
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str._stop__uninstall
push dword [ebp + 8]
xor esi, esi
push 0x4c0c10
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00408cd5
push 0x40
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00479200
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x68], 0x44
push esi
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], si
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x45ec74
cmp dword [ebp - 0x14], esi
je 0x45ec6e
cmp ebx, esi
je 0x45ec6e
mov dword [ebx], eax
jmp 0x45ec74
push eax
call edi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
je 0x45ec81
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407f26
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x45ec9d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ab73d
call fcn.004a9484
sub esp, 0x218
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x222]
push ebx
mov dword [ebp - 0x18], ebx
push eax
mov word [ebp - 0x224], bx
call fcn.00479200
mov esi, dword [ebp + 8]
mov edi, 0x4dc148
add esp, 0xc
mov ecx, edi
call fcn.004081e4
mov dword [ebp - 4], ebx
mov eax, dword [0x4dc148]
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.004081a1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
jne 0x45ed1f
lea ecx, [ebp - 0x10]
call fcn.00408529
lea eax, [ebp - 0x1c]
push str.ressrcchsuplive.svr
push eax
lea ecx, [ebp - 0x10]
call fcn.0040acae
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004074cd
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407f26
mov esi, dword [ebp - 0x14]
push esi
push 0x208
lea eax, [ebp - 0x224]
push eax
push 0x4bbfbc
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
test eax, eax
je 0x45ed85
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 8]
call fcn.004083bc
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407f26
lea eax, [esi - 0x10]
call fcn.00407f26
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x45eef1
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x40000000
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x45ef16
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x45ef3f
push ebx
push edi
push 0x24
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x45ef42
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x45ef7a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
mov eax, edi
jmp 0x45ef3d
push 6
xor eax, eax
pop ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x20], esi
rep stosd dword es:[edi], eax
xor edi, edi
cmp edi, dword [ebp + 0xc]
jge 0x45efb8
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x45efb0
cmp dword [ebp - 0x1c], 1
je 0x45efb8
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
add edi, 0x64
jmp 0x45ef89
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x45ef32
Function at 0x45f3bf
Capabilities:
Shutdown system

Disassembly:
push esi
mov esi, eax
call fcn.00467146
mov eax, dword [eax + 0x18]
mov dword [esi + 0x944], eax
call fcn.0044dc27
call fcn.00456ae8
test eax, eax
je 0x45f402
mov eax, esi
call fcn.004610b5
test eax, eax
jne 0x45f41e
push 6
mov ecx, esi
call fcn.0046188c
cmp eax, 1
jne 0x45f41e
call fcn.0044dc27
pop esi
jmp fcn.00456a03
push esi
call fcn.0045f4ec
test eax, eax
je 0x45f41e
call fcn.0045f62f
test eax, eax
je 0x45f41e
push 0
mov eax, esi
call fcn.0042ca37
pop esi
ret

Function at 0x45f4ec
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4aec3f
call fcn.004a9484
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.00467146
lea esi, [ebp - 0x14]
call fcn.00467191
mov eax, dword [eax]
push 1
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x10]
call fcn.00408400
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.00407f26
test bl, bl
je 0x45f542
cmp dword [ebp - 0x10], edi
jmp 0x45f610
mov eax, dword [0x4dc148]
mov ecx, 0x4dc148
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x4bbf3c
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00408494
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x45f604
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f604
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x53c]
lea eax, [ebp - 0x14]
call fcn.004074cd
xor edi, edi
inc edi
mov eax, ebx
mov dword [ebx + 0x948], edi
call fcn.004610b5
test eax, eax
je 0x45f5c4
lea eax, [esi - 0x10]
call fcn.00407f26
cmp dword [ebp - 0x10], 0
je 0x45f5c0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x45f61e
push 3
mov ecx, ebx
call fcn.0046188c
cmp eax, edi
je 0x45f5a9
push 0
push dword [ebx + 0x948]
push 3
push ecx
call fcn.00457577
pop ecx
mov ecx, eax
call fcn.00457671
lea eax, [esi - 0x10]
call fcn.00407f26
cmp dword [ebp - 0x10], 0
je 0x45f600
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x45f61e
lea eax, [esi - 0x10]
call fcn.00407f26
cmp dword [ebp - 0x10], 0
je 0x45f61b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x45fe30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
inc ebx
push ebx
add esi, 0x24
push ebx
mov eax, esi
call fcn.00461c28
xor edi, edi
push edi
push 0x64
mov eax, esi
call fcn.0042cf97
push edi
push 0xc8
mov eax, esi
call fcn.0042cf97
push edi
push 0x12c
mov eax, esi
call fcn.0042cf97
push ebx
push 0x190
mov eax, esi
call fcn.0042cf97
push dword [ebp + 8]
call fcn.00460e7c
push edi
push str.SOFTWARE_sysoptasst
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 4]
mov dword [ebp - 4], edi
call fcn.00408400
test eax, eax
je 0x45febe
cmp dword [ebp - 4], edi
mov dword [ebp - 8], ebx
je 0x45fecc
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push str.is_boot_start
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], edi
je 0x45fecc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x944], 0x24f
jne 0x45fefb
call fcn.0044dc27
mov eax, dword [eax]
test eax, eax
jg 0x45fefb
call fcn.00467146
cmp dword [eax + 0x1c], edi
je 0x45fefb
lea eax, [esi + 0x950]
call fcn.004659e7
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4

Function at 0x460563
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x12c
mov esi, eax
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
lea edi, [esi + 0x24]
push 0x64
mov eax, edi
call fcn.0042cf97
push 1
push 0xc8
mov eax, edi
call fcn.0042cf97
push ebx
call fcn.00460cf3
push ebx
push 1
mov eax, edi
call fcn.00461c28
push ebx
push ebx
push esi
push 0x460549
push ebx
push ebx
call fcn.0047dbff
add esp, 0x18
pop edi
mov dword [esi + 0x93c], eax
pop esi
pop ebx
ret

Function at 0x4609e0
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.0045608d
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00407f26
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x460aa1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460a23
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 1
je 0x460aa1
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004089e5
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.00407f26
test bl, bl
je 0x460a50
push 2
pop eax
jmp 0x460aa4
push edi
call fcn.00460954
test eax, eax
pop ecx
je 0x460a5f
mov eax, esi
jmp 0x460aa4
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.004089e5
push dword [eax]
call fcn.0045e81b
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.00407f26
test bl, bl
je 0x460a8e
push 4
jmp 0x460a4d
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x460a9d
push 5
jmp 0x460a4d
xor eax, eax
jmp 0x460aa4
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret