joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5962c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
push esi
push edi
mov ebx, 1
push ebx
lea eax, [ebp - 0x30]
xor esi, esi
push eax
mov dword [ebp - 0x14], esi
call fcn.00439f90
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x20]
push esi
push 0x5a9528
push ecx
push esi
lea ecx, [ebp - 0x30]
call fcn.004071b0
test eax, eax
jne 0x43a489
call fcn.00454ac1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x43a3bd
push 0x80004005
call fcn.004010f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.StaffCop_
lea edx, [ebp - 0x270]
push edx
lea eax, [ebp - 0x10]
push str._s_s
push eax
call fcn.004021f0
mov esi, dword [ebp - 0x10]
add esp, 0x10
cmp dword [esi - 4], ebx
jle 0x43a416
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004018f0
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
push 0x60f6e4
push esi
push edi
call fcn.00439c70
add esp, 0xc
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a44a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1c], 8
jb 0x43a460
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00448f11
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x5aa374
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00439d40
mov byte [ebp - 4], 5
push 0x60f6e4
push eax
lea edx, [ebp - 0x68]
push edx
call fcn.00417450
add esp, 0x18
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x30]
call fcn.004089d0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x54], 8
jb 0x43a4d4
mov eax, dword [ebp - 0x68]
push eax
call fcn.00448f11
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], esi
mov word [ebp - 0x68], cx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x38], 8
jb 0x43a4fa
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00448f11
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
lea edx, [ebp - 0x30]
mov word [esi], cx
push edx
mov ecx, esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x4c], ax
call fcn.004089d0
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1c], 8
jb 0x43a538
mov eax, dword [ebp - 0x30]
push eax
call fcn.00448f11
add esp, 4
mov dword [ebp - 0x1c], edi
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x20], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x43b050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push 0
lea ecx, [eax + eax]
lea eax, [ebp - 8]
push eax
push 0
push edi
push ebx
mov dword [ebp - 8], 1
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
lea edx, [ebp - 4]
push edx
mov esi, eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x43b0c1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push esi
push ecx
push edx
call fcn.0055462a
jmp 0x43b0d0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push 0
push ecx
call fcn.005545b0
add esp, 0xc
test esi, esi
je 0x43b0e7
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b200
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd]
movzx edx, byte [ecx + str.cw]
xor byte [eax], dl
movzx ecx, byte [eax + 0xe]
movzx edx, byte [ecx + str.cw]
xor byte [eax + 1], dl
movzx ecx, byte [eax + 0xf]
movzx edx, byte [ecx + str.cw]
movzx ecx, byte [eax + 0xc]
xor byte [eax + 2], dl
movzx edx, byte [ecx + str.cw]
xor byte [eax + 3], dl
movzx ecx, byte [0x618c50]
xor byte [eax], cl
mov cl, byte [0x618c50]
cmp cl, 0x80
jae 0x43b256
add cl, cl
jmp 0x43b25b
add cl, cl
xor cl, 0x1b
mov byte [0x618c50], cl
movzx edx, byte [eax]
xor byte [eax + 4], dl
movzx edx, byte [eax + 1]
xor byte [eax + 5], dl
mov dl, byte [eax + 5]
xor byte [eax + 9], dl
movzx edx, byte [eax + 9]
mov cl, byte [eax + 4]
xor byte [eax + 8], cl
mov cl, byte [eax + 8]
xor byte [eax + 0xc], cl
push ebx
movzx ebx, byte [eax + 2]
xor byte [eax + 6], bl
movzx ebx, byte [eax + 6]
mov byte [ebp + 0xb], bl
movzx ebx, byte [eax + 3]
xor byte [eax + 7], bl
mov bl, byte [eax + 7]
xor byte [eax + 0xb], bl
mov bl, byte [eax + 0xb]
mov byte [ebp - 1], dl
movzx edx, byte [ebp + 0xb]
xor byte [eax + 0xa], dl
movzx ecx, byte [ebp - 1]
mov dl, byte [eax + 0xa]
xor byte [eax + 0xd], cl
xor byte [eax + 0xe], dl
xor byte [eax + 0xf], bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b360
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 8]
xor byte [eax + 0xc], cl
push ebx
mov bl, byte [eax + 0xa]
xor byte [eax + 0xe], bl
mov dl, byte [eax + 9]
xor byte [eax + 0xd], dl
mov byte [ebp + 0xb], bl
mov bl, byte [eax + 0xb]
xor byte [eax + 0xf], bl
mov byte [ebp - 1], bl
mov bl, byte [eax + 4]
mov byte [ebp - 2], bl
xor bl, cl
mov cl, byte [eax + 5]
mov byte [eax + 8], bl
mov bl, cl
xor bl, dl
mov dl, byte [eax + 6]
mov byte [eax + 9], bl
mov bl, dl
xor bl, byte [ebp + 0xb]
push esi
mov byte [eax + 0xa], bl
mov bl, byte [eax + 7]
mov byte [ebp + 0xb], bl
xor bl, byte [ebp - 1]
movzx esi, byte [eax + 0xd]
mov byte [eax + 0xb], bl
mov bl, byte [eax]
mov byte [ebp - 1], bl
xor bl, byte [ebp - 2]
mov byte [eax + 4], bl
mov bl, byte [eax + 1]
mov byte [ebp - 2], bl
xor bl, cl
mov cl, byte [eax + 2]
mov byte [eax + 5], bl
mov bl, cl
xor bl, dl
mov dl, byte [eax + 3]
mov byte [eax + 6], bl
mov bl, dl
xor bl, byte [ebp + 0xb]
mov byte [eax + 7], bl
movzx ebx, byte [esi + str.cw]
xor bl, byte [ebp - 1]
movzx esi, byte [eax + 0xe]
mov byte [eax], bl
movzx ebx, byte [esi + str.cw]
xor bl, byte [ebp - 2]
movzx esi, byte [eax + 0xf]
mov byte [eax + 1], bl
movzx ebx, byte [esi + str.cw]
xor bl, cl
movzx ecx, byte [eax + 0xc]
mov byte [eax + 2], bl
movzx ecx, byte [ecx + str.cw]
xor cl, dl
mov byte [eax + 3], cl
movzx edx, byte [0x618c50]
xor byte [eax], dl
test byte [0x618c50], 1
pop esi
pop ebx
je 0x43b43e
mov byte [0x618c50], 0x80
mov esp, ebp
pop ebp
ret
shr byte [0x618c50], 1
mov esp, ebp
pop ebp
ret
Function at 0x43b4c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, esi
mov byte [0x618c50], 0x36
mov byte [0x618c51], 0xa
mov eax, esi
mov dword [ebp - 0x14], edi
mov ecx, 0x10
lea esp, [esp]
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x43b4f0
lea esp, [esp]
cmp byte [0x618c51], 0xa
je 0x43b607
add esi, 2
mov dword [ebp - 0x10], 4
jmp 0x43b520
mov cl, byte [esi]
movzx edx, byte [esi - 2]
movzx ebx, byte [esi - 1]
movzx edi, byte [esi + 1]
movzx eax, cl
mov al, byte [eax + 0x5b29c8]
xor al, byte [edx + 0x5b29c8]
mov dword [ebp - 0xc], ebx
xor al, byte [ebx + 0x5b29c8]
movzx ebx, cl
movzx ebx, byte [ebx + 0x5b28c8]
xor al, byte [edi + 0x5b29c8]
mov byte [ebp - 3], bl
mov ebx, dword [ebp - 0xc]
movzx ebx, byte [ebx + 0x5b27c8]
mov byte [ebp - 1], bl
movzx ebx, byte [edx + 0x5b27c8]
mov dl, byte [edx + 0x5b28c8]
mov byte [ebp - 6], dl
xor dl, bl
xor dl, byte [ebp - 1]
xor al, cl
xor dl, byte [esi - 2]
xor al, byte [esi - 2]
xor dl, byte [ebp - 3]
xor al, byte [esi + 1]
mov byte [ebp - 5], bl
xor al, byte [esi - 1]
mov bl, byte [edi + 0x5b27c8]
xor dl, al
mov byte [ebp - 8], dl
movzx edx, byte [edi + 0x5b28c8]
mov byte [ebp - 4], dl
movzx edx, cl
movzx edx, byte [edx + 0x5b27c8]
mov byte [ebp - 2], dl
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + 0x5b28c8]
xor cl, bl
xor cl, byte [ebp - 6]
mov byte [ebp - 7], dl
xor dl, byte [ebp - 4]
xor bl, byte [ebp - 7]
xor dl, byte [ebp - 1]
xor bl, byte [ebp - 4]
xor dl, byte [esi - 1]
xor cl, byte [ebp - 2]
xor bl, byte [ebp - 5]
xor dl, byte [ebp - 2]
xor bl, byte [esi + 1]
xor cl, byte [ebp - 3]
xor dl, al
xor cl, al
xor al, bl
movzx ebx, byte [ebp - 8]
mov byte [esi - 2], bl
mov byte [esi - 1], dl
mov byte [esi], cl
mov byte [esi + 1], al
add esi, 4
dec dword [ebp - 0x10]
jne 0x43b520
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov eax, esi
mov ecx, 0x10
mov edi, edi
movzx edx, byte [eax]
mov dl, byte [edx + 0x5b26c8]
mov byte [eax], dl
inc eax
dec ecx
jne 0x43b610
push esi
call fcn.0043b300
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043b360
add esp, 8
mov eax, esi
mov ecx, 0x10
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x43b638
dec byte [0x618c51]
jne 0x43b500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c120
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.00554450
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
cmp esi, edi
jne 0x43c22f
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleBaseNameW
lea edx, [ebp - 4]
push edx
push 0x1000
lea eax, [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcesses
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
cmp eax, edi
jle 0x43c227
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + edi*4 - 0x1420]
push ecx
push 0
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x43c21c
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 8]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [ebp - 8]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x43c219
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.0055a46a
add esp, 8
test eax, eax
jne 0x43c219
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [ebp + edi*4 - 0x1420]
je 0x43c219
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call ebx
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x43c196
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
push 0xbb8
push 2
push edi
push edi
push edi
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x43c227
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
push ecx
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x4441f9
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00553160
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x4441d0
sub eax, ebx
jmp 0x4441d2
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4441c1
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x4441ef
sub eax, ebx
jmp 0x4441f1
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x4441e0
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x444253
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.00443f10
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x44423f
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x444253
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x444185
pop esi
pop ebx
ret
Function at 0x447fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x14], esi
call fcn.00447ec0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 0x10
jb 0x448007
mov eax, dword [ebx]
jmp 0x448009
mov eax, ebx
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
push esi
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44810b
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x448037
cmp eax, 2
jne 0x44810b
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x4480e8
inc eax
push eax
call fcn.00448f1c
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov esi, eax
jb 0x448058
mov eax, dword [ebx]
jmp 0x44805a
mov eax, ebx
mov edx, dword [edi + 0x20]
lea ecx, [ebp - 0x10]
push ecx
push esi
xor ebx, ebx
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10]
mov byte [esi + eax], bl
mov edi, 0xf
mov eax, esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448087
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00404f50
push esi
mov dword [ebp - 4], 1
call fcn.00448f11
mov esi, dword [ebp + 8]
add esp, 4
lea ecx, [ebp - 0x30]
push ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], 0
call fcn.00408c20
cmp dword [ebp - 0x1c], 0x10
jb 0x4480d3
mov edx, dword [ebp - 0x30]
push edx
call fcn.00448f11
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], esi
pop edi
mov dword [eax + 0x14], 0xf
pop esi
mov byte [eax], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.00447da0
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], esi
call fcn.00442a10
push 0x5f9de4
lea ecx, [ebp - 0x5c]
push ecx
call fcn.005542ca
int3
Function at 0x448140
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 0x14], esi
call fcn.00447ec0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 0x10
jb 0x448177
mov eax, dword [ebx]
jmp 0x448179
mov eax, ebx
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
push esi
push eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4482ae
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x4481a7
cmp eax, 2
jne 0x4482ae
mov eax, dword [ebp - 0x10]
cmp eax, esi
jbe 0x44828b
inc eax
push eax
call fcn.00448f1c
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov esi, eax
jb 0x4481c8
mov eax, dword [ebx]
jmp 0x4481ca
mov eax, ebx
mov edx, dword [edi + 0x20]
lea ecx, [ebp - 0x10]
push ecx
push esi
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10]
push 1
lea ecx, [ebp + 0xf]
push ecx
push esi
mov byte [esi + eax], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov ebx, eax
push ebx
call fcn.00448f1c
add esp, 4
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor ebx, ebx
mov eax, edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x448220
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00404f50
push esi
mov dword [ebp - 4], 1
call fcn.00448f11
push edi
call fcn.00448f11
mov esi, dword [ebp + 8]
add esp, 8
lea edx, [ebp - 0x30]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push edx
mov ecx, esi
mov byte [esi], 0
call fcn.00408c20
cmp dword [ebp - 0x1c], 0x10
jb 0x448276
mov eax, dword [ebp - 0x30]
push eax
call fcn.00448f11
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x10], esi
pop edi
mov dword [eax + 0x14], 0xf
pop esi
mov byte [eax], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, edi
call fcn.00447da0
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], esi
call fcn.00442a10
push 0x5f9de4
lea edx, [ebp - 0x5c]
push edx
call fcn.005542ca
int3
Function at 0x4482e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x597168
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov esi, ecx
call fcn.00447ec0
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
jb 0x448311
mov eax, dword [edi]
jmp 0x448313
mov eax, edi
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
mov edx, dword [esi + 0x20]
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44834b
cmp dword [ebp - 0x10], 4
jne 0x44834b
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00447da0
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.00442a10
push 0x5f9de4
lea ecx, [ebp - 0x60]
push ecx
call fcn.005542ca
int3

Function at 0x448380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5971a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push esi
push edi
mov esi, ecx
call fcn.00447ec0
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x10], 0
jb 0x4483bb
mov eax, dword [edi]
jmp 0x4483bd
mov eax, edi
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x448405
push edi
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
call fcn.00447da0
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0
call fcn.00442a10
push 0x5f9de4
lea edx, [ebp - 0x6c]
push edx
call fcn.005542ca
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x44845d
cmp eax, 2
je 0x44845d
cmp eax, 4
je 0x44845d
push edi
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call fcn.00447da0
push str.:_type_not_supported
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov dword [ebp - 4], 1
call fcn.0040d470
add esp, 0xc
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00442a10
push 0x5f9de4
lea edx, [ebp - 0x40]
push edx
call fcn.005542ca
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x448470
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5971b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
call fcn.00447ec0
mov edx, dword [esi + 0x20]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x448569
xor esi, esi
mov dword [ebp - 0x14], pe_nt_image_headers32
cmp dword [ebp - 0x10], ebx
jbe 0x448569
push edi
mov edi, dword [ebp + 8]
jmp 0x4484e0
mov edx, dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
mov eax, dword [edx + 0x20]
lea ecx, [ebp - 0x138]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x448557
lea eax, [ebp - 0x138]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x448517
sub eax, edx
push eax
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00404f50
lea edx, [ebp - 0x38]
push edx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.004475a0
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x448557
mov eax, dword [ebp - 0x38]
push eax
call fcn.00448f11
add esp, 4
inc esi
mov dword [ebp - 0x14], pe_nt_image_headers32
cmp esi, dword [ebp - 0x10]
jb 0x4484e0
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4