joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10080c30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, edx
mov esi, ecx
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10080cdd
mov edi, eax
mov dword [ebp - 0x20], esi
push eax
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov esi, eax
xor eax, eax
push edi
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], esi
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10080cfd
lea eax, [ebp - 0x18]
mov dword [eax], 0
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x1009a834
mov esi, dword [ebp - 0x1c]
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edx, esi
je 0x10080d23
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 8], 0
push edx
call sym.mozglue.dll__aligned_free
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x10080cc9
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
xor eax, eax
mov esi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], ecx
mov edx, dword [ebp - 0x1c]
jmp 0x10080cc0
xor eax, eax
jmp 0x10080cb1

Function at 0x10081060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x100a5a5c]
mov ecx, dword [0x100a43c8]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x100810da
mov eax, dword [esi + 8]
test eax, eax
je 0x100810c1
mov ecx, dword [0x100a5a58]
mov dword [ebp - 0x38], ecx
mov ebx, dword [esi + 4]
lea edi, [ebx + eax*8]
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
push dword [ebp - 0x38]
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
add ebx, 8
cmp ebx, edi
jne 0x100810a8
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f020
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x100a5a5c
call fcn.1004f02e
add esp, 4
cmp dword [0x100a5a5c], 0xffffffff
jne 0x10081092
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x100a5a58], eax
push 0x100a5a5c
call fcn.1004f02e
add esp, 4
jmp 0x10081092
Function at 0x41785b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x425458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408db5
mov dword [ebp - 0x14], eax
cmp dword [0x465238], esi
jne 0x41794e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4178db
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417a2e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x417a2e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417a2e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x465238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x46523c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x465240], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465248], eax
test eax, eax
je 0x41794b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x465244], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x417973
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417966
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x417988
push 4
pop eax
jmp 0x417a30
cmp dword [ebp - 0x14], esi
je 0x417988
push dword [0x465238]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41796d
mov eax, dword [0x465244]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4179e6
cmp dword [0x465248], edi
je 0x4179e6
push eax
call ebx
push dword [0x465248]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4179e6
test eax, eax
je 0x4179e6
call ecx
test eax, eax
je 0x4179db
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4179db
test byte [ebp - 8], 1
jne 0x4179e6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x417a16
mov eax, dword [0x46523c]
cmp eax, edi
je 0x417a13
push eax
call ebx
test eax, eax
je 0x417a13
call eax
mov esi, eax
test esi, esi
je 0x417a13
mov eax, dword [0x465240]
cmp eax, edi
je 0x417a13
push eax
call ebx
test eax, eax
je 0x417a13
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x465238]
call ebx
test eax, eax
je 0x417a2e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x417a30
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406f77
mov esp, ebp
pop ebp
ret
Function at 0x401fd0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402001
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x402001
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x402001
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401396
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
cmp dword [0x1ddead8], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x2c], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x4013cc
push 0
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x41a308]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x28], eax
call fcn.0040138c
mov ecx, dword [0x41a310]
mov eax, dword [0x41a314]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x1ddead8], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1ddead4]
cmove eax, edx
xor edx, edx
cmp dword [0x1ddead8], 0x3eb
mov dword [0x1ddead4], eax
mov eax, dword [0x1dde4c4]
cmove eax, edx
add ecx, ebx
mov dword [0x1dde4c4], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x1c]
mov ecx, dword [0x1ddead8]
xor eax, edx
mov dword [0x1ddead0], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x401500
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea eax, [ebp - 0xc4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1ddead8]
sub edi, eax
cmp ecx, 0xc
jne 0x40150e
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.00401393
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x40155a
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x40140a
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e9ad
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4197a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040af87
mov dword [ebp - 0x14], eax
cmp dword [0x8188e0], esi
jne 0x40eaa0
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ea2d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40eb80
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40eb80
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40eb80
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x8188e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x8188e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8188e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8188f0], eax
test eax, eax
je 0x40ea9d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8188ec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40eac5
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40eab8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40eada
push 4
pop eax
jmp 0x40eb82
cmp dword [ebp - 0x14], esi
je 0x40eada
push dword [0x8188e0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40eabf
mov eax, dword [0x8188ec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40eb38
cmp dword [0x8188f0], edi
je 0x40eb38
push eax
call ebx
push dword [0x8188f0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40eb38
test eax, eax
je 0x40eb38
call ecx
test eax, eax
je 0x40eb2d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40eb2d
test byte [ebp - 8], 1
jne 0x40eb38
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40eb68
mov eax, dword [0x8188e4]
cmp eax, edi
je 0x40eb65
push eax
call ebx
test eax, eax
je 0x40eb65
call eax
mov esi, eax
test esi, esi
je 0x40eb65
mov eax, dword [0x8188e8]
cmp eax, edi
je 0x40eb65
push eax
call ebx
test eax, eax
je 0x40eb65
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8188e0]
call ebx
test eax, eax
je 0x40eb80
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40eb82
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e80
mov esp, ebp
pop ebp
ret
Function at 0x100027b0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10028500
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6c]
mov edi, ecx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov word [esp + 0x40], cx
mov ebx, 7
mov ecx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebp
lea esi, [ecx + 2]
jmp 0x10002810
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10002810
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x40]
call fcn.10005d40
mov dword [esp + 0x64], ebp
xor edx, edx
mov eax, edi
mov word [esp + 0x24], dx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10002841
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x24]
call fcn.10005d40
mov ebx, 1
mov byte [esp + 0x64], bl
cmp dword [esp + 0x50], ebp
jne 0x100028aa
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x10002883
mov eax, dword [esp + 0x24]
push eax
call fcn.10011720
add esp, 4
xor ecx, ecx
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], cx
cmp dword [esp + 0x54], esi
jb 0x100029ab
mov edx, dword [esp + 0x40]
push edx
jmp 0x100029a3
lea eax, [esp + 0x3c]
push eax
push 0x100334e4
call fcn.10006ad0
add esp, 8
mov esi, 8
test eax, eax
jne 0x10002972
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x54], esi
jae 0x100028df
lea eax, [esp + 0x40]
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push ebp
lea edx, [esp + 0x24]
push edx
push ebp
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10002972
mov eax, dword [esp + 0x50]
push str.guid
mov edi, 4
lea ecx, [esp + 0x40]
call fcn.10005960
test eax, eax
je 0x10002931
mov eax, dword [esp + 0x50]
push str.saguid
mov edi, 6
lea ecx, [esp + 0x40]
call fcn.10005960
test eax, eax
jne 0x10002940
cmp dword [esp + 0x34], ebp
jne 0x10002940
lea ecx, [esp + 0x20]
call fcn.1000f660
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x1000294e
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x1000295c
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x34]
add edx, edx
push edx
push ecx
mov ecx, dword [esp + 0x7c]
push ecx
push ebp
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [esp + 0x38], esi
jb 0x10002985
mov edx, dword [esp + 0x24]
push edx
call fcn.10011720
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], ax
cmp dword [esp + 0x54], esi
jb 0x100029ab
mov ecx, dword [esp + 0x40]
push ecx
call fcn.10011720
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1001172b
add esp, 0x54
ret
Function at 0x10002f40
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0x208
mov dword [esp + 0xc], 0x104
call fcn.10010aec
mov ecx, dword [esp + 0x2c]
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
push str.TOOLBAR_ASK.COM1
push ecx
call sub.msi.dll_MsiGetSummaryInformationW
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp word [esi + eax*2 - 2], 0x5c
jne 0x10002f8c
push esi
call edi
xor edx, edx
mov word [esi + eax*2 - 2], dx
push 0
push 0x2000000
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
je 0x10002ff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10002ff9
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x10002ff2
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x10002ff2
lea eax, [esp + 0xc]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.10011d08
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 4
Function at 0x10003360
Capabilities:
Delete registry value
Set registry value
Terminate process

Disassembly:
sub esp, 0xa38
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0xa34], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0xc]
push eax
push 0x20006
xor esi, esi
push esi
push str.SoftwareAPNUpdaterUninstall
push 0x80000002
mov dword [esp + 0x24], 1
call edi
test eax, eax
jne 0x10003431
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push eax
push str.CloseUpd
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x100033c7
lea esi, [eax + 1]
mov eax, dword [esp + 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebx
test esi, esi
je 0x10003431
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xc]
push ecx
push 0xf003f
push 0
push str.SoftwareAPNUpdaterUninstall
push 0x80000002
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x1000343e
mov edx, dword [esp + 0xc]
push str.CloseUpd
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x10003428
push str.DeleteRegistryValue_failed
call fcn.10001180
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebx
jmp 0x1000343e
push str.RegSetvalue_failed
call fcn.10001180
add esp, 4
push 0x228
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0
call fcn.10017160
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
call fcn.10007b20
test eax, eax
je 0x10003503
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x1c]
push edx
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x100034f2
push 0
push esi
call ebx
test eax, eax
je 0x100034eb
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x24a]
push ecx
mov word [esp + 0x24c], ax
call fcn.10017160
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x48]
push eax
push str.Terminated_process___name__s_PID__d
lea ecx, [esp + 0x258]
push 0x400
push ecx
call fcn.10011853
lea edx, [esp + 0x260]
push edx
call fcn.10001180
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
call fcn.10007b20
test eax, eax
jne 0x10003483
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
test eax, eax
je 0x10003515
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa34]
xor ecx, esp
xor eax, eax
call fcn.1001172b
add esp, 0xa38
ret 4
Function at 0x100063e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10028478
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1003230c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.10005820
mov eax, str.LocalLow
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10006440
sub eax, edx
sar eax, 1
push eax
mov eax, str.LocalLow
lea ecx, [esp + 0x10]
call fcn.10005c60
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.10005820
cmp dword [esp + 0x24], 8
jb 0x1000648c
mov edx, dword [esp + 0x10]
push edx
call fcn.10011720
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x10006660
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x228
lea eax, [esp + 0x18]
push ebx
push eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x1c], ebx
call fcn.10017160
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10006713
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, eax
test ebx, ebx
je 0x10006713
lea ecx, [ecx]
mov ecx, esi
lea eax, [esp + 0x34]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100066ec
test dx, dx
je 0x100066e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100066ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x100066c6
xor eax, eax
jmp 0x100066f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10006708
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32NextW
mov ebx, eax
test ebx, ebx
jne 0x100066c0
jmp 0x10006713
mov ecx, 0x8b
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
je 0x1000671e
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.1001172b
add esp, 0x230
ret

Function at 0x10006a70
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x1003230c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10006aaf
cmp dword [esp + 0x14], 2
jne 0x10006aaf
cmp dword [esp + 8], 6
lea eax, [esi + 1]
jae 0x10006ab1
mov eax, esi
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1001172b
add esp, 0x118
ret