joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d6f0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [esp + 0x1014]
push ebx
mov ebx, dword [esp + 0x101c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
cmp eax, 0xffffffff
je 0x40d846
test ebx, ebx
je 0x40d846
test ecx, ecx
jle 0x40d846
mov eax, ecx
cdq
push ebp
and edx, 0xfff
push esi
add eax, edx
push edi
mov esi, eax
mov edi, ecx
sar esi, 0xc
and edi, 0x80000fff
jns 0x40d75d
dec edi
or edi, 0xfffff000
inc edi
mov ebp, ebx
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x10], ebx
jle 0x40d7d2
lea esp, [esp]
push 0x1000
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0044e8f0
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, 0x1000
lea esp, [esp]
mov dl, byte [eax]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x40d790
mov edx, dword [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40d816
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40d7c7
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
inc ebx
add ebp, 0x1000
cmp ebx, esi
jl 0x40d770
test edi, edi
jle 0x40d83f
push edi
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.0044e8f0
add esp, 0xc
lea eax, [esp + 0x1c]
test edi, edi
jle 0x40d7fa
mov ecx, edi
nop
mov dl, byte [eax]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x40d7f0
mov edx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40d831
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0044e20c
add esp, 0x1010
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40d83f
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
mov eax, 1
jmp 0x40d818
mov ecx, dword [esp + 0x1010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e20c
add esp, 0x1010
ret
Function at 0x40d860
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b9b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x487cf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x487cf8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.004032d0
add esp, 4
test eax, eax
jne 0x40d8e1
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40da0f
mov ebp, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x28]
mov eax, ebp
call fcn.0040d690
test eax, eax
jne 0x40d908
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x40d8c1
mov edx, dword [0x487cf8]
mov eax, dword [edx + 0xc]
mov ecx, 0x487cf8
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x24], 1
call fcn.004032d0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [esp + 0x30], ebx
je 0x40d982
push ebx
push esi
push ebp
call fcn.0043c250
add esp, 0xc
test eax, eax
jge 0x40d9b2
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d972
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebp - 0x10]
jmp 0x40d8c1
cmp ebp, ebx
je 0x40d99c
cmp esi, ebx
je 0x40d99c
push esi
push 0x40da30
push ebx
push ebp
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
cmp eax, ebx
jne 0x40d9b2
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40d966
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x28]
call fcn.00402b40
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40da0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x40db40
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2004
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x2000], eax
xor eax, eax
test ebx, ebx
je 0x40dc35
mov word [ebx], ax
test edi, edi
jne 0x40db7e
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e20c
add esp, 0x2004
ret
push esi
mov esi, 0x478830
mov ecx, dword [esi]
push edi
push ecx
call fcn.0044f048
add esp, 8
test eax, eax
je 0x40dbb7
add esi, 8
cmp esi, str.TargetDir
jl 0x40db84
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e20c
add esp, 0x2004
ret
mov esi, dword [esi + 4]
cmp esi, 0xffffffff
je 0x40dc08
push 0x2000
lea edx, [esp + 8]
push 0
push edx
call fcn.0044e220
add esp, 0xc
push 1
push esi
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40dc08
lea eax, [esp + 4]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dbf0
sub eax, edx
sar eax, 1
cmp eax, dword [esp + 0x200c]
jl 0x40dc20
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e20c
add esp, 0x2004
ret
push eax
lea ecx, [esp + 8]
push ecx
push ebx
call fcn.0044f1bb
add esp, 0xc
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2000]
xor ecx, esp
call fcn.0044e20c
add esp, 0x2004
ret

Function at 0x40dca0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x400c], eax
push ebx
xor eax, eax
push 0x3ffe
mov ebx, ecx
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0044e220
add esp, 0xc
mov dword [esp + 8], 0
test esi, esi
je 0x40dd85
test edi, edi
je 0x40dd85
lea edx, [esp + 8]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40dd85
cmp eax, 0x3fff
ja 0x40dd85
lea ecx, [esp + 0x10]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40dd85
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0x477998
lea ecx, [esp + 0x1c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40dd85
lea edx, [ebx + ebx]
push edx
push 0
push edi
call fcn.0044e220
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
dec ebx
push ebx
push edi
call fcn.00451c2c
add esp, 0x28
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044e20c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x4010]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e20c
add esp, 0x4010
ret
Function at 0x40dda0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x2024
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x2020], eax
xor eax, eax
test esi, esi
je 0x40de2b
push 0x2000
mov dword [esp + 8], eax
push eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x10], 3
call fcn.0044e220
push 0x1000
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0044f1bb
add esp, 0x18
lea ecx, [esp]
lea edx, [esp + 0x20]
mov eax, 0x614
push ecx
mov dword [esp + 0xc], edx
mov word [esp + 0x14], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, 1
mov ecx, dword [esp + 0x2020]
xor ecx, esp
call fcn.0044e20c
add esp, 0x2024
ret

Function at 0x40ebc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46bbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.00408120
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040ea10
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ec3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x1c]
mov esi, dword [esi + 4]
test esi, esi
je 0x40ec4b
cmp esi, dword [esp + 0x14]
je 0x40ec50
call fcn.0044e85a
xor eax, eax
cmp edi, dword [esp + 0x18]
setne al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40ec70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46bbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
call fcn.00408120
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
push esi
lea ebx, [esp + 0x1c]
mov dword [esp + 0x30], 0
call fcn.0040ea10
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40eceb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
mov ebx, dword [esi + 0x1c]
mov eax, dword [esi + 4]
add esi, 4
test edi, edi
je 0x40ed00
cmp edi, eax
je 0x40ed05
call fcn.0044e85a
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40ed1a
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.0040f070
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ff10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46c3b8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40ffba
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ffba
lea eax, [esp + 0x14]
push eax
mov edi, str.version1.0_encodingutf_16
call fcn.00404740
lea ecx, [esp + 0x10]
push ecx
mov edi, esi
mov dword [esp + 0x6c], 0
call fcn.00404740
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push ecx
mov byte [esp + 0x74], 1
call fcn.0040a2a0
lea edi, [esp + 0x10]
call fcn.004047e0
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 4
call fcn.004047e0
cmp dword [esp + 0x4c], 0
sete al
test al, al
sete al
test al, al
jne 0x40ffd0
lea ecx, [esp + 0x48]
call fcn.00409f60
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x14]
push edx
mov edi, 0x478a44
call fcn.00404740
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x18]
lea esi, [esp + 0x3c]
mov byte [esp + 0x6c], 5
call fcn.00409e60
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.004047e0
cmp dword [esp + 0x40], 0
sete al
test al, al
sete al
test al, al
je 0x410033
cmp dword [esp + 0x3c], 0
sete al
test al, al
sete al
test al, al
je 0x410033
mov edx, dword [ebp + 8]
add edx, 8
mov ecx, esi
call fcn.004101b0
lea ecx, [esp + 0x14]
push ecx
mov edi, str.Plugin_AfterSetup
call fcn.00404740
lea edx, [esp + 0x48]
push edx
lea edx, [esp + 0x18]
lea esi, [esp + 0x2c]
mov byte [esp + 0x6c], 8
call fcn.00409e60
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xa
call fcn.004047e0
cmp dword [esp + 0x30], 0
sete al
test al, al
sete al
test al, al
je 0x410096
cmp dword [esp + 0x2c], 0
sete al
test al, al
sete al
test al, al
je 0x410096
mov edx, dword [ebp + 8]
add edx, 0x20
mov ecx, esi
call fcn.004101b0
lea eax, [esp + 0x14]
push eax
mov edi, str.Plugin_BeforeUninstall
call fcn.00404740
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x18]
lea esi, [esp + 0x1c]
mov byte [esp + 0x6c], 0xb
call fcn.00409e60
lea edi, [esp + 0x14]
mov byte [esp + 0x68], 0xd
call fcn.004047e0
cmp dword [esp + 0x20], 0
sete al
test al, al
sete al
test al, al
je 0x4100f9
cmp dword [esp + 0x1c], 0
sete al
test al, al
sete al
test al, al
je 0x4100f9
mov edx, dword [ebp + 8]
add edx, 0x38
mov ecx, esi
call fcn.004101b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0xa
call fcn.004048b0
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 7
call fcn.004048b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 4
call fcn.004048b0
lea ecx, [esp + 0x48]
call fcn.00409f60
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4118a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b950
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x485d30]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x1c], vtable.CResourceUnpack.0
mov edx, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [0x4891e8]
push edx
mov edx, dword [ecx + 0x28]
push eax
push 0x4891e8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
cmp eax, ebx
jne 0x41191c
xor eax, eax
jmp 0x41199d
mov eax, dword [0x487cf8]
mov edx, dword [eax + 0xc]
mov ecx, 0x487cf8
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x34], 1
call fcn.004032d0
mov esi, dword [esp + 0x48]
add esp, 4
test eax, eax
je 0x411973
mov eax, esi
lea edi, [esp + 0x1c]
call fcn.0040d690
test eax, eax
je 0x411973
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push esi
push eax
call edx
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41199b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x413870
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x634
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push edi
push esi
call ecx
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x41399d
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x10], edi
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4138d2
call fcn.0044e85a
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x41398d
cmp dword [esi + 0x1c], 0
je 0x413983
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x41390e
push 4
lea edx, [eax + 0x14]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 4
push edx
push ecx
push eax
call ebx
jmp 0x41398d
cmp edx, 1
jne 0x413931
mov edx, dword [eax + 0x18]
mov ebx, dword [edx - 0xc]
add ebx, ebx
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
push 1
push edx
push ecx
push eax
call ebx
jmp 0x41398d
cmp edx, 2
jne 0x41398d
mov ecx, dword [esi]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push edi
push esi
call eax
lea eax, [esp + 0x430]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413950
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [esp + 0x434]
push edx
mov edx, dword [esp + 0x20]
push 1
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
jmp 0x41398d
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
add dword [esp + 0x10], 0x1c
inc edi
cmp edi, dword [esp + 0x14]
jl 0x4138b0
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0044e20c
mov esp, ebp
pop ebp
ret 4

Function at 0x4147c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x4147f6
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0044e20c
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00415230
add esp, 4
mov eax, esi
call fcn.00415340
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0044e20c
mov esp, ebp
pop ebp
ret
Function at 0x414870
Capabilities:
Read file via mapping

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
xor ebx, ebx
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x414923
push esi
push eax
push 1
push 3
push eax
push 1
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x414920
cmp esi, 0xffffffff
je 0x414919
push ebp
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
mov ebp, eax
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 2
push 0
push 0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.004147c0
add esp, 4
test ebx, ebx
je 0x414909
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test ebp, ebp
je 0x414914
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
add esp, 8
ret

Function at 0x414990
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0044f150
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0044e220
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x414a81
test esi, esi
je 0x414a81
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x414a81
cmp eax, 0x3fff
ja 0x414a81
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x414a81
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x477998
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414a81
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xf
push esi
call fcn.00451c2c
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0044e20c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0044e20c
add esp, 0x4010
ret
Function at 0x415630
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov edi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x46e690
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
cmp dword [esp + 0x10], 0
pop edi
pop esi
je 0x4156b9
cmp dword [esp + 0xc], 0
je 0x4156b9
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x415770
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x288
mov eax, dword [0x485d30]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.0044e220
add esp, 0xc
mov ecx, 0x12
mov esi, str.Control_PanelDesktopWindowMetrics
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
mov ecx, 8
mov esi, str.Shell_Icon_Size
lea edi, [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
mov dword [esp + 0x20], 0x20a
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x415891
mov ecx, dword [0x46e6f8]
mov dx, word [0x46e6fc]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 6
lea eax, [esp + 0x14]
push eax
push 1
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov word [esp + 0x20], dx
push ecx
lea edx, [esp + 0x48]
push edx
push SysReAllocString
call edi
test eax, eax
jne 0x415891
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x415891
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.0044e20c
add esp, 0x288
ret