joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402bdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x41b34c
mov ecx, dword [0x41b0b8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x402c30
jmp 0x402d13
lea edx, [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x41b37c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402c5a
cmp dword [ebp - 0xc], 0
jne 0x402c5f
jmp 0x402d11
mov edx, dword [ebp - 0xc]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402c79
jmp 0x402d0f
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x41b38c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402ca5
cmp dword [ebp - 4], 7
je 0x402ca7
jmp 0x402d0d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x402ce8
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x402cd2
mov dword [ebp - 0x10], 1
jmp 0x402ce8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 1]
mov dword [ebp - 8], edx
jmp 0x402cad
cmp dword [ebp - 0x1c], 0
je 0x402cf8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x14], 0
je 0x402d08
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x402d15
jmp 0x402ce8
jmp 0x402ce8
jmp 0x402ce8
jmp 0x402ce8
mov esp, ebp
pop ebp
ret
Function at 0x40d936
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d98c
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x418444
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d97f
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x40d98e
xor eax, eax
pop esi
leave
ret 4

Function at 0x41498c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41fa90
cmp edx, dword [eax]
je 0x4149ae
add eax, 8
inc ecx
cmp eax, 0x41fb20
jl 0x41499f
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41fa90]
jne 0x414adc
mov eax, dword [0x420c84]
cmp eax, 1
je 0x414ab6
test eax, eax
jne 0x4149df
cmp dword [0x41d1b4], 1
je 0x414ab6
cmp edx, 0xfc
je 0x414adc
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x414a16
lea eax, [ebp - 0x1a4]
push 0x418940
push eax
call fcn.0040dc70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040dd60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x414a59
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040dd60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41893c
push edi
call fcn.004159f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x418920
push eax
call fcn.0040dc70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040dc80
lea eax, [ebp - 0xa0]
push 0x41891c
push eax
call fcn.0040dc80
push dword [esi + 0x41fa94]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040dc80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00416707
add esp, 0x2c
pop edi
jmp 0x414adc
lea eax, [ebp + 8]
lea esi, [esi + 0x41fa94]
push 0
push eax
push dword [esi]
call fcn.0040dd60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1002ed10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
and esi, 0xfffffffc
je 0x1002edcb
lea eax, [esi - 1]
mov edi, eax
shr edi, 2
add edi, 1
mov ecx, edi
and ecx, 3
cmp eax, 0xc
jae 0x1002ed40
xor eax, eax
xor ebx, ebx
jmp 0x1002ed8b
and edi, 0xfffffffc
neg edi
xor eax, eax
xor ebx, ebx
nop dword [eax]
rol eax, 5
xor eax, dword [edx + ebx]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 4]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 8]
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, dword [edx + ebx + 0xc]
imul eax, eax, 0x9e3779b9
add ebx, 0x10
add edi, 4
jne 0x1002ed50
test ecx, ecx
je 0x1002eda9
add ebx, edx
shl ecx, 2
xor edi, edi
rol eax, 5
xor eax, dword [ebx + edi]
imul eax, eax, 0x9e3779b9
add edi, 4
cmp ecx, edi
jne 0x1002ed96
mov edi, dword [ebp + 0xc]
cmp esi, edi
jae 0x1002edc6
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
add esi, 1
cmp edi, esi
jne 0x1002edb0
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1002eda9

Function at 0x1002ff22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1002ff31
pop dword [ebp - 0x10]
mov eax, 0x1002ff31
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3b4a4
push 0
mov eax, 0x31f55fa6
add eax, 0xde124f02
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xe7065a06
sub ecx, 0xe70601fb
xor ebx, ebx
add ebx, eax
mov edi, 0xb8a65cdd
add edi, 0x57620123
add edi, dword [ebp - 0x10]
mov edx, 0x68308378
mov esi, dword [edi]
add dword [ebp - 4], 0x8ea938e9
xor esi, edx
sub dword [ebp - 4], eax
mov dword [ebx], esi
add dword [ebp - 8], ebx
add ebx, 4
add edi, 0xaaa3c4ae
sub edi, 0xaaa3c4aa
loop 0x1002ff87
add eax, 0xde3549da
sub eax, 0xde33f6db
mov ebx, eax
add eax, 5
mov ecx, 0xfdbd2c5b
sub ecx, 0xedbd2c5b
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x403028
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a0008], 0x8088405
inc edx
mov dword [ebx + 0x4a0008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4035a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a0024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403640
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403620
xor eax, eax
push ebp
push 0x403619
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40365c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403620
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4a0024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a0024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404344
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a604c], 0
je 0x4043a5
cmp word [0x4a6220], 0xd7b2
jne 0x40436d
cmp dword [0x4a6228], 0
jbe 0x40436d
mov eax, 0x4a621c
call dword [0x4a6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a0078
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043cc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a0034], 0
jne 0x4043c1
push 0
push 0x4a0070
push 0x4a0078
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406688
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4066ee
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404758
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403044
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066d8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066f5
lea eax, [ebp - 0x10]
call fcn.004044e8
ret

Function at 0x409380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049a8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409399
test al, 0x10
jne 0x40939d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40bed0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf09
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045d8
jmp 0x40bf12
mov eax, ebx
mov edx, esi
call fcn.0040453c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf1c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf3d
mov al, byte [esp]
jmp 0x40bf3f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c5d4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c43c
mov eax, dword [0x4a5348]
cmp byte [eax], 0
je 0x40c650
mov eax, dword [0x4a505c]
call fcn.00402e94
call fcn.00402ce0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409568
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c698
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c686
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a4ff0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a6668]
call fcn.00405a58
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40cf48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d01e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404580
lea eax, [ebp - 8]
call fcn.004049f8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004049a8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d008
mov eax, ebx
call fcn.00402b54
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d001
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 - 8]
call fcn.004049a8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cfeb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d030
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cfeb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d008
mov eax, dword [ebp - 0x10]
call fcn.00402b84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d025
lea eax, [ebp - 8]
call fcn.004044e8
ret

Function at 0x40d600
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d664
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404758
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408fac
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d66b
lea eax, [ebp - 0xc]
call fcn.004044e8
ret

Function at 0x420d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a6888
cmp dword [edi], 0
jne 0x420dec
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a6884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a049c
mov ecx, 2
call fcn.00402d74
mov edx, 0x420d48
lea eax, [esi + 5]
call fcn.00420d68
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420d68
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 0x420dc1
mov dword [0x4a6884], 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 0x422440
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x422446
ret
Function at 0x424a38
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x424a89
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424a70
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424a60
jmp 0x424a89
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x424a71
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e040
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404998
xor eax, eax
push ebp
push 0x42e16e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42e141
xor eax, eax
push ebp
push 0x42e13a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a8
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42e10f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42e0fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004047a8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004049a8
mov edx, ebx
pop ecx
call fcn.00402d74
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e105
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a4f5c]
mov dl, 1
mov eax, dword [0x407bc0]
call fcn.0040c764
call fcn.00403edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e175
lea eax, [ebp - 4]
call fcn.004044e8
ret
Function at 0x42e17c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42e32d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404b98
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42e344
call fcn.004047f4
mov eax, ebx
call fcn.004202f0
mov edi, eax
dec edi
test edi, edi
jl 0x42e234
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004202c4
mov edx, dword [0x43cca8]
call fcn.004038d4
test al, al
je 0x42e230
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004202c4
lea edx, [ebp - 0x14]
call fcn.00449140
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404b98
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404868
inc esi
dec edi
jne 0x42e1e2
mov al, byte [0x42e348]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42e354
mov eax, dword [ebp - 0xc]
call fcn.0040dbdc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404580
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00449140
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42e344
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00449140
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42e344
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42e344
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42e360
call fcn.00409c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e334
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040450c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040450c
lea eax, [ebp - 0x14]
call fcn.004044e8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040450c
ret
Function at 0x433ea0
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 - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x434009
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404580
mov eax, dword [ebp - 0x10]
call fcn.00433b2c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x433ef2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404a48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004342f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x433fc7
xor eax, eax
push ebp
push 0x433fc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00433c9c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00434018
test al, al
je 0x433f9e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004045d8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x433f9e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004049a8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x433f98
mov eax, dword [ebp - 0x14]
call fcn.004049a8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004046e0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00433ea0
dec ebx
cmp ebx, 0xffffffff
jne 0x433f51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433fc7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00433c9c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004049a8
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00433c88
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434010
lea eax, [ebp - 0x3c]
call fcn.004044e8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040450c
ret
Function at 0x433fc7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x434009
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404580
mov eax, dword [ebp - 0x10]
call fcn.00433b2c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x433ef2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404a48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004342f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x433fc7
xor eax, eax
push ebp
push 0x433fc0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00433c9c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00434018
test al, al
je 0x433f9e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004045d8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x433f9e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004049a8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x433f98
mov eax, dword [ebp - 0x14]
call fcn.004049a8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004046e0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00433ea0
dec ebx
cmp ebx, 0xffffffff
jne 0x433f51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433fc7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00433c9c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004049a8
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00433c88
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434010
lea eax, [ebp - 0x3c]
call fcn.004044e8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040450c
ret

Function at 0x434018
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403008
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a54d4]
cmp byte [edx + 0xc], 0
je 0x43407c
mov edx, dword [0x4a54c8]
cmp dword [edx], 2
jne 0x43407c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret