joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004068d0
push esi
push 0x417cf4
lea edx, [ebp - 0x20c]
push 0x103
push edx
call fcn.00406e9a
add esp, 0x1c
lea eax, [ebp - 0x214]
push eax
push edi
lea ecx, [ebp - 0x210]
push ecx
push 0
lea edx, [ebp - 0x20c]
push edx
push SysReAllocString
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.004068b9
mov esp, ebp
pop ebp
ret
Function at 0x4023e0
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004068d0
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call fcn.00407662
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 4
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x104
lea edx, [ebp - 0x20c]
push edx
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
add edi, 0x20c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push str.TBH.cab
push esi
call ebx
push str.InstallDll.cab
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call ebx
push edi
call ebx
mov ecx, dword [0x41e278]
push esi
push 0x417d38
push 0x6b
push ecx
call fcn.004047f0
add esp, 0x10
test eax, eax
je 0x4024e8
mov edx, dword [0x41e278]
push edi
push 0x417d38
push 0x6a
push edx
call fcn.004047f0
add esp, 0x10
test eax, eax
je 0x4024e8
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004068b9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004068b9
mov esp, ebp
pop ebp
ret

Function at 0x402550
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
xor ebx, ebx
mov word [ebp - 0x20c], ax
call fcn.004068d0
add esp, 0xc
mov ecx, esi
call fcn.004023e0
test eax, eax
je 0x4025a7
push edi
mov ecx, esi
call fcn.00402500
test eax, eax
je 0x4025a7
mov ebx, 1
lea edi, [esi + 4]
push 1
push edi
call fcn.00405200
push 1
add esi, 0x20c
push esi
call fcn.00405200
add esp, 0x10
push 0x104
push edi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x402604
push eax
lea edx, [ebp - 0x20c]
push edx
call fcn.00405200
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004068b9
mov esp, ebp
pop ebp
ret 4
Function at 0x402af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x412]
push edx
mov dword [ebp - 0x418], eax
xor ebx, ebx
mov word [ebp - 0x414], cx
call fcn.004068d0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004068d0
add esp, 0x18
cmp dword [0x41e4d8], ebx
jne 0x402b6d
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004068b9
mov esp, ebp
pop ebp
ret 0x10
push 0x104
lea edx, [ebp - 0x414]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402c10
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.dllcache
lea ecx, [ebp - 0x20c]
push ecx
call esi
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
push 1
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x402c10
push edi
push esi
call fcn.00402a30
test eax, eax
je 0x402c09
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x41c]
push edx
mov edx, dword [ebp - 0x418]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004068b9
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push edi
test ecx, ecx
je 0x402fca
mov edi, dword [ebp + 0x18]
push edi
call fcn.00402f40
add esp, 4
cmp ecx, eax
jl 0x402fca
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
mov word [esi], ax
mov byte [ebp + 0x13], al
mov al, 0x40
add al, 0x40
mov byte [ebp + 0x13], al
nop
xor eax, eax
test edi, edi
jle 0x402fc0
mov dl, byte [ebp + 8]
push ebx
lea esp, [esp]
nop
nop
mov ecx, dword [ebp + 0x14]
mov cl, byte [eax + ecx]
xor cl, byte [ebp + 0x13]
nop
mov ebx, eax
and ebx, 3
mov bl, byte [ebx + 0x417f48]
add bl, dl
xor bl, cl
movzx ecx, bl
mov word [esi + eax*2], cx
nop
xor ecx, ecx
mov word [esi + eax*2 + 2], cx
inc eax
cmp eax, edi
jl 0x402f90
pop ebx
nop
pop esi
mov eax, 1
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x403d90
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41571b
mov eax, dword fs:[0]
push eax
mov eax, 0x2744
call fcn.00407c20
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x41d014]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x274c], ebx
mov dword [ebp - 0x2748], eax
push ebx
lea ecx, [ebp - 0x2748]
push str..PhysicalDrive_d
push ecx
mov dword [ebp - 4], ebx
call fcn.00403d70
mov edx, dword [ebp - 0x2748]
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x403f62
xor eax, eax
push ebx
mov dword [ebp - 0x2740], eax
mov dword [ebp - 0x273c], eax
mov dword [ebp - 0x2738], eax
mov dword [ebp - 0x2734], eax
mov dword [ebp - 0x2730], eax
lea eax, [ebp - 0x2750]
push eax
push 0x18
lea ecx, [ebp - 0x2744]
push ecx
push ebx
push ebx
push 0x70000
push esi
mov dword [ebp - 0x2744], ebx
mov dword [ebp - 0x2750], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x403f53
mov edx, dword [ebp - 0x273c]
push edx
push 0x418020
push edi
call fcn.00403d70
xor eax, eax
mov dword [ebp - 0x272c], eax
mov dword [ebp - 0x2728], eax
push 0x270f
mov dword [ebp - 0x2724], eax
lea eax, [ebp - 0x271f]
push ebx
push eax
mov dword [ebp - 0x272c], ebx
mov dword [ebp - 0x2728], ebx
mov byte [ebp - 0x2720], bl
call fcn.004068d0
add esp, 0x18
push ebx
lea ecx, [ebp - 0x2750]
push ecx
push 0x2710
lea edx, [ebp - 0x2720]
push edx
push 0xc
lea eax, [ebp - 0x272c]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x403f53
mov eax, dword [ebp - 0x2710]
cmp eax, ebx
je 0x403ef7
lea ecx, [ebp + eax - 0x2720]
push ecx
lea ecx, [edi + 4]
call fcn.004035b0
mov eax, dword [ebp - 0x2708]
cmp eax, ebx
je 0x403f11
lea edx, [ebp + eax - 0x2720]
push edx
lea ecx, [edi + 8]
call fcn.004035b0
mov eax, dword [ebp - 0x2714]
cmp eax, ebx
je 0x403f2b
lea eax, [ebp + eax - 0x2720]
push eax
lea ecx, [edi + 0xc]
call fcn.004035b0
mov eax, dword [ebp - 0x270c]
cmp eax, ebx
je 0x403f45
lea ecx, [ebp + eax - 0x2720]
push ecx
lea ecx, [edi + 0x10]
call fcn.004035b0
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403f68
mov edi, dword [ebp - 0x274c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x403f68
mov edi, dword [ebp - 0x274c]
mov eax, dword [ebp - 0x2748]
lea edx, [eax - 0xc]
cmp edx, dword [0x41d010]
je 0x403f90
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x403f90
push esi
call fcn.00407244
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004068b9
mov esp, ebp
pop ebp
ret
Function at 0x4047f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
cmp esi, ebx
je 0x40484a
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
test eax, eax
jne 0x40484a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404813
sub eax, edx
sar eax, 1
je 0x40484a
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp + 0x14], ebx
call fcn.00404760
add esp, 0x14
test eax, eax
jne 0x404852
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 0x14]
cmp edi, ebx
jbe 0x4048cb
push ebx
push 0x20
push 2
push ebx
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x14], eax
cmp eax, 0xffffffff
je 0x4048cb
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
jmp 0x404883
mov eax, dword [ebp + 0x14]
mov esi, 0x1000
cmp edi, 0x1000
ja 0x404892
mov esi, edi
push 0
lea edx, [ebp - 8]
push edx
push esi
push ebx
push eax
sub edi, esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4048c1
add ebx, esi
test edi, edi
jne 0x404880
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405c20
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
jne 0x405c33
mov eax, 1
pop ebp
ret
xor edx, edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], dx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
pop ebp
ret
Function at 0x4068b9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d174]
jne 0x4068c3
repz ret
jmp fcn.004093aa

Function at 0x40cf18
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 0x40cf3f
call fcn.0040bd5e
mov dword [eax], esi
call fcn.0040bd4b
push 0x16
pop esi
mov dword [eax], esi
call fcn.0040bcf9
mov eax, esi
jmp 0x40cf94
test dword [ebp + 0xc], 0xfffffff9
jne 0x40cf25
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40cf6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040bd71
pop ecx
call fcn.0040bd4b
mov eax, dword [eax]
jmp 0x40cf94
test al, 0x10
jne 0x40cf92
test al, 1
je 0x40cf92
test byte [ebp + 0xc], 2
je 0x40cf92
call fcn.0040bd5e
mov dword [eax], 5
call fcn.0040bd4b
mov dword [eax], 0xd
jmp 0x40cf63
xor eax, eax
pop esi
pop ebp
ret
Function at 0x412260
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a257
and dword [ebp - 0x14], 0
cmp dword [0x41f850], 0
mov dword [ebp - 0x18], eax
jne 0x412313
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123bb
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4123bb
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41f850], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41f854], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41f858], eax
call edi
push eax
call esi
mov dword [0x41f860], eax
test eax, eax
je 0x412313
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41f85c], eax
mov eax, dword [0x41f85c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41236c
cmp dword [0x41f860], ecx
je 0x41236c
push eax
call esi
push dword [0x41f860]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41236c
test ebx, ebx
je 0x41236c
call edi
test eax, eax
je 0x412363
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412363
test byte [ebp - 8], 1
jne 0x41236c
or dword [ebp + 0x10], 0x200000
jmp 0x41239f
mov eax, dword [0x41f854]
cmp eax, dword [ebp - 0x18]
je 0x41239f
push eax
call esi
test eax, eax
je 0x41239f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41239f
mov eax, dword [0x41f858]
cmp eax, dword [ebp - 0x18]
je 0x41239f
push eax
call esi
test eax, eax
je 0x41239f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41f850]
call esi
test eax, eax
je 0x4123bb
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123bd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004068b9
leave
ret
Function at 0x40192a
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x41bd03
call fcn.0040c666
and dword [ebp - 0x18], 0
cmp dword [0x43b140], 0
jne 0x401a9c
lea esi, [ebp - 0x14]
call fcn.0040177c
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push str.WebKit.dll
push eax
mov ecx, esi
call fcn.00407dca
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x401a17
lea eax, [ebp - 0x28]
push str._bdwebkitservice.dll
push eax
lea ecx, [ebp - 0x14]
call fcn.00407dca
pop ecx
pop ecx
push 3
pop ebx
mov dword [ebp - 4], 2
push dword [eax]
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x401a17
lea eax, [ebp - 0x24]
push str._bdwebkitcore.dll
push eax
lea ecx, [ebp - 0x14]
call fcn.00407dca
pop ecx
pop ecx
mov dword [ebp - 4], ebx
push 7
pop ebx
push dword [eax]
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x401a17
lea eax, [ebp - 0x20]
push str._bdextensionplatform.dll
push eax
lea ecx, [ebp - 0x14]
call fcn.00407dca
pop ecx
pop ecx
push 0xf
pop ebx
mov dword [ebp - 4], 4
push dword [eax]
mov dword [ebp - 0x18], ebx
call esi
test eax, eax
je 0x401a17
lea eax, [ebp - 0x1c]
push str._bdextensionprocess.dll
push eax
lea ecx, [ebp - 0x14]
call fcn.00407dca
pop ecx
pop ecx
push 0x1f
pop ebx
push dword [eax]
call esi
test eax, eax
mov byte [ebp - 0xd], 1
jne 0x401a1b
mov byte [ebp - 0xd], 0
test bl, 0x10
je 0x401a2e
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
and ebx, 0xffffffef
call fcn.00409f6e
test bl, 8
je 0x401a41
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
and ebx, 0xfffffff7
call fcn.00409f6e
test bl, 4
je 0x401a54
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
and ebx, 0xfffffffb
call fcn.00409f6e
test bl, 2
je 0x401a67
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
and ebx, 0xfffffffd
call fcn.00409f6e
test bl, 1
je 0x401a77
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00409f6e
cmp byte [ebp - 0xd], 0
je 0x401a87
mov dword [0x43b144], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [0x43b140], 1
call fcn.00409f6e
mov eax, dword [0x43b144]
call fcn.0040c705
ret
Function at 0x401c09
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bc42
mov eax, dword fs:[0]
push eax
mov eax, 0x2074
call fcn.00416a00
mov eax, dword [0x439034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x202c]
call fcn.00401aa7
and dword [ebp - 4], 0
mov edi, 0x41f054
push edi
call fcn.0040abc5
pop ecx
mov ebx, eax
push edi
lea eax, [ebp - 0x202c]
call fcn.0040908b
cmp dword [esi + 0x18], 8
jb 0x401c71
mov esi, dword [esi + 4]
jmp 0x401c74
add esi, 4
cmp dword [ebp - 0x2014], 8
mov eax, dword [ebp - 0x2028]
jae 0x401c89
lea eax, [ebp - 0x2028]
push esi
push eax
lea eax, [ebp - 0x2010]
push str.__s___s
push eax
call fcn.00409943
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x2080]
push ebx
push eax
call fcn.0040add0
xor eax, eax
lea edi, [ebp - 0x203c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
cmp dword [ebp - 0x2014], 8
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2028]
mov dword [ebp - 0x2080], esi
jae 0x401cd9
lea eax, [ebp - 0x2028]
lea ecx, [ebp - 0x203c]
push ecx
lea ecx, [ebp - 0x2080]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x2010]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401d3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x401d13
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push ebx
push 1
lea esi, [ebp - 0x202c]
call fcn.00408812
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040aab8
leave
ret
push dword [ebp - 0x2034]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp - 0x2038]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x203c]
call esi
xor edi, edi
jmp 0x401d15

Function at 0x401d65
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x41baa2
call fcn.0040c666
push str.SoftWareBaidu_
lea eax, [ebp - 0x14]
push eax
call fcn.00407af6
push dword [ebp + 8]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00407bea
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], esi
jne 0x401dc0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00409f6e
xor eax, eax
call fcn.0040c705
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push str.update_available
push dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], esi
push dword [ebp - 0x10]
jne 0x401dff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00409f6e
mov eax, esi
jmp 0x401dba
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [ebp - 0x18]
sbb esi, esi
neg esi
jmp 0x401df0
Function at 0x401e10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x41baa2
call fcn.0040c666
push str.SoftWareBaidu_
lea eax, [ebp - 0x14]
push eax
call fcn.00407af6
push dword [ebp + 8]
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.00407bea
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], esi
jne 0x401e6b
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00409f6e
xor eax, eax
call fcn.0040c705
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push str.update_running
push dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], esi
push dword [ebp - 0x10]
jne 0x401eaa
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00409f6e
mov eax, esi
jmp 0x401e65
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp eax, dword [ebp - 0x18]
sbb esi, esi
neg esi
jmp 0x401e9b

Function at 0x401ebb
Capabilities:
Terminate process

Disassembly:
push 0x58
mov eax, 0x41bf2f
call fcn.0040c6cf
push str.__pending_install
lea esi, [ebp - 0x2c]
call fcn.0040811b
xor ebx, ebx
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov edi, str.show
jne 0x401ee8
mov edi, str.hide
push str.__visible
lea esi, [ebp - 0x64]
call fcn.0040811b
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.004098f0
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00408fe6
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.00408812
push ebx
push 1
lea esi, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00408812
lea ecx, [ebp - 0x2c]
call fcn.00401c09
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40660d
Capabilities:
Query environment variable

Disassembly:
push 0x210
push 0x4376f0
call fcn.00418784
mov dword [ebp - 0x21c], 0x30
push 0x1fc
xor ebx, ebx
push ebx
lea eax, [ebp - 0x218]
push eax
call fcn.0040add0
add esp, 0xc
push 0x100
lea eax, [ebp - 0x21c]
push eax
push str.BUGREPORT_HANDLER_ADDR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jbe 0x4066c5
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x220]
push eax
push 0x436308
lea eax, [ebp - 0x21c]
push eax
call fcn.0040af53
add esp, 0xc
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x220]
cmp byte [eax + 0x5c44], bl
je 0x4066be
cmp byte [eax + 0x5c45], bl
jne 0x4066be
cmp dword [eax + 0x5c60], 0x5e640
jne 0x4066be
mov dword [ebp - 4], 0xfffffffe
jmp 0x4066c7
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004187cc
ret