joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478240
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 1
mov esi, esp
push str.Globalpcfix_svc_shutdown_event
push 0
push 1
call fcn.00478340
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478328
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push str.Globalpcfixsvc_instance_mutex
push 1
call fcn.00478340
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x478315
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0xb7
jne 0x478302
mov esi, esp
push 0x2710
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0x102
jne 0x478302
mov dword [ebp - 4], 0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004c3b36
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret

Function at 0x478460
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], 1
mov esi, esp
push str.Global_rtp_svc_shutdown_event
push 0
push 1
call fcn.00478340
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478548
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push str.Global_rtpsvc_instance_mutex
push 1
call fcn.00478340
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x478535
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0xb7
jne 0x478522
mov esi, esp
push 0x2710
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0x102
jne 0x478522
mov dword [ebp - 4], 0
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.004c3b36
mov eax, dword [ebp - 4]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x478560
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x478592
jmp 0x4785bf
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4785b8
jmp 0x4785bf
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 4

Function at 0x478730
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
call fcn.0048ee70
test eax, eax
je 0x478788
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, esp
call fcn.004c3b36
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x478788
mov esi, esp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.004c3b36
jmp 0x47874f
mov edi, dword [ebp + 8]
call fcn.0048ee70
pop edi
pop esi
add esp, 4
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret

Function at 0x478e10
Capabilities:
Unload minifilter driver

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
call fcn.00478ba0
add esp, 4
test eax, eax
jne 0x478e42
xor eax, eax
jmp 0x478e63
call fcn.00478cb0
push str.TFsFlt
call sub.FLTLIB.DLL_FilterUnload
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x478e5e
xor eax, eax
jmp 0x478e63
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x478e84]
call fcn.004c3b59
pop eax
pop edx
add esp, 0x10
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x478ea0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push esi
push edi
lea edi, [ebp - 0x42c]
mov ecx, 0x10b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push str.SYSTEMCurrentControlSetServices_
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.004a4ecc
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x478ef6
jmp 0x478f67
mov dword [ebp - 8], 0
jmp 0x478f08
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jae 0x478f67
lea edx, [ebp - 0x218]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004a4ecc
add esp, 0xc
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x4f4880]
push edx
push 0x104
lea eax, [ebp - 0x428]
push eax
call fcn.004a6ba9
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x428]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, esp
call fcn.004c3b36
jmp 0x478eff
push edx
mov ecx, ebp
push eax
lea edx, [0x478f98]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x42c
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret

Function at 0x478fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
push edi
lea edi, [ebp - 0x428]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov esi, esp
push 0x104
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, esp
call fcn.004c3b36
push str.System32Drivers_
push 0x104
lea ecx, [ebp - 0x214]
push ecx
call fcn.004a6ba9
add esp, 0xc
call fcn.0048c630
test eax, eax
je 0x479045
mov dword [0x4f488c], 0x4d4640
mov dword [ebp - 8], 0
jmp 0x479057
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 1
jae 0x4790af
mov eax, dword [ebp - 8]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x4f488c]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0x4d465c
push 0x104
lea eax, [ebp - 0x424]
push eax
call fcn.004a564d
add esp, 0x14
push str._DelLocal__SetupDll__DeleteFiles...
mov esi, 0x4f8948
call fcn.0048aa50
add esp, 4
push 0
lea ecx, [ebp - 0x424]
push ecx
call fcn.0048cd60
add esp, 8
jmp 0x47904e
push edx
mov ecx, ebp
push eax
lea edx, [0x4790e0]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x428
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x479fe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47a012
jmp 0x47a04b
mov esi, esp
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 3
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.004c3b36
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47a044
jmp 0x47a04b
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47ad00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
lea edi, [ebp - 0x21c]
mov ecx, 0x87
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004a1e50
add esp, 0xc
mov dword [ebp - 0x21c], 0
mov esi, esp
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push 0x4d34b8
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, esp
call fcn.004c3b36
lea edx, [ebp - 0x214]
push edx
call fcn.0047ae10
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x47ad99
jmp 0x47adb8
push 0x103
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a6b6c
add esp, 0xc
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x47adec]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x21c
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x47ae10
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push esi
push edi
lea edi, [ebp - 0x648]
mov ecx, 0x192
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.004a1e50
add esp, 0xc
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x220], edx
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.004a1e50
add esp, 0xc
mov dword [ebp - 0x434], 0
mov word [ebp - 0x640], 0
push 0x206
push 0
lea ecx, [ebp - 0x63e]
push ecx
call fcn.004a1e50
add esp, 0xc
lea edx, [ebp - 0x214]
mov dword [ebp - 0x648], edx
mov esi, esp
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, esp
call fcn.004c3b36
test eax, eax
je 0x47aeec
jmp 0x47b07e
mov esi, esp
lea ecx, [ebp - 0x42c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
jne 0x47af15
jmp 0x47b07e
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.004a6b6c
add esp, 0xc
push 0x4d3520
lea ecx, [ebp - 0x214]
push ecx
call fcn.004305f0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x47af68
mov dword [ebp - 0x434], 1
lea edx, [ebp - 0x214]
mov dword [ebp - 0x21c], edx
jmp 0x47af77
mov eax, dword [ebp - 0x21c]
add eax, 4
mov dword [ebp - 0x21c], eax
push 0x4d3528
mov ecx, dword [ebp - 0x21c]
add ecx, 2
push ecx
call fcn.004305f0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x47b044
mov edx, dword [ebp - 0x21c]
mov word [edx], 0
cmp dword [ebp - 0x434], 0
je 0x47afde
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x42c]
push ecx
push 0x4d352c
push 0x104
lea edx, [ebp - 0x640]
push edx
call fcn.004a564d
add esp, 0x14
jmp 0x47affe
mov eax, dword [ebp - 0x220]
push eax
push 0x4d3538
push 0x104
lea ecx, [ebp - 0x640]
push ecx
call fcn.004a564d
add esp, 0x10
mov esi, esp
push 0
lea edx, [ebp - 0x640]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
jne 0x47b034
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0xb7
je 0x47b034
jmp 0x47b07e
mov eax, dword [ebp - 0x21c]
mov word [eax], 0x5c
jmp 0x47af77
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
jne 0x47b077
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004c3b36
cmp eax, 0xb7
je 0x47b077
jmp 0x47b07e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x47b0b0]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x648
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret
Function at 0x47b7c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esi]
add eax, eax
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
push 0
mov dword [esi], 0
mov edx, dword [ecx]
push str.Version
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
shr ecx, 1
test eax, eax
mov dword [esi], ecx
jne 0x47b811
mov eax, dword [esp + 8]
cmp eax, 1
je 0x47b80f
cmp eax, 2
je 0x47b80f
mov eax, 0xd
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x47c090
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x47c1d8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
push str.RtlGetVersion
push str.ntdll.dll
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x118
mov edi, eax
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.004a1e50
add esp, 0xc
cmp edi, ebx
mov dword [esp + 0x30], 0x11c
je 0x47c0f7
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
je 0x47c11b
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [esp + 0x30]
push edx
call edi
cmp eax, ebx
jne 0x47c11b
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x114
call edi
cmp eax, ebx
je 0x47c150
movzx edx, word [esp + 0x34]
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x38], dx
mov eax, dword [esi + 0x14]
mov cx, word [esp + 0x38]
mov word [eax + 0x3a], cx
mov edx, dword [esi + 0x14]
mov ax, word [esp + 0x144]
mov word [edx + 0x3e], ax
movzx edx, word [esp + 0x3c]
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x3c], dx
jmp 0x47c16c
mov eax, dword [esi + 0x14]
mov word [eax + 0x38], bx
mov ecx, dword [esi + 0x14]
mov word [ecx + 0x3a], bx
mov edx, dword [esi + 0x14]
mov word [edx + 0x3e], bx
mov eax, dword [esi + 0x14]
mov word [eax + 0x3c], bx
xor eax, eax
push str.GetNativeSystemInfo
push 0x4e1bf8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
pop edi
pop ebp
je 0x47c1b4
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x47c1bf
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
mov cx, word [esp + 4]
mov word [eax + 0x40], cx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov edx, dword [esi + 0x14]
mov word [edx + 0x42], ax
mov ecx, dword [esp + 0x144]
pop ebx
xor ecx, esp
call fcn.004a1873
add esp, 0x144
ret
Function at 0x47c3a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4c865d
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x230], eax
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor edi, edi
push 0x208
mov dword [esp + 0x248], edi
lea eax, [esp + 0x32]
push edi
mov dword [esp + 0x10], edi
push eax
mov dword [esp + 0x18], esi
mov word [esp + 0x38], di
call fcn.004a1e50
add esp, 0xc
push 0x104
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x2c]
push 0x5c
push edx
call fcn.0040e800
mov word [eax + 2], di
add esp, 8
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00408270
push 0x4e1c74
mov dword [esp + 0x248], edi
lea ecx, [esp + 0x14]
push esi
mov edi, 1
push ecx
mov dword [esp + 0x14], edi
call fcn.0044c960
add esp, 0xc
push eax
mov ecx, esi
mov dword [esp + 0x248], edi
call fcn.004034a0
lea ecx, [esp + 0x10]
call fcn.00403470
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004a1873
add esp, 0x240
ret

Function at 0x47cae0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
call fcn.004033d0
lea eax, [esp + 0x10]
push eax
push 1
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x47cb6d
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ecx, esi
je 0x47cb3d
push ecx
call ebx
cmp eax, esi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jne 0x47cb6d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push edx
push esi
push str.SupplyID
push ecx
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0x1c]
cmp eax, esi
mov edi, dword [esp + 0x14]
je 0x47cb80
push eax
call ebx
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x24]
call fcn.00403470
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a1873
mov esp, ebp
pop ebp
ret
Function at 0x47df30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c68a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.masterconn11.qq.com
lea ecx, [esi + 0x10]
mov dword [esp + 8], esi
mov word [esi + 4], 0x1388
mov dword [esi + 8], 0x1bb
mov dword [esi + 0xc], 0x1f40
call fcn.004032c0
lea eax, [esi + 0x10]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 0
call fcn.00403320
mov byte [esp + 0x30], 1
cmp dword [0x4f8860], 0
movzx eax, word [esi + 8]
je 0x47dfbf
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004033a0
push eax
call dword [0x4f8860]
mov dword [esi], eax
lea ecx, [esp + 8]
call fcn.00403370
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a1873
add esp, 0x30
ret

Function at 0x47e5a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4c693b
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x628], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x640]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x650]
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
call fcn.00418110
cmp ebp, edi
mov dword [esp + 0x648], edi
mov word [esp + 0x22c], di
je 0x47e71a
lea eax, [esp + 0x22c]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x47e71a
mov ecx, dword [0x4e1cf0]
mov dx, word [0x4e1cf4]
mov dword [esp + 0x1c], ecx
mov word [esp + 0x20], dx
lea ebx, [esp + 0x22c]
jmp 0x47e650
mov ax, word [ebx]
push 0x104
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x28], ax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x47e6f7
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0x4e1cf8
push eax
call fcn.00401450
lea eax, [esp + 0x30]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47e690
sub eax, edx
sar eax, 1
mov esi, eax
cmp esi, 0x104
jae 0x47e6f7
push esi
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.004a716c
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x47e6f7
lea edx, [ebp + esi*2]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4e1ba0
lea ecx, [esp + 0x440]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea edx, [esp + 0x434]
push edx
lea ecx, [esp + 0x18]
call fcn.00403020
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x47e6f7
test edi, edi
jne 0x47e70f
cmp word [ebx], di
jne 0x47e650
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
jmp 0x47e71f
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00418140
lea ecx, [esp + 0x14]
call fcn.00418010
mov eax, esi
mov ecx, dword [esp + 0x640]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x628]
xor ecx, esp
call fcn.004a1873
add esp, 0x638
ret
Function at 0x47e760
Capabilities:
Enumerate processes
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7ad6
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4f3280]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [0x4f3280]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [esp + 0x1c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x47e7df
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x47e7e6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47e923
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea esp, [esp]
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x24]
jne 0x47e80e
mov eax, dword [esp + 0x34]
push eax
push 0
push 0x410
call ebx
mov esi, eax
test esi, esi
jne 0x47e822
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47e7f0
jmp 0x47e917
lea ecx, [esp + 0x10]
call fcn.00418110
xor ebx, ebx
mov dword [esp + 0x468], ebx
call fcn.0048cd10
test eax, eax
je 0x47e8c3
push 0x206
lea edx, [esp + 0x252]
push ebx
push edx
mov word [esp + 0x258], bx
call fcn.004a1e50
add esp, 0xc
push 0x104
lea eax, [esp + 0x250]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x47e90e
lea ecx, [esp + 0x24c]
push ecx
lea ecx, [esp + 0x18]
call fcn.0047e5a0
mov byte [esp + 0x46c], 1
mov edx, dword [esp + 0x18]
push edx
push 0x4e1cfc
mov esi, 0x4f8948
call fcn.0048aa50
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.00418170
lea ecx, [esp + 0x14]
call fcn.00418010
jmp 0x47e90e
push 0x104
push 0x105
lea ecx, [esp + 0x18]
call fcn.004031c0
push eax
push ebx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403220
mov ecx, dword [esp + 0x10]
push ecx
push 0x4e1cfc
mov esi, 0x4f8948
call fcn.0048aa50
mov ecx, dword [esp + 0x20]
add esp, 8
lea edx, [esp + 0x10]
push edx
call fcn.00418170
lea ecx, [esp + 0x10]
call fcn.00418010
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.004a1873
mov esp, ebp
pop ebp
ret 4