joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a68b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], edx
mov ebx, eax
lea eax, [ebp - 0x40]
mov edx, dword [0x41dd64]
call fcn.0040b40c
xor eax, eax
push ebp
push 0x4a6a20
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x49], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.00423264
cmp byte [ebp - 0x40], 0
je 0x4a6a04
mov eax, dword [ebp - 0x20]
call fcn.0040be60
test eax, eax
jl 0x4a6a04
inc eax
xor esi, esi
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0x20]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x44]
jne 0x4a69fc
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp byte [eax], 0xe8
jne 0x4a699e
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a6a04
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x14]
mov dword [edx], eax
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
sub edx, dword [ebx + 8]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 0x49], 1
jmp 0x4a6a04
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edx*4 + 4]
cmp word [eax], 0x15ff
jne 0x4a6a04
lea eax, [ebp - 0x50]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a6a04
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x50]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 0x49], 1
jmp 0x4a6a04
inc esi
dec eax
jne 0x4a6923
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6a27
lea eax, [ebp - 0x40]
mov edx, dword [0x41dd64]
call fcn.0040b4e4
ret
Function at 0x4a6c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov byte [0x710128], 0
cmp dword [0x71012c], 0
je 0x4a6cd7
push esp
push 0x40
push 4
mov eax, dword [0x71012c]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a6d2d
mov eax, dword [0x71012c]
mov edx, dword [0x710130]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x71012c]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4a6d2d
cmp dword [0x710134], 0
je 0x4a6d16
push esp
push 0x40
push 4
mov eax, dword [0x710134]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a6d2d
mov eax, dword [0x710134]
mov edx, dword [0x710138]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x710134]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4a6d2d
push 0
mov ecx, 0x4a65cc
mov eax, sub.kernel32.dll_CreateThread
mov edx, dword [0x710120]
call fcn.004a5fa8
push 0
mov ecx, 0x4a6884
mov edx, dword [0x710124]
xor eax, eax
call fcn.004a5fa8
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
ret

Function at 0x4a7d48
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4a7e1d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.00416b44
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4a7e38
call fcn.0040a4e4
mov eax, dword [ebp - 4]
call fcn.0040a6b0
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4a7e02
mov byte [0x70f6dc], 1
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x4a7dfc
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x4a7de4
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle
mov edx, 0x70f7e0
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.004066ec
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7e24
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409cf0
ret
Function at 0x4a8354
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a84cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov edx, 0x4a84dc
mov ecx, 0x4a84f0
mov eax, ebx
call fcn.0041d108
mov eax, dword [ebp - 4]
call fcn.0040a15c
cmp eax, 0x14
jne 0x4a84b7
cmp ebx, dword [0x70f788]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x4a84b7
mov eax, ebx
call fcn.0041c914
mov esi, eax
cmp word [esi + 0x18], 0x20b
jne 0x4a842a
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x70f788]
jne 0x4a83f0
mov eax, 0x46975c
mov edx, dword [ebp - 4]
sub eax, dword [edx]
sub eax, ebx
mov dword [esi + 0x2c], eax
jmp 0x4a83fd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4a84a8
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x70f788]
jne 0x4a8464
mov edx, 0x46975c
mov eax, dword [ebp - 4]
sub edx, dword [eax]
sub edx, ebx
mov dword [esi + 0x2c], edx
mov edx, 0x70f700
sub edx, dword [eax + 4]
sub edx, ebx
mov dword [esi + 0x30], edx
jmp 0x4a847d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x7fffffff
mov dword [esi + 0x2c], edx
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a84d4
lea eax, [ebp - 4]
call fcn.00409c84
ret
Function at 0x4a85f4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a87d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4a87f0
call fcn.0040a124
mov eax, dword [ebp - 4]
call fcn.0040a6b0
push eax
call sub.kernel32.dll_GetModuleHandleA
test eax, eax
jne 0x4a87bd
xor eax, eax
push ebp
push 0x4a87b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor esi, esi
jmp 0x4a8794
cmp dword [ebp - 0x1c], 0x1000
jne 0x4a878c
cmp dword [ebp - 0x18], 1
je 0x4a878c
cmp esi, dword [ebp - 0x28]
je 0x4a878c
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jne 0x4a878c
push 0x104
lea eax, [ebp - 0x236]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetModuleFileNameW
test eax, eax
jbe 0x4a878c
mov eax, dword [ebp - 0x28]
call fcn.0046eebc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a878c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a878c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a878c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x7180a4]
mov esi, dword [esi]
mov eax, 0x4a8800
mov ecx, 0xe
mov edx, dword [ebp - 0x10]
call esi
test eax, eax
jl 0x4a874d
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x7180a4]
mov esi, dword [esi]
mov eax, 0x4a8810
mov ecx, 0x10
mov edx, dword [ebp - 0x10]
call esi
inc eax
sete dl
mov eax, dword [ebp - 0x28]
call fcn.004a7d00
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x7180a4]
mov esi, dword [esi]
mov eax, 0x4a8824
mov ecx, 0xc
mov edx, dword [ebp - 0x10]
call esi
test eax, eax
jl 0x4a878c
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004a7b20
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add ebx, eax
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery
cmp eax, 0x1c
je 0x4a864d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a87bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a87da
lea eax, [ebp - 4]
call fcn.00409c84
ret
Function at 0x4aaa38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00409c84
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.0040a6b0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4aaafd
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a6b0
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
cmp dword [ebp - 0xc], 0
je 0x4aaaf4
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4aaaee
cmp dword [ebp - 0x10], 1
jne 0x4aaae0
mov eax, ebx
mov edx, esi
mov ecx, 0
call fcn.0040a3a8
jmp 0x4aaaee
push 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov edx, esi
call fcn.00409e3c
push esi
call sub.kernel32.dll_LocalFree
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7804
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e78a2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4e7866
cmp byte [ebx + 0x10], 0
jne 0x4e7866
cmp byte [ebx + 0x3c], 0
jne 0x4e7866
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4e7887
lea edx, [ebp - 4]
mov eax, dword [0x7183a0]
call fcn.0040dc14
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4babb0]
call fcn.004574fc
call fcn.00409320
jmp 0x4e7887
lea edx, [ebp - 8]
mov eax, dword [0x7183a0]
call fcn.0040dc14
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4babb0]
call fcn.004574fc
call fcn.00409320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e78a9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409cc0
ret

Function at 0x4e8240
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4e828e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004e7684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e82a7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4e82b0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004e7684
dec esi
jne 0x4e82d2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4ea9d4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x71f2c8
cmp dword [edi], 0
jne 0x4eaa50
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x71f2c4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x7102c4
mov ecx, 2
call fcn.004066ec
mov edx, 0x4ea9ac
lea eax, [esi + 5]
call fcn.004ea9cc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004ea9cc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4eaa25
mov dword [0x71f2c4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x567904
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x567a59
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x567a2e
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.00451eb0
test al, al
je 0x567a2e
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x4b5e04]
call fcn.004da780
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x567a27
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.004d5ea8
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x44a358]
call fcn.0040c074
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045c3bc
mov esi, eax
mov dl, 1
mov eax, dword [0x4b32f0]
call fcn.004d5e04
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x567a0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040be58
sub eax, esi
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0045d5fc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00567cf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567a11
mov eax, dword [ebp - 8]
call fcn.00407f1c
ret
mov eax, ebx
call fcn.00567700
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567a60
lea eax, [ebp - 0x10]
call fcn.00409c60
lea eax, [ebp - 4]
mov edx, dword [0x44a358]
call fcn.0040c198
ret
Function at 0x56be00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x56bfbb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a088
mov eax, dword [ebp - 4]
call fcn.0056b750
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x56be52
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040afe0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0056ca3c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x56bf31
xor eax, eax
push ebp
push 0x56bf2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0056b9f0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0056bff0
test al, al
je 0x56bf08
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409de8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x56bf08
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040abbc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0056b950
test al, al
je 0x56bf02
mov eax, dword [ebp - 8]
call fcn.0040abbc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040ac24
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0056be00
dec ebx
cmp ebx, 0xffffffff
jne 0x56beb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56bf31
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0056b9f0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
ret
cmp byte [0x71f340], 0
je 0x56bf71
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040abbc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0056b9dc
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0056b950
mov ebx, eax
jmp 0x56bf98
mov eax, dword [ebp - 4]
call fcn.0040abbc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0056b9dc
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0056b950
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56bfc2
lea eax, [ebp - 0x3c]
call fcn.00409c60
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409cc0
ret
Function at 0x56c918
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0056b768
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040abbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0056b950
test al, al
jne 0x56c980
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x718264]
mov dl, 1
mov eax, dword [0x56a53c]
call fcn.00457700
call fcn.00409320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x56c98c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040abbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0056b950
test al, al
jne 0x56c9ed
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x718698]
mov dl, 1
mov eax, dword [0x56a53c]
call fcn.00457700
call fcn.00409320
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0056b798
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x56cfec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x56d114
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0056b9f0
xor eax, eax
push ebp
push 0x56d0ef
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0056bff0
test al, al
je 0x56d0d3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0056cecc
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409de8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x56d0d3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040abbc
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0056b950
test al, al
je 0x56d0cf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040abbc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040ac24
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0056cecc
pop ecx
inc edi
dec ebx
jne 0x56d077
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d0f6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0056b9f0
ret