joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460cdc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460eac
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460e8d
mov dl, 1
mov eax, dword [0x419ed4]
call fcn.00403bc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a60
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.KERNEL32.DLL_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x460e7c
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0044ea60
test al, al
jne 0x460d79
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460e6f
xor edx, edx
push ebp
push 0x460e68
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460d99
mov ebx, dword [ebp - 0x10]
jmp 0x460d9b
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x460ebc
lea eax, [ebp - 0x258]
call fcn.0040be44
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x460e51
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x460ef4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x460e51
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404cd0
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x460e51
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00404cd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460e6f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x460d5a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f10c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460eb3
lea eax, [ebp - 0x264]
call fcn.00404a60
ret
Function at 0x46183c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x507d9c]
cmp byte [eax + 0xa5], 0
jne 0x4618ad
cmp dword [0x507db4], 0
jne 0x46186e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4617f8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x507db4], eax
cmp dword [0x507db0], 0
jne 0x461889
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x507db0], eax
cmp dword [0x507db8], 0
jne 0x4618ad
push esp
push 0
push 0
push 0x46179c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x507db8], eax
pop edx
ret

Function at 0x461f40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x507d9c]
cmp dword [eax + 0x30], 0
je 0x461fea
cmp dword [ebx + 0x94], 0
jne 0x461fe4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461ed0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461fe4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x461faa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461fe4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c300
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x461fb9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x462b48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x462b7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404b50
jmp 0x462b8a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ab4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x463d54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x463d95
mov eax, esi
call fcn.00449fec
test al, al
je 0x463d95
mov eax, dword [ebx + 0x84]
call fcn.00449ce8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x463d95
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449ce8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464be4
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.004035b8
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 [0x5043a8]
cmp byte [edx + 0xc], 0
je 0x464c48
mov edx, dword [0x504390]
cmp dword [edx], 2
jne 0x464c48
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

Function at 0x464c4c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x464d04
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00464be4
test al, al
je 0x464ce6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404b50
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x464ce6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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 - 0xc]
call fcn.00404f20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404f20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404c58
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x464c9f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464d0b
lea eax, [ebp - 0x2c]
call fcn.00404a60
lea eax, [ebp - 0xc]
call fcn.00404a60
ret
Function at 0x464d14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x464dcc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00464be4
test al, al
je 0x464dae
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404b50
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x464dae
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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 - 0xc]
call fcn.00404f20
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404f20
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404c58
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x464d67
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464dd3
lea eax, [ebp - 0x2c]
call fcn.00404a60
lea eax, [ebp - 0xc]
call fcn.00404a60
ret

Function at 0x464ecc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x464f24
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5043b4]
mov dl, 1
mov eax, dword [0x464698]
call fcn.0040ee24
call fcn.004043d4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004647a0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x467dfc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x467e2a
mov eax, ebx
call fcn.004688b0
cmp dword [ebx + 0x40], 0
je 0x467e23
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x467e9b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x467e8d
cmp dword [ebx + 8], 0
je 0x467e4c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x467e5e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x467e8d
cmp dword [ebx + 8], 0
je 0x467e3f
cmp eax, 3
je 0x467e71
dec eax
jne 0x467e3f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x467e3f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x467e3f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x467eb9
cmp dword [ebx + 0x14], 0xcc
je 0x467eb9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00467ec4
pop ebx
ret

Function at 0x479ce4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
jne 0x479cf9
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x479dfc
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x14], 0
je 0x479e11
push 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_TerminateThread
mov eax, ebx
call fcn.00479d68
mov esi, eax
mov eax, ebx
call fcn.00403bf4
mov eax, esi
pop esi
pop ebx
ret
Function at 0x48a628
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x48a630
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x48a822
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x48a838
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404ab4
lea ecx, [ebp - 0x10]
mov edx, 0x48a84c
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404ab4
lea ecx, [ebp - 0x14]
mov edx, 0x48a864
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404ab4
lea ecx, [ebp - 0x18]
mov edx, 0x48a880
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404ab4
lea ecx, [ebp - 0x1c]
mov edx, 0x48a89c
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404ab4
lea ecx, [ebp - 0x24]
mov edx, 0x48a8b4
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040abd4
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040b170
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x48a8cc
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x28]
call fcn.0047fe38
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x48a8dc
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x2c]
call fcn.0047fe38
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x48a8f4
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040b170
inc eax
je 0x48a7c5
lea ecx, [ebp - 0x34]
mov edx, 0x48a8f4
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x34]
call fcn.0040b134
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c828
fstp qword [ebp - 0x3c]
wait
call fcn.0040cb98
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x48a7e0
lea ecx, [ebp - 0x40]
mov edx, 0x48a8f4
mov eax, esi
call fcn.004884b0
mov eax, dword [ebp - 0x40]
call fcn.0047fe38
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x48a904
mov eax, esi
call fcn.004884b0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404ab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a829
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404a84
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404a84
ret
Function at 0x491a6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x491ac6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00491a5c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047e830
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047e430
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491acd
lea eax, [ebp - 4]
call fcn.00404a60
ret

Function at 0x491de4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x491df7
add esp, 0xfffffff0
call fcn.00403f6c
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x491e70
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403bc4
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00491fe4
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.00404ab4
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x491e9c
call fcn.00404d6c
mov ecx, esi
mov dl, 1
mov eax, dword [0x491c7c]
call fcn.004923d8
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491e77
lea eax, [ebp - 4]
call fcn.00404a60
ret
Function at 0x498640
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.KERNEL32.DLL_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
and eax, 0xffff0000
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, esi
not eax
inc eax
and eax, dword [edi]
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4986d2
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x4986d2
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.KERNEL32.DLL_VirtualFree
inc ebx
jmp 0x49876e
cmp dword [esp + 0x10], 0
jne 0x498777
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualQuery
cmp dword [esp + 0x48], 0x118
jb 0x498769
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x498769
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x498724
cmp eax, dword [esp]
pop edx
pop eax
jne 0x498769
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x498751
cmp eax, dword [esp]
pop edx
pop eax
jne 0x498769
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403548
je 0x498777
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x498679
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x4987f5
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x49881b
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.0040349c
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x49881b
cmp dword [edi], 0
je 0x49881b
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49c06c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49c0fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x504390]
cmp dword [eax], 2
jne 0x49c0ac
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x49c0df
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040528c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404ce8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c104
lea eax, [ebp - 8]
call fcn.0040516c
lea eax, [ebp - 4]
call fcn.00404a60
ret

Function at 0x49c110
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49c1a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x504390]
cmp dword [eax], 2
jne 0x49c153
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
jmp 0x49c186
lea eax, [ebp - 8]
mov edx, esi
call fcn.0040528c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404ce8
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c1ab
lea eax, [ebp - 8]
call fcn.0040516c
lea eax, [ebp - 4]
call fcn.00404a60
ret

Function at 0x49c820
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
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00404f20
mov edx, eax
mov eax, ebx
call fcn.0049bc70
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x49c88b
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404f20
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x49d5c4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49d63c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49d626
lea eax, [ebp - 8]
mov edx, edi
call fcn.004050ac
mov eax, dword [ebp - 8]
call fcn.00404f20
push eax
push edi
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d643
lea eax, [ebp - 8]
call fcn.00404a60
ret

Function at 0x49d64c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49d6f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49d6dd
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004050ac
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49d6dd
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49d704
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49d6dd
cmp dword [ebp - 8], 0x34
jne 0x49d6dd
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d6fa
lea eax, [ebp - 0x10]
call fcn.00404a60
ret

Function at 0x49d708
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x49d71d
add esp, 0xfffffff0
call fcn.00403f6c
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x49d752
mov ecx, dword [0x503db0]
mov dl, 1
mov eax, dword [0x49d02c]
call fcn.0040ede8
call fcn.004043d4
lea eax, [ebx + 4]
mov edx, esi
call fcn.004050ac
mov eax, dword [ebx + 4]
call fcn.00404f20
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.00404f20
push eax
call sub.version.dll_GetFileVersionInfoA
call fcn.00410470
mov eax, ebx
call fcn.0049dd4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49d79a
call fcn.00403fc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret