joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b9c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.OnCountAuthorizationData
call fcn.004e8770
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0051f4c0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054209e
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
push 8
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.005443d0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax], 3
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x535200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x51ba50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.OnCountCDMData
call fcn.004e7e60
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0051f5a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054209e
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
push 8
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.005443d0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax], 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x535200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51be50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.OnCountFlashData
call fcn.004e7e60
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0051f5a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054209e
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
push 8
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.005443d0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x535200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51c190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x524390
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x51c890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x24c
call fcn.004e8b40
push eax
call fcn.004e40a0
add esp, 4
test eax, eax
je 0x51c927
mov ecx, dword [ebp - 0xc]
add ecx, 0x264
call fcn.004e8b40
push eax
call fcn.004e5900
add esp, 4
test eax, eax
je 0x51c8ef
push 0
push 0x7d0
push 0xa
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.0053a2d0
jmp 0x51c925
mov dword [ebp - 8], 0
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x27c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x24c
call fcn.004e8b40
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0052ca40
mov dword [ebp - 0x18], eax
jmp 0x51c94b
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x5242d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x29c], 2
jl 0x51c97b
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x524300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51d950
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c03c
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x238]
call fcn.004e8750
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x577768
lea eax, [ebp - 0x23c]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp - 0x248]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x51daee
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.005443d0
add esp, 0xc
mov dword [ebp - 0x220], 1
lea ecx, [ebp - 0x21c]
push ecx
push 0
lea edx, [ebp - 0x220]
push edx
push 0
push 0x5778b0
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x51da68
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x5778c4
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e88d0
jmp 0x51dadc
lea eax, [ebp - 0x26c]
push eax
call fcn.004e6f60
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e8840
lea ecx, [ebp - 0x26c]
call fcn.004e8880
lea ecx, [ebp - 0x238]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
push 1
push 0
push 0x57797c
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x51db90
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x248]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x51db90
lea ecx, [ebp - 0x284]
push ecx
call fcn.004e6f60
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e8840
lea ecx, [ebp - 0x284]
call fcn.004e8880
lea ecx, [ebp - 0x238]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
push 1
push 0
push 0x577a10
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 ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e1740
add esp, 8
mov ecx, dword [ebp - 0x244]
or ecx, 1
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.004e8880
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.0054546b
mov esp, ebp
pop ebp
ret 4
Function at 0x51dbf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c084
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5d86f0]
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.004e34a0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
call fcn.004e8b40
push eax
lea ecx, [ebp - 0x40]
call fcn.004e8b40
push eax
push 0x577c00
lea ecx, [ebp - 0x28]
push ecx
call fcn.004e1e90
add esp, 0x10
lea edx, [ebp - 0x44]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x28]
call fcn.004e8b40
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 0x51dcbd
lea ecx, [ebp + 0x38]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x38]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e8b40
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 0x51dd17
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e8b40
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x51dd17
lea ecx, [ebp + 0x38]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp + 0x38]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e8b40
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.004e8880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004e8880
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004e8880
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004e8880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x48
Function at 0x51e470
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c1be
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5d86f0]
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.004e8720
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 0x51e5ea
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005443d0
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.004e8b40
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x51e598
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.004e8b40
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.004e88d0
jmp 0x51e5db
lea ecx, [ebp + 0x24]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e8b40
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 0x51e65a
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 0x51e65a
lea ecx, [ebp - 0x238]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e8b40
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.004e87d0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e8880
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004e8880
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.0054546b
mov esp, ebp
pop ebp
ret 0x34
Function at 0x51e6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c20f
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5d86f0]
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.004e8160
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004e17d0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e8750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004e8b40
push eax
push 0x578300
lea ecx, [ebp - 0x268]
push ecx
call fcn.004e1e90
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x26c]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x268]
call fcn.004e8b40
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 0x51e822
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005443d0
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 0x578330
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x51e815
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x578340
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.004e88d0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.004e8b40
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004e1740
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.004e8880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e8880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e7f70
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.0054546b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x51eac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5d86f0]
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.004e8160
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004e17d0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004e8b40
push eax
push 0x578674
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e1e90
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x30]
call fcn.004e8b40
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 0x51ec0d
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 0x578714
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x51eba3
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 0x51ebb9
mov byte [ebp - 0x6a], 1
jmp 0x51ebbd
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.004e8160
push eax
push str._s_dwDebugger_lu
lea ecx, [ebp - 0x60]
push ecx
call fcn.004e1f10
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.004e7de0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x74]
call fcn.0051f5a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004e7f70
mov al, byte [ebp - 0x69]
mov byte [ebp - 0x6b], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004e8880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004e7f70
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.0054546b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x51efe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x572f68
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 0x51f05d
lea ecx, [ebp + 0x20]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 0x20]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e8b40
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 0x51f0b2
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 0x51f0b2
lea ecx, [ebp + 0x20]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x20]
call fcn.004e8b40
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e8b40
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.004e8880
lea ecx, [ebp + 0x20]
call fcn.004e8880
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x30

Function at 0x51f400
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c39a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5d86f0]
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.004e8750
mov dword [ebp - 0x34], 0x573300
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 0x51f47a
lea ecx, [ebp + 8]
call fcn.004e8b40
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.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004e8880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x522410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5d86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
call fcn.004e8160
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004e17d0
add esp, 8
mov dword [ebp - 0x2c], 0x5759c8
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 0x5224c7
xor eax, eax
mov word [ebp - 0x23c], ax
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call fcn.005443d0
add esp, 0xc
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x1c]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004e8b40
push eax
push 1
push 0
push 0x575a78
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 0x522518
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 0x522518
lea ecx, [ebp - 0x1c]
call fcn.004e8170
shl eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004e8b40
push eax
push 1
push 0
push 0x575adc
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.004e8880
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054546b
mov esp, ebp
pop ebp
ret 4
Function at 0x523090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56caaa
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5d86f0]
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.004e8750
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004e8750
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 0x52310b
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004e88d0
push 0x577170
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.004ed2e0
add esp, 0xc
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004e8840
lea ecx, [ebp - 0x26c]
call fcn.004e8880
lea ecx, [ebp - 0x230]
call fcn.004e8b40
push eax
call fcn.004e40a0
add esp, 4
test eax, eax
je 0x52316a
mov byte [ebp - 0x249], 1
jmp 0x523171
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.004e8880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004e8880
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.0054546b
mov esp, ebp
pop ebp
ret