joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a410
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e00b8
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x1000a4b2
cmp word [esi], di
je 0x1000a4b2
test eax, eax
je 0x1000a46e
cmp word [eax], di
je 0x1000a46e
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x1000a4b2
jmp 0x1000a4ad
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1006a830
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x1000a4b2
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000a4e3
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x1000a4e3
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1000c6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0342
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1000c7cb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x21c], 1
call fcn.1006a830
add esp, 0xc
mov dword [ebp - 0x224], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push str.Setup_Path
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000c7af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c791
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100055f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
int3

Function at 0x1000cc30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0442
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.1006a830
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1000cd4a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x100edb54
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000cd00
sub eax, edx
sar eax, 1
je 0x1000cd2e
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100055f0
mov ecx, esi
call fcn.1000efa0
mov ecx, esi
call fcn.1000eea0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
int3
Function at 0x1000d290
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.1006a830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.jiandeskData
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d2fe
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.config.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push 0
push str.startfence
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret

Function at 0x1000e9a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e06f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000ea1b
test al, 0x10
je 0x1000ea1b
push esi
mov edi, 1
call fcn.100048f0
add esp, 4
test eax, eax
jne 0x1000ea3e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1000ea3e
push esi
test edi, edi
jne 0x1000ea36
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1000ea3e
push esi
push 0x100ee200
call fcn.10022f20
add esp, 8
jmp 0x1000ea3e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1000e9ec
push esi
push 0x100ee200
call fcn.10022f20
add esp, 8
jmp 0x1000ea3e
call fcn.100048f0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000eabf
push esi
lea ecx, [ebp - 0x10]
call fcn.10003ed0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x1000ea7e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10004340
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x1000ea8a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.1000b800
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000eaac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100125f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0d28
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.100110d0
mov edi, eax
cmp dword [edi], 0
jne 0x10012687
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10012687
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100eec7c
push eax
call esi
push 0x100eec88
push dword [edi]
mov dword [edi + 4], eax
call esi
push 0x100eec94
push dword [edi]
mov dword [edi + 8], eax
call esi
push 0x100eeca4
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push 0x100eecb4
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10012687
call eax
mov dword [edi + 0xc], eax
mov ecx, ebx
call fcn.10013260
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100126b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10018be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e181e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], 0xff
mov ecx, esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001ad40
mov dword [esi], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x10018dc8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
push 0xa4
mov byte [ebp - 4], 4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.1002c730
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x10018d14
mov ecx, eax
call fcn.10050ce0
test eax, eax
jne 0x10018d16
xor eax, eax
mov dword [edi + 0x44], eax
lea esi, [edi + 0x78]
mov dword [edi], vtable.CInputWnd.0
mov dword [edi + 0x24], vtable.CInputWnd.1.0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 7
mov dword [esi], vtable.CEditExImpl_class_CEditEx__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 0x18], ebx
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x10018dd2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x100eec50
mov byte [ebp - 4], 8
mov ecx, ebx
test eax, 0xffff0000
jne 0x10018d94
movzx eax, ax
push eax
call fcn.10017630
jmp 0x10018da0
push 0
push 0x100eec50
call fcn.100055f0
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x54], 0
mov dword [esi], vtable.CEditEx.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
int3
Function at 0x10019b20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e192b
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.1005a4d0
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.1006a830
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10019b94
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x10019c10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x10019bca
movzx eax, ax
mov ecx, esi
push eax
call fcn.10017630
jmp 0x10019bf1
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019bd3
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100055f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100041e0
int3
Function at 0x1001e090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e1ea0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10031050
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x10126b48]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x10]
test eax, eax
jne 0x1001e17e
push str.InitPackInfo_failed__exit
call fcn.10022f20
add esp, 4
push 4
push 0x100efcfc
push 0
call fcn.1002bc40
cmp eax, 6
jne 0x1001e111
push 1
push 0
push 0
push str.http:__desk.ludashi.com
push 0x100ee1dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001e232
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
lea eax, [ebp - 0x10]
push eax
call fcn.1000c4b0
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001e16c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.10022f20
mov eax, dword [esi]
add esp, 4
push str.JDesk_dll.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x10126b48]
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x1001e210
push str.InitConfig_failed__exit
call fcn.10022f20
add esp, 4
push 4
push 0x100efcfc
push 0
call fcn.1002bc40
cmp eax, 6
jne 0x1001e1e2
push 1
push 0
push 0
push str.http:__desk.ludashi.com
push 0x100ee1dc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x1001e23c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 1
push str._sInitConfig:_d
jmp 0x1001e13e
push str.InitConfig_success
call fcn.10022f20
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100041e0
push 0x80004005
call fcn.100041e0
int3
Function at 0x1001f400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 8]
push eax
push str.em_lds
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret

Function at 0x1001fdb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e20e6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1001fe5c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1001fe5c
call fcn.1000c170
mov edi, eax
jmp 0x1001ff7b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001fe7f
call fcn.1000c170
jmp 0x1001ff6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1001fe9d
call fcn.1000c170
jmp 0x1001ff6e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1001febe
mov edi, 0x8007000e
jmp 0x1001ff70
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1001ffb4
jb 0x1001fedc
cmp eax, 0xffffffff
ja 0x1001ffb4
cmp eax, 0x400
jbe 0x1001fef1
push eax
lea ecx, [ebp - 0x418]
call fcn.1001ca80
jmp 0x1001ff17
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1001ff17
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1001ff2e
mov edi, 0x8007000e
jmp 0x1001ff70
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1001ff4e
call fcn.1000c170
jmp 0x1001ff6e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1001fc10
mov edi, eax
test esi, esi
je 0x1001ff7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1001ff94
lea ecx, [ebp - 0x418]
call fcn.1001da80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.100041e0
int3
Function at 0x10021900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 8]
push eax
push str.em_lds
push str.SOFTWAREJianDesk
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 0xc], 1
sete al
mov esp, ebp
pop ebp
ret
Function at 0x10025e10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2a70
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101237f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x10025f14
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
test eax, eax
je 0x10025ec7
call fcn.10031050
mov esi, eax
lea ecx, [edi + 0x84]
lea eax, [ebp + 0xc]
push eax
call fcn.10022660
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push 0x100f0148
push eax
push ecx
call fcn.1001c070
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [eax + 0x58]
mov edx, dword [ebp + 0xc]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025eaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x94]
call dword [eax]
mov dword [edi + 0x178], 2
jmp 0x1002602b
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x10025f05
cmp dword [edi + 0x78], 0
je 0x10025f05
mov eax, dword [ecx]
push 1
push 0
push ecx
call dword [eax + 0x20]
push 0
lea ecx, [edi + 0xa8]
call fcn.1001a710
mov eax, dword [edi + 0x78]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0x7c]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [edi + 0x178], 2
jmp 0x1002602b
cmp eax, 1
jne 0x10025fd3
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
call fcn.10016a00
mov ecx, eax
call fcn.10014f40
test eax, eax
je 0x10025f56
mov eax, dword [edi + 0xa0]
lea ecx, [edi + 0xa0]
call dword [eax]
mov dword [edi + 0x178], 3
jmp 0x1002602b
cmp dword [edi + 0x74], 0
je 0x10025fc7
cmp dword [edi + 0x78], 0
je 0x10025fc7
call fcn.10016a00
mov ecx, eax
call fcn.10014050
test eax, eax
je 0x10025f93
push 0
push 0
push 0xbc4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [edi + 0x178], 3
jmp 0x1002602b
mov eax, dword [edi + 0x74]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push 0
lea ecx, [edi + 0xa8]
call fcn.1001a710
mov eax, dword [edi + 0x78]
push 1
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [edi + 0x7c]
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [edi + 0x178], 3
jmp 0x1002602b
cmp eax, 2
jne 0x1002602b
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [edi + 0xa8]
call fcn.1001a710
sub esp, 0x28
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.finish
mov dword [ebp - 4], 9
call fcn.1001dbe0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.1000aca0
push 1
mov ecx, edi
call fcn.10026850
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10026850
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea ecx, [esi + 0xa8]
call fcn.1001a710
mov ecx, 0x10126bb4
call fcn.10007780
push str.quit
call fcn.10022f20
add esp, 4
lea ecx, [esi + 0x90]
call fcn.10022160
xor esi, esi
call fcn.10016a00
mov ecx, eax
call fcn.10014e50
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.10031050
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.10031050
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.1002fb40
pop esi
pop ebp
jmp dword [sym.imp.USER32.dll_PostQuitMessage]

Function at 0x10026900
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2b5b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101237f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1006a830
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.PluginCfg
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002698b
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lockscreenfix.ini
lea eax, [ebp - 0x218]
push eax
call esi
call fcn.10004e30
mov ecx, eax
test ecx, ecx
je 0x10026a2f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
movzx eax, byte [ebp + 8]
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0x100eec5c
push eax
call fcn.1000c4b0
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
push esi
push str.lock_screen_state
push str.General
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10026a13
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005a0a8
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100041e0
int3