joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4573a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x4aa452
call fcn.004a6844
sub esp, 0x280
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.00406140
push edi
push 2
mov dword [ebp - 4], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x20], esi
jne 0x4573fd
push 0xfffffffffffffffe
pop esi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 0x228
lea eax, [ebp - 0x288]
push edi
push eax
call fcn.00476790
add esp, 0xc
lea eax, [ebp - 0x28c]
push eax
push esi
mov dword [ebp - 0x28c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x457438
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffd
jmp 0x4573de
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045433a
mov byte [ebp - 4], 1
jmp 0x457452
xor edi, edi
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x24]
je 0x457545
cmp eax, edi
je 0x457545
cmp eax, 4
je 0x457545
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x457545
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 2
call fcn.00457bdf
test eax, eax
push ebx
je 0x4574c7
lea eax, [ebp - 0x2c]
push eax
lea edi, [ebp - 0x5c]
call fcn.004543a4
lea edi, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0040103a
mov eax, dword [ebp - 0x2c]
jmp 0x4574e3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045444a
lea edi, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0040103a
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00401018
mov esi, dword [ebp + 8]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x457532
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx - 0xc]
cmp ecx, eax
jl 0x457532
push eax
push esi
push edx
call fcn.0047da95
add esp, 0xc
test eax, eax
jne 0x457532
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x45752c
push dword [ebp - 0x284]
call fcn.004546cb
cmp eax, 1
pop ecx
jne 0x45752f
inc dword [ebp - 0x14]
inc dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00401018
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x457450
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x457571
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
lea esi, [ebp - 0x3c]
call fcn.0044ff35
lea esi, [ebp - 0x5c]
call fcn.00454260
mov esi, dword [ebp - 0x14]
jmp 0x4573df
Function at 0x4579e1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a89df
call fcn.004a6844
sub esp, 0x68
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18], ebx
call fcn.00476790
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4d906c]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x4d906c
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x4bd858
call fcn.00406b30
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
push ebx
and esi, 0xa
mov word [ebp - 0x44], si
mov esi, dword [ebp - 0x14]
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x457a76
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x457a89
push dword [ebp - 0x28]
call edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
je 0x457a96
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
lea eax, [esi - 0x10]
call fcn.00401018
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x457b02
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4a8f4a
call fcn.004a6844
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00406140
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457b4d
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x457b2e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x457b2e
lea ecx, [ebp - 0x10]
call fcn.00457ab0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x457b84
xor esi, esi
jmp 0x457b31
push eax
call fcn.00457b02
test eax, eax
pop ecx
je 0x457b80
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x457b2e
call edi
cmp eax, ebx
jne 0x457b80
jmp 0x457b2e
Function at 0x457c2b
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4c8268
call fcn.004a6864
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x457cd5
push eax
push eax
mov ebx, str._TEMP_
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call edi
mov esi, eax
cmp esi, 1
jb 0x457cd5
cmp esi, 0x103
ja 0x457cd5
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00476555
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x457cd1
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.00476790
add esp, 0xc
push esi
push dword [ebp - 0x24]
push ebx
call edi
test eax, eax
je 0x457cd1
mov ecx, 0x103
cmp eax, ecx
ja 0x457cd1
push eax
push dword [ebp - 0x24]
push ecx
push dword [ebp + 8]
call fcn.0047c781
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x457cd1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x457ce4
push dword [ebp - 0x1c]
call fcn.004768b7
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004a689f
ret

Function at 0x457ced
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4a7671
call fcn.004a6844
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.004011e5
mov ebx, dword [ebp + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x457d2f
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x457d36
call esi
cmp eax, 5
je 0x457d39
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.00401018
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x457d52
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4ab265
call fcn.004a6844
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x457d72
xor eax, eax
jmp 0x457eb3
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x4bd858
call fcn.00406b30
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040a248
test eax, eax
jne 0x457e97
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.00476790
and dword [ebp - 0x34], 0
xor eax, eax
add esp, 0xc
neg ebx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
sbb ebx, ebx
and ebx, 5
stosd dword es:[edi], eax
mov word [ebp - 0x4c], bx
xor ebx, ebx
push str.userenv.dll
stosd dword es:[edi], eax
mov dword [ebp - 0x74], str.Winsta0Default
mov dword [ebp - 0x24], 0x30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x457e41
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov dword [ebp - 0x18], eax
je 0x457e41
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x457e3e
mov dword [ebp - 0x24], 0x430
jmp 0x457e41
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x34], ebx
mov edi, eax
je 0x457e70
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x457e7e
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x457e89
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x457e97
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x457ea6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00401018
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x457ec2
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4a8e4f
call fcn.004a6844
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x457ee3
xor eax, eax
jmp 0x458096
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x4bd858
call fcn.00406b30
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00476790
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x457f48
cmp dword [ebp - 0x18c], 6
jne 0x457f48
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x457f5c
call fcn.0040a248
jmp 0x457f61
call fcn.0040a1f8
cmp eax, ebx
jne 0x45807a
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00476790
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.0040a2b3
add esp, 0x10
test al, al
jne 0x457fc6
cmp dword [ebp - 0x10], ebx
je 0x457fbc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a42d
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], str.Winsta0Default
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x458025
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x458025
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x458022
mov dword [ebp - 0x14], 0x430
jmp 0x458025
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x458055
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x458063
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x45806c
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x45807a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x458088
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45840d
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.00476555
mov edi, eax
test edi, edi
pop ecx
je 0x45845a
push dword [ebp - 4]
push 0
push edi
call fcn.00476790
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x458460
push edi
call fcn.004768b7
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x458423
test esi, esi
jne 0x4584a7
test edi, edi
mov esi, edi
je 0x4584b2
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.0047c31c
add esp, 0xc
test eax, eax
jne 0x45848c
mov esi, dword [esi]
test esi, esi
jne 0x45846a
jmp 0x4584a7
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.0047ac10
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x4584b2
push edi
call fcn.004768b7
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45895b
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
je 0x4589c5
push ebx
push 0x14
push str.cleanersvc
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x4589c1
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4589be
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov dword [ebp - 4], 1
push ebx
call esi
push edi
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x458d63
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x458d74
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x458d86
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.00457ec2
add esp, 0xc
test eax, eax
je 0x458da1
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00457d52
test eax, eax
pop ecx
pop ecx
jne 0x458d9d
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.004579e1
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffec7
pop ecx
add eax, 0x139
pop ecx
ret
Function at 0x458dd9
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 4], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x458e4f
lea eax, [ebp - 0x10]
push eax
push 0x4bd988
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x458e4f
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x458e4f
push 0x40000
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
jne 0x458e4f
inc ebx
cmp dword [ebp - 4], edi
je 0x458e5d
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x458f2f
Capabilities:
Create thread
Terminate thread

Disassembly:
push esi
push edi
mov esi, eax
push 0xffffffffffffffff
call fcn.00456f5d
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x458f54
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x456f80
push edi
push edi
mov dword [esi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi], eax
pop edi
pop esi
mov eax, ecx
ret 4

Function at 0x45975b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a7ce8
call fcn.004a6844
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + 4]
push eax
mov dword [ebx], vtable.CSinglerReport.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
mov dword [ebp - 4], esi
or dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
lea edi, [ebx + 0x34]
call fcn.00455f25
lea eax, [ebx + 0x94]
mov byte [ebp - 4], 2
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea esi, [ebx + 0xbc]
mov ecx, 0x4d906c
call fcn.0040134f
and dword [ebx + 0x1c], 0
and dword [ebx + 0x20], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x45aa04
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [eax + 8]
push esi
xor esi, esi
inc esi
cmp ecx, esi
jne 0x45aa61
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x45aa20
push edi
call fcn.0045abb0
mov eax, esi
pop esi
ret
cmp eax, 0x64
jne 0x45aa3d
push esi
xor eax, eax
push eax
push eax
push str.https:__www.imeitools.com_cleaner_master_privacy_about.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45aa1c
cmp eax, 0x65
jne 0x45aa53
call fcn.0045a014
push 2
pop ecx
mov eax, edi
call fcn.0042f58d
jmp 0x45aa1c
cmp eax, 0x66
jne 0x45aa61
call fcn.0045a014
push 3
jmp 0x45aa49
and dword [edi + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x45bb56
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4ab61f
call fcn.004a6844
sub esp, 0x21c
mov eax, dword [0x4d906c]
push ebx
push esi
push edi
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.00476790
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040107b
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040107b
push 0x2e
lea esi, [ebp - 0x10]
call fcn.00406b7b
cmp eax, 0xffffffff
je 0x45bc0b
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00401143
mov edi, esi
mov byte [ebp - 4], 1
call fcn.0040103a
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [0x4d906c]
mov ecx, 0x4d906c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.0045b856
test eax, eax
jne 0x45bc68
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x45bca3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401018
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401018
mov eax, ebx
jmp 0x45bc57
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x45bd0b
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00408596
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x45bd01
cmp dword [ebp - 0x14], edi
jne 0x45bd01
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x45bce9
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.00409a5d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x45bc89
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.004085bc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x45bc89
Function at 0x45e194
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a82b5
call fcn.004a6844
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x74], edi
call fcn.00469c13
lea ecx, [esi + 0x7c]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x461ad4
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x461bd0
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x461afc
mov ecx, esi
call fcn.00464551
mov eax, edi
jmp 0x461bd9
cmp eax, 2
jne 0x461b0e
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x461af5
cmp eax, 0x65
jne 0x461b1c
mov eax, esi
call fcn.00464b64
jmp 0x461af5
cmp eax, 0x6c
jne 0x461b28
call fcn.00464c14
jmp 0x461af5
cmp eax, 0x66
jne 0x461b40
xor eax, eax
cmp dword [esi + 0x510], eax
sete al
push eax
call fcn.00465626
jmp 0x461af5
cmp eax, 0x191
jne 0x461b4f
push edi
call fcn.00464f4e
jmp 0x461af5
cmp eax, 0x96
jne 0x461b75
push dword [esi + 0x53c]
push dword [esi + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.004644b8
jmp 0x461af5
cmp eax, 0x1f5
jne 0x461b8a
xor ecx, ecx
mov eax, esi
call fcn.0042f58d
jmp 0x461af5
cmp eax, 0x3e9
jne 0x461bac
push edi
xor eax, eax
push eax
push eax
push str.https:__www.imeitools.com_cleaner_master_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x461af5
cmp eax, 0x3ea
jne 0x461bbf
push edi
xor eax, eax
push eax
push eax
push str.https:__www.imeitools.com_cleaner_master_privacy_about.html
jmp 0x461b9b
cmp eax, 0x68
jne 0x461bd0
mov ebx, esi
call fcn.00465375
jmp 0x461af5
and dword [esi + 0x54c], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret