joyce8/EMBER2024-capa huggingface dataset:
Function at 0x118dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x118dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x118dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x118dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x118dd94
push eax
push esi
call fcn.0119020b
add esp, 8
pop esi
ret 0x10

Function at 0x118dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x118de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x118de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x11a6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0118fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x118ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x118de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x118dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x118deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x11a6320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0118fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x118deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x118de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x118e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x118e131
push esi
call fcn.01191145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.01180080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x118e131
push 0
push ebp
call fcn.011803a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.01180260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x118e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.011802f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x118e121
push 0x11a6918
push edi
call fcn.0118f3f0
push eax
push ebx
push esi
call fcn.0118df60
push 0x11a68f8
push edi
call fcn.0118f3f0
push eax
push ebx
push esi
call fcn.0118df60
push 0x11a68d8
push edi
call fcn.0118f3f0
push eax
push ebx
push esi
call fcn.0118df60
push 0x11a68c0
push edi
call fcn.0118f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0118df60
push 0x11a68a0
push edi
call fcn.0118f3f0
push eax
push ebx
push esi
call fcn.0118df60
push 0x11a6888
push edi
call fcn.0118f3f0
push eax
push ebx
push esi
call fcn.0118df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x118f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0118f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0118f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0118f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0118f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x118fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x118fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x11a187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x118fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x118fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4011fd
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0xf003f
push esi
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x401389
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push str.Audiosrv
push ebx
call esi
push 0xf003f
push str.AudioEndpointBuilder
mov edi, eax
push ebx
mov dword [ebp - 0x34], edi
call esi
mov esi, eax
mov dword [ebp - 0x30], esi
test edi, edi
je 0x401381
test esi, esi
je 0x401381
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp dword [ebp - 0x24], 4
jne 0x40129c
lea eax, [ebp - 0x28]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401291
push str.Audiosrv_stopped.
jmp 0x401296
push str.Audiosrv_failed_to_stop.
call fcn.00401082
pop ecx
xor esi, esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp dword [ebp - 0x24], 1
je 0x4012c5
inc esi
cmp esi, 0x14
jl 0x40129e
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp dword [ebp - 0x24], 4
jne 0x401304
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4012f9
push str.AudioEndpointBuilder_stopped.
jmp 0x4012fe
push str.AudioEndpointBuilder_failed_to_stop.
call fcn.00401082
pop ecx
xor edi, edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp dword [ebp - 0x24], 1
je 0x40132d
inc edi
cmp edi, 0x14
jl 0x401306
mov edi, dword [ebp - 0x34]
mov esi, dword [sym.imp.ADVAPI32.dll_StartServiceW]
push 0
push 0
push edi
call esi
mov edi, str.Audiosrv_failed_to_start.
test eax, eax
mov edx, str.Audiosrv_started.
mov ecx, edi
cmovne ecx, edx
push ecx
call fcn.00401082
pop ecx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push 0
push dword [ebp - 0x30]
call esi
test eax, eax
mov eax, str.Audiosrv_started.
cmovne edi, eax
push edi
call fcn.00401082
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407492
leave
ret
Function at 0x4054fe
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb4
mov eax, 0x41adaa
call fcn.00407a16
mov edx, 0x101
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406cd3
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmova ecx, dword [ebp + 0x20]
lea eax, [ebp - 0xbc]
push eax
push 0
lea eax, [ebp - 0xc0]
push eax
push 0
push ecx
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40569b
cmp dword [ebp - 0xc0], 4
je 0x4055be
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 8]
mov edx, str.Registry_value
push eax
lea ecx, [ebp - 0x88]
call fcn.00404b37
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00401d59
push str._has_wrong_type
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.00401cbf
add esp, 0xc
mov byte [ebp - 4], 0xb
jmp 0x40571c
push dword [ebp - 0xbc]
call fcn.00407506
cmp dword [ebp + 0x34], 7
mov edi, eax
pop ecx
lea eax, [ebp - 0xbc]
push eax
push edi
push 0
lea ecx, [ebp + 0x20]
cmova ecx, dword [ebp + 0x20]
push 0
push ecx
push esi
call ebx
push esi
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
test ebx, ebx
je 0x40567b
call fcn.00407501
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
mov edx, 0x423bc0
lea ecx, [ebp - 0x70]
call fcn.00404b37
push 0x423bbc
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58]
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xe
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xb8]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa0]
call fcn.00406f8e
add esp, 0x18
mov byte [ebp - 4], 0x11
jmp 0x40571c
mov esi, dword [edi]
call fcn.00407501
pop ecx
lea ecx, [ebp + 8]
call fcn.00401c2d
lea ecx, [ebp + 0x20]
call fcn.00401c2d
mov eax, esi
call fcn.004079c5
ret
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
mov edx, 0x423bc0
lea ecx, [ebp - 0xb8]
call fcn.00404b37
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.00406f8e
add esp, 0x10
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x28]
push eax
call fcn.004087f5
int3
Function at 0x405d4e
Capabilities:
Set registry value

Disassembly:
push 0xac
mov eax, 0x41b026
call fcn.00407a16
mov edx, 0x102
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00406cd3
cmp dword [ebp + 0x4c], 7
lea edx, [ebp + 0x38]
mov esi, eax
lea ecx, [ebp + 0x20]
mov eax, dword [ebp + 0x48]
cmova edx, dword [ebp + 0x38]
cmp dword [ebp + 0x34], 7
cmova ecx, dword [ebp + 0x20]
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x405dcc
lea ecx, [ebp + 8]
call fcn.00401c2d
lea ecx, [ebp + 0x20]
call fcn.00401c2d
lea ecx, [ebp + 0x38]
call fcn.00401c2d
call fcn.004079c5
ret
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov edx, str.Error_while_writing_to_registry_value
lea ecx, [ebp - 0x58]
call fcn.00404b37
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00406f8e
add esp, 0x10
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x28]
push eax
call fcn.004087f5
int3

Function at 0x405e5e
Capabilities:
Set registry value

Disassembly:
push 0xb0
mov eax, 0x41b09e
call fcn.00407a16
mov dword [ebp - 0xbc], ecx
mov edx, 0x102
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406cd3
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
push 4
cmova ecx, dword [ebp + 0x20]
mov esi, eax
lea eax, [ebp - 0xbc]
push eax
push 4
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x405ecc
lea ecx, [ebp + 8]
call fcn.00401c2d
lea ecx, [ebp + 0x20]
call fcn.00401c2d
call fcn.004079c5
ret
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
mov edx, str.Error_while_writing_to_registry_value
lea ecx, [ebp - 0x58]
call fcn.00404b37
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00406f8e
add esp, 0x10
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x28]
push eax
call fcn.004087f5
int3
Function at 0x405f5e
Capabilities:
Set registry value

Disassembly:
push 0xb8
mov eax, 0x41b126
call fcn.00407a16
push 2
pop eax
mov edx, 0x102
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.00406cd3
mov edi, dword [ebp + 0x3c]
xor ebx, ebx
mov esi, dword [ebp + 0x38]
inc ebx
mov dword [ebp - 0xc4], eax
jmp 0x405fab
push esi
lea ecx, [ebp - 0x28]
call fcn.00401ba3
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
inc eax
add ebx, eax
call fcn.00401c2d
add esi, 0x18
cmp esi, edi
jne 0x405f91
xor ecx, ecx
mov eax, ebx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00407506
pop ecx
mov ecx, dword [ebp + 0x3c]
mov edi, eax
mov eax, dword [ebp + 0x38]
xor esi, esi
add ebx, ebx
mov dword [ebp - 0xc0], ecx
cmp eax, ecx
jmp 0x406021
push eax
lea ecx, [ebp - 0x28]
call fcn.00401ba3
push ecx
mov byte [ebp - 4], 3
lea eax, [edi + esi*2]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ebx
push eax
call fcn.00406f2a
add esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
xor eax, eax
push 2
mov word [edi + esi*2], ax
inc esi
pop eax
mov byte [ebp - 4], al
call fcn.00401c2d
mov eax, dword [ebp - 0xbc]
add eax, 0x18
cmp eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], eax
jne 0x405fdc
push ebx
xor eax, eax
mov word [edi + esi*2], ax
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 7
mov esi, dword [ebp - 0xc4]
cmova eax, dword [ebp + 0x20]
push edi
push 7
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov ebx, eax
call fcn.00407501
pop ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x406080
lea ecx, [ebp + 8]
call fcn.00401c2d
lea ecx, [ebp + 0x20]
call fcn.00401c2d
lea ecx, [ebp + 0x38]
call fcn.00404ae4
call fcn.004079c5
ret
mov edx, ebx
lea ecx, [ebp - 0x40]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
push eax
mov edx, str.Error_while_writing_to_registry_value
lea ecx, [ebp - 0x58]
call fcn.00404b37
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa0]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.00406f8e
add esp, 0x10
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x28]
push eax
call fcn.004087f5
int3
Function at 0x406112
Capabilities:
Delete registry value

Disassembly:
push 0xac
mov eax, 0x41b19e
call fcn.00407a16
mov edx, 0x102
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00406cd3
mov esi, eax
test esi, esi
je 0x40615b
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
cmova ecx, dword [ebp + 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x406171
lea ecx, [ebp + 8]
call fcn.00401c2d
lea ecx, [ebp + 0x20]
call fcn.00401c2d
call fcn.004079c5
ret
mov edx, edi
lea ecx, [ebp - 0x40]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
mov edx, str.Error_while_deleting_registry_value
lea ecx, [ebp - 0x58]
call fcn.00404b37
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
mov edx, eax
mov dword [esp], 0x423bbc
call fcn.00401cbf
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.00401d59
push 0x423bb4
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00406f8e
add esp, 0x10
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x28]
push eax
call fcn.004087f5
int3

Function at 0x406307
Capabilities:
Delete registry key

Disassembly:
push 0x98
mov eax, 0x41b265
call fcn.00407a16
and dword [ebp - 4], 0
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00406d3b
pop ecx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova eax, dword [ebp - 0x28]
push 0x100
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
jne 0x40636a
lea ecx, [ebp - 0x28]
call fcn.00401c2d
lea ecx, [ebp + 8]
call fcn.00401c2d
call fcn.004079c5
ret
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
mov edx, str.Error_while_deleting_registry_key
lea ecx, [ebp - 0x70]
call fcn.00404b37
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
mov edx, eax
mov dword [esp], 0x423bb4
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00406f8e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x40]
push eax
call fcn.004087f5
int3
Function at 0x406a0e
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x28c
mov eax, 0x41b4a5
call fcn.00407a16
mov esi, ecx
mov dword [ebp - 0x290], esi
xor edi, edi
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x294], edi
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov edx, 0x108
mov dword [ebp - 0x294], eax
lea ecx, [ebp + 8]
call fcn.00406cd3
push edi
push edi
push edi
mov ebx, eax
mov dword [ebp - 0x28c], 0x100
mov dword [ebp - 0x290], edi
push edi
jmp 0x406ad2
mov edi, dword [ebp - 0x290]
lea eax, [ebp - 0x210]
inc edi
mov dword [ebp - 0x28c], 0x100
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x290], edi
call fcn.00401b64
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
mov eax, dword [esi + 4]
push ecx
cmp eax, dword [esi + 8]
je 0x406ab5
mov ecx, eax
call fcn.00401b29
add dword [esi + 4], 0x18
jmp 0x406abd
push eax
mov ecx, esi
call fcn.00404d34
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.00401c2d
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test edi, edi
je 0x406a6c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
jne 0x406b11
lea ecx, [ebp + 8]
call fcn.00401c2d
mov eax, esi
call fcn.004079c5
ret
mov edx, edi
lea ecx, [ebp - 0x240]
call fcn.004071df
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
mov edx, str.Error_while_enumerating_sub_keys_of_registry_key
lea ecx, [ebp - 0x258]
call fcn.00404b37
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x270]
mov edx, eax
mov dword [esp], 0x423bb4
call fcn.00401cbf
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x288]
call fcn.00406f8e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 6
call fcn.00405223
push 0x4266b0
lea eax, [ebp - 0x228]
push eax
call fcn.004087f5
int3

Function at 0x419d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x419dad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419dad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x4b235ffe
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x70872823
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219