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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52b3a0]
test eax, eax
je 0x47c759
cmp dword [0x52ae34], 0
jne 0x47c832
mov ecx, dword [0x52ae30]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x52ae2c], esi
jle 0x47c7a2
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x52ae2c]
jl 0x47c790
push str.MiniUI.dll
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040bd40
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x47c7f7
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c7f3
push 1
lea edx, [ebp - 0x804]
push section..data
push edx
call fcn.0040c010
add esp, 0xc
xor eax, eax
jmp 0x47c804
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x52ae34], eax
test eax, eax
jne 0x47c81d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push str.GetMiniUI2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52b3a0], eax
test eax, eax
je 0x47c80d
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret

Function at 0x47c850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52b3a4]
test eax, eax
je 0x47c879
cmp dword [0x52ae34], 0
jne 0x47c952
mov ecx, dword [0x52ae30]
push esi
push edi
push 0x400
lea eax, [ebp - 0x804]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x804]
push edx
call edi
xor esi, esi
cmp dword [0x52ae2c], esi
jle 0x47c8c2
lea ecx, [ecx]
lea eax, [ebp - 0x804]
push eax
call edi
inc esi
cmp esi, dword [0x52ae2c]
jl 0x47c8b0
push str.MiniUI.dll
lea ecx, [ebp - 0x804]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x804]
push eax
call fcn.0040bd40
add esp, 4
pop edi
pop esi
test eax, eax
jne 0x47c917
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c913
push 1
lea edx, [ebp - 0x804]
push section..data
push edx
call fcn.0040c010
add esp, 0xc
xor eax, eax
jmp 0x47c924
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x52ae34], eax
test eax, eax
jne 0x47c93d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
push str.GetMiniUI4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x52b3a4], eax
test eax, eax
je 0x47c92d
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret
Function at 0x47cc00
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0x450
mov esi, ecx
call fcn.0043b4c0
add esp, 4
mov ecx, esi
call fcn.0047c1d0
test eax, eax
je 0x47cc3a
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x3e8
push 0x67
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret
Function at 0x47ec80
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7f56
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x528c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x10], edi
test byte [0x52b3c8], 1
lea ebx, [edi + 7]
jne 0x47ecfb
or dword [0x52b3c8], 1
push edi
xor eax, eax
push 0x5124f8
mov ecx, 0x52b3ac
mov dword [ebp - 4], edi
mov dword [0x52b3c4], ebx
mov dword [0x52b3c0], edi
mov word [0x52b3b0], ax
call fcn.0041b370
push 0x4fc150
call fcn.0048ef84
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, 8
cmp dword [0x52b3c0], edi
jne 0x47edc9
xor ecx, ecx
push 0x12
mov word [ebp - 0x28], cx
push str.DrvMgr_ReBoot.ini
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
call fcn.0041b370
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x52ac20
mov dword [ebp - 4], 1
call fcn.0040fef0
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 2
call fcn.0046cb80
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
mov ecx, 0x52b3ac
mov byte [ebp - 4], 3
call fcn.0041b190
cmp dword [ebp - 0x30], esi
jb 0x47ed76
mov eax, dword [ebp - 0x44]
push eax
call fcn.0048d108
add esp, 4
mov eax, dword [ebp - 0x10]
xor ecx, ecx
add eax, 0xfffffff0
mov word [ebp - 0x44], cx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47eda5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], esi
jb 0x47edbd
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0048d108
add esp, 4
xor edx, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], dx
mov eax, dword [0x52b3b0]
cmp dword [0x52b3c4], esi
jae 0x47eddb
mov eax, 0x52b3b0
push eax
call fcn.00482580
mov esi, dword [ebp + 8]
add esp, 4
push 0xffffffffffffffff
push edi
xor eax, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], edi
push 0x52b3ac
mov ecx, esi
mov word [esi + 4], ax
call fcn.0041b190
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ee20
Capabilities:
Check if file exists
Delete file
Move file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7f96
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x528c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x52b3e8], 1
mov dword [ebp - 4], 0
jne 0x47ee7f
or dword [0x52b3e8], 1
push 0x52b3cc
mov byte [ebp - 4], 1
call fcn.0047ec80
push 0x4fc190
call fcn.0048ef84
add esp, 8
mov esi, dword [ebp + 0x24]
mov edi, 8
cmp esi, 2
jne 0x47eebe
mov ecx, dword [0x52b3d0]
cmp dword [0x52b3e4], edi
jae 0x47ee9f
mov ecx, 0x52b3d0
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x47eeaa
lea eax, [ebp + 0xc]
push ecx
push str.reboot
push eax
push str.DRIVER_REBOOT
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x47ef35
cmp esi, 3
je 0x47eec8
cmp esi, 1
jne 0x47ef35
push 0x1fe
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0048d9d0
mov ecx, dword [0x52b3d0]
add esp, 0xc
cmp dword [0x52b3e4], edi
jae 0x47eef1
mov ecx, 0x52b3d0
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x47eefc
lea eax, [ebp + 0xc]
push ecx
push 0xff
lea ecx, [ebp - 0x210]
push ecx
push 0x5124f8
push eax
push str.DRIVER_REBOOT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
push str.reboot
push edx
call fcn.0048f3cc
add esp, 8
test eax, eax
jne 0x47ef35
lea esi, [eax + 2]
mov eax, dword [0x52b3d0]
cmp dword [0x52b3e4], edi
jae 0x47ef47
mov eax, 0x52b3d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47ef6f
mov eax, dword [0x52b3d0]
cmp dword [0x52b3e4], edi
jae 0x47ef64
mov eax, 0x52b3d0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp + 0x20], edi
jb 0x47ef80
mov eax, dword [ebp + 0xc]
push eax
call fcn.0048d108
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d9be
mov esp, ebp
pop ebp
ret 0x20
Function at 0x47f1b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 6
push 0xba
push 0x198
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x52b860]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadImageW]
call ebx
mov ecx, dword [esi + 4]
push eax
push 1
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x52b860]
push 0
push 0x32
mov dword [ebp - 4], edx
call edi
push eax
push 0x31
call edi
push eax
mov eax, dword [ebp - 4]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
push eax
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x52ae10]
add edi, 0x10
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x52aeac]
lea edx, [ebp - 4]
push edx
call fcn.0047c9c0
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 4]
lea eax, [esi + 0x20]
push ecx
lea ecx, [ebx + 4]
mov dword [ebp - 4], eax
call fcn.0047bad0
lea eax, [ebp - 4]
lea edx, [esi + 0x24]
push eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 4], edx
call fcn.0047bbb0
mov eax, dword [esi + 4]
test eax, eax
je 0x47f2b9
mov ecx, 4
lea edx, [ebp - 8]
mov word [ebp - 4], cx
push edx
lea ecx, [esi + 0x2c]
mov dword [ebp - 8], eax
call fcn.0047bc90
mov ecx, esi
call fcn.0047e710
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00484870
test eax, eax
je 0x47f2da
add eax, 0x24
jmp 0x47f2dc
xor eax, eax
mov dword [esi + 0x6c], eax
test eax, eax
je 0x47f309
mov edi, dword [eax]
push 1
push 0x175
add edi, 4
call fcn.00483870
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x6c]
add esp, 4
push eax
mov eax, dword [edi]
push 0
push ecx
push edx
call eax
mov dword [esi + 0x68], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x483870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push ebx
mov ebx, dword [0x52b85c]
push esi
push 0x50700c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x483896
pop esi
pop ebx
pop ebp
ret
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4838d0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4838d0
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4838d7
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x4838f7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push edi
push ebx
push eax
call fcn.0048fa10
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push 0
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4838d0
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.00483550
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4849c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
push edi
je 0x4849d2
mov edi, dword [esi + 0x34]
jmp 0x4849d5
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484a12
test edi, edi
je 0x484a12
cmp dword [ebp + 8], 0
je 0x484a06
mov ecx, esi
call fcn.00484670
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 4
Function at 0x484a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x484a79
mov eax, dword [esi + 0x48]
add eax, 4
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x484aa5
cmp dword [esi + 0x2c], 0
je 0x484a4b
mov edi, dword [esi + 0x34]
jmp 0x484a4e
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484aa5
test edi, edi
je 0x484aa5
mov ecx, esi
call fcn.00484670
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
je 0x484a84
mov edi, dword [esi + 0x34]
jmp 0x484a87
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x484aa5
test edi, edi
je 0x484aa5
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x4879ae
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x52b8b8], 0
push esi
jne 0x48791c
call fcn.00487830
test eax, eax
je 0x48795f
mov eax, dword [0x52b8b8]
cmp eax, 1
jne 0x48793d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x48795f
pop esi
ret
push eax
call dword [0x52b8c0]
test eax, eax
jne 0x4879a7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x487963
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x52b8b8]
call dword [0x52b8c0]
mov edi, eax
test edi, edi
je 0x487988
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4879a4
mov edi, esi
add esi, 0xff0
push edi
push dword [0x52b8b8]
call dword [0x52b8bc]
add edi, 0x10
cmp edi, esi
jb 0x487990
mov eax, edi
pop edi
pop esi
ret
jmp 0x487909
Function at 0x48a740
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x48a778
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0048d9be
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0048d9d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x48a843
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x48a7b0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x48a843
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x48a7d2
mov eax, dword [0x4fe058]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48a7f0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x48a804
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0048d9be
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048d9be
add esp, 0x20c
ret
Function at 0x48b120
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.0048e100
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x48b28b
cmp dword [esp + 0x2c20], edi
je 0x48b28b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push pe_nt_image_headers32
push eax
call fcn.00438100
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x48b264
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.0048d9d0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48b257
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.0048d9d0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.0048cee0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.0048aa10
test eax, eax
jne 0x48b257
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x48b26e
inc ebx
cmp ebx, 0x10
jl 0x48b170
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0048d9be
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0048d9be
add esp, 0x2c14
ret
Function at 0x48b570
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x48b771
cmp dword [esp + 0x2f8], 0
je 0x48b771
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0048d9d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x50b010
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48b738
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x48b72b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48b6f9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48b6ee
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0048d9d0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.0048b460
add esp, 0x14
test eax, eax
je 0x48b6ee
cmp byte [esp + 0x24], 0
je 0x48b6b2
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x48b6ee
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x48b6e1
mov cl, byte [esi + eax]
test cl, cl
je 0x48b6e1
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x48b6c6
jmp 0x48b6e5
test edx, edx
jne 0x48b6e6
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x48b610
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x48b771
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.0048aa10
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0048d9be
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0048d9be
add esp, 0x2ec
ret
Function at 0x48bb10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x528c24]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x48bc8d
cmp ebp, 0x20
jb 0x48bc8d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0048d9d0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x50b0a0
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x48bc8d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48bba0
sub eax, edx
cmp eax, 0x40
jne 0x48bc8d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x48bbde
mov cl, byte [esi + eax]
test cl, cl
je 0x48bbde
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x48bbc6
jmp 0x48bbe2
test edx, edx
jne 0x48bbe3
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x48bc1b
mov cl, byte [edx + eax]
test cl, cl
je 0x48bc1b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x48bc00
jmp 0x48bc1f
test esi, esi
jne 0x48bc20
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0048d9d0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.0048ab90
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x48bc8d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.0048aa10
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0048d9be
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0048d9be
add esp, 0x50c
ret