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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a638
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5ea6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
call fcn.00529860
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0052ab20
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x328
call fcn.004e9010
lea ecx, [ebp - 0x80]
call fcn.004e9050
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0xa4], 0
je 0x527ae9
push 0x581f00
mov ecx, dword [ebp - 0x2c]
add ecx, 0x328
call fcn.004e9320
test eax, eax
jne 0x527b9c
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x527b0a
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00545b90
mov dword [ebp - 0x44], eax
jmp 0x527b11
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
push str._type_:_ueip___value_:_0_
lea ecx, [ebp - 0x28]
call fcn.004e9850
mov dword [ebp - 4], 0
push 0x18
call fcn.0054e14d
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x527b54
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004e9800
mov dword [ebp - 0x3c], eax
jmp 0x527b5b
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x58], edx
push 0
mov eax, dword [ebp - 0x58]
push eax
push 0x534
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00545e20
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004e9960
mov eax, dword [ebp - 0x60]
jmp 0x527c14
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.OnCountTelemertyData
call fcn.004e9850
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x2c]
call fcn.0052b730
push 8
call fcn.0054e14d
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x30], ecx
push 8
push 0
mov edx, dword [ebp - 0x30]
push edx
call fcn.00550c40
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [eax], 2
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [ecx + 4], edx
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
push 0x541570
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005507d9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x527c30
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.004e9850
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0052b730
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054e14d
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.00550c40
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 0x541570
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 0x527cc0
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.004e8f40
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0052b810
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054e14d
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.00550c40
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 0x541570
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 0x5280c0
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.004e8f40
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0052b810
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0054e14d
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.00550c40
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 0x541570
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 0x528400
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 0x530600
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 0x528b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ea6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x24c
call fcn.004e9c20
push eax
call fcn.004e44a0
add esp, 4
test eax, eax
je 0x528b97
mov ecx, dword [ebp - 0xc]
add ecx, 0x264
call fcn.004e9c20
push eax
call fcn.004e5d00
add esp, 4
test eax, eax
je 0x528b5f
push 0
push 0x7d0
push 0xa
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00546400
jmp 0x528b95
mov dword [ebp - 8], 0
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x27c
call fcn.004e9c20
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x24c
call fcn.004e9c20
push eax
mov ecx, dword [ebp - 0xc]
call fcn.00538da0
mov dword [ebp - 0x18], eax
jmp 0x528bbb
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x530540
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 0x528beb
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x530570
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.005507d9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x529bc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ab5b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5ea6f0]
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.004e9830
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x586f18
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 0x529d5e
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00550c40
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 0x5870ac
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x529cd8
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x5870bc
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.004e99b0
jmp 0x529d4c
lea eax, [ebp - 0x26c]
push eax
call fcn.004e75b0
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e9920
lea ecx, [ebp - 0x26c]
call fcn.004e9960
lea ecx, [ebp - 0x238]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e9c20
push eax
push 1
push 0
push 0x5871bc
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 0x529e00
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 0x529e00
lea ecx, [ebp - 0x284]
push ecx
call fcn.004e75b0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e9920
lea ecx, [ebp - 0x284]
call fcn.004e9960
lea ecx, [ebp - 0x238]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9c20
push eax
push 1
push 0
push 0x5872cc
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.004e9c20
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e1980
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.004e9960
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.005507d9
mov esp, ebp
pop ebp
ret 4
Function at 0x529e60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57aba3
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5ea6f0]
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.004e38a0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x20]
call fcn.004e9c20
push eax
lea ecx, [ebp - 0x40]
call fcn.004e9c20
push eax
push 0x587320
lea ecx, [ebp - 0x28]
push ecx
call fcn.004e20d0
add esp, 0x10
lea edx, [ebp - 0x44]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x28]
call fcn.004e9c20
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 0x529f2d
lea ecx, [ebp + 0x38]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x38]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c20
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 0x529f87
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e9c20
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x529f87
lea ecx, [ebp + 0x38]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp + 0x38]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c20
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.004e9960
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004e9960
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004e9960
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.004e9960
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005507d9
mov esp, ebp
pop ebp
ret 0x48
Function at 0x52a6e0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57acdd
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5ea6f0]
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.004e9800
mov byte [ebp - 4], 2
mov dword [ebp - 0x244], 0x587a10
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 0x52a85a
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00550c40
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.004e9c20
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x52a808
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.004e9c20
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.004e99b0
jmp 0x52a84b
lea ecx, [ebp + 0x24]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c20
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 0x52a8ca
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 0x52a8ca
lea ecx, [ebp - 0x238]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c20
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.004e98b0
mov ecx, dword [ebp - 0x248]
or ecx, 1
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e9960
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.004e9960
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.005507d9
mov esp, ebp
pop ebp
ret 0x34
Function at 0x52a930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ad2e
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5ea6f0]
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.004e9240
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004e1a10
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e9830
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004e9c20
push eax
push 0x587ba4
lea ecx, [ebp - 0x268]
push ecx
call fcn.004e20d0
add esp, 0xc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x26c]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x268]
call fcn.004e9c20
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 0x52aa92
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.00550c40
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 0x587bfc
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x52aa85
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0x587c0c
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.004e99b0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x238]
call fcn.004e9c20
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004e1980
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.004e9960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e9960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004e9050
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.005507d9
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x52ad30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57addf
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5ea6f0]
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.004e9240
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004e1a10
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004e9c20
push eax
push 0x587f04
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e20d0
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x68]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x30]
call fcn.004e9c20
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 0x52ae7d
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 0x587f94
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x52ae13
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 0x52ae29
mov byte [ebp - 0x6a], 1
jmp 0x52ae2d
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.004e9240
push eax
push str._s_dwDebugger_lu
lea ecx, [ebp - 0x60]
push ecx
call fcn.004e2150
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.004e8ec0
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x74]
call fcn.0052b810
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.004e9050
mov al, byte [ebp - 0x69]
mov byte [ebp - 0x6b], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.004e9960
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004e9960
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004e9050
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.005507d9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x52b250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ea6f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x5825b8
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 0x52b2cd
lea ecx, [ebp + 0x20]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp + 0x20]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c20
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 0x52b322
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 0x52b322
lea ecx, [ebp + 0x20]
call fcn.004e9250
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp + 0x20]
call fcn.004e9c20
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c20
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.004e9960
lea ecx, [ebp + 0x20]
call fcn.004e9960
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005507d9
mov esp, ebp
pop ebp
ret 0x30