joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov dword [esp + 0x20], 0xbd7dbb9f
mov dword [esp + 0x24], 0xa130bf2e
mov dword [esp + 0x28], 0xa545a366
mov dword [esp + 0x2c], 0xa949a732
mov dword [esp + 0x30], 0xad50ab8f
mov dword [esp + 0x34], 0x51b8af5a
mov dword [esp + 0x38], 0x55ba53c7
mov dword [esp + 0x3c], 0x59bd57b2
mov dword [esp + 0x40], 0x5dbe5bc8
mov dword [esp + 0x44], 0x41d25fb7
mov dword [esp + 0x48], 0x45b843a6
mov dword [esp + 0x4c], 0x49da47b6
mov dword [esp + 0x50], 0x4daa4ba5
mov dword [esp + 0x54], 0x719c4fa7
mov dword [esp + 0x58], 0x75e77397
lea eax, [esp + 0x5c]
mov word [esp + 0x5c], 0x7776
mov ecx, 0xea
mov edx, 0x15
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0xca]
mov ebx, edx
xor ebx, ecx
and ebx, esi
xor ebx, ecx
add bl, 0xb0
mov byte [esp + ecx - 0xca], bl
inc ecx
dec edx
cmp ecx, 0x128
jne 0x423aa0
lea esi, [esp + 0x5e]
lea edx, [esp + 0x20]
mov edi, esi
mov ecx, 0xf
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x9a]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x1e
push esi
push 0
call dword [0x449658]
mov dword [esp + 0x20], 0xb07f7e1e
mov ecx, 0x7eab7fd6
mov edx, 0x8154802a
movzx ebx, byte [esp + ecx - 0x7eab7fb6]
lea esi, [ecx - 1]
and esi, ebx
mov ebp, esi
or ebp, 0xfffffffd
inc ebp
mov edi, esi
and edi, 0xffffffdd
imul edi, ebp
mov ebp, esi
and ebp, 2
or esi, 2
imul esi, ebp
mov ebp, esi
sub ebp, edi
add edi, ebx
sub ebp, ebx
add ebp, edx
or ebp, 0xaa40157
add ebp, edi
mov ebx, edi
sub ebx, esi
sub ebp, esi
add ebp, ecx
mov esi, ebp
and esi, 0xfd
mov edi, ebp
and edi, 2
or ebp, 2
imul ebp, edi
xor edi, 2
imul edi, esi
add ebx, ecx
dec ebx
xor ebx, 0x57
add ebx, ebp
add ebx, edi
inc bl
mov byte [esp + ecx - 0x7eab7fb6], bl
inc ecx
dec edx
cmp ecx, 0x7eab7fda
jne 0x423b10
xor ecx, ecx
cmp eax, dword [esp + 0x20]
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x444180]
Function at 0x4281e7
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xec
mov dword [esp + 6], 0xc787c5a1
mov dword [esp + 0xa], 0xcb7ac978
mov dword [esp + 0xe], 0xcf6fcd88
mov dword [esp + 0x12], 0xd373d164
mov dword [esp + 0x16], 0xd7d6d5b1
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 6]
mov edi, eax
and edi, 8
mov edx, ecx
xor edx, 0x9b75e5e4
add edx, edi
mov edi, edx
and edi, esi
mov ebp, edi
and ebp, 0xfffffffd
mov ebx, edi
or ebx, 0xfffffffd
inc ebx
imul ebx, ebp
mov ebp, edi
and ebp, 2
or edi, 2
imul edi, ebp
sub ebx, edi
add edx, esi
add edx, ebx
mov esi, edx
and esi, 0x5f
xor edx, 0xdf
lea edx, [edx + esi*2]
inc dl
mov byte [esp + ecx + 6], dl
inc ecx
add eax, 2
cmp ecx, 0x14
jne 0x4280f0
lea esi, [esp + 0xc2]
lea eax, [esp + 6]
mov edi, esi
mov ecx, 5
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0xd6]
lea eax, [esp + 0x1a]
xor ebx, ebx
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
lea edi, [esp + 0x48]
push edi
push 0
push 0
push 9
push esi
push 0
call dword [0x449658]
mov dword [esp + 6], 0x4e8d8ca8
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx + 6]
lea edx, [ebx + 0x435ec613]
lea ebp, [ebx + 0x13]
or ebp, edx
or edx, ecx
and ebp, ecx
sub edx, ebp
add edx, 0x13c954df
mov ecx, edx
and ecx, 8
xor edx, 0x88
lea ecx, [edx + ecx*2]
inc cl
mov byte [esp + ebx + 6], cl
mov ecx, ebx
not ecx
or ecx, 1
add ecx, ebx
xor ebx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
cmp ebx, 4
jb case.default.0x4281e0
xor ecx, ecx
cmp eax, dword [esp + 6]
setne cl
jmp dword [ecx*4 + 0x444ad4]
mov ebx, dword [esp + 0x48]
test ebx, ebx
jns 0x428202
mov eax, 0xffffffff
jmp 0x428205
mov ecx, dword [0x444ae8]
xor eax, eax
nop
nop
jmp ecx
lea eax, [ebx + ebx]
push eax
call fcn.00407ff0
add esp, 4
push edi
push ebx
mov edi, eax
push eax
push 9
push esi
push 0
call dword [0x449658]
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x444aec]
Function at 0x4376b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
lea eax, [esp + 0x14]
push 0x68
push 7
push 0x100080
push eax
push dword [esp + 0x44]
call fcn.0043d520
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x446264]
Function at 0x43a310
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov dword [esp], 0x60616263
mov eax, 0x86ceb5bc
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x79314a44]
xor edx, eax
mov esi, edx
and esi, 0x6c01575
xor edx, 0x17d05d75
lea ebp, [edx + esi*2]
mov edi, 0x60
sub edi, ebp
lea edx, [edx + esi*2]
add edx, 0x1f
and edi, 0x75
and edx, 0x8a
or edx, 1
sub edx, edi
mov byte [esp + eax + 0x79314a44], dl
inc eax
cmp eax, 0x86ceb5c0
jne 0x43a330
test ebx, ebx
jne 0x43a37d
lea ebx, [esp + 4]
mov eax, dword [esp]
mov ebp, dword [0x44965c]
test ebp, ebp
je 0x43a3d7
xor edx, edx
mov esi, dword [0x449660]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xa99f3325
je 0x43a3b0
inc edx
cmp ebp, edx
jne 0x43a3a0
jmp 0x43a3d7
mov ebp, dword [esi + edx*8 + 4]
cmp ebp, eax
je 0x43a3d7
push ebx
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push ecx
push 0x14
push ebp
push dword [0x449664]
call fcn.0043b480
add esp, 0x20
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x43afd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 2], 0x2eb92cb5
mov dword [esp + 6], 0x22bd204b
mov dword [esp + 0xa], 0x267b24bf
mov dword [esp + 0xe], 0x5ac55843
mov dword [esp + 0x12], 0x5e5d5cc7
mov eax, 0x9494d7b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6b6b284f]
xor ecx, eax
add ecx, 0x5b594267
mov edx, ecx
xor edx, 0xbc
and ecx, 0x43
add ecx, ecx
sub ecx, edx
add cl, 0xbd
mov byte [esp + eax + 0x6b6b284f], cl
inc eax
cmp eax, 0x9494d7c7
jne 0x43b010
lea esi, [esp + 2]
push esi
call fcn.0043cac0
add esp, 4
mov dword [0x451678], eax
xor ecx, ecx
test eax, eax
sete cl
mov edx, dword [0x44643c]
mov edi, edx
xor edi, 0x323d2687
add edx, edx
xor edx, 0x647a4d0e
sub edi, edx
add edi, dword [ecx*4 + 0x446434]
xor ebx, ebx
jmp edi

Function at 0x43c100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [esp + 0x50]
movzx eax, word [eax]
mov dword [esp + 0x18], 0x111095e3
mov ecx, 0x225a30de
mov edx, 0x21
movzx esi, byte [esp + ecx - 0x225a30c6]
mov edi, edx
xor edi, ecx
and edi, esi
xor edi, ecx
lea ebx, [edi + 0xf]
mov esi, 0xf0
sub esi, edi
or esi, 1
add esi, edi
or ebx, 1
add ebx, esi
add bl, 0x10
mov byte [esp + ecx - 0x225a30c6], bl
inc ecx
dec edx
cmp ecx, 0x225a30e2
jne 0x43c120
xor ecx, ecx
cmp dword [esp + 0x18], eax
setne cl
mov eax, dword [ecx*4 + 0x4469a0]
mov ecx, 0x96fa7992
xor ecx, dword [0x4469a8]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx

Function at 0x43ca60
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push eax
mov dword [esp], 0x11102ffe
mov eax, esp
mov ecx, 0x21
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
lea esi, [ecx - 0x225a3100]
or esi, edx
and edx, ecx
lea edi, [esi + esi]
not edi
add edi, esi
or edi, edx
add edi, 0xed2e790f
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x1d
jne 0x43ca80
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
ret
Function at 0x4040e0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x425071
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1110]
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 6
call fcn.0041969c
lea eax, [esp + 0x2c]
lea ecx, [esp + 8]
push eax
push str.Enum_
push ecx
mov byte [esp + 0x28], 7
call fcn.00419ab2
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 8
call fcn.004198e0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 7
call fcn.004197e7
mov eax, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404188
push edi
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x14]
push esi
push 1
push eax
push str.PortName
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004196ac
lea ecx, [esp + 0x34]
call fcn.004047d0
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004196ac
lea ecx, [esp + 0x5d4]
call fcn.004047d0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004196ac
lea ecx, [esp + 0xb74]
call fcn.004047d0
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 6
call fcn.004197e7
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 5
call fcn.004197e7
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 4
call fcn.004197e7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 3
call fcn.004197e7
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 2
call fcn.004042e0
lea ecx, [esp + 0x5d0]
mov byte [esp + 0x1c], 1
call fcn.004042e0
lea ecx, [esp + 0xb70]
mov byte [esp + 0x1c], 0
call fcn.004042e0
lea ecx, [esp + 0x1110]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0x10f0

Function at 0x4044b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push str.RESD
push eax
mov ebx, ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x4044ff
call fcn.00423a85
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4044ff
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4044ff
push edi
push eax
mov ecx, ebx
call fcn.004042f0
pop edi
pop esi
pop ebx
ret 4
pop edi
pop esi
mov eax, 2
pop ebx
ret 4
Function at 0x4047d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x425098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.0041969c
push 0
mov ecx, esi
mov byte [esp + 0x20], 1
mov edi, 0x66
call fcn.004047b0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push str.Enum_
push ecx
call fcn.00419ab2
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.004197e7
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404890
mov ecx, dword [esi + 0x410]
mov edx, dword [esp + 0xc]
add esi, 0x10
push ecx
push esi
push 3
push eax
push str.ForcedConfig
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x404885
xor edi, edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.004197e7
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4

Function at 0x4048d0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4250c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea ecx, [esp]
mov dword [esp + 0x14], 0
call fcn.0041969c
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push eax
push str.Enum_
push ecx
mov byte [esp + 0x20], 1
call fcn.00419ab2
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.004198e0
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.004197e7
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40496a
mov ecx, dword [esp + 4]
push str.ForcedConfig
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp]
mov byte [esp + 0x14], 0
call fcn.004197e7
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x405090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4251f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call fcn.0041dadd
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0041969c
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov dword [esp + 0xc], vtable.CFileException.0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.0041992f
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 3
test eax, eax
je 0x40511c
mov eax, dword [edi + 0xc]
lea edx, [esp + 8]
lea ecx, [edi + 0xc]
push edx
mov edx, dword [esp + 0x30]
push 0x5001
push edx
call dword [eax + 0x28]
mov ebx, eax
jmp 0x405145
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 0xc]
push esi
lea esi, [edi + 0xc]
lea ecx, [esp + 0xc]
push ecx
push 0x7001
push edx
mov ecx, esi
call dword [eax + 0x28]
mov ebx, eax
mov eax, dword [esi]
push 2
push 0
mov ecx, esi
call dword [eax + 0x30]
pop esi
mov ecx, dword [esp + 0x34]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [esp + 8], vtable.CFileException.0
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 4
call fcn.004197e7
lea ecx, [esp + 0x2c]
mov dword [esp + 8], vtable.CObject.0
mov dword [esp + 0x24], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x1c]
mov eax, ebx
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x405ee0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4255ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 4]
mov dword [esp + 0x30], 0
mov ecx, edi
call fcn.0041969c
lea ecx, [esi + 0xc]
mov byte [esp + 0x30], 1
call fcn.0041969c
lea ecx, [esi + 0x10]
mov byte [esp + 0x30], 2
call fcn.0041969c
lea ecx, [esi + 0x14]
mov byte [esp + 0x30], 3
call fcn.0041969c
lea ecx, [esi + 0x18]
mov byte [esp + 0x30], 4
call fcn.0041969c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x30], 5
call fcn.0041969c
lea ecx, [esi + 0x20]
mov byte [esp + 0x30], 6
call fcn.0041969c
lea ecx, [esi + 0x34]
mov byte [esp + 0x30], 7
call fcn.0041969c
lea ecx, [esi + 0x38]
mov byte [esp + 0x30], 8
call fcn.0041969c
lea ecx, [esi + 0x3c]
mov byte [esp + 0x30], 9
call fcn.0041969c
lea ecx, [esi + 0x40]
mov byte [esp + 0x30], 0xa
call fcn.0041969c
lea ebp, [esi + 0x44]
mov byte [esp + 0x30], 0xb
mov ecx, ebp
call fcn.0041969c
lea ecx, [esi + 0x48]
mov byte [esp + 0x30], 0xc
call fcn.0041969c
lea ecx, [esi + 0x4c]
mov byte [esp + 0x30], 0xd
call fcn.0041969c
lea ecx, [esi + 0x50]
mov byte [esp + 0x30], 0xe
call fcn.0041969c
lea ecx, [esi + 0x54]
mov byte [esp + 0x30], 0xf
call fcn.0041969c
lea ecx, [esi + 0x58]
mov byte [esp + 0x30], 0x10
call fcn.0041969c
lea ecx, [esi + 0x5c]
mov byte [esp + 0x30], 0x11
call fcn.0041969c
lea ecx, [esi + 0x60]
mov byte [esp + 0x30], 0x12
call fcn.0041969c
lea ecx, [esi + 0x64]
mov byte [esp + 0x30], 0x13
call fcn.0041969c
lea ecx, [esi + 0x68]
mov byte [esp + 0x30], 0x14
call fcn.0041969c
lea ecx, [esi + 0x6c]
mov byte [esp + 0x30], 0x15
call fcn.00417e6a
lea ebx, [esi + 0x84]
mov byte [esp + 0x30], 0x16
mov ecx, ebx
call fcn.0041969c
lea ecx, [esi + 0x88]
mov byte [esp + 0x30], 0x17
call fcn.00409e10
push 1
lea ecx, [esi + 0x5bc]
mov byte [esp + 0x34], 0x18
call fcn.00409200
lea eax, [esp + 0x38]
mov ecx, edi
push eax
mov byte [esp + 0x34], 0x19
mov dword [esi], 0x427264
call fcn.004198e0
xor edi, edi
mov ecx, ebx
mov dword [esi + 8], edi
mov dword [esi + 0x80], edi
call fcn.00419772
mov ecx, ebp
call fcn.00419772
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004196ac
lea ecx, [esi + 0x88]
call fcn.00409f30
push edi
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004196ac
lea ecx, [esp + 0x20]
call fcn.0040a840
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x1a
call fcn.0040a940
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x5f8]
cmp eax, 2
jne 0x4060f1
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004066a0
jmp 0x406102
cmp eax, 1
jne 0x406102
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call fcn.00406160
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x19
call fcn.0040a8f0
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
Function at 0x407450
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0041969c
lea ecx, [esp + 0x18]
mov dword [esp + 0x234], 0
mov dword [esp + 0xc], 0x100
call fcn.0041969c
lea eax, [esp + 8]
xor esi, esi
push eax
push 0x20019
push esi
push str.Config_ManagerEnum
push 0x80000006
mov byte [esp + 0x248], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075e6
push ebp
xor ebp, ebp
mov dword [esp + 0x18], 0x100
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
lea edx, [esp + 0x40]
mov eax, ebp
push ecx
push edx
push eax
mov eax, dword [esp + 0x28]
inc ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4075da
lea ecx, [esp + 0x14]
lea edx, [esp + 0x30]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4075ca
lea ecx, [esp + 0x10]
lea edx, [esp + 0x130]
push ecx
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x34]
push eax
push ecx
push str.HardWareKey
push edx
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4075bf
mov eax, dword [edi + 0x1c]
lea esi, [esp + 0x130]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x407579
test cl, cl
je 0x407575
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x407579
add eax, 2
add esi, 2
test cl, cl
jne 0x407555
xor eax, eax
jmp 0x40757e
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
sete cl
and ecx, 0xff
mov esi, ecx
je 0x4075bf
lea edx, [esp + 0x30]
lea ecx, [esp + 0x20]
push edx
call fcn.00419855
push eax
lea ecx, [edi + 0x20]
mov byte [esp + 0x23c], 2
call fcn.004198e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x238], 1
call fcn.004197e7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [esp + 0x18], 0x100
je 0x4074cc
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 0
call fcn.004197e7
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x230
ret
Function at 0x407630
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425964
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x134], ebx
call fcn.0041969c
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 1
call fcn.0041969c
lea eax, [esp + 0x13c]
lea ecx, [esp + 0xc]
push eax
push str.Enum_
push ecx
mov byte [esp + 0x140], 2
mov dword [esp + 0x28], 0x100
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
call fcn.00419ab2
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 3
call fcn.004198e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 2
call fcn.004197e7
mov eax, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push eax
push 0x80000002
call edi
test eax, eax
jne 0x40779c
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push ebx
push str.Child0000
push edx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x407795
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], 1
push eax
call edi
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
push ecx
push str.Class
push edx
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407795
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
call fcn.00419855
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 4
call fcn.004198e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 2
call fcn.004197e7
push str.Multi
lea ecx, [esp + 0x18]
call fcn.00417af0
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [esi + 0x2c], ecx
mov edx, dword [esp + 0x10]
push edx
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 1
call fcn.004197e7
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], bl
call fcn.004197e7
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret 4
Function at 0x407df0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x425a87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0041969c
mov ebx, dword [esp + 0x138]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push str.Driver
push ebx
mov dword [esp + 0x148], 0
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407e8e
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.00419855
lea edi, [esi + 0x38]
push eax
mov ecx, edi
mov byte [esp + 0x134], 1
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0
call fcn.004197e7
jmp 0x407e98
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.00419772
lea edx, [esp + 0x14]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push str.PORTNAME
push ebx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407ef2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.00419855
push eax
lea ecx, [esi + 0x40]
mov byte [esp + 0x134], 2
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0
call fcn.004197e7
jmp 0x407efa
lea ecx, [esi + 0x40]
call fcn.00419772
push edi
lea ecx, [esp + 0x14]
push str.SystemCurrentControlSetServicesClass_
push ecx
call fcn.00419ab2
mov eax, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push eax
push 0x80000002
mov byte [esp + 0x144], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea ecx, [esp + 0x10]
neg ebx
sbb ebx, ebx
mov byte [esp + 0x130], 0
inc ebx
call fcn.004197e7
test bl, bl
je 0x407faf
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
push ecx
push str.InfPath
push edx
mov dword [esp + 0x2c], 0x100
call ebp
test eax, eax
jne 0x407fa4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.00419855
push eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x134], 4
call fcn.004198e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 0
call fcn.004197e7
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov dword [esp + 0x130], 0xffffffff
call fcn.004197e7
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret 4