joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427cac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x427dd1
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427ab4
mov esi, eax
mov eax, dword [0x69cb00]
cmp byte [eax], 0
je 0x427d79
mov eax, dword [0x69c73c]
call fcn.00407068
call fcn.00406864
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427c7c]
call fcn.0040b40c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x427dec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x427db5
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x69c694]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x69fc54]
call fcn.0040b620
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427dd8
lea eax, [ebp - 4]
mov edx, dword [0x427c7c]
call fcn.0040b530
ret

Function at 0x428e10
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428ee6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004097d8
lea eax, [ebp - 4]
call fcn.00409940
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409f74
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x428ed0
mov eax, ebx
call fcn.004066f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x428ec9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409f74
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x428eb3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x428ef8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x428eb3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428ed0
mov eax, dword [ebp - 0x10]
call fcn.0040670c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428eed
lea eax, [ebp - 4]
call fcn.004093b0
ret
Function at 0x42989c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409880
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d050
mov edi, eax
cmp edi, 0x104
jbe 0x429843
mov eax, edi
add eax, eax
call fcn.004066f0
mov esi, eax
jmp 0x429845
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d050
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429880
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42986a
mov eax, esp
cmp esi, eax
je 0x42988d
mov eax, esi
call fcn.0040670c
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4298c8
cmp bl, 0
je 0x4298c4
cmp bl, 0x41
jl 0x4298bf
cmp bl, 0x5a
jg 0x4298bf
or bl, 0x20
xor al, bl
inc esi
jmp 0x4298a3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429804

Function at 0x42a144
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a030
add esp, 0x800
pop ebx
ret
Function at 0x49e0bc
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ebx
push eax
add esp, 4
and ebx, 0x40d7
add ebx, 0x4d08
or ebx, 0x135a7
and ebx, 0xb4be
pop ebx
push ebx
sub ebx, 0xf980
and ebx, 0x11ee2
or ebx, 0x41d5
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push esi
push edi
add esp, 4
xor esi, 0x66d8
pop esi
push esi
sub esi, 0xfd38
call 0x49e1c8
add byte [ecx + 0x45], cl
dec eax
xor eax, 0xc4834640
add al, 0xe8
pop es
add byte [eax], al
add byte [eax], al
cmp byte [edi + 0x4c], al
aas
cmp bh, byte [esi]
add esp, 4
pop esi
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ebx
push edi
add esp, 4
and ebx, 0x177bb
call 0x49e22f
add byte [ebx], dh
dec esi
inc edi
inc edi
inc edx
cmp eax, 0xc4833d32
add al, 0x81
jmp 0x49e228
Function at 0x49e1c8
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ebx
push eax
add esp, 4
and ebx, 0x40d7
add ebx, 0x4d08
or ebx, 0x135a7
and ebx, 0xb4be
pop ebx
push ebx
sub ebx, 0xf980
and ebx, 0x11ee2
or ebx, 0x41d5
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push esi
push edi
add esp, 4
xor esi, 0x66d8
pop esi
push esi
sub esi, 0xfd38
call 0x49e1c8
add byte [ecx + 0x45], cl
dec eax
xor eax, 0xc4834640
add al, 0xe8
pop es
add byte [eax], al
add byte [eax], al
cmp byte [edi + 0x4c], al
aas
cmp bh, byte [esi]
add esp, 4
pop esi
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ebx
push edi
add esp, 4
and ebx, 0x177bb
call 0x49e22f
add byte [ebx], dh
dec esi
inc edi
inc edi
inc edx
cmp eax, 0xc4833d32
add al, 0x81
jmp 0x49e228
Function at 0x49e1d7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ebx
push eax
add esp, 4
and ebx, 0x40d7
add ebx, 0x4d08
or ebx, 0x135a7
and ebx, 0xb4be
pop ebx
push ebx
sub ebx, 0xf980
and ebx, 0x11ee2
or ebx, 0x41d5
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push esi
push edi
add esp, 4
xor esi, 0x66d8
pop esi
push esi
sub esi, 0xfd38
call 0x49e1c8
add byte [ecx + 0x45], cl
dec eax
xor eax, 0xc4834640
add al, 0xe8
pop es
add byte [eax], al
add byte [eax], al
cmp byte [edi + 0x4c], al
aas
cmp bh, byte [esi]
add esp, 4
pop esi
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ebx
push edi
add esp, 4
and ebx, 0x177bb
call 0x49e22f
add byte [ebx], dh
dec esi
inc edi
inc edi
inc edx
cmp eax, 0xc4833d32
add al, 0x81
jmp 0x49e228
Function at 0x49e22f
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push ebx
push eax
add esp, 4
and ebx, 0x40d7
add ebx, 0x4d08
or ebx, 0x135a7
and ebx, 0xb4be
pop ebx
push ebx
sub ebx, 0xf980
and ebx, 0x11ee2
or ebx, 0x41d5
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push esi
push edi
add esp, 4
xor esi, 0x66d8
pop esi
push esi
sub esi, 0xfd38
call 0x49e1c8
add byte [ecx + 0x45], cl
dec eax
xor eax, 0xc4834640
add al, 0xe8
pop es
add byte [eax], al
add byte [eax], al
cmp byte [edi + 0x4c], al
aas
cmp bh, byte [esi]
add esp, 4
pop esi
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push ebx
push edi
add esp, 4
and ebx, 0x177bb
call 0x49e22f
add byte [ebx], dh
dec esi
inc edi
inc edi
inc edx
cmp eax, 0xc4833d32
add al, 0x81
jmp 0x49e228
Function at 0x4a1f00
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
xor edx, 0xf4c5
pop edx
push eax
push eax
add esp, 4
jmp 0x4a1f14
add eax, 0x171cd
pop eax
mov eax, dword [ebp - 0xa60]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x9f0]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x4a1f3d
mov dword [ebp - 0x14cc], 1
jmp 0x4a1f47
mov dword [ebp - 0x14cc], 0xffffffff
mov ecx, dword [ebp - 0x14cc]
mov dword [ebp - 0xc14], ecx
jmp 0x4a1fb9
mov edx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], edx
Function at 0x4a3ea2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add esi, 0xef1d
xor esi, 0xcdf5
pop esi
push ecx
push esi
add esp, 4
xor ecx, 0x12bd7
jmp 0x4a3ec5
pop ecx
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x4a3ef2
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x4a3cbd
mov dword [ebp - 0x710], 0
Function at 0x4a46a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x4a46b0
jmp 0x4a46b7
call 0x4a46c6
add byte [edi], dh
dec edi
aas
aaa
inc ebp
dec edi
inc edi
inc ebx
add esp, 4
pop ebx
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x4a46f6
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x4a44c1
mov dword [ebp - 0x2a8], 0

Function at 0x4a46c6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x4a46b0
jmp 0x4a46b7
call 0x4a46c6
add byte [edi], dh
dec edi
aas
aaa
inc ebp
dec edi
inc edi
inc ebx
add esp, 4
pop ebx
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [eax]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
cmp edx, dword [ebp - 0xc68]
je 0x4a46f6
mov eax, dword [ebp - 0x4ec]
cmp dword [eax + 0x30], 0
jne 0x4a44c1
mov dword [ebp - 0x2a8], 0
Function at 0x4c7814
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c78b2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c7876
cmp byte [ebx + 0x11], 0
jne 0x4c7876
cmp byte [ebx + 0x3c], 0
jne 0x4c7876
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c7897
lea edx, [ebp - 4]
mov eax, dword [0x69ca68]
call fcn.0040cfbc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x496ec4]
call fcn.00427dfc
call fcn.00408ab8
jmp 0x4c7897
lea edx, [ebp - 8]
mov eax, dword [0x69ca68]
call fcn.0040cfbc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x496ec4]
call fcn.00427dfc
call fcn.00408ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78b9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409410
ret

Function at 0x4c8260
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c82ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c7694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c82c7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c82d0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c7694
dec esi
jne 0x4c82f2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4cab14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6a2014
cmp dword [edi], 0
jne 0x4cab90
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6a2010]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6967ec
mov ecx, 2
call fcn.00406930
mov edx, 0x4caaec
lea eax, [esi + 5]
call fcn.004cab0c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cab0c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4cab65
mov dword [0x6a2010], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4fa774
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4fa92f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004097d8
mov eax, dword [ebp - 4]
call fcn.004fa0c4
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4fa7c6
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a398
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004fb3b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4fa8a5
xor eax, eax
push ebp
push 0x4fa89e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004fa364
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004fa964
test al, al
je 0x4fa87c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409538
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4fa87c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00409f74
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004fa2c4
test al, al
je 0x4fa876
mov eax, dword [ebp - 8]
call fcn.00409f74
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00409fdc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004fa774
dec ebx
cmp ebx, 0xffffffff
jne 0x4fa825
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa8a5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004fa364
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x6a2048], 0
je 0x4fa8e5
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00409f74
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004fa350
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004fa2c4
mov ebx, eax
jmp 0x4fa90c
mov eax, dword [ebp - 4]
call fcn.00409f74
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004fa350
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004fa2c4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa936
lea eax, [ebp - 0x3c]
call fcn.004093b0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409410
ret
Function at 0x4fb28c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004fa0dc
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00409f74
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004fa2c4
test al, al
jne 0x4fb2f4
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x69c95c]
mov dl, 1
mov eax, dword [0x4f8ea8]
call fcn.00428000
call fcn.00408ab8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4fb300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00409f74
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004fa2c4
test al, al
jne 0x4fb361
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x69cd2c]
mov dl, 1
mov eax, dword [0x4f8ea8]
call fcn.00428000
call fcn.00408ab8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004fa10c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4fb960
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4fba88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004fa364
xor eax, eax
push ebp
push 0x4fba63
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004fa964
test al, al
je 0x4fba47
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004fb840
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409538
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4fba47
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409f74
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004fa2c4
test al, al
je 0x4fba43
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00409f74
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00409fdc
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004fb840
pop ecx
inc edi
dec ebx
jne 0x4fb9eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fba6a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004fa364
ret