joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4284ca
Capabilities:
Get file version info

Disassembly:
push 0x2d4
mov eax, 0x44596e
call fcn.00443eac
sub esp, 0x58
mov ecx, esp
push 0xdc
push 9
pop eax
push eax
push 0xec3
push 0x40bf98
push 0x402d58
push 0x404fd8
call fcn.00440fc8
xor ebx, ebx
lea ecx, [ebp - 0x2e0]
push ebx
call fcn.00441304
push 0x104
lea eax, [ebp - 0x27c]
mov dword [ebp - 4], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4286ad
lea eax, [ebp - 0x298]
mov dword [ebp - 0x298], ebx
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x4286ad
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x284], 0x4010a8
add esi, 0xa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x284]
lea eax, [esi + 0xa]
push eax
call fcn.00428737
push dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x42869b
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2a0], ebx
push eax
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x29c], ebx
push eax
push 0x4027b0
push dword [ebp - 0x280]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42869b
lea eax, [ebp - 0x288]
mov dword [ebp - 0x28c], ebx
push eax
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x288], ebx
push eax
push 0x40560c
push dword [ebp - 0x280]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42869b
mov ecx, dword [ebp - 0x288]
xor eax, eax
mov edx, dword [ebp - 0x28c]
shr ecx, 2
test ecx, ecx
je 0x428620
push 9
pop esi
cmp word [edx + eax*4], si
je 0x42861e
inc eax
cmp eax, ecx
jb 0x428611
jmp 0x428620
mov bl, 1
movzx ecx, bl
neg ecx
push 0x405508
sbb ecx, ecx
and ecx, eax
movzx eax, word [edx + ecx*4 + 2]
push eax
movzx eax, word [edx + ecx*4]
push eax
push 0x405028
lea eax, [ebp - 0x74]
push 0x32
push eax
call fcn.00417966
add esp, 0x18
test eax, eax
js 0x42869b
and dword [ebp - 0x294], 0
lea eax, [ebp - 0x294]
and dword [ebp - 0x290], 0
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x280]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42869b
push dword [ebp - 0x290]
mov esi, 0x4706e0
mov edx, 0x80
mov ecx, esi
call fcn.004179f8
test eax, eax
jns 0x4286a0
mov esi, 0x4047a0
lea ecx, [ebp - 0x284]
call fcn.00428784
jmp 0x4286b2
mov esi, 0x4047a0
lea ecx, [ebp - 0x2e0]
call fcn.004413c9
mov eax, esi
call fcn.00443e5b
ret
Function at 0x42bae0
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x44f0f4]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 3
push eax
push edi
push 0x40ca40
sub esp, 0x58
mov dword [esp + 0x78], esi
mov ecx, esp
mov dword [esp + 0x7c], eax
mov ebx, edx
push 0xff
push 0xa
push 0xc8
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
push ebx
call fcn.00441c0c
xor eax, eax
add esp, 0x6c
mov dword [ebx + 8], eax
cmp dword [esi], eax
je 0x42bb5b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp byte [ebp + 0xc], 0
mov dword [esi], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
je 0x42bc09
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42bb77
sub ecx, edx
mov eax, 0x104
sar ecx, 1
je 0x42bd21
cmp ecx, eax
ja 0x42bd21
cmp word [edi + ecx*2 - 2], 0x5c
jne 0x42bce6
lea esi, [ecx - 1]
mov edx, eax
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.0041788a
sub esp, 0x58
mov dword [ebx + 8], eax
mov ecx, esp
push 0xff
push 0xa
push 0xe9
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
mov edx, 0x40cb94
mov ecx, ebx
call fcn.0042b9d6
add esi, esi
add esp, 0x58
cmp esi, 0x208
jae 0x42bd1c
xor eax, eax
lea edi, [esp + 0x18]
mov word [esp + esi + 0x18], ax
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x80
push 3
push eax
push 3
push dword [esp + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x42bc8e
xor eax, eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x40cbb8
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xa
push 0x117
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
push ebx
call fcn.00441c0c
add esp, 0x68
cmp esi, 2
je 0x42bc84
cmp esi, 3
je 0x42bc84
cmp esi, 0x15
je 0x42bc84
mov eax, 0x8000ffff
cmp esi, 0x48f
jne 0x42bc89
mov eax, 0x80042308
mov dword [ebx + 8], eax
jmp 0x42bccf
push eax
push edi
push 0x40cc10
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xa
push 0x12c
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
push ebx
call fcn.00441c0c
add esp, 0x68
lea ecx, [esi + 0x3c]
push edi
call fcn.0042ba84
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004437b0
mov esp, ebp
pop ebp
ret 0x1c
push edi
push 0x40cb20
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xa
push 0xe2
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
push ebx
call fcn.0044255f
call fcn.00443b31
push ecx
push eax
push edi
push 0x40cab8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xa
push 0xda
push 0x40cc88
push 0x40d06c
push 0x40d080
call fcn.00440fc8
push ebx
call fcn.0044255f
int3
Function at 0x43a015
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
mov dword [ebp - 8], edx
push edi
mov edi, ecx
cmp word [edx], ax
jne 0x43a030
mov eax, edi
jmp 0x43a0b6
movzx eax, word [edi]
push ebx
push esi
test ax, ax
je 0x43a0b2
mov esi, edi
mov ebx, edx
test ax, ax
je 0x43a095
movzx eax, word [ebx]
test ax, ax
je 0x43a0b9
movzx ecx, word [esi]
sub ecx, eax
jne 0x43a095
push esi
call dword [sym.imp.USER32.dll_CharNextW]
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, dword [ebp - 4]
mov ecx, eax
mov eax, edx
sub ecx, ebx
sub eax, esi
xor ecx, eax
test ecx, 0xfffffffe
jne 0x43a095
jmp 0x43a08a
add esi, 2
add ebx, 2
movzx eax, word [ebx]
movzx ecx, word [esi]
sub ecx, eax
je 0x43a08e
cmp esi, edx
jb 0x43a07a
xor eax, eax
cmp word [esi], ax
jne 0x43a043
xor edx, edx
cmp word [ebx], dx
je 0x43a0b9
push edi
call dword [sym.imp.USER32.dll_CharNextW]
mov edx, dword [ebp - 8]
mov edi, eax
movzx ecx, word [edi]
mov eax, ecx
test cx, cx
jne 0x43a03a
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
mov eax, edi
jmp 0x43a0b4
Function at 0x43a4c2
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x44f0f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop eax
call fcn.00444420
mov eax, esp
lea ecx, [ebp - 0x28]
push 0x1c
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43a579
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x48]
lea eax, [esi + 0x2000]
mov edi, ebx
neg edi
and edi, dword [ebp - 8]
sub edi, ebx
mov dword [ebp - 8], eax
cmp edi, eax
jb 0x43a579
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43a579
add esi, dword [ebp - 0x1c]
mov ecx, 0x1000
test dword [ebp - 0x18], ecx
je 0x43a51f
test dword [ebp - 0x14], 0x100
mov esi, dword [ebp - 0x28]
je 0x43a54e
xor eax, eax
inc eax
jmp 0x43a57b
cmp edi, esi
jb 0x43a579
mov eax, dword [ebp - 8]
cmp esi, eax
jae 0x43a55b
mov esi, eax
push 4
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea eax, [ebp - 0xc]
push eax
push 0x104
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x43a57b
xor eax, eax
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437b0
leave
ret

Function at 0x43a6e1
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x220
mov eax, 0x446dd2
call fcn.00443eac
mov edi, ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], ecx
push eax
push 0x2001f
push ecx
push ebx
push dword [edi]
mov dword [ebp - 0x224], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43a7e8
cmp dword [ebp - 0x21c], esi
je 0x43a748
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x21c], eax
test esi, esi
jne 0x43a7e8
lea ecx, [ebp - 0x22c]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
jmp 0x43a7af
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0043a6e1
mov esi, eax
test esi, esi
jne 0x43a7e8
lea eax, [ebp - 0x22c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
mov dword [ebp - 0x220], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x43a778
cmp dword [ebp - 0x21c], 0
je 0x43a7de
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x21c], esi
push ebx
mov ecx, edi
call fcn.0043a81e
mov esi, eax
cmp dword [ebp - 0x21c], 0
je 0x43a7fd
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.00443e5b
ret 4
Function at 0x43b2f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x446e56
call fcn.00443eac
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x20], esi
push 2
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x43b345
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43b496
movzx esi, si
or esi, 0x80070000
jmp 0x43b496
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43b377
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43b48d
movzx esi, si
or esi, 0x80070000
jmp 0x43b48d
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x43b359
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edi, eax
cmp byte [ecx + eax], 0
je 0x43b409
lea edi, [ecx + 1]
cmp edi, 0x400
ja 0x43b3c3
mov ecx, edi
call fcn.0043a58d
test al, al
je 0x43b3c3
mov eax, edi
call fcn.00444450
mov edi, esp
jmp 0x43b3e4
lea eax, [edi + 8]
cmp eax, edi
jae 0x43b3ce
mov edi, ebx
jmp 0x43b3e4
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x43b3ca
mov esi, eax
mov dword [eax], ebx
mov dword [ebp - 0x20], esi
lea edi, [eax + 8]
test edi, edi
jne 0x43b3f2
mov esi, 0x8007000e
jmp 0x43b48d
mov eax, dword [ebp - 0x14]
inc eax
push eax
push dword [ebp - 0x18]
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [edi + eax], bl
test edi, edi
je 0x43b47f
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b412
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x400
ja 0x43b444
mov ecx, eax
call fcn.0043a58d
test al, al
mov eax, dword [ebp - 0x14]
je 0x43b444
call fcn.00444450
mov esi, esp
jmp 0x43b45f
lea ecx, [eax + 8]
cmp ecx, eax
jb 0x43b47f
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x43b47f
mov dword [eax], esi
lea esi, [eax + 8]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x43b47f
push dword [ebp - 0x18]
xor eax, eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
call fcn.0043b1d8
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x20]
call fcn.00439f96
mov eax, esi
lea esp, [ebp - 0x38]
call fcn.00443e5b
ret 0x10
Function at 0x43e678
Capabilities:
Delete registry key

Disassembly:
push 0x254
mov eax, 0x447103
call fcn.00443eac
mov esi, dword [ebp + 8]
sub esp, 0x58
mov ecx, esp
mov edi, 0xff
push edi
push 0xb
push 0xad
push 0x413ba4
push 0x413a00
push 0x413a18
call fcn.00440fc8
push 0
lea ecx, [ebp - 0x260]
call fcn.00441304
and dword [ebp - 4], 0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea edx, [edi + 5]
lea ecx, [ebp - 0x218]
call fcn.00417b10
mov dword [ebp - 0x258], eax
test eax, eax
js 0x43e710
lea eax, [ebp - 0x218]
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edx, eax
cmp edx, 2
je 0x43e74e
test edx, edx
jne 0x43e795
lea ecx, [ebp - 0x260]
call fcn.004413c9
call fcn.00443e5b
ret
push 0x413a70
lea ecx, [ebp - 0x260]
call fcn.00418c3e
push eax
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0xb8
push 0x413ba4
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x260]
push eax
call fcn.0044255f
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push 0x413be0
push 0x80042308
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0xc0
push 0x413ba4
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x260]
push eax
call fcn.00441d48
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413c1c
test edx, edx
jle 0x43e7ba
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0xc3
push 0x413ba4
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x260]
push eax
call fcn.0044255f
int3

Function at 0x43e7e9
Capabilities:
Delete registry value

Disassembly:
push 0x48
mov eax, 0x44661a
call fcn.00443e79
mov esi, ecx
sub esp, 0x58
mov ebx, 0xff
mov ecx, esp
push ebx
push 0xb
push 0xce
push 0x413c4c
push 0x413a00
push 0x413a18
call fcn.00440fc8
push 0
lea ecx, [ebp - 0x54]
call fcn.00441304
and dword [ebp - 4], 0
mov edi, 0x404988
push edi
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, eax
cmp edx, 2
je 0x43e855
test edx, edx
jne 0x43e893
lea ecx, [ebp - 0x54]
call fcn.004413c9
call fcn.00443e47
ret 4
push edi
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push 0x413c88
push 0x80042308
sub esp, 0x58
mov ecx, esp
push ebx
push 0xb
push 0xd8
push 0x413c4c
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x54]
push eax
call fcn.00441d48
push edi
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413cb4
test edx, edx
jle 0x43e8b2
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ebx
push 0xb
push 0xdb
push 0x413c4c
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x54]
push eax
call fcn.0044255f
int3
Function at 0x43e8de
Capabilities:
Set registry value

Disassembly:
push 0x48
mov eax, 0x44661a
call fcn.00443e79
mov esi, ecx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0xfb
push 0x413cec
push 0x413a00
push 0x413a18
call fcn.00440fc8
push 0
lea ecx, [ebp - 0x54]
call fcn.00441304
push dword [ebp + 0xc]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*2 + 2]
push edi
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, eax
test edx, edx
jne 0x43e959
lea ecx, [ebp - 0x54]
call fcn.004413c9
call fcn.00443e47
ret 0xc
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413d20
test edx, edx
jle 0x43e97b
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x110
push 0x413cec
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x54]
push eax
call fcn.0044255f
int3

Function at 0x43e9ab
Capabilities:
Set registry value

Disassembly:
push 0x44
mov eax, 0x444538
call fcn.00443e79
mov esi, ecx
sub esp, 0x58
mov ebx, 0xff
mov ecx, esp
push ebx
push 0xb
push 0x11c
push 0x413cec
push 0x413a00
push 0x413a18
call fcn.00440fc8
push 0
lea ecx, [ebp - 0x50]
call fcn.00441304
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, eax
test edx, edx
jne 0x43ea19
lea ecx, [ebp - 0x50]
call fcn.004413c9
call fcn.00443e47
ret 8
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413d78
test edx, edx
jle 0x43ea3a
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push ebx
push 0xb
push 0x12d
push 0x413cec
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x50]
push eax
call fcn.0044255f
int3
Function at 0x43ea66
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x60
mov eax, 0x44713b
call fcn.00443e79
mov edi, ecx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x18a
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
xor esi, esi
lea ecx, [ebp - 0x6c]
push esi
call fcn.00441304
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [eax], esi
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
push esi
push ebx
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 2
jne 0x43eae0
push esi
lea ecx, [ebp - 0x6c]
call fcn.0043e2a0
mov bl, al
jmp 0x43eba5
test edx, edx
je 0x43eaf0
cmp edx, 0xea
jne 0x43ebb7
cmp dword [ebp - 0x14], 1
je 0x43eb00
cmp dword [ebp - 0x14], 2
jne 0x43ec0b
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], 0x401108
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x18]
shr esi, 1
push esi
call fcn.0042ba35
and dword [ebp - 0x20], 0
lea eax, [esi + esi]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
je 0x43eb80
push dword [ebp - 0x1c]
lea ecx, [edi + 0xc]
push dword [ebp - 0x20]
push ebx
call fcn.00417b47
push eax
push dword [edi + 8]
push 0x413e08
test edx, edx
jle 0x43eb6c
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x1c5
jmp 0x43ebee
mov eax, dword [ebp - 0x24]
xor ecx, ecx
and dword [ebp - 0x28], ecx
push 1
mov word [eax + esi], cx
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
call fcn.0043e2a0
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.0042be3c
lea ecx, [ebp - 0x6c]
call fcn.004413c9
mov al, bl
call fcn.00443e47
ret 0xc
push dword [ebp - 0x18]
lea ecx, [edi + 0xc]
push dword [ebp - 0x14]
push ebx
call fcn.00417b47
push eax
push dword [edi + 8]
push 0x413e08
test edx, edx
jle 0x43ebdc
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x1aa
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x6c]
push eax
call fcn.0044255f
push ebx
lea ecx, [edi + 0xc]
call fcn.00417b47
push eax
push dword [edi + 8]
push dword [ebp - 0x14]
push 0x413e70
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x1b0
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x6c]
push eax
call fcn.0044255f
int3
Function at 0x43ec54
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x60
mov eax, 0x44715e
call fcn.00443e79
mov esi, ecx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x1f8
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
xor edi, edi
lea ecx, [ebp - 0x6c]
push edi
call fcn.00441304
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebx], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
push edi
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 2
je 0x43ed10
test edx, edx
je 0x43ecce
cmp edx, 0xea
jne 0x43eda2
push 4
pop eax
cmp dword [ebp - 0x18], eax
je 0x43ed14
push edi
push dword [esi + 0x10]
push 0x413ee0
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x21e
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x6c]
push eax
call fcn.0044296f
add esp, 0x68
push 0
jmp 0x43ed86
cmp dword [ebp - 0x14], eax
jne 0x43edf6
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push edi
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
je 0x43ed7f
push dword [ebp - 0x1c]
lea ecx, [esi + 0xc]
push dword [ebp - 0x20]
push edi
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413e08
test edx, edx
jle 0x43ed6b
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x23a
jmp 0x43edd9
mov eax, dword [ebp - 0x24]
mov dword [ebx], eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.0043e2a0
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.004413c9
mov al, bl
call fcn.00443e47
ret 0xc
push dword [ebp - 0x14]
lea ecx, [esi + 0xc]
push dword [ebp - 0x18]
push edi
call fcn.00417b47
push eax
push dword [esi + 8]
push 0x413e08
test edx, edx
jle 0x43edc7
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x217
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x6c]
push eax
call fcn.0044255f
push edi
lea ecx, [esi + 0xc]
call fcn.00417b47
push eax
push dword [esi + 8]
push dword [ebp - 0x14]
push 0x413fa0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x22b
push 0x413dd0
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x6c]
push eax
call fcn.0044255f
int3
Function at 0x43ef02
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x54
mov eax, 0x4445a6
call fcn.00443e79
mov esi, ecx
sub esp, 0x58
mov edi, 0xff
mov ecx, esp
push edi
push 0xb
push 0x2cf
push 0x4140a8
push 0x413a00
push 0x413a18
call fcn.00440fc8
push 0
lea ecx, [ebp - 0x60]
call fcn.00441304
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp byte [esi + 0x18], cl
je 0x43ef95
cmp dword [esi + 0x14], ecx
je 0x43ef95
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edx, eax
test edx, edx
je 0x43ef82
cmp edx, 0x103
je 0x43f017
jmp 0x43efc9
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x60]
call fcn.004413c9
mov eax, esi
call fcn.00443e47
ret
push 0x414100
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x2d3
push 0x4140a8
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x60]
push eax
call fcn.00441d48
push dword [ebp - 0x10]
lea ecx, [esi + 0x10]
call fcn.00417b47
push eax
push dword [esi + 8]
push dword [esi]
push 0x414158
test edx, edx
jle 0x43efec
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x2e8
push 0x4140a8
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x60]
push eax
call fcn.0044255f
push dword [esi + 4]
push dword [esi + 8]
push 0x4141a0
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x2ec
push 0x4140a8
push 0x413a00
push 0x413a18
call fcn.00440fc8
lea eax, [ebp - 0x60]
push eax
call fcn.0044255f
int3