joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5229f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x522a4f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x522a1c
mov eax, 1
jmp 0x522a6d
push str.RegDeleteKeyTransactedW
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x522a4d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0xc]
jmp 0x522a6d
jmp 0x522a68
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x522a68
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x522a6d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x523dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
xor eax, eax
jne 0x523dd9
cmp dword [ebp + 0xc], 0
je 0x523dec
mov dword [ebp - 0x10], 1
jmp 0x523df3
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x523e06
mov eax, 0xd
jmp 0x523e63
xor edx, edx
jne 0x523ddd
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0055dce4
add esp, 4
add eax, 1
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx*2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx*2]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 1
jne 0x523e17
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 7
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x523eb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x523eb9
cmp dword [ebp + 0xc], 0
je 0x523ecc
mov dword [ebp - 4], 1
jmp 0x523ed3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x523ee6
mov eax, 0xd
jmp 0x523f15
xor edx, edx
jne 0x523ebd
mov eax, dword [ebp + 0xc]
push eax
call fcn.0055dce4
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x524430
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.0055e710
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2024], ecx
mov ecx, dword [ebp - 0x2024]
call fcn.00521b50
test eax, eax
jne 0x524466
mov eax, 1
jmp 0x52469f
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 0
jne 0x5244dc
push 0x400
lea eax, [ebp - 0x2004]
push eax
push 0xd80a
call fcn.00520c10
add esp, 0xc
test eax, eax
jne 0x5244ba
push str.Could_not_open_Service_Manager
push 0x400
lea ecx, [ebp - 0x2004]
push ecx
call fcn.00525040
add esp, 0xc
push 0
mov edx, dword [ebp - 0x2024]
add edx, 0x2c
push edx
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x52469f
push 0x10020
mov ecx, dword [ebp - 0x2024]
add ecx, 0x2c
push ecx
mov edx, dword [ebp - 0x202c]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x2028], eax
cmp dword [ebp - 0x2028], 0
jne 0x52456c
mov eax, dword [ebp - 0x202c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x400
lea ecx, [ebp - 0x1804]
push ecx
push 0xd80c
call fcn.00520c10
add esp, 0xc
test eax, eax
jne 0x52454a
push str.Could_not_open_service
push 0x400
lea edx, [ebp - 0x1804]
push edx
call fcn.00525040
add esp, 0xc
push 0
mov eax, dword [ebp - 0x2024]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1804]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x52469f
lea edx, [ebp - 0x2020]
push edx
push 1
mov eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x2038], eax
cmp dword [ebp - 0x2038], 0
jne 0x52460f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2030], eax
cmp dword [ebp - 0x2030], 0x426
je 0x52460f
cmp dword [ebp - 0x2030], 0x425
jne 0x5245be
cmp dword [ebp - 0x201c], 3
je 0x52460f
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
push 0xd80e
call fcn.00520c10
add esp, 0xc
test eax, eax
jne 0x5245f4
push str.Could_not_stop_service
push 0x400
lea edx, [ebp - 0x1004]
push edx
call fcn.00525040
add esp, 0xc
push 0
mov eax, dword [ebp - 0x2024]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x1004]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x2028]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x2034], eax
mov eax, dword [ebp - 0x2028]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x202c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x2034], 0
je 0x52464c
mov eax, 1
jmp 0x52469f
push 0x400
lea edx, [ebp - 0x804]
push edx
push 0xd80d
call fcn.00520c10
add esp, 0xc
test eax, eax
jne 0x524682
push str.Could_not_delete_service
push 0x400
lea eax, [ebp - 0x804]
push eax
call fcn.00525040
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x2024]
add ecx, 0x2c
push ecx
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055dcfd
mov esp, ebp
pop ebp
ret
Function at 0x52cac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc], esp
push str.OnCheckUpdate
call fcn.004e8fb0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.00531d50
mov ecx, dword [ebp - 4]
call fcn.0052f8b0
movzx eax, al
test eax, eax
je 0x52cb33
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.first_install
call fcn.004e8fb0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
call fcn.00531d50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5a8f24
call fcn.004e98c0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
call fcn.00531590
xor eax, eax
jmp 0x52cba6
mov ecx, dword [ebp - 4]
call fcn.0052f7d0
movzx ecx, al
test ecx, ecx
je 0x52cb63
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.already_updated
call fcn.004e8fb0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
call fcn.00531d50
xor eax, eax
jmp 0x52cba6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.active
call fcn.004e98c0
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 4]
call fcn.00531590
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x537220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x52e030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d8bc
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x615720]
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.0052fee0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00531120
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x348
call fcn.004e9080
lea ecx, [ebp - 0x80]
call fcn.004e90c0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0xb4], 0
je 0x52e0b9
push 0x5accd8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x348
call fcn.004e93b0
test eax, eax
jne 0x52e16c
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 0x52e0da
push 1
mov ecx, dword [ebp - 0x38]
call fcn.0054ff00
mov dword [ebp - 0x44], eax
jmp 0x52e0e1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
push str._type_:_ueip___value_:_0_
lea ecx, [ebp - 0x28]
call fcn.004e98c0
mov dword [ebp - 4], 0
push 0x18
call fcn.0055b6b0
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x40], 0
je 0x52e124
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004e9870
mov dword [ebp - 0x3c], eax
jmp 0x52e12b
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.005501f0
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004e99d0
mov eax, dword [ebp - 0x60]
jmp 0x52e1e4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.OnCountTelemertyData
call fcn.004e98c0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x2c]
call fcn.00531c70
push 8
call fcn.0055b6b0
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.0055e3d0
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 0x54ad70
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.0055dcfd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x52e200
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.004e98c0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00531c70
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0055b6b0
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.0055e3d0
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 0x54ad70
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 0x52e290
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.004e8fb0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00531d50
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0055b6b0
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.0055e3d0
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 0x54ad70
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 0x52e680
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.004e8fb0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.00531d50
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 8
call fcn.0055b6b0
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.0055e3d0
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 0x54ad70
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 0x52e9c0
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 0x537250
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 0x52f140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x270
call fcn.004e9c70
push eax
call fcn.004e4770
add esp, 4
test eax, eax
je 0x52f1f8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.cdm_exit_run_cdm
call fcn.004e98c0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xc]
call fcn.00531c70
mov ecx, dword [ebp - 0xc]
add ecx, 0x288
call fcn.004e9c70
push eax
call fcn.004e5fe0
add esp, 4
test eax, eax
je 0x52f1c0
push 0
push 0x7d0
push 0xa
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00550790
jmp 0x52f1f6
mov dword [ebp - 8], 0
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x2a0
call fcn.004e9c70
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x270
call fcn.004e9c70
push eax
mov ecx, dword [ebp - 0xc]
call fcn.0053f0c0
mov dword [ebp - 0x1c], eax
jmp 0x52f239
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.cdm_not_exit_download_cdm
call fcn.004e98c0
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xc]
call fcn.00531c70
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x537160
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 + 0x2c0], 2
jl 0x52f269
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
push 0x537190
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.0055dcfd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x530240
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59de0b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x615720]
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.004e98a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0x5aa4a0
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 0x5303de
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0055e3d0
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 0x5aa5e8
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x530358
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
push 0x5aa5f4
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.004e9a20
jmp 0x5303cc
lea eax, [ebp - 0x26c]
push eax
call fcn.004e7fe0
add esp, 4
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e9990
lea ecx, [ebp - 0x26c]
call fcn.004e99d0
lea ecx, [ebp - 0x238]
call fcn.004e92c0
shl eax, 1
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e9c70
push eax
push 1
push 0
push 0x5aa640
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 0x530480
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 0x530480
lea ecx, [ebp - 0x284]
push ecx
call fcn.004e7fe0
add esp, 4
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e9990
lea ecx, [ebp - 0x284]
call fcn.004e99d0
lea ecx, [ebp - 0x238]
call fcn.004e92c0
shl eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9c70
push eax
push 1
push 0
push 0x5aa6f4
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.004e9c70
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004e1d70
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.004e99d0
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.0055dcfd
mov esp, ebp
pop ebp
ret 4
Function at 0x5304e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59de4b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x615720]
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], 1
lea eax, [ebp - 0x40]
push eax
call fcn.004e3b70
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004e9c70
push eax
push str._sSoftwareMicrosoftWindowsCurrentVersionminiconfig
lea ecx, [ebp - 0x28]
push ecx
call fcn.004e2580
add esp, 0xc
lea edx, [ebp - 0x44]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x28]
call fcn.004e9c70
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 0x5305a4
lea ecx, [ebp + 0x20]
call fcn.004e92c0
shl eax, 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x20]
call fcn.004e9c70
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c70
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 0x5305fe
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e9c70
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x5305fe
lea ecx, [ebp + 0x20]
call fcn.004e92c0
shl eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp + 0x20]
call fcn.004e9c70
push eax
push 1
push 0
lea ecx, [ebp + 8]
call fcn.004e9c70
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.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004e99d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004e99d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055dcfd
mov esp, ebp
pop ebp
ret 0x30
Function at 0x530650
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dea9
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x615720]
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], 2
lea eax, [ebp + 0x3c]
push eax
lea ecx, [ebp - 0x238]
call fcn.004e9870
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
push ecx
call fcn.004e3b70
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x24]
call fcn.004e9c70
push eax
lea ecx, [ebp - 0x250]
call fcn.004e9c70
push eax
push 0x5aacac
lea edx, [ebp - 0x268]
push edx
call fcn.004e2580
add esp, 0x10
mov byte [ebp - 4], 5
lea eax, [ebp - 0x26c]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x268]
call fcn.004e9c70
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0
jne 0x530803
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.0055e3d0
add esp, 0xc
mov dword [ebp - 0x220], 1
lea eax, [ebp - 0x21c]
push eax
push 0
lea ecx, [ebp - 0x220]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c70
push eax
mov edx, dword [ebp - 0x26c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5307b3
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c70
push eax
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x238]
call fcn.004e9a20
jmp 0x5307f6
lea ecx, [ebp + 0x3c]
call fcn.004e92c0
shl eax, 1
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x238]
call fcn.004e9c70
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004e9c70
push eax
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp + 8]
call fcn.004e9920
mov eax, dword [ebp - 0x270]
or eax, 1
mov dword [ebp - 0x270], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x268]
call fcn.004e99d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x250]
call fcn.004e99d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004e99d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x3c]
call fcn.004e99d0
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.0055dcfd
mov esp, ebp
pop ebp
ret 0x4c