joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403f10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ad51
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x422084]
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
call fcn.00403e40
test eax, eax
jle 0x403f4e
mov al, 1
jmp 0x40415f
push 0x206
xor edi, edi
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x218], ax
call fcn.004107d0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str._vcservice.exe
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov ebx, 7
push 6
mov eax, str._popup
lea esi, [ebp - 0x250]
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x240], edi
mov word [ebp - 0x250], dx
call fcn.00406ce0
xor eax, eax
mov dword [ebp - 4], edi
push 0x44
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x2c4]
push edi
push eax
call fcn.004107d0
add esp, 0xc
xor ecx, ecx
push 1
mov eax, 0x41e8f8
lea esi, [ebp - 0x234]
mov dword [ebp - 0x2c4], 0x44
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], cx
call fcn.00406ce0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404040
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x234]
call fcn.00406390
push 1
mov eax, 0x41e8f8
lea ecx, [ebp - 0x234]
call fcn.00406390
lea edx, [ebp - 0x26c]
push edx
lea ebx, [ebp - 0x250]
call fcn.00406670
add esp, 4
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.00406580
mov ebx, 8
cmp dword [ebp - 0x258], ebx
jb 0x4040b8
mov eax, dword [ebp - 0x26c]
push eax
call fcn.0040b23d
add esp, 4
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x4040cc
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x2c4]
push edx
push edi
push edi
push 0x20
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp esi, edi
je 0x40410b
mov eax, dword [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
setne byte [ebp - 0x26d]
cmp dword [ebp - 0x220], ebx
jb 0x404129
mov edx, dword [ebp - 0x234]
push edx
call fcn.0040b23d
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
cmp dword [ebp - 0x23c], ebx
jb 0x404159
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0040b23d
add esp, 4
mov al, byte [ebp - 0x26d]
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.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x404250
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
cmp eax, 0xc
jne 0x4042d5
push esi
push edi
push 0
call fcn.0040bba2
push eax
call fcn.0040bbf3
call fcn.0040bc05
cdq
mov ecx, 0x3c
idiv ecx
mov eax, dword [ebx + 4]
lea esi, [edx + 0x1e]
lea edx, [ebp - 4]
push edx
push 4
push eax
push 0x405920
push 0
push 0
call fcn.0040baf7
add esp, 0x20
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
imul esi, esi, 0xea60
mov ecx, dword [ebx + 4]
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0xc
push ecx
call esi
mov edx, dword [ebx + 4]
push 0
push 0x3e8
push 0x10
push edx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x10
jne 0x4042fb
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4042ef
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push 1
push eax
call edx
test eax, eax
je 0x404307
call fcn.004061a0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xd
jne 0x404307
mov eax, ebx
call fcn.004060f0
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405320
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ab4b
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x422084]
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
xor ebx, ebx
lea ecx, [ebp - 0x82c]
mov dword [ebp - 0x830], ebx
call fcn.00408490
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x81c]
cmp edi, ebx
jne 0x405397
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push 1
mov eax, 0x41ea5c
call fcn.00406ce0
cmp dword [ebp - 0x818], 8
jmp 0x405456
push 0x7fe
lea eax, [ebp - 0x80e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x810], dx
call fcn.004107d0
add esp, 0xc
cmp edi, ebx
mov edi, 8
jbe 0x405435
mov eax, dword [ebp - 0x82c]
cmp dword [ebp - 0x818], edi
jae 0x4053d2
lea eax, [ebp - 0x82c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405435
mov eax, dword [ebp - 0x82c]
cmp dword [ebp - 0x818], edi
jae 0x4053f1
lea eax, [ebp - 0x82c]
push eax
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0x41e888
push 0x41ea60
push str.conf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jle 0x405435
lea eax, [ebp - 0x810]
mov ecx, esi
call fcn.00406dd0
cmp dword [ebp - 0x818], edi
jb 0x405467
mov edx, dword [ebp - 0x82c]
push edx
jmp 0x40545f
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], ax
push 1
mov eax, 0x41ea5c
call fcn.00406ce0
cmp dword [ebp - 0x818], edi
jb 0x405467
mov ecx, dword [ebp - 0x82c]
push ecx
call fcn.0040b23d
add esp, 4
mov eax, esi
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.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x405490
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, 1
mov edi, ecx
mov dword [ebp - 0x808], edi
mov dword [ebp - 0x80c], esi
test byte [0x429c74], bl
jne 0x4054ed
or dword [0x429c74], ebx
push 0x41b170
mov dword [0x429c6c], 0xf
mov dword [0x429c68], esi
mov byte [0x429c58], 0
call fcn.0040bd77
add esp, 4
cmp dword [0x429c68], esi
jne 0x40561e
push 0x7fe
lea ecx, [ebp - 0x802]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x804], ax
call fcn.004107d0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x804]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x405540
sub eax, edx
sar eax, 1
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x804], cx
add eax, ebx
lea edx, [ebp + eax*2 - 0x804]
xor eax, eax
mov word [edx], ax
mov eax, str.Update.txt
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x405571
push esi
push 0x80
push 3
push esi
push 7
push 0x80000000
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405604
lea edx, [ebp - 0x808]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x808], eax
cmp eax, esi
jbe 0x4055fb
push eax
call fcn.0040b16c
mov ecx, dword [ebp - 0x808]
add esp, 4
push 0
mov esi, eax
lea eax, [ebp - 0x808]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x808]
push edx
mov eax, esi
mov ecx, 0x429c58
call fcn.00402a90
push esi
call fcn.0040bb97
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40561e
mov edi, 0x1d
mov eax, str.http:__update.p2sp.baidu.com_
mov esi, 0x429c58
call fcn.00402f40
mov edi, dword [ebp - 0x808]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
push 0x429c58
or eax, 0xffffffff
xor ebx, ebx
mov ecx, edi
mov byte [edi], 0
call fcn.004033c0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x4056b0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40070
call fcn.00414b40
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 7
push 0x80000000
push eax
mov dword [ebp - 0x4006c], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4057a7
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ecx, ecx
mov dword [ebp - 0x40060], 0
mov dword [ebp - 0x40064], 0
mov dword [ebp - 0x4005c], 0x67452301
mov dword [ebp - 0x40058], 0xefcdab89
mov dword [ebp - 0x40054], 0x98badcfe
mov dword [ebp - 0x40050], 0x10325476
mov dword [ebp - 0x40068], ecx
test ecx, ecx
je 0x40575a
lea edx, [ebp - 0x4000c]
push edx
lea esi, [ebp - 0x40064]
call fcn.004034d0
add esp, 4
push 0
lea eax, [ebp - 0x40068]
push eax
push 0x40000
lea ecx, [ebp - 0x4000c]
push ecx
push ebx
call edi
mov ecx, dword [ebp - 0x40068]
test ecx, ecx
jne 0x405745
mov edi, dword [ebp - 0x4006c]
lea ecx, [ebp - 0x40064]
call fcn.00403600
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0040b177
mov esp, ebp
pop ebp
ret

Function at 0x4061a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebx + 0x30]
push esi
lea esi, [ebx + 0x30]
push edi
test eax, eax
je 0x4061be
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x406160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
push 0x41e88c
push 4
push 0
push 0x41e89c
call dword [sym.imp.ole32.dll_CoCreateInstance]
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi], 0
pop edi
pop esi
je 0x40620e
mov eax, ebx
call fcn.004060f0
mov esp, ebp
pop ebp
ret
Function at 0x406f20
Capabilities:
Check os version
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ab18
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x368], eax
mov esi, 7
xor ecx, ecx
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x36c], ebx
mov word [ebx], cx
mov dword [ebp - 4], eax
mov edi, 1
mov dword [ebp - 0x368], edi
cmp dword [ebx + 0x10], eax
jne 0x40714e
push 0x206
push eax
lea eax, [ebp - 0x216]
xor edx, edx
push eax
mov word [ebp - 0x218], dx
call fcn.004107d0
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 4], edi
cmp byte [0x429c54], cl
jne 0x407001
lea edx, [ebp - 0x364]
push edx
mov byte [0x429c54], 1
mov dword [ebp - 0x364], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x407001
cmp dword [ebp - 0x354], 2
jne 0x407001
cmp dword [ebp - 0x360], 6
jb 0x407001
mov byte [0x429c55], 1
jmp 0x40700e
cmp byte [0x429c55], 0
je 0x4070a1
push edi
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407030
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.00406ce0
lea ecx, [ebp - 0x250]
push ecx
mov eax, esi
call fcn.00406ec0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00406320
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], esi
jb 0x40708d
mov edx, dword [ebp - 0x250]
push edx
call fcn.0040b23d
add esp, 4
push 9
mov eax, 0x41ec28
lea ecx, [ebp - 0x234]
call fcn.00406390
jmp 0x4070e6
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4070c0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0x234]
call fcn.00406ce0
mov esi, 8
push 0x13
mov eax, str.BaiduBaiduPlayer_
lea ecx, [ebp - 0x234]
call fcn.00406390
push 0
lea ecx, [ebp - 0x234]
push ecx
or eax, 0xffffffff
mov ecx, ebx
call fcn.00406960
cmp dword [ebx + 0x14], esi
jb 0x407114
mov eax, dword [ebx]
jmp 0x407116
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x407137
cmp dword [ebx + 0x14], esi
jb 0x40712a
mov eax, dword [ebx]
jmp 0x40712c
mov eax, ebx
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x220], esi
jb 0x40714e
mov edx, dword [ebp - 0x234]
push edx
call fcn.0040b23d
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x407200
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41af36
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebx + 0x5874], 0
je 0x407240
mov eax, 0x810a0001
jmp 0x40740d
push 0x104
lea eax, [ebp - 0x218]
xor edi, edi
push eax
push edi
mov byte [ebx + 0x5874], 1
mov dword [ebx + 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push 0x5c
push ecx
call fcn.0040bc26
add esp, 8
cmp eax, edi
jne 0x40727e
mov eax, 0x810a0002
jmp 0x40740d
xor edx, edx
mov word [eax], dx
xor eax, eax
mov word [ebp - 0xa34], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4072a5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
lea esi, [ebp - 0xa34]
call fcn.00406ce0
mov ecx, esi
push ecx
mov eax, str._bugreport.exe
lea ecx, [ebp - 0xa50]
mov dword [ebp - 4], edi
call fcn.00406850
add esp, 4
lea esi, [ebx + 0x583c]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00406320
mov edi, 8
cmp dword [ebp - 0xa3c], edi
jb 0x40730c
mov edx, dword [ebp - 0xa50]
push edx
call fcn.0040b23d
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xa3c], esi
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], ax
cmp dword [ebp - 0xa20], edi
jb 0x407348
mov ecx, dword [ebp - 0xa34]
push ecx
call fcn.0040b23d
add esp, 4
xor edx, edx
mov dword [ebp - 0xa20], esi
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], dx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
lea eax, [ebx + 0x2ec]
push 0x1000
push eax
call fcn.0040be75
push 0xffffffffffffffff
push 0x41ef38
lea ecx, [ebx + 0x573c]
push 0x40
push ecx
call fcn.0040be75
push 0xffffffffffffffff
push 0x41ef38
lea edx, [ebx + 0x57bc]
push 0x40
push edx
call fcn.0040be75
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0xa18]
push str.bdbugreport__u
push eax
or edx, 0xffffffff
call fcn.00409210
lea eax, [ebp - 0xa18]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4073d0
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x5858]
lea eax, [ebp - 0xa18]
call fcn.00406ce0
push 0x407430
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebx], eax
cmp eax, 0x407430
jne 0x40740b
mov dword [ebx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x4076c0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x40778f
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x40772d
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x407779
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x407779
push ecx
push 0
push 0x1fffff
call edi
mov esi, eax
test esi, esi
je 0x4077a0
cmp dword [ebp + 8], 0
push esi
je 0x40776c
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x407772
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x407735
pop esi
mov eax, 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b177
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040b177
mov esp, ebp
pop ebp
ret 4

Function at 0x407bf0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.D09F05AD_A81C_4DC6_B251_8B8706DFFE0B
push 1
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x20]
push eax
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov esi, ecx
test esi, esi
jne 0x407c60
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x429c50], edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407c80
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
push edi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, eax
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x407cba
push 0
push str.TrayNotifyWnd
push 0
push esi
call ebx
mov esi, eax
push esi
call edi
test eax, eax
jne 0x407cbc
xor esi, esi
push esi
call edi
test eax, eax
je 0x407cd3
push 0
push str.TrayClockWClass
push 0
push esi
call ebx
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x407ce0
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x870
mov eax, dword [0x422084]
xor eax, esp
mov dword [esp + 0x86c], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x26c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x60]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x60]
push edx
push 0
push str.CalKillself
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0x4000000
push 3
push 0
push 1
push 0
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x268]
push ecx
mov esi, eax
push esi
push str._uninstallSelf
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x480]
push str._s__s__d___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.004107d0
add esp, 0x24
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x490]
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
call fcn.00409790
mov ecx, dword [esp + 0x874]
pop edi
pop esi
xor ecx, esp
call fcn.0040b177
mov esp, ebp
pop ebp
ret
Function at 0x407e10
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [0x422084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x210]
push edx
push 0
push str.CalKillself
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0x4000000
push 3
push 0
push 1
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 0x418]
push ecx
mov esi, eax
push esi
push str._killself
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x818]
push str._s__s__d___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea ecx, [ebp - 0x870]
push 0
push ecx
call fcn.004107d0
add esp, 0x24
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x870]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x818]
push ecx
push 0
mov dword [ebp - 0x870], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b177
mov esp, ebp
pop ebp
ret