joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e05e0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x530], ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e061e
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
push esi
push 0x124
lea eax, [ebp - 0x528]
push ebx
push eax
call fcn.00534b40
add esp, 0xc
lea ecx, [ebp - 0x52c]
push ecx
push edi
mov dword [ebp - 0x52c], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4e0778
lea edx, [ebp - 0x508]
push str.csrss.exe
push edx
call fcn.0053791c
add esp, 8
test eax, eax
jne 0x4e0739
mov eax, dword [ebp - 0x524]
push eax
push ebx
push 0x1fffff
mov dword [ebp - 0x538], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e0739
cmp esi, ebx
je 0x4e0739
push 0x3ff
lea ecx, [ebp - 0x403]
push ebx
push ecx
mov byte [ebp - 0x404], bl
call fcn.00534b40
add esp, 0xc
lea edx, [ebp - 0x538]
push edx
push 4
lea eax, [ebp - 0x534]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4e0732
mov edx, dword [ebp - 0x534]
push 0x400
lea ecx, [ebp - 0x404]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
cmp byte [ebp - 0x404], bl
je 0x4e0732
mov eax, dword [ebp - 0x530]
add eax, 8
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e0796
mov edx, dword [ebp - 0x530]
add edx, 0x408
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e0796
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push pe_nt_image_headers32
lea ecx, [ebp - 0x52c]
push ebx
push ecx
call fcn.00534b40
add esp, 0xc
lea edx, [ebp - 0x52c]
push edx
push edi
mov dword [ebp - 0x52c], pe_nt_image_headers32
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4e0653
cmp edi, ebx
je 0x4e0783
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x530]
lea eax, [ebp - 0x404]
add edx, 0x1008
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4e07b0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp edi, ebx
je 0x4e07ca
push edi
call esi
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e2da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.00534b40
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
push str.ComponentId
push esi
mov dword [ebp - 0x408], 0x400
call edi
test eax, eax
jne 0x4e2f08
lea eax, [ebp - 0x404]
push str.ocs_vnic
push eax
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e2f08
lea ecx, [ebp - 0x404]
push str.softetheradapter
push ecx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e2f08
push 0x400
lea edx, [ebp - 0x404]
push 0
push edx
mov dword [ebp - 0x408], 0x400
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
push str.NetCfgInstanceId
push esi
call edi
test eax, eax
jne 0x4e2f08
lea eax, [ebp - 0x404]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e2e90
sub eax, edx
push eax
lea edx, [ebp - 0x404]
push edx
mov ecx, ebx
call fcn.0040a3f0
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [ebp - 0x408], 0x400
call fcn.00534b40
add esp, 0xc
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
push str.Characteristics
push esi
call edi
test eax, eax
jne 0x4e2f08
mov eax, dword [ebp - 0x404]
and al, 1
xor ecx, ecx
cmp al, 1
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e2f30
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ff0b
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x840], ecx
lea eax, [ebp - 0x834]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x834], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4e2f94
xor al, al
jmp 0x4e313e
push 0x3ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
xor esi, esi
mov byte [ebp - 0x410], bl
call fcn.00534b40
mov ecx, dword [ebp - 0x834]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x838]
push edx
lea eax, [ebp - 0x410]
push eax
push ebx
mov edi, 0x400
push ecx
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x830], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4e312b
lea ebx, [ebx]
mov ecx, dword [ebp - 0x834]
lea edx, [ebp - 0x830]
push edx
push 0xf003f
push ebx
lea eax, [ebp - 0x410]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e30e5
mov dword [ebp - 0x818], 0xf
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 0x82c], bl
mov eax, dword [ebp - 0x830]
lea edx, [ebp - 0x82c]
push edx
push eax
mov dword [ebp - 4], ebx
call fcn.004e2da0
add esp, 8
test eax, eax
jne 0x4e30c6
push 0x3ff
lea ecx, [ebp - 0x80f]
push ebx
push ecx
mov byte [ebp - 0x810], bl
call fcn.00534b40
mov ecx, dword [ebp - 0x830]
add esp, 0xc
lea edx, [ebp - 0x83c]
push edx
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push str.NetworkAddress
push ecx
mov dword [ebp - 0x83c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e30c6
mov edx, dword [ebp - 0x830]
push str.NetworkAddress
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x818], 0x10
mov eax, dword [ebp - 0x82c]
jae 0x4e30ba
lea eax, [ebp - 0x82c]
mov ecx, dword [ebp - 0x840]
push eax
call fcn.004e2200
cmp dword [ebp - 0x818], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4e30e5
mov eax, dword [ebp - 0x82c]
push eax
call fcn.00535f7c
add esp, 4
mov eax, dword [ebp - 0x830]
cmp eax, ebx
je 0x4e30fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x830], ebx
mov eax, dword [ebp - 0x834]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x410]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x838], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4e2ff0
mov eax, dword [ebp - 0x834]
cmp eax, ebx
je 0x4e313c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e3160
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ff4b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x430]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x430], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4e31c4
xor al, al
jmp 0x4e3313
push 0x3ff
lea ecx, [ebp - 0x40f]
push ebx
push ecx
xor edi, edi
mov byte [ebp - 0x410], bl
call fcn.00534b40
mov ecx, dword [ebp - 0x430]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x410]
push eax
push ebx
push ecx
mov dword [ebp - 0x438], 0x400
mov dword [ebp - 0x434], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4e3300
mov ecx, dword [ebp - 0x430]
lea edx, [ebp - 0x434]
push edx
push 0xf003f
push ebx
lea eax, [ebp - 0x410]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e32b6
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x42c]
push edx
push eax
mov dword [ebp - 4], ebx
call fcn.004e2da0
add esp, 8
test eax, eax
jne 0x4e3297
mov esi, dword [ebp - 0x43c]
push ebx
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [esi + 0x14]
call fcn.004e2b00
push eax
lea edx, [ebp - 0x444]
push edx
lea ecx, [esi + 0x14]
call fcn.004577a0
cmp dword [ebp - 0x418], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4e32b6
mov eax, dword [ebp - 0x42c]
push eax
call fcn.00535f7c
add esp, 4
mov eax, dword [ebp - 0x434]
cmp eax, ebx
je 0x4e32cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x434], ebx
mov eax, dword [ebp - 0x430]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x410]
push edx
inc edi
push edi
push eax
mov dword [ebp - 0x438], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4e3219
mov eax, dword [ebp - 0x430]
cmp eax, ebx
je 0x4e3311
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e4c40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56c980
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x676300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x67eb80]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], str.CRCor
mov dword [ebp - 0x1c], str.LoadAgents
mov dword [ebp - 0x18], eax
call fcn.004ebfc1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov edx, dword [eax]
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
call edx
call fcn.004e4bc0
mov dword [ebp - 4], 1
call edi
sub eax, dword [ebp - 0x14]
cmp dword [ebp - 0x10], 0
je 0x4e4cd5
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push str._s_running_time
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.004ebdf1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.004f5a61
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e55e0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x808]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e573c
push eax
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_OptionsRzxNAnalyser.exe
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x4e564a
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov dword [ebp - 0x80c], 0
push edi
jmp 0x4e5660
mov eax, dword [ebp - 0x80c]
mov ecx, dword [ebp - 0x808]
push 0x400
lea edx, [ebp - 0x804]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test ebx, ebx
jne 0x4e571a
mov ecx, str.RzxNAnalyser.exe
lea eax, [ebp - 0x804]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e56b5
test dl, dl
je 0x4e56b1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e56b5
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e5695
xor eax, eax
jmp 0x4e56ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e571a
mov ecx, 0x12
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x804]
movsb byte es:[edi], byte [esi]
mov ecx, eax
jmp 0x4e56e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e56e0
lea edi, [ebp - 0x404]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4e56f2
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x404]
mov ecx, eax
push edx
and ecx, 3
push reloc.WS2_32.dll_bind
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
inc dword [ebp - 0x80c]
cmp ebx, 0x103
jne 0x4e5660
mov eax, dword [ebp - 0x808]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e6ee0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
lea eax, [ecx + 0x148]
mov ecx, dword [eax + 0x14]
cmp ecx, 0x10
jb 0x4e6ef2
mov edx, dword [eax]
jmp 0x4e6ef4
mov edx, eax
push esi
cmp ecx, 0x10
jb 0x4e6f10
mov esi, dword [eax]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or eax, 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret

Function at 0x4e7040
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x544
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x15c], 0x10
mov edx, dword [ebp + 8]
push esi
lea esi, [ecx + 0x148]
push edi
jb 0x4e706b
mov eax, dword [esi]
jmp 0x4e706d
mov eax, esi
push edx
push eax
lea eax, [ebp - 0x404]
push str._s_s
push eax
call fcn.00535bfb
add esp, 0x10
lea ecx, [ebp - 0x544]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4e719f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea esp, [esp]
lea eax, [ebp - 0x518]
push str.RzxMon.exe
push eax
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
lea ecx, [ebp - 0x518]
push str.rzx.exe
push ecx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
lea edx, [ebp - 0x518]
push str.cbmp.exe
push edx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
lea eax, [ebp - 0x518]
push str.wbmp.exe
push eax
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
lea ecx, [ebp - 0x518]
push str.envexp.exe
push ecx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
lea edx, [ebp - 0x518]
push str.RzxSvc.exe
push edx
call fcn.0053791c
add esp, 8
test eax, eax
je 0x4e7185
cmp dword [esi + 0x14], 0x10
jb 0x4e7156
mov eax, dword [esi]
jmp 0x4e7158
mov eax, esi
lea ecx, [ebp - 0x518]
push ecx
push eax
lea edx, [ebp - 0x404]
push 0x57a838
push edx
call fcn.00535bfb
lea eax, [ebp - 0x404]
push 0x65cca4
push eax
call fcn.00536808
add esp, 0x18
lea ecx, [ebp - 0x544]
push ecx
push edi
call ebx
test eax, eax
jne 0x4e70b0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7300
Capabilities:
Enumerate files on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x944
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x15c], 0x10
push ebx
push esi
push edi
lea edi, [ecx + 0x148]
jb 0x4e7329
mov eax, dword [edi]
jmp 0x4e732b
mov eax, edi
push 0x5c
push eax
call fcn.005383a0
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
add esp, 8
test eax, eax
je 0x4e7380
inc eax
push eax
lea eax, [ebp - 0x404]
push 0x5879dc
push eax
call fcn.00535bfb
add esp, 0xc
lea ecx, [ebp - 0x404]
push ecx
push str.32770
call ebx
mov esi, eax
test esi, esi
je 0x4e7380
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [edi + 0x14], 0x10
jb 0x4e7388
mov edi, dword [edi]
push edi
lea edx, [ebp - 0x804]
push str._s.
push edx
call fcn.00535bfb
add esp, 0xc
lea eax, [ebp - 0x944]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4e7426
jmp 0x4e73c0
lea edx, [ebp - 0x918]
push edx
lea eax, [ebp - 0x404]
push 0x5879dc
push eax
call fcn.00535bfb
add esp, 0xc
lea ecx, [ebp - 0x404]
push ecx
push str.32770
call ebx
mov esi, eax
test esi, esi
je 0x4e7405
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x944]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4e73c0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534bba
mov esp, ebp
pop ebp
ret
Function at 0x4e7440
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x15c], 0x10
push esi
mov esi, dword [ebp + 8]
lea eax, [ecx + 0x148]
push edi
mov edi, dword [ebp + 0xc]
jb 0x4e746c
mov eax, dword [eax]
lea edx, [ebp - 0x804]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4e7474
lea eax, [ebp - 0x804]
push eax
call fcn.00540173
add esp, 4
lea ecx, [ebp - 0x808]
push ecx
push 0xf003f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e7554
push 0x400
push eax
lea edx, [ebp - 0x404]
push edx
mov dword [ebp - 0x80c], 1
mov dword [ebp - 0x810], 0x400
call fcn.00534b40
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
mov eax, dword [ebp - 0x808]
lea ecx, [ebp - 0x404]
push ecx
lea edx, [ebp - 0x80c]
push edx
push 0
push str.ItemData
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x404]
push edx
call fcn.00540173
add esp, 4
cmp byte [ebp - 0x404], 0
je 0x4e7554
lea eax, [ebp - 0x404]
push eax
call fcn.00540173
lea ecx, [ebp - 0x804]
push ecx
lea edx, [ebp - 0x404]
push edx
call fcn.005383e0
add esp, 0xc
test eax, eax
je 0x4e7554
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00534bba
mov esp, ebp
pop ebp
ret 8
Function at 0x4e7570
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.005382c0
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x101c], ecx
lea ecx, [ebp - 0x1010]
push ecx
push 0xf003f
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths
push eax
mov dword [ebp - 0x1020], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e7765
push ebx
push esi
mov dword [ebp - 0x1008], eax
push edi
mov eax, dword [ebp - 0x1008]
mov ecx, dword [ebp - 0x1010]
push 0x400
lea edx, [ebp - 0x1004]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, eax
test ebx, ebx
jne 0x4e7743
mov ecx, 0x10
mov esi, str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths_
lea edi, [ebp - 0x804]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1004]
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e7608
lea edi, [ebp - 0x804]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4e7620
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x101c]
and ecx, 3
add eax, 0x148
cmp dword [eax + 0x14], 0x10
rep movsb byte es:[edi], byte [esi]
jb 0x4e7649
mov eax, dword [eax]
lea edx, [ebp - 0xc04]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4e7651
lea edx, [ebp - 0xc04]
push edx
call fcn.00540173
mov edx, dword [ebp - 0x1020]
add esp, 4
lea eax, [ebp - 0x100c]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x804]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4e7743
push 0x400
push eax
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x1014], 0x400
call fcn.00534b40
add esp, 0xc
lea ecx, [ebp - 0x1014]
push ecx
mov ecx, dword [ebp - 0x100c]
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x1018]
push eax
push 0
push str.ItemData
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x100c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x404]
push eax
call fcn.00540173
add esp, 4
cmp byte [ebp - 0x404], 0
je 0x4e7743
lea ecx, [ebp - 0x404]
push ecx
call fcn.00540173
lea edx, [ebp - 0xc04]
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.005383e0
add esp, 0xc
test eax, eax
je 0x4e7743
lea ecx, [ebp - 0x804]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
inc dword [ebp - 0x1008]
cmp ebx, 0x103
jne 0x4e75c1
mov edx, dword [ebp - 0x1010]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4