joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010efe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x1010f055
push dword [0x10245458]
push str.print_
push dword [esi]
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x1010f055
cmp word [0x1025a3c8], ax
jne 0x1010f032
push 0x104
push 0x1025a3c8
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.spooldrivers
push 0x1025a3c8
push 0x1025a3c8
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x104
push 0x1025a3c8
push dword [esi + 0x18]
call sub.msvcrt.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x1010f055
mov eax, 1
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x101103b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.10110030
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov edi, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
add esp, 0x10
push str.config.exe
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x10110489
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1011042d
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xe
call fcn.10003680
add esp, 4
test eax, eax
je 0x10110446
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x10110453
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x10110460
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xffffffff
je 0x10110489
test bl, 0x10
jne 0x10110489
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x218]
push eax
call fcn.100dab60
add esp, 0xc
mov esi, eax
jmp 0x1011048b
xor esi, esi
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x101104a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
Function at 0x10110f10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], ecx
push edi
push eax
call fcn.10110030
mov eax, dword [ebp - 0x214]
add esp, 4
cmp dword [eax - 0xc], 0
je 0x101110f3
push str.SohuNews.exe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, eax
test edi, edi
je 0x101110ed
call fcn.10003180
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10110f80
push esi
call ebx
push 0x1d
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x10110f93
call eax
jmp 0x10110f99
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x10110faa
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x210], 0
jne 0x101110ed
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10110fc9
push esi
call ebx
push 0xe
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x10110fdc
call eax
jmp 0x10110fe2
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x10110fef
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xffffffff
je 0x1011100a
test bl, 0x10
jne 0x1011100a
push edi
call fcn.100de510
add esp, 4
or eax, edx
je 0x101110ed
cmp dword [ebp + 8], 0
je 0x101110b4
push 1
push edi
call fcn.100d9c10
add esp, 8
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10111035
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.10003680
add esp, 4
push 0
push 1
push 2
push 0
push 0
push 0x40000000
push edi
test eax, eax
je 0x10111057
call eax
jmp 0x1011105d
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, eax
test esi, esi
je 0x1011106c
push esi
call ebx
cmp edi, 0xffffffff
je 0x101110e0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10111087
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x1011109a
call eax
jmp 0x101110a0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x101110e0
push esi
call ebx
mov eax, dword [ebp - 0x214]
mov esi, 1
jmp 0x101110f5
push edi
lea ecx, [ebp - 0x210]
call fcn.10002490
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push eax
add ecx, 0xc
call fcn.1002b780
lea ecx, [ebp - 0x210]
call fcn.10007e10
mov eax, dword [ebp - 0x214]
mov esi, 1
jmp 0x101110f5
mov eax, dword [ebp - 0x214]
xor esi, esi
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1011110d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4
Function at 0x10121820
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10121854
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push esi
test edi, edi
jne 0x10121871
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10121884
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
call ebx
cmp edi, eax
jb 0x10121886
lea eax, [ebp - 4]
push eax
push esi
call ebx
mov edi, eax
cmp dword [ebp - 4], 0
je 0x1012189c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x101218af
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [edi + 1]
push 0x1025c02a
push eax
call fcn.101c85a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10121906
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101218fd
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov byte [eax + ebx], 0
push dword [ebp - 8]
push ebx
call fcn.10005680
add esp, 0xc
mov dword [ebp - 0xc], 1
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10123bd0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10123beb
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x39
call fcn.10003680
add esp, 4
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x10123c03
call eax
jmp 0x10123c09
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test esi, esi
je 0x10123c16
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x10123c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10123c3b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x43
call fcn.10003680
add esp, 4
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x10123c5f
call eax
jmp 0x10123c65
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test esi, esi
je 0x10123c72
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0x18

Function at 0x10123c80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10123c9b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x28
call fcn.10003680
add esp, 4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x10123cb6
call eax
jmp 0x10123cbc
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test esi, esi
je 0x10123cc9
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10124d70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10247120], 0
je 0x10124e78
push 0x208
lea eax, [ebp - 0x20c]
mov dword [0x10247120], 0
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10257d10]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10124ddf
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
push ebx
push esi
push str...SoftMgrSpeedupQuarant.dll
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10124e0a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xe
call fcn.10003680
add esp, 4
test eax, eax
je 0x10124e23
lea ecx, [ebp - 0x20c]
push ecx
call eax
jmp 0x10124e30
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test esi, esi
je 0x10124e3d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0xffffffff
je 0x10124e61
test bl, 0x10
jne 0x10124e61
mov eax, 1
pop esi
mov dword [0x10247124], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov dword [0x10247124], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [0x10247124]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
Function at 0x1012828d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x20]
add edx, edi
mov ebx, dword [eax + 0x18]
add ecx, edi
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x24]
add edx, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
test ebx, ebx
je 0x101282f3
mov edx, dword [ecx + esi*4]
xor eax, eax
mov cl, byte [edx + edi]
add edx, edi
test cl, cl
je 0x101282e6
movzx ecx, cl
lea edx, [edx + 1]
or ecx, 0x60
add eax, ecx
mov cl, byte [edx]
add eax, eax
test cl, cl
jne 0x101282d3
cmp eax, dword [ebp - 4]
je 0x101282fc
mov ecx, dword [ebp - 8]
inc esi
cmp esi, ebx
jb 0x101282c5
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101296a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x214], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x101296e8
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x2f
call fcn.10003680
add esp, 4
test eax, eax
je 0x10129703
lea ecx, [ebp - 0x210]
push ecx
push edi
push ebx
call eax
jmp 0x10129712
lea eax, [ebp - 0x210]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
test esi, esi
je 0x1012971f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x10129808
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea esp, [esp]
mov ebx, dword [ebp - 0x210]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1012975c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x3b
call fcn.10003680
add esp, 4
push 0x104
test eax, eax
je 0x1012977c
lea ecx, [ebp - 0x20c]
push ecx
push edi
push ebx
call eax
jmp 0x1012978b
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test esi, esi
je 0x10129798
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x101297c8
mov ecx, dword [ebp - 0x218]
lea edx, [ebp - 0x20c]
push dword [ebp + 0x10]
push edx
mov eax, dword [ecx]
push dword [ebp - 0x21c]
call dword [eax + 8]
test eax, eax
je 0x101297be
inc edi
jmp 0x10129740
mov dword [ebp - 0x214], 1
mov edi, dword [ebp - 0x210]
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x101297e4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x44
call fcn.10003680
add esp, 4
push edi
test eax, eax
je 0x101297f7
call eax
jmp 0x101297fd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10129808
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x214], eax
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1012a050
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x1012a071
push 0
push 0
push esi
push 0x1012aa40
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [esi + 0x24], eax
pop esi
ret
Function at 0x1012da90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], 0x104
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
mov ecx, esi
mov dword [esi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.10023e80
test al, al
jne 0x1012db25
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1012db07
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003740
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
Function at 0x1013b3d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x42c]
lea eax, [eax + eax*8]
shl eax, 4
mov dword [ebp - 4], eax
add eax, 0x10
push eax
mov dword [ebp - 0xc], eax
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push dword [ebp - 0xc]
push eax
call fcn.1013a9c0
mov ebx, dword [ebp - 0x14]
mov ecx, esi
push ebx
call fcn.1013adb0
test eax, eax
je 0x1013b503
lea edi, [esi + 0x14]
push 1
push edi
call fcn.100d9c10
add esp, 8
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1013b44d
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.10003680
add esp, 4
push 0
push 0
push 2
push 0
push 3
push 0x40000000
push edi
test eax, eax
je 0x1013b46f
call eax
jmp 0x1013b475
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test esi, esi
je 0x1013b482
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xffffffff
je 0x1013b503
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push edx
push ebx
push 0x10
lea eax, [ecx + 4]
push eax
push edx
push ebx
call fcn.1013ad00
mov ebx, eax
test ebx, ebx
je 0x1013b4fd
cmp ebx, dword [ebp - 0xc]
ja 0x1013b4fd
mov dword [ebp - 4], 0
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1013b4c4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xa
call fcn.10003680
add esp, 4
push 0
test eax, eax
je 0x1013b4e2
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push ecx
push edi
call eax
jmp 0x1013b4f2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 4]
push eax
push ebx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x1013b4fd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.1006c110
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1013b52b
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1013b52b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1013b52b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10144d70
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1024e5c8], 0
je 0x10144f64
cmp dword [0x10248de0], 0
je 0x10144f32
push 0x1025a78c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10248de0], 0
je 0x10144f27
call fcn.10145560
test eax, eax
je 0x10144f45
call fcn.101456f0
test eax, eax
je 0x10144f45
mov eax, dword [0x1024e5d8]
test eax, eax
je 0x10144de4
push 0x1025b438
push 0x102197ec
call eax
cmp dword [0x1025b438], 0
je 0x10144f1d
push esi
push 0x810
lea eax, [ebp - 0x814]
push 0
push eax
call sub.msvcrt.dll_memset
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x818], 0x814
mov esi, str.360safe
mov eax, ecx
add esp, 0xc
mov edx, 0x100
sub esi, eax
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10144e46
movzx eax, word [esi + ecx]
test ax, ax
je 0x10144e46
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10144e26
jmp 0x10144e4a
test edx, edx
jne 0x10144e4d
sub ecx, 2
xor eax, eax
mov esi, str.antiadwa
mov word [ecx], ax
mov edx, 0x100
lea ecx, [ebp - 0x614]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x10144e86
movzx eax, word [esi + ecx]
test ax, ax
je 0x10144e86
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10144e66
jmp 0x10144e8a
test edx, edx
jne 0x10144e8d
sub ecx, 2
xor eax, eax
mov word [ecx], ax
call fcn.10132850
mov ecx, eax
call fcn.10132880
test eax, eax
lea eax, [ebp - 0x414]
push 0
je 0x10144eae
push 0x23
jmp 0x10144eb0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10144f1c
push str.360safe
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x414]
push 0
push eax
call esi
push str.LogInfo
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x414]
push eax
call esi
mov eax, dword [0x1025b438]
lea edx, [ebp - 0x818]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor ecx, ecx
test eax, eax
setns cl
mov dword [0x1025a8d4], ecx
pop esi
mov dword [0x10248de0], 0
push 0x1025a78c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1025a8d4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
push 0x1025a78c
mov dword [0x1025a8d4], 0
mov dword [0x10248de0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
Function at 0x10145320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x410
lea eax, [ebp - 0x414]
mov edi, ecx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x40e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1014544f
mov eax, dword [ebp - 0x418]
and eax, 0xfffffffe
cmp eax, 0x410
jae 0x10145559
xor ecx, ecx
lea esi, [edi + 4]
mov word [ebp + eax - 0x414], cx
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101453c0
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003740
push str.doctor.dll
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.10007f40
add esp, 0xc
mov ecx, esi
push eax
call fcn.10002790
mov edx, dword [ebp - 0x41c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10145419
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x1014542d
push dword [eax - 0xc]
mov ecx, esi
call fcn.10002c20
mov eax, dword [esi]
push eax
call fcn.1000aa00
add esp, 4
test eax, eax
je 0x10145452
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
lea esi, [edi + 4]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x40e
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push str.Path
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_5.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10145547
mov eax, dword [ebp - 0x418]
and eax, 0xfffffffe
cmp eax, 0x410
jae 0x10145559
xor ecx, ecx
mov word [ebp + eax - 0x414], cx
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x101454b5
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003740
push str.doctor.dll
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.10007f40
add esp, 0xc
mov ecx, esi
push eax
call fcn.10002790
mov edx, dword [ebp - 0x41c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014550e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
cmp dword [eax - 4], 1
jle 0x10145525
push dword [eax - 0xc]
lea ecx, [edi + 4]
call fcn.10002c20
mov eax, dword [edi + 4]
push eax
call fcn.1000aa00
add esp, 4
test eax, eax
je 0x10145547
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.101c8260
int3