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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d465d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
push edi
mov eax, dword [0x5060c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2c
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x30
push 0
push eax
call fcn.004a4300
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004b88f5
add esp, 4
call fcn.004b88d4
mov esi, eax
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x430e57
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_timer_lu
push eax
call fcn.0041f6d0
mov eax, dword [ebp - 0x10]
mov edx, 0x50af90
mov edi, eax
add esp, 0xc
mov esi, 0x104
sub edi, edx
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x430d91
movzx ecx, word [edi + edx]
test cx, cx
je 0x430d91
mov word [edx], cx
add edx, 2
sub esi, 1
jne 0x430d73
lea ecx, [edx - 2]
mov dword [ebp - 4], 0xffffffff
test esi, esi
cmovne ecx, edx
xor edx, edx
mov word [ecx], dx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x430dbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [ebp - 0x18], 0x50af90
mov dword [ebp - 0x38], 0x430a00
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x4eb424
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x50af88], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x51b640]
mov dword [0x506c44], 0
sub eax, dword [0x51b63c]
je 0x430e44
push 0
push 0x32
push 1
push dword [0x50af88]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x506c44], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ea0
int3
Function at 0x433850
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [esi + 0x154], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x158], 0
mov dword [esi + 0x174], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], 1
call fcn.004339e0
lea ebx, [esi + 0x150]
mov dword [ebp + 0xc], ebx
call fcn.0044e4d0
mov esi, eax
test ebx, ebx
je 0x433922
push edi
lea eax, [esi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push dword [esi + 0xfc]
lea edi, [esi + 0xf8]
push dword [edi]
call fcn.004a0940
cmp eax, dword [esi + 0xfc]
jne 0x4338ea
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4338de
mov dword [eax], ebx
add dword [edi + 4], 4
jmp 0x4338ea
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004041e0
lea eax, [esi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp dword [esi + 0x104], 0
pop edi
jne 0x433922
push 0
push 0
push esi
push 0x44e300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x104], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x439fb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4ebf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5060c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00405260
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x19c], 0x1e
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 1
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1c0], edi
mov dword [edi + method.TXEventObserver_class_CPageHome__class_IEventObserver_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb4], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0xa
cmp byte [ebx + 8], 0
je 0x43a178
mov eax, dword [ebx]
cmp eax, 0x64
je 0x43a178
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push 0
call esi
push 0x64
mov dword [edi + 0xe0], eax
push dword [ebx]
push dword [edi + 0xe4]
call esi
mov dword [edi + 0xe4], eax
push 0x320
call fcn.004a2383
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00415d60
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x150], esi
je 0x43a1c1
test esi, esi
je 0x43a1ab
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x150]
mov dword [edi + 0x150], esi
test eax, eax
je 0x43a1c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x320
call fcn.004a2383
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00415d60
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x154], esi
je 0x43a20a
test esi, esi
je 0x43a1f4
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x154]
mov dword [edi + 0x154], esi
test eax, eax
je 0x43a20a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x1c4], 0x43bcd0
mov eax, edi
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 0x43adf0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5060c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1a0], 0
je 0x43aefc
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
mov ecx, edi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x1a4]
mov edx, dword [edi + 0x64]
sub ecx, esi
sub edx, dword [edi + 0x5c]
mov eax, dword [esp + 0x28]
add edx, esi
add eax, ecx
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov eax, dword [edi + 0x188]
sub eax, dword [edi + 0x190]
sub eax, esi
add eax, edx
cmp ecx, eax
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [edi + 0x198]
cmovle ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x43aedf
mov eax, dword [esp + 0x1c]
mov ebx, dword [edi + 0x194]
cmp dword [esp + 0x18], eax
jne 0x43aebf
sub ebx, edx
add ebx, esi
mov dword [edi + 0x198], ebx
jmp 0x43aee9
sub edx, esi
mov eax, edx
cdq
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
imul ebx
push esi
push edx
push eax
call fcn.004d0440
mov dword [edi + 0x198], eax
test eax, eax
jns 0x43aee9
mov dword [edi + 0x198], 0
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ecx
push 0x4b0
mov ecx, edi
call dword [eax + 0x28]
jmp 0x43af46
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [edi + 0x184]
sub esp, 0x10
mov ecx, edi
mov eax, esp
push dword [esp + 0x24]
movups xmmword [eax], xmm0
push dword [esp + 0x24]
call fcn.0043b080
mov ecx, edi
test eax, eax
je 0x43af3f
push 1
jmp 0x43af41
push 0
call fcn.0043b110
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a2700
mov esp, ebp
pop ebp
ret 0x10

Function at 0x443ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x168]
test eax, eax
je 0x443be5
cmp dword [ebp + 8], 0
jne 0x443bc8
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xd0]
test eax, eax
je 0x443be5
mov eax, dword [esi + 0x168]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x448330
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5060c0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1a0], 0
je 0x448420
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
mov ecx, esi
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ebx, dword [esp + 0x18]
xor edx, edx
mov edi, dword [esi + 0x60]
sub edi, dword [esi + 0x58]
mov ecx, dword [esi + 0x1a4]
add edi, ebx
mov eax, dword [esp + 0x24]
sub ecx, ebx
add eax, ecx
mov dword [esp + 0x18], edi
cmovns edx, eax
mov eax, dword [esi + 0x184]
sub eax, dword [esi + 0x18c]
mov dword [esp + 0x20], eax
sub eax, ebx
add eax, edi
cmp edx, eax
cmovg edx, eax
mov eax, dword [esi + 0x198]
mov dword [esp + 0x10], eax
test edx, edx
jne 0x4483e3
xor ecx, ecx
jmp 0x448407
mov eax, dword [esp + 0x20]
sub edi, ebx
mov ecx, dword [esi + 0x194]
add eax, edi
cmp edx, eax
jne 0x4483fd
sub ecx, dword [esp + 0x18]
add ecx, ebx
jmp 0x448407
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov eax, dword [esi]
mov dword [esi + 0x198], ecx
lea ecx, [esp + 0x10]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x28]
jmp 0x44846a
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x184]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x24]
movups xmmword [eax], xmm0
push dword [esp + 0x24]
call fcn.00448580
mov ecx, esi
test eax, eax
je 0x448463
push 1
jmp 0x448465
push 0
call fcn.0043b110
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a2700
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44e250
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x108]
mov dword [esi], vtable.CAnimateMgr.1.0
push ebx
mov dword [esi + 0x34], vtable.CAnimateMgr.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf8]
cmp eax, dword [esi + 0xfc]
je 0x44e286
mov dword [esi + 0xfc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44e2bd
push 0
push dword [esi + 0x104]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x104], 0
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0xf8]
call fcn.004035d0
mov ecx, esi
call fcn.0040c2f0
test byte [ebp + 8], 1
je 0x44e2ea
push 0x124
push esi
call fcn.004a23b3
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x450aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d61ad
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5060c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x144]
mov dword [ebp - 4], 0
mov dword [esi + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x140], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00403470
cmp dword [esi + 0x170], 0
movups xmm0, xmmword [ebp + 0x14]
movups xmmword [esi + 0x148], xmm0
movups xmm0, xmmword [ebp + 0x24]
movups xmmword [esi + 0x158], xmm0
movq xmm0, qword [ebp + 0x34]
movq qword [esi + 0x168], xmm0
jne 0x450b33
push 0
push 0
push esi
push 0x450a30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x170], eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450b55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34
Function at 0x452770
Capabilities:
Create process on windows
Create process suspended
Get explorer pid
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6405
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
xor edi, edi
mov esi, dword [ebp + 0x30]
test esi, esi
je 0x4527da
inc esi
mov ecx, 2
mov eax, esi
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.004a2c86
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
mov edi, eax
cmova ecx, dword [ebp + 0x20]
push ecx
push esi
push edi
call fcn.004b8ee5
add esp, 0x10
push 0x44
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], 0
push 0
push eax
mov dword [ebp - 0x68], 0
call fcn.004a4300
add esp, 0xc
mov dword [ebp - 0x38], 1
xorps xmm0, xmm0
mov eax, 1
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x34], ax
call dword [sym.imp.USER32.dll_GetShellWindow]
lea ecx, [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x70]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], eax
push ecx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x6c]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
push 0x20
push edi
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
mov ecx, dword [ebp - 0x68]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x78], eax
test ecx, ecx
je 0x452891
push ecx
call esi
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x45289b
push eax
call esi
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x4528a5
push eax
call esi
test edi, edi
je 0x4528b2
push edi
call fcn.004a2808
add esp, 4
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4528e8
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4528de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452950
push ecx
push edx
call fcn.004a23b3
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x452932
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x452928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452950
push ecx
push edx
call fcn.004a23b3
add esp, 8
mov eax, dword [ebp - 0x78]
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.004a2700
mov esp, ebp
pop ebp
ret
call fcn.004a78df
int3
Function at 0x454040
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d675d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov edx, str.isFACfg.ini
mov dword [ebp - 0x14], 0
call fcn.0047a2e0
push 0x2000
mov dword [ebp - 4], 0
call fcn.004a2c86
push 0x2000
mov ebx, eax
push 0
push ebx
call fcn.004a4300
mov esi, dword [0x51b69c]
add esp, 0x10
test esi, esi
je 0x4540bc
lock inc dword [esi + 4]
mov esi, dword [0x51b69c]
mov ecx, dword [0x51b698]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0xec]
push dword [ebp - 0x14]
push 0x1000
push ebx
push 0x4e9538
push str.AssocExts
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454113
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
test esi, esi
je 0x45413b
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x45413b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x45413b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi], 0
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x4541d3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00404a20
test al, al
jne 0x454188
mov eax, ebx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454170
sub eax, edx
mov ecx, edi
sar eax, 1
push eax
push ebx
call fcn.00404cd0
push ebx
call fcn.004a2808
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov esi, dword [ebp - 0x14]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4541b3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2700
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404ea0
int3
Function at 0x4544c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d67fb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x244], 0
call fcn.00480d70
cmp dword [0x51b6cc], 0
mov ecx, 0x101
mov eax, 0x201
cmovne eax, ecx
lea ecx, [ebp - 0x244]
push ecx
push eax
push 0
push str.CLSID1F23370B_625A_453E_9D2C_1FAF54061C85InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x45469f
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004a4300
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push esi
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x244]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45469f
call fcn.00480d70
cmp dword [0x51b6cc], esi
lea edx, [edi + 0x124]
mov ecx, str.ISShellPicExts32.dll
mov eax, str.ISShellPicExts64.dll
cmove eax, ecx
lea ecx, [ebp - 0x240]
push eax
call fcn.00459030
add esp, 4
mov dword [ebp - 4], esi
call fcn.004050c0
mov ecx, eax
test ecx, ecx
je 0x4546bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x21c]
push 0x4ee014
push eax
call fcn.0041f6d0
add esp, 8
mov dword [ebp - 0x220], esi
mov esi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
mov edx, str.regsvr32__s__u
push esi
call fcn.00459720
mov edx, dword [ebp - 0x220]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45464a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x454663
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x22c]
cmp ecx, 7
jbe 0x45469f
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454695
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4546c6
push ecx
push edx
call fcn.004a23b3
add esp, 8
xor eax, eax
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.004a2700
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ea0
call fcn.004a78df
int3
Function at 0x455140
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d68d6
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5060c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x84]
push eax
call fcn.00454ea0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x45522f
mov esi, dword [0x51b69c]
test esi, esi
je 0x45519e
lock inc dword [esi + 4]
mov esi, dword [0x51b69c]
mov ecx, dword [0x51b698]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x88]
mov eax, dword [ecx]
push edx
call dword [eax + 0x6c]
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4551d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.00454930
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x88]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45520d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x45522f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x45522f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x45522f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x6c], 7
lea edi, [ebp - 0x80]
push 0xf003f
cmova edi, dword [ebp - 0x80]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4552a8
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x45526b
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4552a8
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x28], 1
je 0x455295
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ecx
push dword [ebp - 0x28]
push 1
push edi
call fcn.00462c80
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0x50]
call fcn.00425e10
lea ecx, [ebp - 0x68]
call fcn.00425e10
lea ecx, [ebp - 0x80]
call fcn.00425e10
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.004a2700
mov esp, ebp
pop ebp
ret