joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e97a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61bd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6e7b6c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], ebp
call fcn.005fa9e2
mov edi, dword [esi + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
lea edx, [edi + 1]
mov ecx, esi
push edx
call fcn.004ea040
mov ecx, dword [esi + 4]
lea eax, [edi + edi*2]
lea edx, [esp + 0x14]
lea esi, [ecx + eax*4]
push edx
mov ecx, esi
call fcn.005fa992
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [0x6e7b6c]
mov dword [esp + 0x30], edx
cmp ebp, 1
mov byte [esp + 0x28], 1
jne 0x4e983b
mov eax, 0x6bc0fc
jmp 0x4e986d
cmp ebp, 4
jne 0x4e9847
mov eax, 0x6bc0e8
jmp 0x4e986d
cmp ebp, 5
jne 0x4e9853
mov eax, 0x6bc110
jmp 0x4e986d
cmp ebp, 2
jne 0x4e985f
mov eax, 0x6bc0f0
jmp 0x4e986d
test ebp, ebp
mov eax, 0x6bc0d8
je 0x4e986d
mov eax, 0x6bc0e0
push ebx
push eax
lea eax, [esp + 0x38]
push 0x6d5b20
push eax
call fcn.005f368b
add esp, 0x10
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x4e98d8
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push 4
push ecx
push 4
push eax
push 0x6d5ac0
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.005fa859
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4e9910
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
push 7
push 0x6bc0fc
mov ebx, ecx
push esi
call fcn.005e0470
add esp, 0xc
test eax, eax
jne 0x4e993b
mov dword [esp + 0x10], 1
jmp 0x4e99b2
push 7
push 0x6bc0e8
push esi
call fcn.005e0470
add esp, 0xc
test eax, eax
jne 0x4e9959
mov dword [esp + 0x10], 4
jmp 0x4e99b2
push 7
push 0x6bc110
push esi
call fcn.005e0470
add esp, 0xc
test eax, eax
jne 0x4e9977
mov dword [esp + 0x10], 5
jmp 0x4e99b2
push 8
push 0x6bc0f0
push esi
call fcn.005e0470
add esp, 0xc
test eax, eax
jne 0x4e9995
mov dword [esp + 0x10], 2
jmp 0x4e99b2
push 6
push 0x6bc0e0
push esi
call fcn.005e0470
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esp + 0x10], eax
push 0x2f
push esi
call fcn.005de150
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4e9ac6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + esi - 2]
cmp ebp, eax
jae 0x4e9ac6
mov eax, dword [ebx + 8]
add ebp, 2
xor esi, esi
test eax, eax
jle 0x4e9a7d
xor edi, edi
mov ecx, dword [ebx + 4]
push ebp
mov eax, dword [ecx + edi]
push eax
call fcn.005df8da
add esp, 8
test eax, eax
jne 0x4e9a12
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x10]
cmp eax, dword [edx + edi + 4]
je 0x4e9a1f
mov eax, dword [ebx + 8]
inc esi
add edi, 0xc
cmp esi, eax
jl 0x4e99f1
jmp 0x4e9a7d
mov edi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
lea eax, [esi + esi*2]
sub edi, esi
shl eax, 2
dec edi
mov dword [esp + 0x18], eax
add ebp, eax
mov dword [esp + 0x10], 0
mov ecx, ebp
call fcn.004d6d30
mov eax, dword [esp + 0x10]
add ebp, 0xc
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4e9a3c
test edi, edi
je 0x4e9a7a
mov eax, dword [ebx + 4]
lea edx, [edi + edi*2]
shl edx, 2
lea ecx, [esi + esi*2 + 3]
push edx
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
add ecx, eax
push edx
push ecx
call fcn.005df1c0
add esp, 0xc
dec dword [ebx + 8]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push 0x6d5ae8
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4e9ac6
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4ec140
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61bfee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov edx, dword [0x6ec7a0]
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 0
push 0x6d5b54
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4ec20e
mov ecx, dword [0x6ec7a0]
lea eax, [esp]
push 4
push eax
push 4
push 0
push 0x6d5b54
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4ec20e
push eax
lea ecx, [esp + 0xc]
call fcn.00532d90
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0
call fcn.005f6856
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], 2
call fcn.005023b0
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 1
call fcn.00602365
lea ecx, [esp + 8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.005f6497
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
add esp, 0xb4
ret
Function at 0x4ef700
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6ec7a0]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push 0x6d5c18
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4ef736
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4ef740
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6ec7a0]
lea eax, [esp]
push esi
lea ecx, [esp + 8]
xor esi, esi
push eax
push ecx
push esi
push esi
push 0x6d5c5c
push edx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x4ef776
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x4f2950
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61d230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6e7b6c]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esi + 0x104]
call fcn.005f7b6e
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x144]
push edx
call fcn.00496570
mov eax, dword [0x6e7b6c]
mov dword [esp + 8], eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
push ecx
lea ecx, [esi + 0xc8]
call fcn.005f7b6e
mov edx, dword [esp + 8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [0x6ec7a0]
push 1
push eax
push 0x6c11e4
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x148]
push ecx
push eax
call fcn.005ded53
add esp, 8
test eax, eax
je 0x4f2a00
mov byte [esi + 0x14c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.005fa859
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4f3980
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x220]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6ec7a0]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x6c1050
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f39f3
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005f9cb8
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6ec7a0]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x6c1024
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f3a40
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005f9cb8
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4f4d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x2d4]
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0x98]
call fcn.00416010
test eax, eax
je 0x4f4d75
call fcn.00416550
mov eax, dword [0x6ec7a0]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x6c1050
push eax
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f4dc7
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x420
mov ecx, esi
setne bl
call fcn.005f9cb8
mov ecx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push ecx
call edi
mov ecx, dword [0x6ec7a0]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push 0
push 0x6c1024
push ecx
mov dword [esp + 0x28], 4
call ebp
test eax, eax
jne 0x4f4e14
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
push 0x425
mov ecx, esi
setne bl
call fcn.005f9cb8
mov edx, dword [eax + 0x1c]
push 0
push ebx
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4f8600
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6ec7a0]
push esi
mov esi, ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push 0x6d5da0
push edx
mov dword [esp + 0x24], 4
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4f8656
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f8656
mov eax, dword [esi + 0x60c]
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [0x6ec7a0]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push 0x6d5d94
push eax
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4f8697
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f8697
mov ecx, dword [esi + 0x648]
push 0
push 1
push 0xf1
push ecx
call edi
mov ecx, dword [0x6ec7a0]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push 0x6d5d84
push ecx
mov dword [esp + 0x24], 4
call ebx
test eax, eax
jne 0x4f86d9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4f86d9
mov edx, dword [esi + 0x5d0]
push 0
push 1
push 0xf1
push edx
call edi
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4f86e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x60c]
push 0
push 0
push 0xf0
push eax
call edi
mov ecx, dword [esi + 0x5d0]
push 0
neg eax
sbb eax, eax
push 0
neg eax
push 0xf0
push ecx
mov dword [esp + 0x18], eax
call edi
mov edx, dword [esi + 0x648]
push 0
neg eax
sbb eax, eax
push 0
neg eax
push 0xf0
push edx
mov dword [esp + 0x20], eax
call edi
neg eax
sbb eax, eax
mov ecx, dword [0x6ec7a0]
neg eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push 4
push eax
push 4
push 0
push 0x6d5da0
push ecx
call esi
mov eax, dword [0x6ec7a0]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push 0x6d5d94
push eax
call esi
mov edx, dword [0x6ec7a0]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push 0x6d5d84
push edx
call esi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4fa590
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61df78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6e7b6c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x298]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
push edi
push edi
push 0x147
push ecx
mov dword [esp + 0x30], edi
call ebp
lea edx, [esp + 0x10]
lea ecx, [esi + 0x27c]
push edx
push eax
call fcn.006024aa
mov eax, dword [esi + 0x8c]
xor ebx, ebx
cmp dword [eax + 8], edi
jle 0x4fa61d
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edi + 4]
push eax
push ecx
call fcn.005df8da
add esp, 8
test eax, eax
je 0x4fa6b7
mov eax, dword [esi + 0x8c]
inc ebx
add edi, 0x1c
cmp ebx, dword [eax + 8]
jl 0x4fa5f1
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x4fa62d
lea eax, [esi + 0x94]
mov edi, dword [esi + 0x90]
test edi, edi
jne 0x4fa63d
lea edi, [esi + 0x94]
push eax
call fcn.005de123
mov ecx, dword [0x6ec7a0]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push 0
push 0x6c0174
push ecx
call edi
mov edx, dword [esi + 0x25c]
push 0
push 0
push 0xf0
push edx
call ebp
mov ecx, dword [0x6ec7a0]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push 0x6c0180
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ebp, dword [esi + 0x90]
test ebp, ebp
jne 0x4fa6c7
lea ebp, [esi + 0x94]
mov edx, dword [esi + 0x8c]
lea edi, [ebx*8]
sub edi, ebx
mov eax, dword [edx + 4]
shl edi, 2
mov ecx, dword [eax + edi + 0x10]
lea ebx, [eax + edi + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
mov edx, dword [esi + 0x25c]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x8c]
test eax, eax
mov edx, dword [ecx + 4]
setne al
mov byte [edx + edi + 0x14], al
mov ecx, dword [esi + 0x8c]
call fcn.004afbb0
jmp 0x4fa693
Function at 0x4fb6d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61e158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6e7b6c]
push esi
mov esi, ecx
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x120]
push 0
push 0
push 0x147
push ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 8]
lea ecx, [esi + 0x104]
push edx
push eax
call fcn.006024aa
mov esi, dword [0x6ed0c8]
mov eax, dword [esp + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb751
test cl, cl
je 0x4fb74d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb751
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb72d
xor eax, eax
jmp 0x4fb756
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fb780
mov ecx, dword [0x6ec7a0]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push 4
push eax
push 4
push 0
push 0x6beeb0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4fb844
mov eax, dword [0x6ec7a0]
push edi
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x6beeb0
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [esp + 0xc]
mov esi, dword [0x6ed0c4]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb7d5
test cl, cl
je 0x4fb7d1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb7d5
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb7b1
xor eax, eax
jmp 0x4fb7da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fb7e8
mov dword [esp + 8], 1
jmp 0x4fb827
mov esi, dword [0x6ed0c0]
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4fb814
test cl, cl
je 0x4fb810
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4fb814
add eax, 2
add esi, 2
test cl, cl
jne 0x4fb7f0
xor eax, eax
jmp 0x4fb819
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
add ecx, 2
mov dword [esp + 8], ecx
mov eax, dword [0x6ec7a0]
lea edx, [esp + 8]
push 4
push edx
push 4
push 0
push 0x6c3004
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x500d40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x61e8c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6e7b6c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ebx
mov dword [esp + 0x2c], 0
call fcn.005fa9e2
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.005fa9e2
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x30]
push ecx
push ebp
mov ecx, edi
call fcn.0049c320
mov esi, eax
test esi, esi
jne 0x500de9
mov eax, dword [edi + 4]
test eax, eax
jne 0x500dba
mov edx, dword [edi + 8]
push 1
push edx
mov ecx, edi
call fcn.0049c370
mov ecx, edi
call fcn.005022e0
mov esi, eax
mov eax, dword [esp + 0x30]
push ebp
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.005fa9e2
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + edx*4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov dword [ecx + edx*4], esi
add esi, 0xc
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005fa992
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 4]
call fcn.005fa992
push 0x6d60f0
lea ecx, [esp + 0x38]
call fcn.005fa8c7
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 1
call fcn.005fab5b
mov edi, dword [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x125
jbe 0x500e47
push eax
push 0x124
lea ecx, [esp + 0x3c]
call fcn.005facc5
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push ecx
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push eax
push eax
push 0x6c4b0c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push 0
push eax
push 0x6c4b00
push 0x6d0f58
push ecx
call fcn.005aa440
mov edx, dword [esp + 0x24]
add esp, 0x14
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.005fa859
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 2
call fcn.005fa859
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x500f00
Capabilities:
Delete registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61e8f0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 4]
test eax, eax
je 0x501058
mov ebx, dword [esp + 0x34]
push ebx
call fcn.005f373c
xor edx, edx
div dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [eax + edx*4]
test esi, esi
lea edi, [eax + edx*4]
je 0x501058
mov eax, dword [esi + 8]
push ebx
push eax
call fcn.005df8da
add esp, 8
test eax, eax
je 0x500f67
mov edi, esi
mov esi, dword [esi]
test esi, esi
jne 0x500f49
jmp 0x501058
mov ecx, dword [esi]
xor ebx, ebx
mov dword [edi], ecx
lea edi, [esi + 0xc]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [esp + 0x2c], 0
call fcn.005fa859
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005fa859
add edi, 8
mov edx, ebx
dec ebx
mov dword [esp + 0x10], edi
test edx, edx
jne 0x500f74
lea eax, [esi + 8]
push 1
push eax
call fcn.005f3718
mov ecx, dword [ebp + 0x10]
mov dword [esi], ecx
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], eax
jne 0x501058
mov eax, dword [ebp + 4]
test eax, eax
je 0x501036
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jbe 0x501036
mov edx, dword [ebp + 4]
mov ebx, dword [edx + eax*4]
test ebx, ebx
je 0x50102a
lea esi, [ebx + 0xc]
xor edi, edi
mov dword [esp + 0x18], esi
lea ecx, [esi + 4]
mov dword [esp + 0x2c], 1
call fcn.005fa859
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.005fa859
add esi, 8
mov eax, edi
dec edi
mov dword [esp + 0x18], esi
test eax, eax
jne 0x500fe8
lea ecx, [ebx + 8]
push 1
push ecx
call fcn.005f3718
mov ebx, dword [ebx]
test ebx, ebx
jne 0x500fdf
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x500fd5
mov edx, dword [ebp + 4]
push edx
call fcn.005f6c85
mov ecx, dword [ebp + 0x14]
xor esi, esi
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
call fcn.005f57a4
mov dword [ebp + 0x14], esi
push 0x6d60f0
lea ecx, [esp + 0x20]
call fcn.005fa8c7
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x6ec0c8
push 0
push 0x6d6114
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x5010b3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.005fa859
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x501c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x61ea90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x6e7b6c]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x24]
lea eax, [esp + 0xc]
push 1
push eax
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [0x6ec7c8]
push edx
push eax
mov dword [esp + 0x30], 0
call fcn.004ff450
test eax, eax
je 0x501d43
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0xc]
test eax, eax
je 0x501c7e
push eax
call fcn.005f6c85
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp + 0xc], edx
jne 0x501ca9
push 0x6d6350
mov ecx, ebp
call fcn.005b69d0
jmp 0x501cc8
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push 0x6c1b88
push ecx
call fcn.005de4a0
add esp, 8
test eax, eax
jne 0x501ce5
mov byte [ebp + 0x188], 1
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x501cf9
push eax
call fcn.005f6c85
add esp, 4
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005f6c5c
mov edx, eax
add esp, 4
test edx, edx
mov dword [ebp + 0x10], edx
jne 0x501d24
push 0x6d6328
mov ecx, ebp
call fcn.005b69d0
jmp 0x501d43
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call fcn.005fa859
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret