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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531552
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ebx, [edi + 0x30]
mov dword [ebp - 4], 0
mov dword [ebp + 8], ebx
push 0x70
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004603d4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
lea ecx, [edi + 0x38]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi]
dec eax
mov byte [ebp - 4], 2
cmp eax, 6
ja case.default.0x41104f
jmp dword [eax*4 + 0x411128]
add esi, 0x18
lea ecx, [edi + 0x18]
cmp ecx, esi
je case.default.0x41104f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41106e
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00404d00
jmp case.default.0x41104f
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
movd xmm0, dword [esi + 4]
cvtdq2ps xmm0, xmm0
movss dword [edi + 8], xmm0
movd xmm0, dword [esi + 4]
cvtdq2pd xmm0, xmm0
movsd qword [edi + 0x10], xmm0
jmp case.default.0x41104f
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
cvttss2si eax, dword [esi + 8]
mov dword [edi + 4], eax
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x10], xmm0
jmp case.default.0x41104f
movsd xmm0, qword [esi + 0x10]
movsd qword [edi + 0x10], xmm0
cvttsd2si eax, qword [esi + 0x10]
mov dword [edi + 4], eax
movsd xmm0, qword [esi + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [edi + 8], xmm0
jmp case.default.0x41104f
mov al, byte [esi + 0x44]
mov byte [edi + 0x44], al
jmp case.default.0x41104f
add esi, 0x30
cmp esi, ebx
je case.default.0x41104f
mov ecx, ebx
call fcn.00416860
push esi
mov ecx, ebx
call fcn.004133e0
jmp case.default.0x41104f
add esi, 0x38
cmp esi, ecx
je case.default.0x41104f
push dword [ebp + 8]
push dword [esi + 4]
push dword [esi]
call fcn.00412580
mov eax, edi
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 0x412fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531840
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
movsd xmm1, qword [ebp + 8]
cvttsd2si eax, xmm1
mov dword [edi], 4
cvtpd2ps xmm0, xmm1
mov dword [edi + 4], eax
movsd qword [edi + 0x10], xmm1
movss dword [edi + 8], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp + 0xc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004603d4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x413070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531870
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
xorps xmm0, xmm0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
movsd qword [edi + 0x10], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004603d4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531870
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x579258]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 7
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x70
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004603d4
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov al, byte [ebp + 8]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x416c40
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.004ecad0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416ca2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00416d70
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00460412
mov esp, ebp
pop ebp
ret

Function at 0x416ea0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, ecx
cmp dword [edx + 0x210], 0
je 0x416f34
push esi
push edi
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword fs:[esi + 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 4], ecx
mov esi, dword [eax + 0xc]
mov eax, dword [edx + 0x208]
mov dword [esi + 0x30], eax
mov ecx, dword [edx + 0x208]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416ee0
sub ecx, edi
sar ecx, 1
lea eax, [ecx + ecx]
mov word [esi + 0x2c], ax
mov ecx, dword [edx + 0x208]
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416f00
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
mov word [esi + 0x2e], ax
lea eax, [esi + 0x24]
push dword [edx + 0x208]
push dword [edx + 0x20c]
push eax
call fcn.00416ff0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [edi + 0x210], 1
xor esi, esi
mov eax, dword fs:[esi + 0x18]
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 4], ecx
mov esi, dword [eax + 0xc]
mov eax, dword [esi + 0x30]
mov dword [edi + 0x208], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x20c], eax
mov eax, edi
mov edx, dword [esi + 0x28]
mov dword [esi + 0x30], str.explorer.exe
mov dword [esi + 0x2c], 0x1a0018
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x416f90
push str.explorer.exe
lea eax, [esi + 0x24]
push edi
push eax
call fcn.00416ff0
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x418050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531dd5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x20], 8
lea edx, [ebp - 0x44]
push edx
push 0x2001f
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 2
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4180ac
xor bl, bl
jmp 0x418166
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], 0x53ddc8
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], eax
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00419c60
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
test ecx, ecx
je 0x4180f8
mov edx, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebp + 0x4c]
lea edx, [ebp + 0x3c]
cmp dword [ebp + 0x50], 8
lea ecx, [ebp + 0x24]
cmovae edx, dword [ebp + 0x3c]
cmp dword [ebp + 0x38], 8
lea eax, [eax*2 + 4]
push eax
cmovae ecx, dword [ebp + 0x24]
push edx
push 1
push 0
push ecx
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 5
jne 0x418147
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x418250
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x418166
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4181a0
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418196
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418255
push edx
push ecx
call fcn.00460404
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x4181ea
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4181e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418255
push edx
push ecx
call fcn.00460404
add esp, 8
mov edx, dword [ebp + 0x50]
xor eax, eax
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
cmp edx, 8
jb 0x418234
mov ecx, dword [ebp + 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41822a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418255
push edx
push ecx
call fcn.00460404
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
call fcn.0045f14f
call fcn.004f5b2a
int3
Function at 0x418260
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531e21
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], 0x53dde0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], eax
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00419ce0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
test ecx, ecx
je 0x4182e0
mov edx, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x44]
push ecx
push 0x2001f
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x418306
xor bl, bl
jmp 0x41832a
cmp dword [ebp + 0x38], 8
lea ecx, [ebp + 0x3c]
push 4
push ecx
push 4
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push 0
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 4
jne 0x418344
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x418400
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x418363
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x418399
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41838f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418405
push edx
push ecx
call fcn.00460404
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x4183e3
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4183d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418405
push edx
push ecx
call fcn.00460404
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
call fcn.0045f14f
call fcn.004f5b2a
int3
Function at 0x418410
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x531e6d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x20], 8
lea edx, [ebp - 0x44]
push edx
push 0x2001f
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41846c
xor bl, bl
jmp 0x41850b
lea eax, [ebp - 0x44]
mov dword [ebp - 0x70], 0x53de58
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], eax
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00419d20
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
test ecx, ecx
je 0x4184b8
mov edx, dword [ecx]
lea eax, [ebp - 0x70]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
cmovae eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
sete bl
cmp byte [ebp - 0x18], 0
mov byte [ebp - 4], 4
jne 0x4184ec
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4185a7
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41850b
mov edx, dword [ecx]
lea eax, [ebp - 0x40]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x418541
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418537
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185ac
push edx
push ecx
call fcn.00460404
add esp, 8
mov edx, dword [ebp + 0x38]
xor eax, eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 7
mov word [ebp + 0xc], ax
cmp edx, 8
jb 0x41858b
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418581
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4185ac
push edx
push ecx
call fcn.00460404
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
call fcn.0045f14f
call fcn.004f5b2a
int3
Function at 0x4192d0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x579258]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x419472
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x419351
cmp eax, 2
jne 0x419332
push str.Key_not_found._n
call fcn.0041a060
add esp, 4
jmp 0x419472
push str.Error_opening_key._n
call fcn.0041a060
add esp, 4
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460412
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
je 0x419374
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41944f
lea esi, [ebp - 0x20c]
sub esi, edi
nop word [eax + eax]
mov edx, 0x208
mov eax, edi
nop word [eax + eax]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x4193ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x4193ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4193d0
lea ecx, [eax - 2]
test edx, edx
push ebx
push dword [ebp - 0x218]
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
call fcn.004192d0
add esp, 8
test eax, eax
je 0x419449
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4193c0
mov esi, dword [ebp - 0x218]
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
jne 0x41933f
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.00460412
mov esp, ebp
pop ebp
ret
Function at 0x41c230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x41c44d
cmp eax, 3
jb 0x41c2a6
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
test ebx, ebx
je 0x41c2e4
mov eax, dword [esi + 0x6af84]
sub eax, ebx
cmp eax, 0x7efa
ja 0x41c2e4
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x41c2cd
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.0041c480
mov ecx, dword [esi + 0x6af90]
mov edi, eax
add esp, 8
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x41c3ce
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.0041bea0
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
sub ecx, edi
mov dword [ebp + 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x41c398
cmp ecx, 3
jb 0x41c398
dec edi
nop word [eax + eax]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x41c330
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [ebp + 8]
jmp 0x41c3f4
mov edx, dword [esi + 0x6af84]
add edx, edi
xor edi, edi
mov dword [esi + 0x6af84], edx
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
mov eax, dword [ebp + 8]
jmp 0x41c3f4
movzx eax, byte [ecx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0041bea0
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
test eax, eax
je 0x41c429
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x41c40c
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x41c40e
xor ecx, ecx
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.0041b9f0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
mov eax, dword [esi + 0x6af90]
cmp eax, 0x106
jae 0x41c445
push esi
call fcn.0041c0d0
mov eax, dword [esi + 0x6af90]
add esp, 4
test eax, eax
jne 0x41c255
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x41c461
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x41c463
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push eax
push edx
push esi
call fcn.0041b9f0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41d340
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41d34e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x41d40d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
sub edi, 1
jne 0x41d366
pop edi
test esi, esi
je 0x41d42b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x53e018]
sub esi, 1
jne 0x41d411
not eax
pop esi
pop ebp
ret