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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
call fcn.100d6220
mov dword [ebx], vtable.CExtIeSettingScan.0
lea esi, [ebx + 0xc0]
lea eax, [ebp - 4]
mov dword [esi], 0
push str._SystemRoot_
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10009b10
mov edi, dword [esi + 4]
add esp, 8
cmp edi, dword [esi + 8]
je 0x10118ec2
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004ba0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x10118ecb
push eax
push edi
mov ecx, esi
call fcn.100206c0
mov edx, dword [ebp - 4]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10118ee8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 8]
push str._ProgramFiles_
push eax
call fcn.10009b10
mov ecx, eax
add esp, 8
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
cmp eax, dword [esi + 8]
je 0x10118f22
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10004ba0
mov ecx, dword [ebp - 4]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x10118f2b
push ecx
push eax
mov ecx, esi
call fcn.100206c0
mov edx, dword [ebp - 8]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10118f45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 4]
push str._ProgramFiles_x86__
push eax
call fcn.10009b10
mov ecx, eax
add esp, 8
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
cmp eax, dword [esi + 8]
je 0x10118f7f
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.10004ba0
mov ecx, dword [ebp - 8]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x10118f88
push ecx
push eax
mov ecx, esi
call fcn.100206c0
mov edx, dword [ebp - 4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10118fa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebx + 0xcc]
push eax
push 1
push 0
push 0
push 0
call esi
lea eax, [ebx + 0x2d4]
push eax
push 1
push 0
push 6
push 0
call esi
lea eax, [ebx + 0x4dc]
push eax
push 1
push 0
push 0x20
push 0
call esi
lea edi, [ebx + 0x6e4]
call fcn.100e9430
test eax, eax
mov ecx, 0x10
mov eax, ebx
mov esi, str._USERPROFILE_AppDataLocalTemp
jne 0x10118ff9
mov esi, str._USERPROFILE_Local_SettingTemp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
mov dword [ebx + 0xbc], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10119310
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x10219d7c
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.1001fb50
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1011938c
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.1001fb50
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x1011ce20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], vtable.CExtLuaExtPlugin.0
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1011ce71
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1011ce5b
mov ecx, edi
call fcn.10162070
push 0x38
push edi
call fcn.102134ff
add esp, 8
mov eax, dword [esi + 0xc0]
inc ebx
mov ecx, dword [esi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1011ce42
mov dword [esi + 0xc0], ecx
xor edi, edi
mov ecx, dword [esi + 0xc8]
mov edx, ecx
mov eax, dword [esi + 0xcc]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1011ceb5
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1011ce9d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc8]
inc edi
mov eax, dword [esi + 0xcc]
mov edx, ecx
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1011ce90
mov dword [esi + 0xcc], ecx
test ecx, ecx
je 0x1011cf10
mov ecx, dword [esi + 0xd0]
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1011cee8
mov edi, dword [edx - 4]
add ecx, 0x23
sub edx, edi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1011cf71
mov edx, edi
push ecx
push edx
call fcn.102134ff
mov dword [esi + 0xc8], 0
add esp, 8
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x1011cf67
mov ecx, dword [esi + 0xc4]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1011cf3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011cf71
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0xbc], 0
add esp, 8
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.100d6690
call fcn.10200ab0
int3
Function at 0x1011ce21
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], vtable.CExtLuaExtPlugin.0
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xbc]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1011ce71
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1011ce5b
mov ecx, edi
call fcn.10162070
push 0x38
push edi
call fcn.102134ff
add esp, 8
mov eax, dword [esi + 0xc0]
inc ebx
mov ecx, dword [esi + 0xbc]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1011ce42
mov dword [esi + 0xc0], ecx
xor edi, edi
mov ecx, dword [esi + 0xc8]
mov edx, ecx
mov eax, dword [esi + 0xcc]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1011ceb5
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1011ce9d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esi + 0xc8]
inc edi
mov eax, dword [esi + 0xcc]
mov edx, ecx
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x1011ce90
mov dword [esi + 0xcc], ecx
test ecx, ecx
je 0x1011cf10
mov ecx, dword [esi + 0xd0]
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1011cee8
mov edi, dword [edx - 4]
add ecx, 0x23
sub edx, edi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1011cf71
mov edx, edi
push ecx
push edx
call fcn.102134ff
mov dword [esi + 0xc8], 0
add esp, 8
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x1011cf67
mov ecx, dword [esi + 0xc4]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1011cf3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011cf71
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0xbc], 0
add esp, 8
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.100d6690
call fcn.10200ab0
int3
Function at 0x101204a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10120515
push dword [0x1024e34c]
push str.print_
push dword [esi]
call fcn.10213547
add esp, 0xc
test eax, eax
jne 0x10120515
cmp word [0x10259388], ax
jne 0x101204f2
push 0x104
push 0x10259388
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.spooldrivers
push 0x10259388
push 0x10259388
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x104
push 0x10259388
push dword [esi + 0x18]
call fcn.10213547
add esp, 0xc
test eax, eax
jne 0x10120515
mov eax, 1
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x101227f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], vtable.CExtSsrPlugin.0
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10122834
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x1012281e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0xd4]
inc edi
mov ecx, dword [esi + 0xd0]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10122811
mov dword [esi + 0xd4], ecx
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x10122854
mov dword [esi + 0xbc], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x1012286f
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x101228c6
mov ecx, dword [esi + 0xd8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1012289e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101228ea
mov eax, edx
push ecx
push eax
call fcn.102134ff
mov dword [esi + 0xd0], 0
add esp, 8
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
lea ecx, [esi + 0xc8]
call fcn.10033530
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x101228e1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
pop edi
mov ecx, esi
pop esi
jmp fcn.100d6690
call fcn.10200ab0
int3
Function at 0x101317b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x101317e2
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.101316c0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10256b30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1013195e
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push str...deepscan_
push eax
call esi
push str.sysfilereps.dll
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call fcn.1001d810
add esp, 4
test eax, eax
jne 0x10131868
pop esi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
test eax, eax
je 0x1013195e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.create_sysfilerep_object
push eax
call esi
push str.close_sysfilerep_object
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push str.cancel_sysfilerep_req
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push str.set_sysfilerep_timeout
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
push str.replace_sys_file_w
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push str.replace_set_product_w
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push str.replace_set_http_mode
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push str.set_option
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push str.replace_file_w
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
push str.WinsxsFix
push dword [edi + 4]
mov dword [edi + 0x34], eax
call esi
cmp dword [edi + 0x14], 0
mov dword [edi + 0x38], eax
je 0x10131957
cmp dword [edi + 0x18], 0
je 0x10131957
cmp dword [edi + 0x1c], 0
je 0x10131957
cmp dword [edi + 0x20], 0
je 0x10131957
cmp dword [edi + 0x24], 0
je 0x10131957
push dword [ebp + 8]
mov ecx, edi
push 0x7530
push 0
call fcn.10131730
test eax, eax
je 0x10131957
pop esi
mov dword [edi + 0xc], 1
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
mov ecx, edi
call fcn.101316c0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop edi
call fcn.10212f74
mov esp, ebp
pop ebp
ret 4
Function at 0x10131be0
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 0x10131c14
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 0x10131c31
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10131c44
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileSize]
call ebx
cmp edi, eax
jb 0x10131c46
lea eax, [ebp - 4]
push eax
push esi
call ebx
mov edi, eax
cmp dword [ebp - 4], 0
je 0x10131c5c
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 0x10131c6f
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [edi + 1]
push 0x1025abd4
push eax
call fcn.101e2340
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10131cc6
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 0x10131cbd
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov byte [eax + ebx], 0
push dword [ebp - 8]
push ebx
call fcn.10006ca0
add esp, 0xc
mov dword [ebp - 0xc], 1
push ebx
call fcn.10213517
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 0x101351b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x1013527b
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x10135270
push edi
lea edi, [esi + 0x18]
jmp 0x101351f0
cmp dword [edi + 0x18], 0x70000
jne 0x10135223
cmp dword [edi - 4], 8
mov eax, esi
jb 0x10135203
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [edi + 0x14], 8
mov ebx, edi
mov dword [ebp - 4], eax
jb 0x10135217
mov ebx, dword [edi]
cmp dword [edi - 4], 8
mov edx, esi
jb 0x1013523d
mov edx, dword [esi]
jmp 0x1013523d
cmp dword [edi + 0x14], 8
mov ebx, edi
jb 0x1013522d
mov ebx, dword [edi]
cmp dword [edi - 4], 8
mov edx, esi
jb 0x10135237
mov edx, dword [esi]
mov eax, dword [edi + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x24]
push eax
mov eax, dword [edi + 0x1c]
push ecx
push dword [ebp - 4]
push eax
push dword [edi + 0x18]
push ebx
push edx
push str._s__s__u__u__u__u__u_
push dword [ebp + 8]
call fcn.10134230
mov eax, dword [ebp - 8]
add esi, 0x44
add esp, 0x24
add edi, 0x44
cmp esi, dword [eax + 4]
jne 0x101351f0
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100030c0
int3
Function at 0x1013b660
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
push edi
lea edi, [ebx + 4]
mov dword [ebp - 0x418], ebx
mov ecx, edi
push dword [esi + 4]
push edi
call fcn.1013ac60
push 0x208
lea eax, [ebp - 0x20c]
mov dword [esi + 4], esi
push 0
mov dword [esi], esi
mov dword [esi + 8], esi
push eax
mov dword [edi + 4], 0
call fcn.102134e7
push str.ipchipslog.dll
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x10256b30]
call fcn.100e53d0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
add esp, 0x1c
push eax
call esi
test eax, eax
je 0x1013b848
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
push str.ipcgalaxy2.dat
push 0x104
lea eax, [ebp - 0x414]
push eax
push dword [0x10256b30]
call fcn.100e53d0
add esp, 0x1c
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x1013b848
lea eax, [ebp - 0x20c]
push eax
call fcn.1001d810
add esp, 4
test eax, eax
je 0x1013b82c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x1013b82c
push str.CreateHipsLogReader
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1013b820
call eax
mov edi, eax
test edi, edi
je 0x1013b820
push 0x1858
call fcn.10213511
mov esi, eax
add esp, 4
test esi, esi
je 0x1013b81a
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x1850], eax
push 0x1840
push eax
mov dword [esi + 0x1854], eax
lea eax, [esi + 0x10]
push eax
call fcn.102134e7
mov eax, dword [edi]
lea ecx, [ebp - 0x414]
add esp, 0xc
push esi
push ecx
push edi
call dword [eax + 8]
test eax, eax
je 0x1013b80c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x41c], eax
mov edi, edi
call ebx
sub eax, dword [ebp - 0x41c]
cmp eax, 0x2710
ja 0x1013b806
mov ecx, dword [ebp - 0x418]
push esi
call fcn.1013b0e0
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x1013b7e0
mov ebx, dword [ebp - 0x418]
push 0x1858
push esi
call fcn.102134ff
add esp, 8
mov eax, dword [edi]
push edi
call dword [eax + 4]
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret
Function at 0x1013d8c0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], 0x104
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.10003980
mov ecx, eax
test ecx, ecx
je 0x1013d96f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov ecx, esi
mov dword [esi], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10004a70
test al, al
jne 0x1013d95e
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x1013d940
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1013d940
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10004050
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3
Function at 0x1014ad50
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x410
push 0
lea ebx, [edi + 0x14]
mov dword [edi], vtable.CDomainSafeImpl.0
push ebx
call fcn.102134e7
mov dword [edi + 0x424], 0
push 0xa4
mov dword [edi + 0x428], 0
mov dword [edi + 0x42c], 0
call fcn.10213511
mov esi, 0x1022fc98
add esp, 0x10
mov edx, 0x10
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x428], eax
lea eax, [edi + 4]
sub esi, eax
lea esp, [esp]
lea ecx, [edx + 0x7fffffee]
test ecx, ecx
je 0x1014ade0
mov cl, byte [esi + eax]
test cl, cl
je 0x1014addb
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x1014adc0
jmp 0x1014addf
test edx, edx
jne 0x1014ade0
dec eax
push 0
push 0x1a
push ebx
push 0
mov byte [eax], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360Safe_antiadwaplugin.dat
push ebx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x1014f570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.101cb340
mov esi, eax
add esp, 4
mov ecx, dword [esi]
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x1014f5a9
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1014f5bf
call fcn.10003980
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1014f704
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x418], eax
mov eax, dword [esi]
push 0xc
push str.antiadwa.dll
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.100258c0
mov esi, dword [ebp - 0x418]
push esi
call fcn.1001d810
add esp, 0x18
push esi
test eax, eax
jne 0x1014f616
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1014f61c
push 1
push 0x1024d040
push esi
call fcn.10035520
add esp, 0xc
jmp 0x1014f61c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1014f636
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x41c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1014f651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.360base.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.102134e7
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
test esi, esi
jne 0x1014f6b7
push dword [0x10256b30]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360base.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x1014f6be
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.10150040
add esp, 4
lea eax, [ebp - 0x20c]
push str...360util.dll
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call fcn.10156990
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop esi
call fcn.10212f74
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100030c0
int3
Function at 0x1014ff80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x1015002a
mov eax, dword [ecx]
push dword [edx + 8]
call dword [eax + 0x10]
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], 1
push 0
push eax
call fcn.102134e7
push str.4000
push str.SOFTWARE360SafeLogCenter
push 0x1021b408
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10008ee0
add esp, 0x20
lea eax, [ebp - 0x214]
push 4
push eax
push 4
push str.UpdateState
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0xc
push str.xiufu
push 1
push str.UpdateSrc
lea eax, [ebp - 0x210]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret