joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4344bc
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x654
push ebx
push ebp
push esi
push edi
xor esi, esi
lea eax, [esp + 0x18]
push 0x228
push esi
push eax
mov edi, esi
mov dword [esp + 0x20], esi
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov ebx, 0x208
mov word [esp + 0x454], ax
lea eax, [esp + 0x456]
push ebx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov word [esp + 0x244], ax
lea eax, [esp + 0x246]
push ebx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [0x45fbd0], esi
jne 0x434545
mov ecx, str.Psapi.dll
call fcn.00404e59
test eax, eax
je 0x434545
push str.GetModuleFileNameExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x45fbd0], eax
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x434677
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x434674
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x20a
mov dword [esp + 0x14], eax
lea eax, [esp + 0x248]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call fcn.0043444f
push 0x104
lea eax, [esp + 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x434674
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x10]
je 0x434656
test eax, eax
je 0x434656
cmp eax, 4
je 0x434656
push eax
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x434656
mov eax, dword [0x45fbd0]
test eax, eax
je 0x434651
push 0x104
lea ecx, [esp + 0x458]
push ecx
push esi
push edi
call eax
test eax, eax
je 0x434651
lea ecx, [esp + 0x454]
lea eax, [esp + 0x244]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43463c
test dx, dx
je 0x434638
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43463c
add eax, 4
add ecx, 4
test dx, dx
jne 0x434616
mov eax, esi
jmp 0x434641
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434651
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x43466d
push edi
call ebp
mov edi, esi
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4345bc
xor esi, esi
inc esi
test edi, edi
je 0x434674
push edi
call ebp
push ebx
call ebp
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x654
ret
Function at 0x434684
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x414
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 0xf003f
xor ebp, ebp
mov edi, edx
push ebp
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434711
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x4346ed
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
call fcn.00434684
mov esi, eax
test esi, esi
jne 0x43471c
lea eax, [esp + 0x18]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push ecx
push dword [esp + 0x2c]
mov dword [esp + 0x34], 0x200
call ebp
test eax, eax
je 0x4346c5
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x434711
Function at 0x43511a
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x218
push ebx
xor eax, eax
xor ebx, ebx
push 0x206
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push ebx
push eax
call sub.msvcrt.dll_memset
xor edx, edx
lea ecx, [esp + 0x20]
push 1
inc edx
call fcn.00435c08
add esp, 0x10
test al, al
je 0x4351f4
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.004025b6
push str.update.dll
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0040e170
lea edx, [esp + 0x14]
mov dword [esp], str._sqlite.dll
lea ecx, [esp + 0x1c]
call fcn.0040e170
lea edx, [esp + 0x14]
mov dword [esp], str.User_Datalocalurls
lea ecx, [esp + 0x20]
call fcn.0040e170
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
push dword [esp + 0x14]
call ebp
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x4351c5
push esi
call ebp
test eax, eax
je 0x4351c5
push edi
call ebp
test eax, eax
jne 0x4351c7
mov bl, 1
lea ecx, [edi - 0x10]
call fcn.0040169b
lea ecx, [esi - 0x10]
call fcn.0040169b
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040169b
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.0040169b
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 0x218
ret

Function at 0x435c08
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x435d36
cmp esi, 6
jge 0x435d36
xor ebx, ebx
cmp word [0x460d90], bx
jne 0x435c87
push ebx
push 0x1c
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x435c48
int3
push 0x4559b4
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435c73
push ebx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x10]
mov edx, 0x104
push eax
mov ecx, 0x460d90
call fcn.00401617
xor eax, eax
mov ebp, ebx
mov word [edi], ax
sub esi, ebx
je 0x435cdf
dec esi
je 0x435ccc
dec esi
je 0x435cc5
dec esi
je 0x435caf
dec esi
je 0x435ca8
dec esi
jne 0x435d0a
mov ebp, str.dump
jmp 0x435cf1
mov ebp, str.favicons
jmp 0x435cf1
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x435ce4
mov ebp, str.User_Data
jmp 0x435cf1
push 0x460d90
mov edx, 0x104
mov ecx, edi
call fcn.00401617
jmp 0x435ce4
mov ebp, str.Update
cmp word [edi], bx
je 0x435ced
mov al, 1
jmp 0x435d38
test ebp, ebp
je 0x435d0a
push 0x460d90
mov edx, 0x104
mov ecx, edi
call fcn.00401617
push ebp
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [edi], bx
je 0x435d36
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x435ce9
cmp byte [esp + 0x21c], bl
je 0x435d32
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x435d32
xor ebx, ebx
inc ebx
mov al, bl
jmp 0x435d38
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x435e96
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040129e
push eax
lea ecx, [esp + 0x10]
call fcn.004028e5
mov eax, dword [edi]
mov dword [esp + 0x10], eax
test eax, eax
je 0x435f19
push ebp
mov ebx, 0x458fa4
mov ebp, 0x458f94
lea eax, [esp + 0x14]
push eax
call fcn.0040538c
lea ecx, [esp + 0x10]
mov esi, dword [eax]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.00401a0b
mov ecx, ebx
call fcn.00401bae
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00401a0b
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push dword [eax - 0xc]
push eax
call fcn.00401a0b
mov ecx, ebp
call fcn.00401bae
push eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00401a0b
cmp dword [esp + 0x14], 0
jne 0x435ec2
pop ebp
mov esi, 0x458f98
mov ecx, esi
call fcn.00401bae
push eax
push esi
lea ecx, [esp + 0x14]
call fcn.00401a0b
xor ebx, ebx
lea eax, [edi + 0x18]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [esp + 0xc]
mov edi, eax
cmp edi, 0xffffffff
je 0x435f71
mov ecx, dword [esi - 0xc]
lea eax, [esp + 0x14]
push ebx
push eax
add ecx, ecx
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.0040169b
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x435f80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea eax, [ebp + 0x18]
mov dword [esp + 0x28], edi
push eax
mov esi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436010
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x436009
lea eax, [edi*2 + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x436009
lea eax, [edi*2 + 2]
push eax
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x436009
cmp dword [esp + 0x10], edi
jne 0x436009
push esi
mov ecx, ebp
call fcn.00436020
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x436589
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x66c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00408244
push ebx
mov ecx, eax
mov dword [ebx + 8], eax
call fcn.00408e6e
xor ebp, ebp
mov esi, ebp
call fcn.00415cc9
xor ecx, ecx
inc ecx
test al, al
je 0x4365bc
cmp byte [ebx + 0x24], 0
cmovne esi, ecx
push 0x104
lea eax, [esp + 0x68]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebx + 8]
push dword [eax + 4]
lea eax, [esp + 0x68]
push esi
push eax
push str.__s____typerenderer___mode_d___channel_d
lea eax, [esp + 0x27c]
push 0x208
push eax
call fcn.0040203a
push 0x40
lea eax, [esp + 0x40]
push ebp
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
mov dword [esp + 0x10], ebp
xor eax, eax
mov dword [esp + 0x20], 0x44
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x28c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43664f
lea edi, [ebx + 0xc]
mov al, 1
lea esi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x436651
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret

Function at 0x436fce
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push dword [edi + 0xc]
push ebx
push 0x436f2c
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [edi + 4]
mov dword [ebp - 8], edi
push ecx
push ebx
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x437695
push ebx
push ebx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push esi
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4379ec
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
inc esi
cmp dword [edi + 0x20], esi
je 0x437a56
cmp dword [edi + 0x20], 2
je 0x437a56
push 0x65
push dword [edi + 0x14]
mov dword [edi + 0x20], esi
call dword [sym.imp.USER32.dll_KillTimer]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push dword [edi + 0x24]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, esi
mov ecx, eax
call fcn.00437b61
mov edx, dword [edi + 0x28]
pop ecx
mov ecx, dword [edi + 0x14]
call fcn.004378c7
push 4
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x5dc
push 0x66
push dword [edi + 0x14]
mov byte [edi + 0x3c], 0
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x437a59
Capabilities:
Hide graphical window

Disassembly:
push ecx
push edi
mov edi, ecx
cmp dword [edi + 0x20], 0
je 0x437b5c
push ebx
push ebp
xor ebx, ebx
mov byte [esp + 0xf], 0
xor ebp, ebp
push esi
cmp byte [esp + 0x18], bl
jne 0x437ac0
call fcn.00437cdd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 2
push dword [edi + 0x28]
mov ebp, eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov ebx, eax
cmp ebx, dword [edi + 0x28]
jne 0x437a9c
xor ebx, ebx
jmp 0x437ac0
call dword [sym.imp.USER32.dll_GetFocus]
jmp 0x437ab5
cmp eax, dword [edi + 0x28]
je 0x437abb
cmp eax, dword [edi + 0x14]
je 0x437abb
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x437aa4
jmp 0x437ac0
mov byte [esp + 0x13], 1
cmp dword [edi + 0x20], 0
je 0x437aca
and dword [edi + 0x20], 0
push 0x66
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push dword [edi + 0x24]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, esi
mov ecx, eax
call fcn.00437b61
pop ecx
push 0
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 0x14]
xor edx, edx
call fcn.004378c7
mov byte [edi + 0x3c], 1
test ebx, ebx
je 0x437b47
cmp ebp, ebx
jne 0x437b1e
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
jmp 0x437b37
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
push 6
push ebx
call esi
push ebp
push ebp
push 0x86
push ebx
call esi
cmp byte [esp + 0x13], 0
je 0x437b47
push dword [edi + 0x28]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0xfa0
push 0x65
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret 4
Function at 0x437cdd
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
lea eax, [esp + 0x24]
push eax
push dword [edi + 0x14]
mov dword [esp + 0x20], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x30]
xor esi, esi
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0xcc0020
push esi
push esi
push ebp
push ecx
push eax
push esi
push esi
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
test eax, eax
je 0x437d6e
push ecx
push ebx
mov ecx, eax
call fcn.00419b8b
mov esi, eax
push esi
lea ecx, [esp + 0x20]
call fcn.004198bb
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00419878
mov eax, dword [edi + 0x38]
mov ecx, dword [0x460d54]
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.00437712
mov esi, eax
test esi, esi
je 0x437dd4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00419878
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push ecx
mov edx, dword [ecx]
mov ecx, esp
push eax
call fcn.00419878
push dword [esp + 0x24]
mov ecx, dword [esi + 4]
call dword [edx + 0x44]
lea ecx, [esp + 0x10]
call fcn.00419953
lea ecx, [esp + 0x14]
call fcn.00419953
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x1c]
call fcn.00419953
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret

Function at 0x437e52
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
push edi
xor eax, eax
xor ebp, ebp
push eax
push eax
inc ebp
mov edi, ecx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
xor eax, eax
push eax
push eax
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [edi + 8]
mov dword [esp + 0x18], ebp
push eax
xor ebp, ebp
mov dword [esp + 0x18], edi
push ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ebx
push eax
push 0x437f26
push ebp
push ebp
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [edi + 4], eax
test eax, eax
je 0x437ec8
push 0xffffffffffffffff
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push ebp
push eax
push 2
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret
Function at 0x4381f2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov edi, ecx
push 0x4525f0
push str.ver_s
push dword [edi + 0x10]
lea ebx, [edi + 0x14]
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x10
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
xor ecx, ecx
call fcn.00415b54
push eax
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push str.iever_d
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x10
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
call fcn.00406399
push dword [eax]
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push str.ostype_d
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x10
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
call fcn.0040129e
push eax
lea ecx, [ebp - 4]
call fcn.004028e5
lea ecx, [ebp - 4]
call fcn.004036a0
mov esi, dword [ebp - 4]
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push esi
push str.uuid_s
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x10
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push str.cn0
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0xc
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
xor eax, eax
push 0x3e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0x40
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
push str.lbmini_pid
push str.SoftwareKingsoftLBMINI
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push str.pid_S
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x10
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
cmp dword [edi + 0x18], 1
jne 0x438363
mov eax, dword [ebx]
add eax, dword [edi + 0xc]
push str.lbmini_huoyue101url
push dword [edi + 0x10]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0xc
mov ecx, dword [edi + 0xc]
push ebx
call fcn.004307a9
lea ecx, [esi - 0x10]
call fcn.0040169b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438484
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.msvcrt.dll__time64]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
cmp dword [edi + 0x18], ebp
jne 0x4384c7
push ebp
call ebx
push edx
push eax
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x14]
sub eax, dword [esi]
push str.actiontime_ld_r_n
push eax
mov eax, dword [edi + 0xc]
add eax, dword [esi]
push eax
call fcn.00402f40
mov edx, dword [edi + 0x10]
add esp, 0x18
mov ecx, dword [edi + 0xc]
push esi
call fcn.004307a9
cmp dword [edi + 4], 0x3e8
jne 0x438554
push dword [edi]
push ebp
push str.alive
push str.once
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esp + 0x10], eax
or eax, ebp
mov dword [esp + 0x14], ebp
je 0x438554
push ebp
call ebx
push 0x24
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, dword [sym.imp.msvcrt.dll__localtime64]
mov ebp, eax
lea eax, [esp + 0x18]
push eax
call ebx
push 9
mov esi, eax
mov edi, ebp
pop ecx
lea eax, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
push eax
call ebx
mov ecx, dword [ebp + 0x14]
add esp, 0x10
cmp ecx, dword [eax + 0x14]
jne 0x43854c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x10]
jne 0x43854c
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 0xc]
jne 0x43854c
push ebp
call dword [sym.imp.msvcrt.dll_free]
pop ecx
xor al, al
jmp 0x438556
push ebp
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4386d8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push str.LBMINI_MUTEX
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
jne 0x4386fe
xor al, al
jmp 0x4387fa
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4387b1
mov esi, ebx
push ebx
push 0x459188
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
jne 0x438737
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x438712
jmp 0x4387ed
mov edx, dword [ebp + 8]
test edx, edx
je 0x4387a1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x438743
sub ecx, esi
sar ecx, 1
je 0x4387a1
push edx
push 0x453228
lea eax, [ebp + 8]
mov dword [ebp + 8], ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004120e0
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x4387ed
push ebx
push 0x2710
mov dword [ebp - 8], ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x4a
push edi
mov dword [ebp - 0x10], 0x55524c53
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x4387ed
push ebx
push ebx
push 0x8001
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4387ed
push 0x1c
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x4387cf
mov ecx, esi
call fcn.004259c4
mov dword [esi], 0x4591c4
jmp 0x4387d1
mov esi, ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ebx
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.004259e2
test al, al
jne 0x4387f1
xor al, al
jmp 0x4387f9
mov eax, dword [esi + 0x14]
mov dword [edi + 4], eax
mov al, 1
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43b9b5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
push edi
mov esi, ecx
call fcn.004277cf
mov edi, eax
test edi, edi
je 0x43ba6c
push ebx
push dword [esi + 0x70]
mov ecx, edi
call fcn.00428711
mov ebx, eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x1fe]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x200]
push pe_nt_image_headers32
push eax
mov eax, dword [esi + 0x74]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x200]
call fcn.00401bae
mov ecx, dword [esi + 0x78]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.00401b24
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x43ba50
mov ecx, dword [esi + 0x7c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x68]
push 0
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp 0x43ba6b
test ebx, ebx
je 0x43ba5d
push ecx
push ebx
mov ecx, edi
call fcn.004282dd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, eax
call fcn.00424837
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret