joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4451d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x44520e
and ax, 0x3ff
xor ax, 0xdc00
mov edx, dword [ebp - 4]
mov word [edx], ax
xor eax, eax
mov dword [esi + 0x40034], eax
mov byte [ebp - 5], 1
jmp 0x445339
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00446700
test al, al
je 0x445339
cmp byte [ebp - 6], 0x80
jae 0x44523e
movzx eax, byte [ebp - 6]
mov edx, dword [ebp - 4]
mov word [edx], ax
mov byte [ebp - 5], 1
jmp 0x445339
mov edi, 1
movzx eax, byte [ebp - 6]
mov dword [esi + 0x40034], eax
movzx eax, byte [ebp - 6]
mov byte [ebp - 7], al
mov bl, 0x40
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0xc0
jne 0x445339
jmp 0x4452d8
lea edx, [ebp - 6]
mov ecx, 1
mov eax, esi
call fcn.00446700
test al, al
jne 0x44528a
mov edx, 0x445350
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x445339
movzx eax, byte [ebp - 6]
and al, 0xc0
cmp al, 0x80
je 0x4452a5
mov edx, 0x445350
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x445339
movzx eax, byte [ebp - 6]
and eax, 0x3f
mov edx, dword [esi + 0x40034]
shl edx, 6
or eax, edx
mov dword [esi + 0x40034], eax
inc edi
cmp edi, 6
jle 0x4452d1
mov edx, 0x445350
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x445339
movzx eax, bl
shr eax, 1
mov ebx, eax
test byte [ebp - 7], bl
jne 0x445266
mov eax, dword [edi*4 + 0x650630]
and dword [esi + 0x40034], eax
cmp edi, 1
jle 0x44530c
mov eax, dword [edi*4 + 0x65062c]
cmp eax, dword [esi + 0x40034]
jb 0x44530c
mov edx, 0x445350
mov eax, dword [esi + 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x445339
mov eax, dword [esi + 0x40034]
cmp eax, 0x10000
jb 0x445328
shr eax, 0xa
add ax, 0xd7c0
mov edx, dword [ebp - 4]
mov word [edx], ax
jmp 0x445335
mov eax, dword [ebp - 4]
movzx edx, word [esi + 0x40034]
mov word [eax], dx
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x447d40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov byte [ebx + 0x18], 0
lea eax, [ebx + 0x18]
xor ecx, ecx
mov edx, 0x40
call fcn.00405058
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret
Function at 0x44d580
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44d5aa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040767c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegDeleteKeyW
pop ecx
pop ebp
ret
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040767c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push eax
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x44d617
xor eax, eax
push ebp
push 0x44d610
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0040767c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d617
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop ecx
pop ebp
ret
Function at 0x44db00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
call fcn.00405760
mov ebx, edx
mov esi, eax
cmp byte [esi + 0xd], 0
jne 0x44db30
mov edx, dword [esi + 0x24]
mov eax, esi
call fcn.0044dbc0
test al, al
jne 0x44db30
push 1
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.0044dd10
lea eax, [esi + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004053d8
lea eax, [esi + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx], ecx
call fcn.004053d8
test bl, bl
jle 0x44db74
mov eax, esi
call fcn.00405708
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44dd10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.00405760
mov ebx, edx
mov esi, eax
cmp dword [esi + 8], 0
je 0x44dd5d
cmp byte [esi + 0x18], 0
jne 0x44dd5d
mov eax, esi
call fcn.0044de90
cmp byte [esi + 0xc], 0
je 0x44dd56
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov edi, eax
test edi, edi
setge dl
mov eax, esi
call fcn.0044df80
dec edi
jne 0x44dd56
mov byte [esi + 0xe], 0
mov eax, esi
call fcn.0044dea0
mov eax, dword [esi + 4]
test eax, eax
je 0x44dd6f
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 4], eax
mov dl, 0xfc
and dl, bl
mov eax, esi
call fcn.004053c8
mov eax, dword [esi + 0x14]
call fcn.004053d8
test bl, bl
jle 0x44dd8d
mov eax, esi
call fcn.00405708
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44dda0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x44de38
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x44ddfc
cmp byte [ebx + 0x18], 0
jne 0x44ddfc
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x44de1d
lea edx, [ebp - 4]
mov eax, dword [0x6546fc]
call fcn.0040a67c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42cebc]
call fcn.00420c84
call fcn.00406150
jmp 0x44de1d
lea edx, [ebp - 8]
mov eax, dword [0x6546fc]
call fcn.0040a67c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42cebc]
call fcn.00420c84
call fcn.00406150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44de3f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ae4
ret
Function at 0x44f430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f530
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44f49c
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x14]
call fcn.0041b3a4
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x44f54c
call fcn.0040786c
mov edx, dword [ebp - 0x10]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x44f58c
call fcn.0043f240
mov byte [ebp - 5], 0
jmp 0x44f515
xor eax, eax
push ebp
push 0x44f50e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
jne 0x44f4f7
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.0041b3a4
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x44f5b4
call fcn.0040786c
mov edx, dword [ebp - 0x18]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x44f58c
call fcn.0043ee40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f515
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f537
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00406ae4
ret

Function at 0x44fa10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x650760], 0
jne 0x44fac5
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x65075c]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x65078c
mov ecx, 2
call fcn.00404c50
mov edx, 0x44f9c0
mov eax, dword [ebp - 4]
add eax, 5
call fcn.0044f9e0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0044f9e0
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x650760]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x650760], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x44fa7e
mov eax, dword [ebp - 4]
mov dword [0x65075c], eax
mov eax, dword [0x650760]
mov dword [ebp - 0x10], eax
mov eax, dword [0x650760]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x650760], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x450180
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
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 0x45034d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406e90
cmp dword [ebp - 4], 0
je 0x4501c3
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x4501c3
xor eax, eax
jmp 0x4501c5
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4501e0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407a84
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.00450520
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4502c0
xor edx, edx
push ebp
push 0x4502b9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00450cc0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004505d0
test al, al
je 0x450297
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406bf0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x450297
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040767c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x450291
mov eax, dword [ebp - 8]
call fcn.0040767c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004076d4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00450180
dec ebx
cmp ebx, 0xffffffff
jne 0x45023f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502c0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00450cc0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x650790], 0
je 0x450302
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004503c0
push eax
call dword [0x650790]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x45032a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004503c0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450354
lea eax, [ebp - 0x3c]
call fcn.00406a84
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ae4
ret
Function at 0x4503e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov esi, ebx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.0040767c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
jne 0x45042c
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x450439
mov al, 1
jmp 0x450459
cmp dword [ebp - 8], 2
jne 0x450443
mov al, 2
jmp 0x450459
cmp dword [ebp - 8], 4
jne 0x45044d
mov al, 3
jmp 0x450459
cmp dword [ebp - 8], 3
jne 0x450457
mov al, 4
jmp 0x450459
xor eax, eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x450470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00405058
mov edi, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [ebp - 8], 1
jne 0x4504c2
mov al, 1
jmp 0x4504e2
cmp dword [ebp - 8], 2
jne 0x4504cc
mov al, 2
jmp 0x4504e2
cmp dword [ebp - 8], 4
jne 0x4504d6
mov al, 3
jmp 0x4504e2
cmp dword [ebp - 8], 3
jne 0x4504e0
mov al, 4
jmp 0x4504e2
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x450a70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x450b31
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x450aaa
dec al
je 0x450ab1
dec al
je 0x450ab8
dec al
je 0x450abf
jmp 0x450ac6
mov eax, 1
jmp 0x450ac8
mov eax, 2
jmp 0x450ac8
mov eax, 4
jmp 0x450ac8
mov eax, 3
jmp 0x450ac8
xor eax, eax
mov esi, eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
test bl, bl
jne 0x450b1b
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x450b50
call fcn.0040786c
mov edx, dword [ebp - 0xc]
mov eax, dword [0x653d30]
mov eax, dword [eax]
mov ecx, 0x450b70
call fcn.0043f240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450b38
lea eax, [ebp - 0xc]
call fcn.00406a84
ret
Function at 0x450d80
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x450e87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004505d0
test al, al
je 0x450e6c
mov ecx, dword [ebp - 0x38]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406bf0
mov eax, dword [ebp - 0x3c]
dec eax
test eax, eax
jl 0x450e6c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040767c
mov edx, eax
lea eax, [ebp - 8]
call fcn.004076d4
xor eax, eax
push ebp
push 0x450e59
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00433e70
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e60
lea eax, [ebp - 8]
call fcn.00406a84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450e8e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ae4
ret

Function at 0x450ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x450fa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004505d0
test al, al
je 0x450f8c
mov ecx, dword [ebp - 0x30]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406bf0
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x450f8c
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040767c
mov edx, eax
lea eax, [ebp - 8]
call fcn.004076d4
xor eax, eax
push ebp
push 0x450f79
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00433e70
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450f80
lea eax, [ebp - 8]
call fcn.00406a84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450fae
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ae4
ret
Function at 0x452270
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4523a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0042e270
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040767c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45238a
mov eax, dword [ebp - 0x14]
call fcn.00404a3c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x452383
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040767c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x45236d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4523b4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x45236d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
and ax, 0xffff
mov edx, dword [ebp - 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45238a
mov eax, dword [ebp - 0x1c]
call fcn.00404a58
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4523a7
lea eax, [ebp - 0x28]
call fcn.00406a84
ret
Function at 0x4524b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040767c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x653f64]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xffffffff
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x452587
xor eax, eax
push ebp
push 0x452580
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x452569
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileSize
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x2c]
mov edx, 0x10
call fcn.004318a0
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040bb64
test eax, eax
je 0x452569
lea eax, [ebp - 0x2c]
call fcn.0041dee4
mov eax, dword [ebp - 8]
fstp qword [eax]
wait
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452587
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret