joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5126f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.0051a2f5
add esp, 4
test eax, eax
je 0x512717
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov esi, eax
jmp 0x512719
xor esi, esi
mov ecx, edi
call fcn.00414e80
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x512560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x512752
push edi
call fcn.0043e680
push esi
call fcn.0051964d
add esp, 8
pop edi
xor al, al
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 8]
push str.cModeViewDirtyRecords::static_createObjectThread
push ecx
call fcn.004661d0
add esp, 8
pop edi
mov al, 1
pop esi
pop ecx
ret 8

Function at 0x513750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x568a98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x14]
call fcn.0049eff0
mov dword [esp + 0xc], vtable.cWCStr.0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [str.app:_s_notificationFile:__s__deleteFile]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x34], 0
call fcn.00401080
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
add esp, 0x10
push ecx
lea edx, [esp + 0xc]
push edx
push 0x3e8
push str.UtiltityAppNotify
push eax
mov dword [esp + 0x1c], 0
call fcn.005133e0
push eax
call fcn.004bf660
add esp, 0x18
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], vtable.cWCS.0
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x20
ret
Function at 0x514270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x568bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
add ecx, 0x1a0
call fcn.004de4e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ebx, 1
mov byte [esp + 0x30], bl
cmp eax, esi
je 0x514421
push eax
call fcn.004fe3a0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x514400
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], ecx
cmp dword [eax + 4], ebx
jne 0x514408
push esi
lea ecx, [esp + 0x20]
call fcn.0049ab60
push 0xffffffffffffffff
push str.notifications.
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 2
call fcn.0049aed0
mov edx, dword [esp + 0x3c]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x24]
call fcn.0049af70
push 0xffffffffffffffff
push str..triggers.
lea ecx, [esp + 0x24]
call fcn.0049af70
mov eax, dword [esp + 0x40]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.0049af70
push 0xffffffffffffffff
push str..schedule
lea ecx, [esp + 0x24]
call fcn.0049af70
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.004ff7d0
add esp, 8
cmp eax, esi
jne 0x51439e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.0049ac30
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x514394
cmp dword [eax], esi
je 0x514394
mov eax, dword [eax]
push eax
call fcn.004fd3b0
mov ecx, dword [esp + 0x10]
mov dword [ecx], esi
add esp, 4
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x18]
push edx
jmp 0x514426
mov ecx, dword [esp + 0x38]
push eax
call fcn.004fffc0
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x1c]
test eax, eax
je 0x5143c9
call fcn.0049ac30
lea ecx, [esp + 0xc]
call fcn.004189a0
mov eax, dword [esp + 0x18]
push eax
jmp 0x514426
call fcn.0049ac30
lea ecx, [esp + 0xc]
call fcn.004189a0
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x34], 0xffffffff
call fcn.004ae610
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0xc]
cmp ecx, esi
je 0x514421
cmp dword [ecx], esi
je 0x514421
mov edx, dword [ecx]
push edx
call fcn.004fd3b0
mov eax, dword [esp + 0x10]
mov dword [eax], esi
add esp, 4
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x34], 0xffffffff
call fcn.004ae610
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x514ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x568cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.00405970
mov eax, dword [esp + 0x3c]
push 1
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], eax
call fcn.0049cf30
mov eax, dword [esp + 0x38]
push 2
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00514c10
add esp, 0xc
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x30], 0xffffffff
call fcn.00405a00
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret
Function at 0x517810
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00513be0
mov esi, eax
lea edi, [esi + 0x18]
mov ebx, 1
push ebx
mov ecx, edi
call fcn.004017c0
push ebx
mov ecx, edi
call fcn.004017c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi + 0x20], ebx
mov dword [esi + 0x24], str.CreateWipeNotificationThread
mov dword [esi + 0x28], 0x999
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebp, ebp
mov dword [esi + 0x2c], eax
cmp dword [0x5bef80], ebp
je 0x5178a3
mov eax, dword [0x5bee8c]
mov byte [0x5bee90], bl
cmp eax, ebp
je 0x517874
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x5bef80]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x5bef80]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov eax, dword [0x5bee8c]
cmp eax, ebp
je 0x5178a3
push eax
call edi
mov dword [0x5bee8c], ebp
cmp byte [esp + 0x14], 0
je 0x5178d3
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebp
push ebp
push ebp
push 0x517740
push ebp
push ebp
mov dword [0x5bee8c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebp
mov dword [0x5bef80], eax
setne bl
dec dword [esi + 0x20]
cmp dword [esi + 0x20], ebp
jg 0x5178e1
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret

Function at 0x518157
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5b3890]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x51822c
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x51821b
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x518205
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x51821b
push eax
push edi
push dword [ebp - 0x110]
call fcn.005180f4
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x51822e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0051916c
leave
ret 4
Function at 0x51c169
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x51c19a
call fcn.0051d01b
mov dword [eax], esi
call fcn.0051d008
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00523f22
add esp, 0x14
push 0x16
pop eax
jmp 0x51c1ef
test dword [ebp + 0xc], 0xfffffff9
jne 0x51c176
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x51c1c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051d02e
pop ecx
call fcn.0051d008
mov eax, dword [eax]
jmp 0x51c1ef
test al, 0x10
jne 0x51c1ed
test al, 1
je 0x51c1ed
test byte [ebp + 0xc], 2
je 0x51c1ed
call fcn.0051d01b
mov dword [eax], 5
call fcn.0051d008
mov dword [eax], 0xd
jmp 0x51c1be
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x51e1be
call fcn.0051d01b
mov dword [eax], esi
call fcn.0051d008
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00523f22
add esp, 0x14
push 0x16
pop eax
jmp 0x51e213
test dword [ebp + 0xc], 0xfffffff9
jne 0x51e19a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51e1eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051d02e
pop ecx
call fcn.0051d008
mov eax, dword [eax]
jmp 0x51e213
test al, 0x10
jne 0x51e211
test al, 1
je 0x51e211
test byte [ebp + 0xc], 2
je 0x51e211
call fcn.0051d01b
mov dword [eax], 5
call fcn.0051d008
mov dword [eax], 0xd
jmp 0x51e1e2
xor eax, eax
pop esi
pop ebp
ret

Function at 0x522c58
Capabilities:
Hash data using murmur3

Disassembly:
pushal
or al, 0x5c
add byte [ebx], cl
add eax, 0x5c0ea9
Function at 0x5430dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00521c0b
and dword [ebp - 4], 0
cmp dword [0x5bfa94], 0
mov ebx, eax
jne 0x54318d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x54323e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x57996c
push edi
call esi
test eax, eax
je 0x54323e
push eax
call fcn.00521b99
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5bfa94], eax
call esi
push eax
call fcn.00521b99
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5bfa98], eax
call esi
push eax
call fcn.00521b99
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5bfa9c], eax
call esi
push eax
call fcn.00521b99
pop ecx
mov dword [0x5bfaa4], eax
test eax, eax
je 0x54318d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00521b99
pop ecx
mov dword [0x5bfaa0], eax
mov eax, dword [0x5bfaa0]
cmp eax, ebx
je 0x5431e5
cmp dword [0x5bfaa4], ebx
je 0x5431e5
push eax
call fcn.00521c14
push dword [0x5bfaa4]
mov esi, eax
call fcn.00521c14
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5431e5
test edi, edi
je 0x5431e5
call esi
test eax, eax
je 0x5431dc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5431dc
test byte [ebp - 0xc], 1
jne 0x5431e5
or dword [ebp + 0x10], 0x200000
jmp 0x54321e
mov eax, dword [0x5bfa98]
cmp eax, ebx
je 0x54321e
push eax
call fcn.00521c14
pop ecx
test eax, eax
je 0x54321e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x54321e
mov eax, dword [0x5bfa9c]
cmp eax, ebx
je 0x54321e
push eax
call fcn.00521c14
pop ecx
test eax, eax
je 0x54321e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5bfa94]
call fcn.00521c14
pop ecx
test eax, eax
je 0x54323e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x543240
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7ffe5375
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0x30]
clc
and bh, 0xff
clc
push edx
cdq
pop edx
stc
lea esp, [esp]
cld
push edx
cdq
pop edx
stc
and bh, 0xff
clc
lea esp, [esp]
cld
and bh, 0xff
clc
lea esp, [esp]
nop
and bh, 0xff
clc
add eax, 0
stc
and bh, 0xff
cld
pushal
inc eax
popal
cld
push edx
cdq
pop edx
cld
and bh, 0xff
cld
add eax, 0
nop
pushal
inc eax
popal
clc
pushal
inc eax
popal
nop
add eax, 0
nop
add eax, 0
cld
lea esp, [esp]
stc
push edx
cdq
pop edx
clc
add eax, 0
clc
pushal
inc eax
popal
stc
and bh, 0xff
nop
and bh, 0xff
cld
add eax, 0
cld
push edx
cdq
pop edx
nop
push edx
cdq
pop edx
nop
push edx
cdq
pop edx
stc
add eax, 0
nop
cld
cld
stc
call 0x7ffe53fc
pop edx
cld
push edx
cdq
pop edx
add al, 0
stc
xor dx, dx
stc
pushal
inc eax
popal
nop
add eax, 0
nop
cld
add edx, 0xd5e0
stc
and bh, 0xff
stc
xor ecx, ecx
mov cl, 0x1e
pushal
inc eax
popal
xor byte [ecx + edx], 0x7c
loop 0x7ffe5423
stc
nop
push dword fs:[0x24]
cld
push edx
cdq
pop edx
clc
pop dword [edx + 0xa]
lea esp, [esp]
stc
mov cl, 0xff
push edx
cdq
pop edx
nop
push edx
cdq
pop edx
stc
nop
nop
clc
push edx
loop 0x7ffe544b
cld
pushal
inc eax
popal
clc
and bh, 0xff
cld
clc
mov dword [edx + 0x11], 0xffffacbb
clc
push edx
cdq
pop edx
cld
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x1b], ecx
and bh, 0xff
nop
push edx
cdq
pop edx
nop
lea esp, [esp]
mov dword [edx + 0x100], ecx
nop
nop
mov dword [eax + 0x2c], esp
cld
pushal
inc eax
popal
clc
push edx
cdq
pop edx
nop
push 0
add eax, 0
cld
push 0
and bh, 0xff
push 0
stc
cld
push 0
nop
and bh, 0xff
nop
push 0x30
push 0x20
pushal
inc eax
popal
nop
cld
stc
stc
push 0
clc
pushal
inc eax
popal
stc
pushal
inc eax
popal
clc
cld
push 0
clc
pushal
inc eax
popal
stc
add edx, 0xffff7f29
and bh, 0xff
nop
lea esp, [esp]
clc
push edx
add eax, 0
cld
clc
cld
cld
push edx
cld
push edx
cdq
pop edx
cld
stc
push 0
clc
pushal
inc eax
popal
clc
call dword [edx + 0x821a]
pushal
inc eax
popal
nop
add esp, 0x3f8
lea esp, [esp]
xor eax, eax
clc
pushal
inc eax
popal
cld
cld
inc eax
clc
lea esp, [esp]
stc
ret 0xc
Function at 0x407010
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x444608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0x1315e2c9
imul ecx
mov eax, dword [0x456838]
imul eax, eax, 0x8cc35
sar edx, 0x10
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x637bce79
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x6a41a
sub esi, ecx
mov ecx, dword [0x45681c]
add esi, edx
mov eax, 0x3b50a35b
imul ecx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x56cb8c]
sub esi, eax
mov ecx, 0x56cb8c
mov dword [str._r_____r____], esi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x45682c]
mov esi, dword [str._r_____r____]
mov eax, 0x637bce79
imul esi, esi, 0xa4b0c
imul ecx
mov ecx, dword [0x456818]
sar edx, 0x12
imul ecx, ecx, 0x23d2f
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
mov ecx, dword [0x456820]
mov eax, 0x2681eb59
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
sub esi, eax
mov eax, dword [0x456834]
lea ecx, [esp + 0x20]
sub esi, eax
push ecx
sub esi, 0xd5bac
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [0x456820], esi
call fcn.00406d80
mov ecx, dword [0x456820]
mov esi, dword [0x45682c]
mov eax, 0x637bce79
imul esi, esi, 0xd5bac
imul ecx
sar edx, 0x12
mov edi, edx
add esi, edx
mov edx, dword [0x45681c]
shr edi, 0x1f
add edi, esi
mov eax, 0x72563b0d
imul edx
imul ecx, ecx, 0x8a1c3
mov esi, dword [esp + 8]
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x58c2a
add edi, ecx
push esi
mov dword [0x45682c], edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
jg 0x4071a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d770
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov ecx, dword [0x456824]
mov eax, 0x1315e2c9
imul ecx
mov eax, dword [0x456838]
imul eax, eax, 0x8cc35
sar edx, 0x10
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x637bce79
imul ecx
sar edx, 0x12
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456830]
imul edx, edx, 0x6a41a
sub esi, ecx
mov ecx, dword [0x45681c]
add esi, edx
mov eax, 0x3b50a35b
imul ecx
sar edx, 0x11
mov eax, edx
mov edi, dword [esp + 0x1c]
shr eax, 0x1f
lea ecx, [esp + 0x10]
add eax, edx
push ecx
sub esi, eax
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
mov dword [str._r_____r____], esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x40d9af
mov ecx, dword [0x456838]
mov eax, 0x1315e2c9
imul ecx
imul ecx, ecx, 0x8cc35
sar edx, 0x10
push ebx
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [0x45681c]
mov eax, 0x3d63c959
imul edx
sar edx, 0x11
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [str._r_____r____]
add eax, ebx
sub eax, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x6a41a
add eax, ecx
sub eax, edx
add eax, 0x6a5e7
push esi
mov dword [0x45681c], eax
call fcn.0043b9f2
add esp, 4
mov ebx, eax
push ebx
push esi
xor esi, esi
push esi
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40d9a5
mov ecx, dword [0x45682c]
mov edi, dword [str._r_____r____]
mov eax, 0x3d63c959
imul edi, edi, 0xd69d0
imul ecx
mov ecx, dword [0x456828]
sar edx, 0x11
imul ecx, ecx, 0x23d2f
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, dword [0x456830]
mov edx, dword [0x456818]
imul edx, edx, 0x6a41a
sub edi, eax
add ecx, edi
lea eax, [edx + ecx - 0xd5bac]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x4471f4
push ebx
mov dword [0x456824], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40d94b
mov ecx, dword [0x456828]
mov eax, 0x1315e2c9
imul ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456818]
mov esi, ecx
imul edx, edx, 0x85714
imul esi, esi, 0xd69d0
sub esi, eax
add esi, edx
mov edx, dword [0x456834]
mov eax, 0x637bce79
imul edx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x3b50a35b
imul ecx
sar edx, 0x11
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x10]
sub esi, ecx
mov dword [0x456834], esi
mov bp, word [edx + 0x14]
mov ecx, dword [0x456820]
mov esi, dword [0x45682c]
mov eax, 0x637bce79
imul esi, esi, 0xd5bac
imul ecx
imul ecx, ecx, 0x8a1c3
sar edx, 0x12
add esi, edx
mov edi, edx
mov edx, dword [0x45681c]
mov eax, 0x72563b0d
imul edx
sar edx, 0x10
shr edi, 0x1f
mov eax, edx
shr eax, 0x1f
add edi, esi
add eax, edx
sub edi, eax
add edi, ecx
mov ecx, dword [0x456830]
imul ecx, ecx, 0x58c2a
add edi, ecx
mov dword [0x45682c], edi
push ebx
call fcn.0043b9f7
add esp, 4
pop ebx
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0xc
ret
Function at 0x4171a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x458190]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4172c2
lea ecx, [esp + 8]
call fcn.00417080
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x4172c6
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x417270
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.004171a0
mov edi, eax
test edi, edi
jne 0x4172ea
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x417232
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x417289
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4172a8
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00429d61
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x4172d1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00429d61
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4172f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.00429d61
add esp, 0x118
ret 4
Function at 0x4177d0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4177e2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8