joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002b53b
Capabilities:
Read .ini file

Disassembly:
push 0xd5c
mov eax, 0x100ceffc
call fcn.10072066
mov edi, 0x104
push edi
xor ebx, ebx
lea eax, [ebp - 0x114]
push ebx
push eax
mov dword [ebp - 0xd68], ecx
call fcn.10072750
mov esi, 0x206
push esi
lea eax, [ebp - 0x72a]
push ebx
push eax
mov word [ebp - 0x72c], bx
call fcn.10072750
add esp, 0x18
lea ecx, [ebp - 0xd64]
call fcn.10025e65
lea eax, [ebp - 0x72c]
push eax
lea ecx, [ebp - 0xd64]
mov dword [ebp - 4], ebx
call fcn.100268af
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x72c]
push eax
call fcn.1001cda7
mov ebx, dword [ebp - 0xd68]
pop ecx
pop ecx
lea eax, [ebp - 0x114]
add ebx, 4
push eax
mov ecx, ebx
call fcn.1001c4cd
and word [ebp - 0x31c], 0
push esi
lea eax, [ebp - 0x31a]
push 0
push eax
call fcn.10072750
and word [ebp - 0x524], 0
push esi
lea eax, [ebp - 0x522]
push 0
push eax
call fcn.10072750
add esp, 0x18
push str.DongFangInfo.ini
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp - 0x31c]
push 0x100d6104
push eax
call fcn.100048d5
add esp, 0x10
lea eax, [ebp - 0x31c]
push eax
push edi
lea eax, [ebp - 0x524]
push eax
push 0x10102f18
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 0x100dd9bc
push edi
mov ecx, ebx
call fcn.1001c4cd
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x524]
push eax
call fcn.1001cda7
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001c4cd
push str._tShuRuFa
mov ecx, ebx
call fcn.1001c4cd
push 0x100de064
mov ecx, ebx
call fcn.1001c4cd
and word [ebp - 0xb3c], 0
push esi
lea eax, [ebp - 0xb3a]
push 0
push eax
call fcn.10072750
push 0x100de05c
push 0x100de054
lea eax, [ebp - 0xb3c]
push str._s._s
push eax
call fcn.100048d5
add esp, 0x1c
push edi
mov ecx, ebx
call fcn.1001c4cd
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0xb3c]
push eax
call fcn.1001cda7
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001c4cd
and word [ebp - 0x934], 0
push esi
lea eax, [ebp - 0x932]
push 0
push eax
call fcn.10072750
add esp, 0xc
call fcn.10004c83
mov ecx, eax
call fcn.1001a69e
push eax
push 0x104
lea eax, [ebp - 0x934]
push eax
push 0x10102f18
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
mov ecx, ebx
call fcn.1001c4cd
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.1001cda7
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001c4cd
push edi
mov ecx, ebx
call fcn.1001c4cd
lea eax, [ebp - 0xb58]
push 0
push eax
call fcn.1001f5f5
pop ecx
pop ecx
cmp dword [ebp - 0xb40], 8
mov eax, dword [ebp - 0xb54]
mov byte [ebp - 4], 1
jae 0x1002b795
lea eax, [ebp - 0xb54]
lea ecx, [ebp - 0x114]
push ecx
push eax
call fcn.1001cda7
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.1001c4cd
push 0
push 1
lea ecx, [ebp - 0xb58]
call fcn.100017f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd64]
call sym.Plugin.dll_CleanUpPluginSystemManager
call fcn.100720e9
ret
Function at 0x1002c5ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [0x1011e5c8], edi
mov esi, ecx
je 0x1002c735
cmp dword [esi + 0x20], 8
jb 0x1002c612
mov eax, dword [esi + 0xc]
jmp 0x1002c615
lea eax, [esi + 0xc]
push ebx
push 0x100d7860
push eax
push dword [0x10118dc4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
je 0x1002c734
push ebx
push dword [0x10118dc4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push dword [0x10118dc4]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0x42
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 4]
push dword [ebp - 8]
push eax
call fcn.10074d40
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0xc]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push edi
push dword [ebp - 0xc]
call fcn.10012c18
cmp eax, edi
pop ecx
pop ecx
je 0x1002c734
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x1011e5cc
call fcn.1002c3af
mov ebx, dword [ebp + 8]
push edi
mov dword [eax], esi
push dword [0x10118dc4]
push edi
push ebx
push edi
push edi
push edi
push SysReAllocString
push 0x80c80000
push edi
push dword [0x10118dc0]
push 0x80020
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 0x24], eax
call edi
test eax, 0x10000000
jne 0x1002c6fa
mov byte [esi + 0x2c], 1
jmp 0x1002c71e
test eax, 0x21000000
je 0x1002c707
mov byte [esi + 0x2c], 5
jmp 0x1002c71e
push 8
push dword [esi + 0x24]
mov byte [esi + 0x2c], 7
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ecx, esi
call fcn.1002be4d
push 0xfffffffffffffffc
push ebx
call edi
push 0x1002c424
push 0xfffffffffffffffc
push ebx
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x1002c81c
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x1002c82c
xor eax, eax
jmp 0x1002c855
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.1007931d
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x1002c84c
xor eax, eax
jmp 0x1002c854
push dword [ebx]
call fcn.10079052
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x1002c858
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
jne 0x1002c868
xor eax, eax
jmp 0x1002c891
push ebx
mov ebx, dword [esp + 0x10]
push dword [ebx]
push edi
push 1
push dword [esp + 0x20]
call fcn.10072ad8
add esp, 0x10
cmp eax, edi
mov dword [esi], eax
jne 0x1002c888
xor eax, eax
jmp 0x1002c890
push dword [ebx]
call fcn.10079052
pop ecx
pop ebx
pop edi
pop esi
ret
Function at 0x1002cdc2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x1002cddb
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + ecx - 4]
mov dword [ebp - 4], ecx
lea esi, [eax + edi]
jmp 0x1002cdfe
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x1002ce03
inc esi
cmp esi, dword [ebp - 4]
jb 0x1002cdf5
mov eax, esi
sub eax, edi
cmp esi, dword [ebp - 4]
mov dword [ebp - 8], eax
jae 0x1002cef8
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x1002ce57
xor edx, edx
mov cl, byte [esi + 4]
test cl, cl
mov dword [ebp + 0xc], eax
je 0x1002ce2e
cmp cl, 0xff
jne 0x1002ce82
xor ebx, ebx
mov bh, cl
movzx ecx, byte [esi + 2]
mov bl, byte [esi + 3]
shl ebx, 8
or ebx, ecx
movzx ecx, byte [esi + 1]
shl ebx, 8
or ebx, ecx
mov edi, ebx
cmp dword [ebp + 0x18], 0
je 0x1002ce90
lea ebx, [edi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x1002ce97
dec ecx
shl edx, cl
and edx, 7
je 0x1002ce1f
movzx ecx, byte [edx + 0x100de154]
mov ebx, esi
sub ebx, ecx
cmp byte [edx + 0x100de14c], 0
mov cl, byte [ebx + 4]
je 0x1002ce7f
test cl, cl
je 0x1002ce7f
cmp cl, 0xff
jne 0x1002ce1f
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x1002cdf0
sub edi, eax
sub edi, dword [ebp + 0x10]
mov ebx, edi
test edx, edx
je 0x1002cecb
movzx edi, byte [edx + 0x100de154]
push 0x18
shl edi, 3
pop ecx
sub ecx, edi
mov eax, ebx
shr eax, cl
test al, al
je 0x1002ceb6
cmp al, 0xff
jne 0x1002cec8
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, edi
xor edi, edi
inc edi
shl edi, cl
dec edi
xor edi, ebx
jmp 0x1002ce49
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 1], bl
add eax, 5
jmp 0x1002cdf0
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret

Function at 0x100304df
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x100304e7
mov dword [ecx*4 + 0x1011e610], eax
inc ecx
cmp ecx, 0x100
jb 0x100304e2
mov edx, 0x800
jmp 0x10030534
mov eax, dword [ecx*4 + 0x1011e210]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1011e610]
inc ecx
mov dword [ecx*4 + 0x1011e60c], eax
cmp ecx, edx
jb 0x10030513
mov dword [0x10120610], 0x1002d0a5
call fcn.1002d012
test eax, eax
pop esi
jne 0x10030556
mov dword [0x10120610], 0x1002d13b
ret

Function at 0x100318ab
Capabilities:
Terminate thread

Disassembly:
push esi
lea esi, [ecx + 0x84c]
mov eax, dword [esi]
test eax, eax
je 0x100318c4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi], 0
pop esi
ret
Function at 0x10031a44
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x1a8]
sub esp, 0x228
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x1a4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x6c], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor esi, esi
push 0x206
lea eax, [ebp - 0x62]
push esi
push eax
mov word [ebp - 0x64], si
call fcn.10072750
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push str._.4d_.2d_.2d
push eax
call fcn.100048d5
add esp, 0x20
call fcn.10004c83
mov ecx, eax
call fcn.1001a6c0
push eax
push esi
mov ebx, str.CheckServiceFialNum
push ebx
mov esi, str.Setting
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
push str.RunServiceDate
push esi
call edi
cmp dword [ebp - 0x70], 0
je 0x10031af1
push dword [ebp - 0x68]
push 0x100d50cc
push ebx
push esi
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x124f80
mov esi, 0x493e0
push esi
mov ebx, eax
call fcn.1001ce06
mov edi, dword [ebp - 0x6c]
add eax, ebx
push 0xdbba0
push esi
mov dword [edi + 0x87c], eax
call fcn.1001ce06
mov ecx, dword [ebp + 0x1a4]
add esp, 0x10
add eax, ebx
mov dword [edi + 0x880], eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x1a8
leave
ret
Function at 0x10031f1b
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3b0]
sub esp, 0x430
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x3ac], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x884]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
je 0x1003209f
cmp dword [ebx + 0x85c], edi
jne 0x1003209f
push esi
call fcn.10004c83
mov ecx, eax
call fcn.1001a6c0
mov dword [ebp - 0x80], eax
call fcn.1001de77
push dword [ebp - 0x80]
mov esi, str.Setting
push 0xffffffffffffffff
push str.ServiceUpOnlineData
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [ebp - 0x7c]
je 0x1003209e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebx + 0x87c]
jl 0x1003209e
push dword [ebp - 0x7c]
mov word [ebp + 0x398], di
xor eax, eax
lea edi, [ebp + 0x39a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x398]
push 0x100d52e4
push eax
call fcn.100048d5
add esp, 0xc
push dword [ebp - 0x80]
lea eax, [ebp + 0x398]
push eax
push str.ServiceUpOnlineData
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp + 0x190], 0
mov esi, 0x206
push esi
xor edi, edi
lea eax, [ebp + 0x192]
push edi
push eax
mov dword [ebx + 0x85c], 1
call fcn.10072750
push esi
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10072750
add esp, 0x18
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10072c5d
lea eax, [ebp - 0x78]
push str.DFMutual.exe
push eax
call fcn.10072c33
lea eax, [ebp + 0x190]
push 0x100d89dc
push eax
call fcn.10072c5d
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x190]
push eax
call fcn.10072c33
lea eax, [ebp + 0x190]
push str.__UpOnlineData_0
push eax
call fcn.10072c33
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x78]
push eax
call fcn.1001d953
test eax, eax
pop ecx
je 0x1003209e
lea eax, [ebp + 0x190]
push eax
mov ecx, ebx
call fcn.100338b8
pop esi
mov ecx, dword [ebp + 0x3ac]
pop edi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0x3b0
leave
ret
Function at 0x100320b6
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ecx + 0x884]
push edi
xor edi, edi
cmp dword [eax + 0x224], edi
mov dword [ebp - 0x80], ecx
je 0x1003229c
push ebx
push esi
mov esi, 0x206
push esi
lea eax, [ebp - 0x7a]
push edi
push eax
mov word [ebp - 0x7c], di
call fcn.10072750
add esp, 0xc
call fcn.1000eb12
mov edx, dword [eax]
push 0xb9
mov ecx, eax
call dword [edx]
push esi
mov ebx, eax
lea eax, [ebp + 0x59e]
push edi
push eax
mov word [ebp + 0x59c], di
call fcn.10072750
add esp, 0xc
call fcn.10004c83
mov ecx, eax
call fcn.1001a6e8
push eax
lea eax, [ebp + 0x59c]
push eax
call fcn.10072c5d
cmp ebx, edi
pop ecx
pop ecx
jne 0x10032160
lea eax, [ebp + 0x59c]
push str.UseData.ini
push eax
call fcn.10072c33
pop ecx
pop ecx
jmp 0x100321a4
push ebx
lea eax, [ebp - 0x7c]
push 0x100d52e4
push eax
call fcn.100048d5
lea eax, [ebp + 0x59c]
push str.UseData
push eax
call fcn.10072c33
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x59c]
push eax
call fcn.10072c33
lea eax, [ebp + 0x59c]
push str..ini
push eax
call fcn.10072c33
add esp, 0x24
lea eax, [ebp + 0x59c]
push eax
push str.Run_Activity__s
call fcn.100237d2
pop ecx
pop ecx
lea eax, [ebp + 0x59c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003229a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebp - 0x80]
cmp eax, dword [ebx + 0x87c]
jl 0x1003229a
push esi
lea eax, [ebp + 0x18e]
push edi
push eax
mov word [ebp + 0x18c], di
call fcn.10072750
push esi
lea eax, [ebp + 0x396]
push edi
push eax
mov word [ebp + 0x394], di
call fcn.10072750
add esp, 0x18
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp + 0x394]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x394]
push str.DFMutual.exe
push eax
call fcn.10072c33
lea eax, [ebp + 0x18c]
push 0x100d89dc
push eax
call fcn.10072c5d
lea eax, [ebp + 0x394]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.10072c33
lea eax, [ebp + 0x18c]
push str.__UpActivityData
push eax
call fcn.10072c33
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp + 0x394]
push eax
call fcn.1001d953
test eax, eax
pop ecx
je 0x1003229a
lea eax, [ebp + 0x18c]
push eax
mov ecx, ebx
call fcn.100338b8
pop esi
pop ebx
mov ecx, dword [ebp + 0x7a4]
xor ecx, ebp
pop edi
call fcn.10071fee
add ebp, 0x7a8
leave
ret
Function at 0x100322b2
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x3b4]
sub esp, 0x434
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x3b0], eax
mov eax, ecx
mov dword [ebp - 0x78], eax
mov eax, dword [eax + 0x884]
cmp dword [eax + 0x224], 0
je 0x10032448
push ebx
push esi
call fcn.10004c83
mov ecx, eax
call fcn.1001a6c0
mov dword [ebp - 0x80], eax
call fcn.1001de77
push dword [ebp - 0x80]
mov ebx, str.ServerSoftOpertorDate
push 0xffffffffffffffff
push ebx
mov esi, str.Setting
push esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, dword [ebp - 0x7c]
jne 0x1003232a
push str.Service_SoftOpertor_Already_
call fcn.100237d2
pop ecx
jmp 0x10032446
and word [ebp + 0x194], 0
push edi
mov edi, 0x206
push edi
lea eax, [ebp + 0x196]
push 0
push eax
call fcn.10072750
and word [ebp - 0x74], 0
push edi
lea eax, [ebp - 0x72]
push 0
push eax
call fcn.10072750
add esp, 0x18
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10072c5d
lea eax, [ebp - 0x74]
push str.DFMutual.exe
push eax
call fcn.10072c33
lea eax, [ebp + 0x194]
push 0x100d89dc
push eax
call fcn.10072c5d
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x194]
push eax
call fcn.10072c33
lea eax, [ebp + 0x194]
push str.__SoftExtraOperate
push eax
call fcn.10072c33
add esp, 0x28
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x74]
push eax
call fcn.1001d953
test eax, eax
pop ecx
je 0x100323ef
lea eax, [ebp + 0x194]
push eax
push str.Run_SoftOpertor:__s
call fcn.100237d2
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
lea eax, [ebp + 0x194]
push eax
call fcn.100338b8
push str.Service_SoftOpertor_
call fcn.100237d2
and word [ebp + 0x39c], 0
push dword [ebp - 0x7c]
xor eax, eax
lea edi, [ebp + 0x39e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0x39c]
push 0x100d52e4
push eax
call fcn.100048d5
add esp, 0x10
push dword [ebp - 0x80]
lea eax, [ebp + 0x39c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x888], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3b0]
xor ecx, ebp
call fcn.10071fee
add ebp, 0x3b4
leave
ret

Function at 0x100325fb
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x850]
push eax
xor eax, eax
push eax
push esi
push 0x100325f1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x84c], eax
pop esi
ret
Function at 0x100327b4
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x1c
push dword [ebp + 8]
call dword [eax]
test eax, eax
jne 0x100327c8
inc eax
jmp 0x1003282c
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x1003282b
push esi
push 0x10020
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x100327ff
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x1003282a
push ebx
lea eax, [ebp - 0x1c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
xor eax, eax
test ebx, ebx
setne al
pop ebx
pop esi
pop edi
leave
ret 4

Function at 0x10032830
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100328a5
push esi
lea eax, [ebp - 8]
push eax
push esi
push edi
push esi
push esi
push esi
push str.DongFangInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100328a5
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 0x104
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], esi
je 0x100328a5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8

Function at 0x100328ab
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, 0xf003f
push esi
xor edi, edi
push edi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10032917
push edi
lea eax, [ebp - 8]
push eax
push edi
push esi
push edi
push edi
push edi
push str.DongFangInput
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10032917
push 0x104
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 4], edi
je 0x10032917
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret 8
Function at 0x1003291d
Capabilities:
Set registry value

Disassembly:
push 0x34
mov eax, 0x100cf1dc
call fcn.10071ffd
lea ecx, [ebp - 0x40]
call fcn.10033215
xor esi, esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.100331ec
test eax, eax
je 0x100329b6
lea eax, [ebp - 0x10]
push eax
mov edi, 0xf013f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10032a1d
push esi
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x1003298f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10032a1d
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
jmp 0x10032a1b
lea eax, [ebp - 0x14]
push eax
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x10032a1d
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push esi
push esi
push esi
push str.GsProtect
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x100329f6
push dword [ebp - 0x14]
jmp 0x10032984
push 0x104
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x14]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1003310f
call fcn.100720d5
ret 8