joyce8/EMBER2024-capa huggingface dataset:
Function at 0x526140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576814
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
call fcn.004e38e0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
call fcn.004e9c60
push eax
lea ecx, [ebp - 0x40]
call fcn.004e9c60
push eax
push 0x582f08
lea ecx, [ebp - 0x28]
push ecx
call fcn.004e2110
add esp, 0x10
lea edx, [ebp - 0x44]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x28]
call fcn.004e9c60
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x52620d
lea ecx, [ebp + 0x38]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x38]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x526267
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e9c60
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x526267
lea ecx, [ebp + 0x38]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp + 0x38]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.004e99a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004e99a0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004e99a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004e99a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x48
Function at 0x5269c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57694e
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 1
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9840
mov byte [ebp - 4], 2
mov dword [ebp - 0x244], str.SoftwareMacromediaFlashHelper
lea ecx, [ebp - 0x23c]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x244]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x526b3a
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0054cf60
add esp, 0xc
mov dword [ebp - 0x220], 1
lea edx, [ebp - 0x21c]
push edx
push 0
lea eax, [ebp - 0x220]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c60
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x526ae8
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c60
push eax
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e99f0
jmp 0x526b2b
lea ecx, [ebp + 0x24]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c60
push eax
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x526baa
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x244]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x526baa
lea ecx, [ebp - 0x238]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c60
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x240], eax
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.004e98f0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e99a0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004e99a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x34
Function at 0x526c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57699f
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x270], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004e9280
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004e1a50
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e9870
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004e9c60
push eax
push 0x5836cc
lea ecx, [ebp - 0x268]
push ecx
call fcn.004e2110
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x26c]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x268]
call fcn.004e9c60
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x526d72
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.0054cf60
add esp, 0xc
mov dword [ebp - 0x21c], 1
lea edx, [ebp - 0x220]
push edx
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x583718
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x526d65
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x583728
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e99f0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.004e9c60
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004e19c0
add esp, 8
mov eax, dword [ebp - 0x270]
or eax, 1
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.004e99a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e99a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e9090
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x527010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576a50
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x69], 0
lea ecx, [ebp + 8]
call fcn.004e9280
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004e1a50
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004e9c60
push eax
push 0x583a20
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e2110
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x30]
call fcn.004e9c60
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x52715d
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x583ab8
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5270f3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push str.isScriptDebugger
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x64], 1
jne 0x527109
mov byte [ebp - 0x6a], 1
jmp 0x52710d
mov byte [ebp - 0x6a], 0
mov dl, byte [ebp - 0x6a]
mov byte [ebp - 0x69], dl
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp + 8]
call fcn.004e9280
push eax
push str._s_dwDebugger_lu
lea ecx, [ebp - 0x60]
push ecx
call fcn.004e2190
add esp, 0x10
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x78], esp
lea edx, [ebp - 0x60]
push edx
call fcn.004e8f00
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x74]
call fcn.00527af0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004e9090
mov al, byte [ebp - 0x69]
mov byte [ebp - 0x6b], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004e99a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004e9090
mov al, byte [ebp - 0x6b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x527530
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x57e278
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x14]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5275ad
lea ecx, [ebp + 0x20]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 0x20]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x527602
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x527602
lea ecx, [ebp + 0x20]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x20]
call fcn.004e9c60
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 8]
call fcn.004e99a0
lea ecx, [ebp + 0x20]
call fcn.004e99a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x30
Function at 0x527950
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576b2a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004e9870
mov dword [ebp - 0x34], 0x57e610
lea eax, [ebp - 0x2c]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x34]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5279ca
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004e99a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x18

Function at 0x52a960
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
call fcn.004e9280
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004e1a50
add esp, 8
mov dword [ebp - 0x2c], 0x580cf8
lea ecx, [ebp - 0x20]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x2c]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x52aa17
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.0054cf60
add esp, 0xc
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x1c]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004e9c60
push eax
push 1
push 0
push 0x580dec
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52aa68
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x52aa68
lea ecx, [ebp - 0x1c]
call fcn.004e9290
shl eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004e9c60
push eax
push 1
push 0
push 0x580e3c
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.004e99a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 4
Function at 0x52b5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57723a
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x230]
call fcn.004e9870
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004e9870
mov byte [ebp - 4], 1
push 0
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x52b65b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004e99f0
push str._tencentQQPCMgrAdBlockuserconfig.dat
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.004ee4f0
add esp, 0xc
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004e9960
lea ecx, [ebp - 0x26c]
call fcn.004e99a0
lea ecx, [ebp - 0x230]
call fcn.004e9c60
push eax
call fcn.004e44e0
add esp, 4
test eax, eax
je 0x52b6ba
mov byte [ebp - 0x249], 1
jmp 0x52b6c1
mov byte [ebp - 0x249], 0
mov dl, byte [ebp - 0x249]
mov byte [ebp - 0x24a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004e99a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004e99a0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret
Function at 0x533380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f86
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x364
call fcn.00518ff0
movzx eax, al
test eax, eax
je 0x5333c5
jmp 0x5334ab
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e3d50
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add edx, 0x364
mov dword [ebp - 0x34], edx
push 4
lea ecx, [ebp - 0x14]
call fcn.00520d90
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.005485a0
push 4
lea ecx, [ebp - 0x18]
call fcn.00520d90
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00543880
jmp 0x53341a
lea ecx, [ebp - 0x14]
call fcn.00541d80
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00541b70
movzx eax, al
test eax, eax
je 0x53349c
lea ecx, [ebp - 0x14]
call fcn.00547b90
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004e9280
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004e1a50
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0053e0f0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004e9c60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x60]
call fcn.004e99a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004e99a0
jmp 0x533412
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004e99a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret
Function at 0x533cd0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x21], 0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x533d38
mov dword [ebp - 0x28], 1
jmp 0x533da1
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.004e9c60
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x533d62
mov dword [ebp - 0x28], 2
jmp 0x533da1
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov byte [ebp - 0x21], al
movzx ecx, byte [ebp - 0x21]
test ecx, ecx
jne 0x533d84
mov dword [ebp - 0x28], 3
jmp 0x533da1
cmp dword [ebp - 0x1c], 1
je 0x533d90
cmp dword [ebp - 0x1c], 3
jne 0x533d99
mov dword [ebp - 0x28], 4
jmp 0x533da1
xor edx, edx
jne 0x533d17
cmp dword [ebp - 0x30], 0
je 0x533db1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x2c], 0
je 0x533dc1
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
lea ecx, [ebp + 8]
call fcn.004e99a0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x569595
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e56f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005567a0
mov dword [ebp - 0x14], eax
cmp dword [0x5eb174], esi
jne 0x569688
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x569615
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x569768
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x569768
push 0x5c9594
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x569768
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x5eb174], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x5eb178], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5c95c4
push edi
mov dword [0x5eb17c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5eb184], eax
test eax, eax
je 0x569685
push 0x5c95e0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5eb180], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5696ad
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5696a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5696c2
push 4
pop eax
jmp 0x56976a
cmp dword [ebp - 0x14], esi
je 0x5696c2
push dword [0x5eb174]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5696a7
mov eax, dword [0x5eb180]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x569720
cmp dword [0x5eb184], edi
je 0x569720
push eax
call ebx
push dword [0x5eb184]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x569720
test eax, eax
je 0x569720
call ecx
test eax, eax
je 0x569715
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x569715
test byte [ebp - 8], 1
jne 0x569720
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x569750
mov eax, dword [0x5eb178]
cmp eax, edi
je 0x56974d
push eax
call ebx
test eax, eax
je 0x56974d
call eax
mov esi, eax
test esi, esi
je 0x56974d
mov eax, dword [0x5eb17c]
cmp eax, edi
je 0x56974d
push eax
call ebx
test eax, eax
je 0x56974d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5eb174]
call ebx
test eax, eax
je 0x569768
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x56976a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054caf9
mov esp, ebp
pop ebp
ret