joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2030
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x57c1c3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, edx
or ebp, 0xffffffff
cmp dword [ebx + 0x18cc], 0
jne 0x4c20a4
push 0x378
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 0
je 0x4c208d
mov esi, eax
call fcn.004d54a0
jmp 0x4c208f
xor eax, eax
mov dword [esp + 0x24], ebp
mov ecx, dword [ebx + 0x1c]
push 0
push ecx
mov dword [ebx + 0x18cc], eax
call fcn.004817c0
test edi, edi
jne 0x4c2156
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push edx
call fcn.0040ff50
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x2c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00410660
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [ebx + 0x18cc]
call fcn.004d56f0
mov eax, dword [ebx + 0xa74]
mov ecx, dword [ebx + 0x18cc]
mov dword [ecx + 0x370], eax
mov eax, dword [ebx + 0x2cb4]
cmp dword [eax - 0xc], edi
push 1
push ecx
mov dword [esp + 0x20], esp
je 0x4c211a
add eax, 0xfffffff0
mov esi, esp
call fcn.00410660
add eax, 0x10
mov dword [esi], eax
jmp 0x4c2121
mov edi, esp
call fcn.004c2570
mov ebx, dword [ebx + 0x18cc]
call fcn.004d5590
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4c21ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4c21ee
cmp edi, 2
jne 0x4c219e
mov eax, dword [ebx + 0x2cb4]
cmp dword [eax - 0xc], 0
push 0
push ecx
mov dword [esp + 0x20], esp
je 0x4c218a
add eax, 0xfffffff0
mov esi, esp
call fcn.00410660
add eax, 0x10
mov dword [esi], eax
mov ebx, dword [ebx + 0x18cc]
call fcn.004d5590
jmp 0x4c21ee
mov edi, esp
call fcn.004c2570
mov ebx, dword [ebx + 0x18cc]
call fcn.004d5590
jmp 0x4c21ee
cmp edi, 1
jne 0x4c21ee
mov eax, dword [ebx + 0x18cc]
mov ecx, dword [eax + 4]
add eax, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c21ee
mov eax, dword [ebx + 0x18cc]
mov edx, dword [eax + 4]
add eax, 4
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c21ee
mov ebx, dword [ebx + 0x18cc]
push 0
push 2
push 0x65
call fcn.00520ec0
mov eax, dword [ebx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4c2310
Capabilities:
Check if file exists
Create process on windows
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x579f80
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov esi, ecx
mov eax, dword [esi + 0x1be0]
test eax, eax
je 0x4c2397
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4c2397
mov eax, dword [esi + 0x1be0]
mov ecx, dword [eax + 4]
add eax, 4
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c2397
mov esi, dword [esi + 0x1be0]
mov edx, dword [esi + 4]
push 0xf6
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x370], 0xa
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [esp + 0x18]
call fcn.004125d0
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, str.kscreensaver.kscr
mov dword [esp + 0x2c], edi
call fcn.0041a8a0
add esp, 8
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c23e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 1
mov edx, ebx
mov ecx, str.screensaver
call fcn.0048b4f0
test eax, eax
je 0x4c242b
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c242b
push 2
push ebp
call fcn.00521e30
mov edx, dword [esp + 0x2c]
push ebx
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4c2449
push ebx
push ebp
call fcn.00521e30
push 2
push 0xf170
push 0x112
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
test byte [0x6199c8], bl
jne 0x4c2469
or dword [0x6199c8], ebx
call fcn.0046c480
push 0x580670
call fcn.0056a011
add esp, 4
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [0x6199d8], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c2497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4c2570
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5779d8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x138], esi
mov dword [esp + 0x14], esi
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
mov dword [esp + 0x18], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x138], esi
lea eax, [esp + 0xc]
mov esi, 1
push eax
mov dword [esp + 0x18], esi
call fcn.0051b0a0
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, str.LimitlessRemoteDatadata.dat
mov dword [esp + 0x144], esi
call fcn.0041a8a0
add esp, 0xc
mov byte [esp + 0x138], 2
mov esi, dword [eax]
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], edx
call dword [0x5d7070]
push eax
push esi
lea eax, [esp + 0x24]
call fcn.00410380
mov eax, dword [esp + 0x1c]
push 0x58dee8
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
mov esi, eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
add esp, 8
cmp eax, ecx
je 0x4c2650
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov byte [esp + 0x138], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c2678
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x138], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c26a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4c26d2
push esi
push 0x8c
lea ecx, [esp + 0xa8]
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fread]
push esi
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
lea ebx, [esp + 0xac]
mov eax, edi
call fcn.004159e0
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00569ed6
add esp, 0x130
ret

Function at 0x4c7ae0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c7b39
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], ecx
je 0x4c7b47
push 4
lea edx, [esp + 8]
push edx
push 4
push 0
push str.wificharsetex
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c7b47
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x4c7b50
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c7ba7
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x4c7bb5
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.clearlastopentime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c7bb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x4c7bc0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c7c17
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x4c7c25
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.dubalastopentime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c7c25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x4c7c30
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [esp + 4]
jne 0x4c7cae
add dword [esi + 0xc], 1
mov esi, dword [esi + 0xc]
mov dword [esp + 8], esi
xor esi, esi
test eax, eax
je 0x4c7ca7
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push esi
push str.wificount
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4c7c98
lea esi, [eax + 1]
mov eax, dword [esp + 4]
test eax, eax
je 0x4c7ca7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret
test eax, eax
je 0x4c7cb9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x4c7cc0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x4c7d21
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.nolancard
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c7d21
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4
Function at 0x4c7e10
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x5747e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x18], vtable.CKANRegisterKey.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x5940b0
lea ebx, [edi + 0xa]
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.00410570
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp eax, ebx
je 0x4c7e90
push eax
call ebp
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
push eax
push str.SOFTWAREKingsoftkwifiKFlag
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
jne 0x4c7ef4
cmp esi, ebx
jne 0x4c7eb1
xor eax, eax
jmp 0x4c7ec5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4c7eb6
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410240
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c7ef4
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4c7ef8
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
jne 0x4c7ef8
mov edi, 1
jmp 0x4c7ef8
mov esi, dword [esp + 0x14]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c7f18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x18], vtable.CKANRegisterKey.0
je 0x4c7f2b
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x4c7f50
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c7fa9
mov eax, dword [esp]
test eax, eax
mov dword [esp + 4], 1
je 0x4c7fb7
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.tip_school_mode
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c7fb7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret
Function at 0x4c7fc0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c8019
mov eax, dword [esp]
test eax, eax
mov dword [esp + 4], 1
je 0x4c8027
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.show_movie_tip
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c8027
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret

Function at 0x4c8110
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c8167
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x4c8175
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.wifitimes
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c8175
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4

Function at 0x4c82b0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [esp]
jne 0x4c8308
test eax, eax
mov dword [esp + 4], esi
je 0x4c8308
push 4
lea ecx, [esp + 8]
push ecx
push 4
push 0
push str.wificreatecount
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
mov edx, dword [esp + 0xc]
mov dword [edx + 0x14], esi
je 0x4c831a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 8
ret 4

Function at 0x4c87d0
Capabilities:
Set registry value

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c8827
mov eax, dword [esp]
test eax, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
je 0x4c8835
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.lockscreenwaittime
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
test eax, eax
je 0x4c8835
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret 4
Function at 0x4c8840
Capabilities:
Access peb ldr_data
Delete registry value
Get kernel32 base address
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x5747a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebp
push 1
push 0x58c57c
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x30], 1
call fcn.00410240
xor edi, edi
lea esi, [esp + 0x18]
call fcn.004122f0
mov byte [esp + 0x24], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410240
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c88e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0x58c57c
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410240
push 9
push str.__autorun
lea edx, [esp + 0x1c]
push edx
call fcn.00410240
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, ebp
je 0x4c8915
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
lea eax, [esp + 0x14]
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebp
jne 0x4c8941
mov esi, 1
cmp esi, ebp
mov edi, dword [esp + 0x14]
je 0x4c896c
cmp dword [esp + 0x2c], ebp
push str.kwifi
je 0x4c8961
lea eax, [esp + 0x14]
call fcn.0041b730
mov esi, eax
jmp 0x4c896c
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4c897b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c89a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x4c8ad0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x574770
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov byte [esp + 0x3c], 2
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4c8b58
mov esi, 1
cmp esi, ebx
je 0x4c8c14
push str.kwifi
lea ecx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
call fcn.004132c0
mov ebp, dword [esp + 0x1c]
mov esi, eax
cmp esi, ebx
je 0x4c8c14
cmp dword [ebp - 0xc], ebx
je 0x4c8c14
mov edx, 0x58c57c
lea edi, [esp + 0x14]
call fcn.00410020
xor edi, edi
lea esi, [esp + 0x20]
call fcn.004122f0
mov byte [esp + 0x2c], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00410240
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8bde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov edx, 0x58c57c
call fcn.00410530
lea edx, [esp + 0x14]
push edx
mov edx, str.__autorun
call fcn.00410530
mov edi, dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4c8c23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8c47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c8c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4c9f60
Capabilities:
Check os version
Shutdown system

Disassembly:
sub esp, 0x144
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x13c], eax
push 0x11c
lea eax, [esp + 0x1c]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x1c], 5
jb 0x4c9ff4
lea edx, [esp + 4]
push edx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4c9ffe
lea eax, [esp + 0xc]
push eax
push 0x5932dc
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [esp + 4]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 5
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [esp + 0x13c]
xor ecx, esp
mov eax, 1
call fcn.00569ed6
add esp, 0x144
ret

Function at 0x4ca2b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [edi + 0x380]
sub esp, 8
test eax, eax
push esi
jne 0x4ca2c7
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push 2
jmp 0x4ca32a
cmp eax, 2
push 0
jne 0x4ca2fd
call dword [sym.imp.MSVCR80.dll__time64]
mov esi, dword [edi + 0x384]
mov ecx, eax
lea eax, [edi + 0x384]
add esp, 4
sub esi, ecx
mov ecx, dword [eax + 4]
sbb ecx, edx
mov dword [esp + 8], ecx
call fcn.004c8e80
push eax
push esi
push 0
push 6
jmp 0x4ca32a
call dword [sym.imp.MSVCR80.dll__time64]
mov esi, dword [edi + 0x384]
mov ecx, eax
lea eax, [edi + 0x384]
add esp, 4
sub esi, ecx
mov ecx, dword [eax + 4]
sbb ecx, edx
mov dword [esp + 8], ecx
call fcn.004c8e80
push eax
push esi
push 0
push 4
call fcn.0051f670
mov eax, 1
test byte [0x6198b8], al
jne 0x4ca347
or dword [0x6198b8], eax
call fcn.0043b8d0
call fcn.004ca630
lea esi, [edi + 0x24]
push 0
mov ecx, 0x960
mov eax, esi
call fcn.0046ebd0
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, 0x960
mov eax, esi
call fcn.0046ebd0
pop esi
add esp, 8
ret

Function at 0x4ca460
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
mov esi, eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x24]
test eax, eax
mov dword [esi + 0x390], 0
mov dword [esi + 0x380], 0
je 0x4ca496
lea edi, [eax - 0x24]
jmp 0x4ca498
xor edi, edi
mov esi, 0xd7a
call fcn.004507b0
mov esi, eax
test esi, esi
je 0x4ca4c2
push 1
push edi
call fcn.00450820
mov eax, 0x5a1d5c
call fcn.0046fe70
push 1
push edi
call fcn.00450820
pop edi
pop esi
mov esp, ebp
pop ebp
ret