joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498714
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], vtable.Control.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.NewFolderDialog.0
mov dword [ebx + 0x24], vtable.Control.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], vtable.TextBox.0
lea edi, [ebx + 0x3c]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00421760
mov edx, dword [esi]
mov eax, dword [esi + 4]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push edx
call fcn.004735c0
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi]
push 0x4b0eac
mov dword [ebx + 8], 0x7a
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414e80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498714
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], vtable.Control.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebx], vtable.NewFolderDialog.0
mov dword [ebx + 0x24], vtable.Control.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], vtable.TextBox.0
lea edi, [ebx + 0x3c]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00421760
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [ebx + 0x18], eax
mov eax, dword [edi]
push 0x4b0eac
mov dword [ebx + 8], 0x7a
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417dd0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498980
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x2e4], 0
jne 0x417f64
push 0x84
call fcn.0047217f
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x439fc0
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
mov dword [esi], vtable.TcpServer.0
call fcn.00436460
push str.0.0.0.0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.0043a0d0
movzx eax, word [ebp + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
mov edx, str.0.0.0.0
push eax
mov word [esi + 0x58], ax
call fcn.00436ca0
add esp, 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x10]
call fcn.004367c0
push 0xa
push dword [esi + 0x34]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x417f83
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov dword [ebp - 0x2c], vtable.WsaStartup.0
setne al
mov byte [esi + 0xc], al
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 6
lea ebx, [esi + 0x60]
push 0
mov dword [esi], vtable.ConnectionListener.0
mov dword [esi + 0x5c], edi
push 0
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0040b820
mov dword [ebx], eax
lea eax, [esi + 0x6c]
push eax
mov dword [esi + 0x68], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x2e4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x40]
push str.Listening_Server_already_started
push eax
call fcn.0043a6d0
add esp, 8
lea eax, [ebp - 0x40]
push 0x4ca0f8
push eax
call fcn.0047354d
lea ecx, [ebp - 0x58]
call fcn.00436db0
push 0x4ca2f4
lea eax, [ebp - 0x58]
push eax
call fcn.0047354d
int3
Function at 0x418280
Capabilities:
Inspect load icon resource

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2dc]
mov dl, byte [edi + 0x5c]
mov byte [eax + 0x24], dl
lea ecx, [eax + 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test dl, dl
je 0x4182a1
push 0
jmp 0x4182a3
push 1
call eax
mov esi, dword [edi + 0x2dc]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4182b9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x68
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x20], eax
mov esi, dword [edi + 0x2dc]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x418320
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
je 0x4182e6
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
test eax, eax
movzx eax, ax
jne 0x4182f3
mov eax, dword [esi + 4]
push esi
push 0x42eba0
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x2dc]
mov ecx, dword [ecx + 0x10]
call fcn.0044ec90
pop edi
pop esi
pop ecx
ret
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [edi + 0x2dc]
mov ecx, dword [ecx + 0x10]
call fcn.0044ec90
pop edi
pop esi
pop ecx
ret
Function at 0x420d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4996f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x34]
mov eax, dword [ebp + 8]
mov byte [edi + 0x2d8], 1
mov byte [edi + 0x2d0], 0
mov byte [edi + 0xbc], 1
mov dword [edx + 0x14], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x24]
mov ecx, dword [edi + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 0x34]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00426770
mov edx, eax
movzx ecx, byte [edx + 4]
mov byte [esi + 0x24], cl
movzx ecx, byte [edx + 5]
mov byte [esi + 0x25], cl
movzx ecx, byte [edx + 6]
mov byte [esi + 0x26], cl
movzx ecx, byte [edx + 7]
mov byte [esi + 0x27], cl
movzx ecx, byte [edx + 8]
mov byte [esi + 0x28], cl
lea ecx, [edi - 0x30]
movzx eax, byte [edx + 9]
mov byte [esi + 0x29], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0x2a], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0x2b], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0x2c], al
call fcn.004208c0
push dword [edi - 0x2c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [edi - 0x30]
call fcn.0041e0d0
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x420e60
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420e41
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420ea6
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x420e93
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420e89
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420eab
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x421030
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499710
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov esi, dword [ecx + 0x214]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0xd]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x42112d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0044dcf0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
and esi, 0xfffffffe
push dword [ebx + 0x1f4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x421113
cmp dword [ebx + 0x1f0], 0
je 0x4210d0
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push dword [ebp - 0x1c]
mov dword [ebx + 0x1f0], eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004735c0
add esp, 0xc
push dword [ebx + 0x1f0]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebx + 0x1f0]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
call fcn.0043a180
mov eax, dword [ebx + 0x1f8]
lea ecx, [ebx + 0x1f8]
push dword [edi + 4]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4238a0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499b50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
xor ebx, ebx
mov ecx, dword [edi + 8]
mov eax, ecx
mov esi, dword [edi + 4]
sub eax, esi
sar eax, 4
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x4239a3
xor esi, esi
jmp 0x423939
mov esi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x24]
push 0x4b3fdc
push eax
call fcn.0043a5e0
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, dword [edi + 4]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jbe 0x423a16
mov eax, dword [edi + 0x14]
mov edx, dword [esi + ecx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x423977
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x423988
push dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [edi + 8]
add esi, 0x10
mov dword [ebp - 0x14], esi
mov eax, ecx
mov esi, dword [edi + 4]
inc ebx
sub eax, esi
mov dword [ebp - 0x10], ecx
sar eax, 4
cmp ebx, eax
jb 0x423936
mov byte [ebp - 4], 2
cmp esi, ecx
je 0x4239c2
mov ebx, dword [ebp - 0x10]
nop
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x10
cmp esi, ebx
jne 0x4239b0
mov esi, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [edi + 8], esi
mov dword [ebp - 0x24], vtable.StringStorage.0
test edx, edx
je 0x4239ff
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4239f5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423a11
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047d9a1
call fcn.00423c40
int3
Function at 0x424770
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499c78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov esi, 0x400
mov dword [ebp - 4], 0
nop
lea eax, [ebp - 0x18]
push eax
push esi
mov ecx, eax
call fcn.00421760
push dword [edi + 0x18]
push esi
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
lea edx, [esi - 1]
shr ecx, 1
add esi, ecx
cmp eax, edx
je 0x4247c0
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x42482b
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424821
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42483f
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0047d9a1
int3
Function at 0x424af0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004248c0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [edi + 4]
call fcn.0044f000
mov byte [ebp - 4], 4
push dword [ebp - 0x18]
mov ecx, dword [edi + 4]
call fcn.0044f0e0
mov ecx, dword [ebp - 0x44]
mov bl, al
test ecx, ecx
jne 0x424bfc
xor dl, dl
jmp 0x424c0e
push dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x44]
test eax, eax
sete dl
test bl, bl
jne 0x424c16
test dl, dl
je 0x424c18
mov bl, 1
mov dword [ebp - 0x48], vtable.RegistryKey.0
test ecx, ecx
je 0x424c36
cmp ecx, dword [ebp - 0x40]
je 0x424c2f
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a180
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x424c8d
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424c6e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424cdc
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x424cc7
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x424cbd
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424ce1
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x424ed0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499d70
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.004248c0
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0044f000
mov ebx, dword [ebp - 0x44]
test ebx, ebx
jne 0x424fd2
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42502a
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424fe0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42502a
cmp eax, dword [ebp - 0x40]
je 0x425023
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
call fcn.0043a180
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
test edx, edx
je 0x425081
mov ecx, dword [ebp - 0x10]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425062
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4250d1
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
test edx, edx
je 0x4250bb
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4250b1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4250d6
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
call fcn.0047d9a1
int3
Function at 0x4250e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499db0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 8]
call fcn.004248c0
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.004249a0
push ecx
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push dword [edi + 4]
call fcn.0044f000
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x4251e2
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42522d
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], 0xb
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], 8
push ecx
push 0
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [ebp - 0x4c], vtable.RegistryKey.0
mov eax, dword [ebp - 0x48]
sete bl
test eax, eax
je 0x42522d
cmp eax, dword [ebp - 0x44]
je 0x425226
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x40]
call fcn.0043a180
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test edx, edx
je 0x425284
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x425265
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4252d3
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x4252be
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x4252b4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4252d8
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047d9a1
call fcn.0047d9a1
int3