joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a0f0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x1007e2a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
push 0
push 0x207
mov dword [esp + 0x1c], 0
call fcn.10001450
add esp, 8
test eax, eax
je 0x1004a146
push 0x207
push eax
lea ecx, [esp + 0xc]
call fcn.10004800
mov edx, dword [0x10098a04]
push ebx
push esi
push edi
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
lea ebx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.100497e0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, 2
jne 0x1004a1b0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1004a23d
xor ebx, ebx
cmp eax, ebx
je 0x1004a20e
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a1d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a1fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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 0x1004a247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a269
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1004a670
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp], eax
push 0
push 0x207
mov dword [esp + 0x20], 0
call fcn.10001450
add esp, 8
test eax, eax
je 0x1004a6c5
push 0x207
push eax
lea ecx, [esp + 8]
call fcn.10004800
mov edx, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.100497e0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x1004a77f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a749
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a76b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1004a7bb
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, ebx
sete al
mov byte [esp + 0x28], bl
or edx, 0xffffffff
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x1004a7e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a805
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1004a820
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 8
push str.Software
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.100048d0
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.100497e0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x1004a91e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a8e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a90a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
mov esi, dword [eax]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push esi
push 1
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1004a95a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, ebx
sete al
mov byte [esp + 0x28], bl
or edx, 0xffffffff
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x1004a982
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004a9a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1004a9c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp], eax
push 0
push 0x207
mov dword [esp + 0x20], 0
call fcn.10001450
add esp, 8
test eax, eax
je 0x1004aa15
push 0x207
push eax
lea ecx, [esp + 8]
call fcn.10004800
mov edx, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.100497e0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x1004aacf
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004aa99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004aabb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
push 4
lea eax, [esp + 0x3c]
push eax
push 4
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1004ab02
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, ebx
sete al
mov byte [esp + 0x28], bl
or edx, 0xffffffff
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x1004ab2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ab4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1004ab60
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1007e300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10098a04]
push ebx
push ebp
push esi
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 8
push str.Software
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.100048d0
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
lea ebx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.100497e0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
xor ebx, ebx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x1004ac5e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ac28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004ac4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
push 4
push eax
push 4
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x1004ac91
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp esi, ebx
sete al
mov byte [esp + 0x28], bl
or edx, 0xffffffff
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x1004acb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004acdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1004aeb0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1007e366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x10098a04]
push ebx
mov ecx, 0x10098a04
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
xor ebx, ebx
push ebx
push 0x207
mov dword [esp + 0x220], ebx
call fcn.10001450
add esp, 8
cmp eax, ebx
je 0x1004af0a
push 0x207
push eax
lea ecx, [esp + 0xc]
call fcn.10004800
push 1
push 0x10082288
lea ecx, [esp + 0xc]
call fcn.1000cde0
mov ecx, dword [esp + 0x224]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.1000cde0
mov ecx, dword [esp + 0x220]
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push ecx
call fcn.100495d0
add esp, 0xc
cmp eax, ebx
je 0x1004af90
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x218], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1004af78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
add esp, 0x218
ret
push ebp
push 0x14
call fcn.10067970
add esp, 4
cmp eax, ebx
je 0x1004afaf
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov ebp, eax
jmp 0x1004afb1
xor ebp, ebp
mov ecx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x200
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
xor esi, esi
call edi
cmp eax, ebx
jne 0x1004b02f
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.10005e50
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x228], 1
call fcn.1003b290
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x224], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1004b018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
push 0x200
lea eax, [esp + 0x20]
push eax
inc esi
push esi
push ecx
call edi
cmp eax, ebx
je 0x1004afd1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x1004b065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x214]
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret
Function at 0x1004b170
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
push ebx
push ebp
push esi
push edi
xor eax, eax
mov byte [esp + 0xa8], 0
mov ecx, 0x40
lea edi, [esp + 0xa9]
rep stosd dword es:[edi], eax
mov ecx, dword [0x10098990]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xac]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1004b2bd
lea edx, [esp + 0xa8]
push 0x5c
push edx
call fcn.10069f52
xor ebp, ebp
add esp, 8
cmp eax, ebp
je 0x1004b2bd
mov ecx, dword [str.feed.dll]
inc eax
mov dword [eax], ecx
mov edx, dword [0x10084c78]
mov dword [eax + 4], edx
mov cl, byte [0x10084c7c]
mov byte [eax + 8], cl
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x24], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
push esi
call fcn.10067994
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x1004b2bd
mov ecx, dword [esp + 0x1c]
push ebx
push esi
push ecx
lea edx, [esp + 0xb4]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1004b2b4
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1004b2b4
mov eax, dword [esp + 0x18]
mov dx, word [eax]
mov si, word [eax + 2]
xor eax, eax
mov byte [esp + 0x28], 0
mov ecx, 0x1f
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, si
movzx ecx, dx
push eax
push ecx
lea edx, [esp + 0x30]
push 0x10084c30
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x1004b2c7
push ebx
call fcn.1006917d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x14]
xor eax, eax
mov word [esp + 0x11], ax
push 0x2c
push edi
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], al
call fcn.1006a2c9
mov esi, eax
add esp, 8
test esi, esi
je 0x1004b312
lea esp, [esp]
push edi
mov byte [esi], 0
call fcn.1006a4e0
lea edi, [esi + 1]
push 0x2c
mov byte [esp + ebp + 0x18], al
push edi
inc ebp
call fcn.1006a2c9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1004b2f0
push edi
call fcn.1006a4e0
mov byte [esp + ebp + 0x14], al
mov al, byte [esp + 0x14]
mov cl, byte [esp + 0x17]
mov dl, byte [esp + 0x16]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x15]
push ebx
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], al
call fcn.1006917d
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, 0x1000800
cmp eax, edx
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004b660
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x1007e3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
xor ecx, ecx
push ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x29], ecx
mov dword [esp + 0x2d], ecx
xor eax, eax
mov dword [esp + 0x31], ecx
mov dword [esp + 0x19], eax
mov dword [esp + 0x35], ecx
mov dword [esp + 0x1d], eax
mov dword [esp + 0x39], ecx
push ebp
push esi
mov dword [esp + 0x29], eax
mov dword [esp + 0x45], ecx
mov word [esp + 0x2d], ax
mov dword [esp + 0x49], ecx
xor esi, esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], bl
mov byte [esp + 0x33], al
mov byte [esp + 0x34], bl
mov dword [esp + 0x51], ecx
mov dword [esp + 0x18], esi
push 0xf0000000
push 1
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x74], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x1004b7c7
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1004b7b7
mov edx, dword [esp + 0x6c]
mov eax, edx
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1004b720
push ebx
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1004b7ac
mov edx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 2
push edx
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1004b7ac
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x2c]
push 0x10
push edx
mov dword [esp + 0x30], 0x21
call fcn.1004b0f0
add esp, 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call fcn.100084d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
call fcn.1003b8b0
mov ecx, dword [esp + 0x20]
push ecx
mov byte [esp + 0x64], bl
call ebp
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, ebx
jne 0x1004b7cb
xor eax, eax
jmp 0x1004b7da
push esi
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp esi, ebx
mov edi, dword [esp + 0x68]
mov dword [edi], eax
je 0x1004b7f2
cmp eax, ebx
jne 0x1004b7f2
push 0x8007000e
call fcn.10001330
push esi
call ebp
mov ecx, dword [esp + 0x58]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret
Function at 0x1004b810
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov esi, ecx
mov eax, dword [esi + 0x7c]
cmp eax, str.http:__tb.sogou.com_read_rss
push edi
je 0x1004b850
push eax
call ebx
push str.http:__tb.sogou.com_read_rss
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi + 0x7c], eax
jne 0x1004b850
push 0x8007000e
call fcn.10001330
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x40
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x1004b8b8
push 0x104
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, dword [esi + 0x80]
push eax
call ebx
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
push ecx
call fcn.10046390
add esp, 8
test eax, eax
mov dword [esi + 0x80], eax
jne 0x1004b8b8
push 0x8007000e
call fcn.10001330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret