joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023970
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x2001f
push 0
push str.SOFTWARE360Safe_safemon
push connect
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100239c5
mov edx, dword [esp]
push 4
lea ecx, [esp + 8]
push ecx
push 4
push eax
push str.DisableAutorun
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret

Function at 0x100239d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
test eax, eax
jne 0x10023a06
xor eax, eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.10079a05
add esp, 0x20c
ret
push str.360leakfixer.exe
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x100239ef
lea ecx, [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x208]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.10079a05
add esp, 0x20c
ret
Function at 0x10023b60
Capabilities:
Find taskbar
Get common file path

Disassembly:
sub esp, 0x218
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
xor esi, esi
push 0x208
lea eax, [esp + 0x14]
push esi
push eax
mov dword [esp + 0x14], esi
call fcn.1007dcf0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10023c9d
push str.Wtsapi32.dll
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x10023c9d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x10023c9d
push str.WTSQueryUserToken
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], eax
cmp eax, esi
je 0x10023c9d
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SleepEx]
call ebp
cmp eax, 0xffffffff
je 0x10023c17
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [esp + 0x18]
test eax, eax
jne 0x10023c75
push 0
push str.Shell_TrayWnd
call ebx
test eax, eax
jne 0x10023c34
push eax
push 0x2710
inc esi
call edi
cmp esi, 0x1e
jb 0x10023c02
jmp 0x10023c75
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x10]
push eax
push 0
push connect
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10023c75
lea ecx, [esp + 0x14]
push ecx
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10079a05
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x218
ret
Function at 0x100241e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x47c
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x474], eax
push esi
push edi
push 0x40
lea eax, [esp + 0x20]
push 0
push eax
mov esi, ecx
mov edi, edx
call fcn.1007dcf0
xor ecx, ecx
push 0x410
push ecx
lea edx, [esp + 0x76]
push edx
mov word [esp + 0x78], cx
call fcn.1007dcf0
xor eax, eax
push edi
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x80]
push str.__s___s
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x28
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x100242a7
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100242a5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x47c]
pop edi
pop esi
xor ecx, esp
call fcn.10079a05
add esp, 0x47c
ret
Function at 0x10024710
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
mov eax, 0x17e0
call fcn.1007e4b0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x17dc], eax
push 0x20a
lea eax, [esp + 0x42c]
push 0
push eax
call fcn.1007dcf0
add esp, 0xc
push 0
push 0x1a
lea ecx, [esp + 0x430]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x1002476c
mov ecx, dword [esp + 0x17dc]
xor ecx, esp
call fcn.10079a05
add esp, 0x17e0
ret
push esi
push edi
push 0x20a
lea edx, [esp + 0x228]
push 0
push edx
call fcn.1007dcf0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push str.360Safe
lea eax, [esp + 0x434]
push eax
lea ecx, [esp + 0x22c]
push ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0x224]
push edx
call edi
test eax, eax
jne 0x100247ce
lea eax, [esp + 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
jne 0x10024890
push 0x20a
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.1007dcf0
add esp, 0xc
push str.360Safe_save_record.ini
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
call edi
cmp eax, 1
jne 0x10024811
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10024890
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10024890
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x208
lea ecx, [esp + 0x640]
push 0
push ecx
call fcn.1007dcf0
mov eax, dword [esp + 0x17f8]
push 0xa
push 0x104
lea edx, [esp + 0x650]
push edx
push eax
call fcn.1007a74b
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x640]
push edx
push 0x100a01cc
push 0x100a01d4
call esi
test eax, eax
jne 0x100248a9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x17dc]
xor ecx, esp
call fcn.10079a05
add esp, 0x17e0
ret
push 0xfa0
lea eax, [esp + 0x848]
push 0
push eax
call fcn.1007dcf0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x14]
movzx eax, word [esp + 0x12]
movzx ecx, word [esp + 0x10]
push edx
movzx edx, word [esp + 0x12]
push eax
movzx eax, word [esp + 0x12]
push ecx
movzx ecx, word [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x85c]
push str.y:_u_m:_u_d:_u_h:_u_m:_u_s:_u
push edx
mov ecx, 0x7d0
call fcn.10018220
add esp, 0x20
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x848]
push ecx
push str.time
push str.DATE
call esi
mov ecx, dword [esp + 0x17e4]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, esp
neg eax
call fcn.10079a05
add esp, 0x17e0
ret
Function at 0x10024d20
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x10093c03
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push eax
xor ebx, ebx
push ebx
push 0x410
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [esp + 0x1c], edi
mov ebp, 1
mov dword [esp + 0x30], ebp
cmp edi, ebx
jne 0x10024d88
push esi
call fcn.1001a210
mov dword [esp + 0x14], ebp
mov byte [esp + 0x30], bl
jmp 0x10024e33
lea ecx, [esp + 0x24]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10024db7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x10024db7
push esi
call fcn.1001a210
mov dword [esp + 0x14], ebp
jmp 0x10024e24
mov dword [esp + 0x18], ebx
mov byte [esp + 0x30], 3
push 0x208
call fcn.10079b72
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x10024ddd
push esi
call fcn.1001a210
jmp 0x10024e11
mov ecx, dword [esp + 0x20]
push 0x104
push eax
push ecx
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
test eax, eax
jne 0x10024e08
call fcn.1001a210
mov dword [esp + 0x14], ebp
mov byte [esp + 0x30], 1
lea edx, [esp + 0x18]
push edx
jmp 0x10024e1f
mov ecx, dword [esp + 0x1c]
call fcn.10013050
mov dword [esp + 0x14], ebp
mov byte [esp + 0x30], 1
lea eax, [esp + 0x18]
push eax
call fcn.10023040
mov byte [esp + 0x30], bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x1c], ebx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10024e50
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x10096bb6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x258], 0
or esi, 0xffffffff
cmp edi, esi
jne 0x10024eb8
mov dword [esp + 0x258], esi
push esi
jmp 0x10024f53
lea eax, [esp + 0x1c]
push eax
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10024f47
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.uninst.exe
lea ecx, [esp + 0x44]
push ecx
call ebp
test eax, eax
jne 0x10024f38
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10024d20
mov byte [esp + 0x260], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
push ecx
lea esi, [esp + 0x24]
call fcn.100259d0
add esp, 0xc
test eax, eax
je 0x10024f24
xor eax, eax
cmp dword [esp + 0x18], 4
sete al
cmp eax, 1
je 0x10024f8a
mov byte [esp + 0x258], 0
lea ecx, [esp + 0x14]
call fcn.10013100
or esi, 0xffffffff
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10024ed5
mov dword [esp + 0x258], esi
test edi, edi
je 0x10024f61
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.10079a05
add esp, 0x24c
ret
mov byte [esp + 0x258], 0
lea ecx, [esp + 0x14]
call fcn.10013100
mov dword [esp + 0x258], 0xffffffff
test edi, edi
je 0x10024fb9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0
mov eax, 1
jmp 0x10024f63
Function at 0x10024fc0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x4b4
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebp
mov ebp, dword [esp + 0x4c4]
push esi
push edi
push 0x40
lea eax, [esp + 0x2d]
push 0
push eax
mov dword [esp + 0x1c], 0
mov byte [esp + 0x34], 0
call fcn.1007dcf0
add esp, 0xc
push 0x40
lea ecx, [esp + 0x2c]
push ecx
call fcn.10078d60
test eax, eax
je 0x1002508a
lea edx, [esp + 0x2b0]
mov ecx, 0x82
mov esi, 0x100dd5d0
lea edi, [esp + 0x2b0]
push edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1002508a
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xb2]
push ecx
mov word [esp + 0xb4], ax
call fcn.1007dcf0
mov edx, dword [esp + 0x4d4]
mov edi, dword [esp + 0x4d0]
add esp, 0xc
lea eax, [esp + 0x2b0]
push edx
lea ecx, [esp + 0xac]
push eax
test edi, edi
jne 0x100250a4
push str._sucl_d
push ecx
mov ecx, 0x104
call fcn.10018220
add esp, 0x10
test eax, eax
jge 0x100250ab
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.10079a05
add esp, 0x4b4
ret
push str._s_sucl_d
jmp 0x10025078
test ebp, ebp
je 0x100250cf
lea eax, [esp + 0xa8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100250c0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [esp + 0xa8]
push edx
call esi
test eax, eax
jne 0x1002513f
test edi, edi
je 0x1002513f
mov eax, dword [esp + 0x4c8]
push eax
lea ecx, [esp + 0x2b4]
push ecx
lea edx, [esp + 0xb0]
push str._sucl_d
push edx
mov ecx, 0x104
call fcn.10018220
add esp, 0x10
test eax, eax
jl 0x1002508a
test ebp, ebp
je 0x1002513f
lea eax, [esp + 0xa8]
mov edx, ebp
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10025130
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov eax, dword [esp + 0x34]
push 0x31
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x79]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x80], 0
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 0xa8]
push ecx
call esi
test eax, eax
je 0x100251db
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.10002460
add esp, 0xc
test eax, eax
je 0x100251db
lea edx, [esp + 0x74]
push edx
call fcn.1007aa26
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.10079a05
add esp, 0x4b4
ret
mov ecx, dword [esp + 0x4bc]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10079a05
add esp, 0x4b4
ret
Function at 0x10025200
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x4a8
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x4a4], eax
push ebx
mov ebx, dword [esp + 0x4b0]
push ebp
mov ebp, dword [esp + 0x4bc]
push esi
push edi
push 0x40
lea eax, [esp + 0x5d]
push 0
push eax
mov byte [esp + 0x64], 0
call fcn.1007dcf0
add esp, 0xc
push 0x40
lea ecx, [esp + 0x5c]
push ecx
call fcn.10078d60
test eax, eax
je 0x100252f2
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
xor eax, eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x2a8]
mov ecx, 0x82
mov esi, 0x100dd5d0
lea edi, [esp + 0x2a8]
push eax
mov dword [esp + 0x20], edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x100252f2
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xaa]
push edx
mov word [esp + 0xac], cx
call fcn.1007dcf0
add esp, 0xc
push ebp
test ebx, ebx
jne 0x100252f6
lea eax, [esp + 0x2ac]
push eax
push str._sucl_d
lea ecx, [esp + 0xac]
push ecx
mov ecx, 0x104
call fcn.10018220
add esp, 0x10
test eax, eax
jge 0x1002530d
xor eax, eax
jmp 0x10025374
lea edx, [esp + 0x2ac]
push edx
push str._s_sucl_d
lea eax, [esp + 0xac]
push eax
jmp 0x100252e1
push 0x32
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.1007dcf0
add esp, 0xc
test ebx, ebx
jne 0x1002538d
mov edx, dword [esp + 0x4c0]
push edx
push 0x100a02bc
push 0x32
lea eax, [esp + 0x30]
push eax
call fcn.1001d020
add esp, 0x10
test eax, eax
jl 0x100252f2
lea eax, [esp + 0x24]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025350
sub eax, edx
push eax
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.10002400
add esp, 0x10
mov ecx, dword [esp + 0x4b4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10079a05
add esp, 0x4a8
ret
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10025322
push 1
push 0x100a02bc
push 0x32
lea ecx, [esp + 0x30]
push ecx
jmp 0x10025336

Function at 0x10025820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x210], eax
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push str.SystemStartOptions
push str.SYSTEMCurrentControlSetControl
push connect
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10025897
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.10079a05
add esp, 0x214
ret
lea ecx, [esp + 8]
push str.SAFEBOOT
push ecx
call fcn.1007afcd
mov ecx, dword [esp + 0x218]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.10079a05
add esp, 0x214
ret
Function at 0x10027540
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
xor esi, esi
push esi
push 0x100a048c
push connect
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100275ca
mov eax, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push esi
push str.tipflag
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100275bf
mov edx, dword [esp + 4]
push str.tipflag
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x100275bf
mov ecx, dword [esp + 0x18]
lea esi, [eax + 1]
mov eax, dword [esp + 8]
mov dword [ecx], eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x100275e0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x100a048c
push connect
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10027629
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push eax
push str.tipflag
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1002761e
lea esi, [eax + 1]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x1002c740
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov esi, eax
mov eax, dword [0x100dee30]
push eax
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0
lea eax, [esi + 0x3bc]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 0
push 0x8e5
push eax
mov dword [esi + 0x5c4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esi + 0x5c4]
test esi, esi
jne 0x1002c797
xor eax, eax
pop esi
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret

Function at 0x1002d000
Capabilities:
Create thread

Disassembly:
call fcn.10047690
test eax, eax
jne 0x1002d00c
xor eax, eax
ret
cmp dword [0x100dee48], 0
jne 0x1002d009
push 0x28
mov dword [0x100dee48], 1
call fcn.10079f1f
mov edx, dword [esp + 0xc]
add esp, 4
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
push 0
mov dword [eax + 8], ecx
mov dword [eax + 0x18], ecx
push 0
mov dword [eax + 0x1c], ecx
push eax
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x10]
push 0x1002ce00
push 0
push 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], 2
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1002d073
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret

Function at 0x1002d0c0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push eax
push 0x1002d080
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1002d0df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x1002d160
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x194], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1a4]
push esi
push edi
xor eax, eax
push 0x18e
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.1007dcf0
mov ebx, dword [sym.imp.WS2_32.dll_WSAStartup]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
xor esi, esi
jmp 0x1002d1b0
lea edx, [esp + 0x10]
push edx
push 0x202
call ebx
test eax, eax
je 0x1002d1d5
push 0x7d0
call edi
inc esi
cmp esi, 5
jl 0x1002d1b0
mov eax, dword [ebp + 0x104]
jmp 0x1002d1e0
mov eax, 1
mov dword [ebp + 0x104], eax
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10079a05
add esp, 0x198
ret 4

Function at 0x1002d200
Capabilities:
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
mov eax, 0x1004
call fcn.1007e4b0
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x1000], eax
cmp dword [esi], 0xffffffff
je 0x1002d2b1
push 0x7ff
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.1007dcf0
lea ecx, [esi + 4]
push ecx
push edi
push str.GET__s_HTTP_1.1_r_nAccept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:__s_r_n_r_n
lea edx, [esp + 0x18]
push 0x800
push edx
call fcn.1001d020
lea eax, [esp + 0x20]
add esp, 0x20
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002d260
mov ecx, dword [esi]
push 0
sub eax, edx
push eax
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1002d2b1
mov eax, dword [esi]
push 0
push 0x800
lea edx, [esp + 0x808]
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.10079a05
add esp, 0x1004
ret
mov ecx, dword [esp + 0x1000]
xor ecx, esp
xor eax, eax
call fcn.10079a05
add esp, 0x1004
ret