joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51b960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x56c528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x10], vtable.CKANRegisterKey.0
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 1
test byte [0x619f24], al
jne 0x51b9be
or dword [0x619f24], eax
call esi
mov dword [0x619f20], eax
cmp dword [0x618044], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x51b9e5
push 0x208
call fcn.00569ecc
add esp, 4
test eax, eax
mov dword [0x618044], eax
je 0x51ba4c
jmp 0x51ba01
call esi
mov ecx, eax
sub ecx, dword [0x619f20]
cmp ecx, 0x493e0
jb 0x51ba4c
mov dword [0x619f20], eax
mov eax, dword [0x618044]
mov word [eax], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51ba19
push eax
call ebp
mov dword [esp + 0x14], 0
lea edx, [esp + 0x14]
push edx
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x51ba4c
mov ebx, dword [0x618044]
push 0x104
push str.SCRNSAVE.EXE
lea eax, [esp + 0x18]
push eax
call fcn.004121d0
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x10], vtable.CKANRegisterKey.0
je 0x51ba5f
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x51bba0
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x56bd59
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0
push eax
mov ecx, 0x61973c
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [0x619754], 8
mov eax, dword [0x619740]
jae 0x51bbf8
mov eax, 0x619740
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x51bc17
mov dword [esi + 4], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x1c
Function at 0x51bc60
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x38
push ebx
push ebp
push edi
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov edi, eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push edx
mov ebp, eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
cmp ecx, edi
jne 0x51bd53
mov edx, eax
sub edx, dword [esi + 4]
cmp edx, ebp
jne 0x51bd53
push 0
push 0x59f98c
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x51bd53
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push eax
call ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, ebx
sub edx, ecx
cmp edi, edx
jne 0x51bd38
mov eax, ebp
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 1
cmp eax, ecx
jle 0x51bd2a
mov edx, dword [esp + 0x14]
sub edx, eax
add dword [esi + 0xc], edx
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
sub eax, dword [esp + 0x14]
add dword [esi + 4], eax
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x51bd4e
sub ebx, ecx
add dword [esi], ebx
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
sub ecx, ebx
add dword [esi + 8], ecx
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x51d060
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x57690b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
or edi, 0xffffffff
test esi, esi
jne 0x51d0a8
or eax, edi
jmp 0x51d19b
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x22c], 0
call fcn.00439ea0
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 4
test eax, eax
je 0x51d10f
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x51d10f
push 1
push 0
push esi
push ebp
push str.open
push 0
call ebx
xor ecx, ecx
cmp eax, 0x20
setg cl
sub ecx, 1
and ecx, eax
mov edi, ecx
je 0x51d172
push 0x206
lea edx, [esp + 0x1a]
push 0
push edx
mov word [esp + 0x20], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x26
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x51d172
push 0x58d078
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
push 0
push esi
lea edx, [esp + 0x20]
push edx
push str.open
push 0
call ebx
xor ecx, ecx
cmp eax, 0x20
setg cl
sub ecx, 1
and ecx, 0xfffffffe
mov edi, ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x228], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x51d199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00569ed6
add esp, 0x21c
ret
Function at 0x51dd90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x579350
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDriverGenius
mov dword [esp + 0x28], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x51de7e
push str.DisplayIcon
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x14]
call fcn.004132c0
test eax, eax
je 0x51de7e
mov esi, dword [esp + 0xc]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 8]
test eax, eax
je 0x51de3c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 8], 0
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x51de68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov esi, str.http:__file.mydrivers.com_coop_DG8Setup_1251_C2213.exe
call fcn.0051d060
mov eax, dword [esp + 8]
test eax, eax
je 0x51de97
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51dec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x51df90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x573d58
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push 1
xor ebp, ebp
push eax
mov edi, 0x5a4fb0
mov dword [esp + 0x30], ebp
call fcn.004889e0
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx - 0xc]
add esp, 8
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push ebp
push esi
mov dword [esp + 0x20], ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebp, dword [esp + 0x14]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x51e055
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [edi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x24], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], eax
jmp 0x51e057
xor edi, edi
mov ecx, dword [esp + 0x34]
push esi
mov dword [ecx], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebx - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e09b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x51e0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
push edi
push 0x59e180
push 0x65
push ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x51e13a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x51e13a
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jae 0x51e0fc
pop edi
mov dword [eax], esi
mov ebp, 1
pop esi
mov eax, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x51e13a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x51e119
pop edi
pop esi
pop ebp
ret
push esi
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_memcpy
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edi
mov dword [ecx], esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ebp, 1
pop edi
pop esi
mov eax, ebp
pop ebp
ret
Function at 0x51e140
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x573d31
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov edx, str.Install_Path
mov ecx, str.SOFTWAREkingsoft_shoujizhushou
mov dword [esp + 0x1c], esi
xor edi, edi
call fcn.0041a440
add esp, 4
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], esi
jne 0x51e1cb
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e1b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
mov eax, 0x5c
lea ebx, [esp + 0x14]
call fcn.004149d0
mov ecx, ebx
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str.krapidservice.dll
call fcn.0041a8a0
add esp, 8
mov byte [esp + 0x2c], 1
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call esi
test eax, eax
je 0x51e235
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.krapidtrans.dll
call fcn.0041a8a0
mov eax, dword [eax]
add esp, 8
push eax
mov ebx, 3
call esi
test eax, eax
mov byte [esp + 0x13], 1
jne 0x51e23a
mov byte [esp + 0x13], 0
test bl, 2
je 0x51e266
mov eax, dword [esp + 0x1c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x18], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x51e266
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x2c], 0
je 0x51e293
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e293
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x51e2f4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
mov ebx, str._appdataphonecfg.dat
call fcn.0041a8a0
mov eax, dword [eax]
add esp, 8
push eax
push 0
push 0x58de60
push str.LBWifi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e2eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x51e2f4
mov edi, 1
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e31c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x51e340
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x574d00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov edx, str.Install_Path
mov ecx, str.SOFTWAREkingsoft_shoujizhushou
call fcn.0041a440
add esp, 4
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0xc]
cmp dword [eax - 0xc], 0
jne 0x51e3ab
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x51e438
mov eax, 0x5c
lea ebx, [esp + 0xc]
call fcn.004149d0
mov ecx, ebx
push ecx
lea edx, [esp + 0x14]
push edx
mov ebx, str._shoujizhushou.exe
call fcn.0041a8a0
add esp, 8
lea edi, [esp + 0xc]
mov byte [esp + 0x1c], 1
call fcn.004101e0
mov byte [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51e401
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 1
push 0
push str._tab:tab_krapidtrans__launchsrc:liebao_wifi
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x51e444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret

Function at 0x51e4f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0
push 0x1c
lea eax, [esp + 0xc]
push eax
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea ecx, [esp + 8]
call fcn.0040ff50
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, esi
call fcn.00569ed6
add esp, 0x210
ret
Function at 0x51e900
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x418
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x414], eax
push 0x40e
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.kinfoc.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x51ea2f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
push 0x104
lea ecx, [esp + 0x10]
push ecx
push eax
call ebx
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
je 0x51e9a9
push esi
push edi
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edi, [esp + 0x14]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x51e980
mov ecx, 0xd
mov esi, str.operationcaskinfoc.dll
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
call ebp
test eax, eax
pop edi
pop esi
jne 0x51ea2d
push 0x410
lea edx, [esp + 0x10]
push 0
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x10]
push eax
push 0x400000
call ebx
test eax, eax
je 0x51ea26
lea eax, [esp + 0xc]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x51e9e0
sub eax, edx
sar eax, 1
je 0x51ea26
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.operationcaskinfoc.dll
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x51ea26
lea ecx, [esp + 0xc]
push ecx
call ebp
test eax, eax
jne 0x51ea2d
push str.operationcaskinfoc.dll
call ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.00569ed6
add esp, 0x418
ret
Function at 0x522a30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x2001f
xor esi, esi
push esi
push str.SOFTWAREkingsoftkwifiKSetting
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x522a87
mov esi, dword [esp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x5a1a0c
push esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
mov edi, dword [esp + 0xc]
je 0x522a96
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
Function at 0x5238d0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x56fd66
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
cmp dword [esi], 0
je 0x52394b
push 1
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi]
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x52393c
cmp dword [esi + 0x30], 0
je 0x52393c
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x30], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
lea ebx, [esi + 0x20]
call fcn.00405320
lea eax, [esi + 0x14]
mov byte [esp + 0x14], 0
call fcn.00525c00
lea eax, [esi + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a7d90
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x523990
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x268
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
mov ebp, dword [esp + 0x274]
push esi
push edi
push 0
push 2
mov dword [esp + 0x20], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
jne 0x5239f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x5239db
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.UpdateChildPids:__08X_n
call fcn.004016c0
add esp, 8
mov eax, esi
jmp 0x523ade
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x523ad5
lea ecx, [ecx]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x40]
push eax
push esi
mov dword [esp + 0x48], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x523ac8
lea edi, [ebp + 8]
add ebp, 0x14
mov ecx, dword [edi + 4]
lea ebx, [esp + 0x48]
lea eax, [esp + 0x30]
mov esi, edi
mov dword [esp + 0x24], ecx
call fcn.00525590
mov esi, eax
cmp edi, dword [esi]
je 0x523a47
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x24]
cmp edx, dword [esi + 4]
jne 0x523a61
lea ecx, [esp + 0x48]
mov eax, edi
call fcn.00525510
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov edx, dword [ebp + 4]
lea ebx, [esp + 0x48]
lea eax, [esp + 0x38]
mov esi, ebp
mov dword [esp + 0x2c], edx
call fcn.005256f0
mov esi, eax
cmp ebp, dword [esi]
je 0x523a83
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 4]
jne 0x523aa9
lea ecx, [esp + 0x64]
push ecx
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, ebp
call fcn.00525600
add esp, 4
mov ecx, eax
call dword [0x582408]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x523a25
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x1c], eax
jne 0x523a00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00569ed6
add esp, 0x268
ret 4

Function at 0x523b00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push edi
push 0
push 0
lea edi, [esi + 4]
push edi
mov dword [esi + 0x30], 1
call ebx
test eax, eax
jne 0x523b48
push esi
call fcn.00523990
push esi
push 0x524320
call dword [sym.imp.USER32.dll_EnumWindows]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push edi
call ebx
test eax, eax
je 0x523b23
pop edi
mov dword [esi + 0x30], 0
pop ebx
mov esp, ebp
pop ebp
ret