joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49582f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x30c]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x495860
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4958a4
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4958a4
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4959d2
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x495951
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004950dd
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2f8], eax
jne 0x49592e
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x495920
cmp word [ecx], ax
je 0x495920
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x495951
cmp dword [ebx + 0x10], eax
je 0x495951
mov dword [ebp - 0xc], 1
jmp 0x495951
push 1
push 0
push ebx
mov ecx, esi
call fcn.004950dd
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00473c99
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2f8], eax
je 0x495993
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4959d2
cmp dword [ebp - 0x10], eax
je 0x4959d2
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4959d2
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2f4
cmp eax, dword [esi]
jne 0x4959d2
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x497c04
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 1
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x497c52
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x110]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x497c52
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2fc], 0
je 0x497ccc
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x497c70
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x497cc5
push edi
call fcn.004753f6
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00473c99
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2fc], 0
pop edi
pop esi
leave
ret 0xc
Function at 0x498849
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x30c]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x49887a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4988be
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4988be
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4989ec
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x49896b
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004980b1
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2f8], eax
jne 0x498948
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x49893a
cmp word [ecx], ax
je 0x49893a
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x49896b
cmp dword [ebx + 0x10], eax
je 0x49896b
mov dword [ebp - 0xc], 1
jmp 0x49896b
push 1
push 0
push ebx
mov ecx, esi
call fcn.004980b1
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00473c99
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2f8], eax
je 0x4989ad
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4989ec
cmp dword [ebp - 0x10], eax
je 0x4989ec
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4989ec
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2f4
cmp eax, dword [esi]
jne 0x4989ec
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x49cc1d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x49cc9e
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x49cc9d
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x49cc68
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x49cc6c
xor eax, eax
jmp 0x49cc9c
mov ecx, dword [ebp + 0x10]
lea esi, [edi + 1]
push esi
call fcn.00401e51
test eax, eax
je 0x49cc89
push edi
push dword [ebp + 0xc]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push esi
call fcn.004273ea
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x5e7310
xor edi, edi
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 8], edi
call fcn.00401c3d
cmp dword [ebp + 0x14], edi
lea ecx, [ebp - 4]
je 0x49cea8
add ebx, 0xc
push ebx
call fcn.00403cc2
mov ebx, dword [ebp - 4]
cmp dword [ebx - 0xc], edi
je 0x49cf7f
push esi
lea ecx, [ebp + 0x14]
call fcn.00401c3d
push dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push dword [ebp + 8]
push ebx
push str._s_d._s
push eax
call fcn.004020ff
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49cf74
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, edi
je 0x49cf6d
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0xa]
push eax
mov dword [ebp + 0x10], edi
call fcn.00401e51
push edi
lea ecx, [ebp + 0x10]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x49cf64
cmp dword [ebp + 0x10], esi
jne 0x49cf64
mov ecx, dword [ebp + 0xc]
push esi
call fcn.004273ea
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401405
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040144c
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00401405
mov esi, dword [ebp - 8]
jmp 0x49cf50
Function at 0x49dff1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push 0x68
lea ecx, [esi + 0x24]
call fcn.0049dcb0
test eax, eax
je 0x49e015
push 0
call fcn.0041d58d
mov ecx, eax
call fcn.0041cba0
push 0x439
call fcn.004763cd
push eax
lea eax, [ebp - 4]
push eax
call fcn.0052e609
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49e068
push eax
lea eax, [ebp - 8]
push eax
call fcn.004114ce
push 0
push dword [ebp - 4]
push 0x587f88
push 0x59baf0
push dword [ebp - 8]
call fcn.0052ea2e
mov ecx, dword [ebp - 8]
add esp, 0x1c
add ecx, 0xfffffff0
call fcn.00401405
push 1
call fcn.0041d58d
mov ecx, eax
call fcn.0041cb66
push 1
mov ecx, esi
call fcn.0049dd4f
push 1
mov ecx, esi
call fcn.0049dc80
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
pop esi
leave
ret

Function at 0x49f13d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 1
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x49f18b
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x110]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x49f18b
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2fc], 0
je 0x49f205
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x49f1a9
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x49f1fe
push edi
call fcn.004753f6
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00473c99
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2fc], 0
pop edi
pop esi
leave
ret 0xc
Function at 0x49fe80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x30c]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x49feb1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x49fef5
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x49fef5
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4a0023
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x49ffa2
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.0049f5ea
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2f8], eax
jne 0x49ff7f
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x49ff71
cmp word [ecx], ax
je 0x49ff71
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x49ffa2
cmp dword [ebx + 0x10], eax
je 0x49ffa2
mov dword [ebp - 0xc], 1
jmp 0x49ffa2
push 1
push 0
push ebx
mov ecx, esi
call fcn.0049f5ea
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00473c99
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2f8], eax
je 0x49ffe4
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a0023
cmp dword [ebp - 0x10], eax
je 0x4a0023
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4a0023
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2f4
cmp eax, dword [esi]
jne 0x4a0023
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4a2a44
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov esi, ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 1]
push edi
call fcn.00401e99
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.00403287
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x4a496c
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [esp + 0xc], edi
jne 0x4a49a1
mov eax, dword [0x5e58bc]
cmp eax, edi
je 0x4a498f
mov ebx, dword [eax + 4]
jmp 0x4a4991
xor ebx, ebx
cmp ebx, edi
jne 0x4a49a1
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, edi
je 0x4a49c6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4a49c6
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4a49c6
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0xc], 1
push dword [esp + 0x1c]
mov ecx, esi
push edi
push ebx
mov dword [esi + 0x370], edi
call fcn.004a47d7
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x4a49f1
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4a4afd
push eax
call fcn.004a337e
cmp dword [esp + 0x20], edi
pop ecx
mov dword [esp + 0x10], eax
jne 0x4a4a0a
push ebx
mov ecx, esi
call fcn.004a318e
cmp dword [esi + 0x360], edi
je 0x4a4a9f
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x20]
je 0x4a4a63
push 1
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x20]
je 0x4a4a7f
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
pop ebp
je 0x4a4a9f
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push 0x97
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x370], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0xc], edi
je 0x4a4ae4
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x4a4ae4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x4a4ae4
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esp + 0x10]
call fcn.004a337e
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x374]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x4a4b88
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, 0x5e7310
push esi
lea ecx, [ebp - 4]
call fcn.00401c3d
push dword [ebp + 0x14]
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push eax
call fcn.004a39eb
add esp, 0xc
push 0x59d3e0
push dword [eax]
push 0x43a
call fcn.004763cd
pop ecx
push eax
lea eax, [ebp - 4]
push eax
call fcn.004020ff
mov ecx, dword [ebp - 8]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00401405
push 0x59d3cc
push 0x59d3c0
push 0x59d3b4
push 0x59d3a8
push dword [ebp - 4]
xor edi, edi
push edi
push dword [ebp + 8]
call fcn.004a4b05
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
add esp, 0x1c
dec eax
je 0x4a4c1b
dec eax
je 0x4a4c17
dec eax
je 0x4a4c13
xor ebx, ebx
jmp 0x4a4c1e
push 0x71
jmp 0x4a4c1d
push 0x70
jmp 0x4a4c1d
push 0x6f
pop ebx
push esi
lea ecx, [ebp + 0xc]
call fcn.00401c3d
push ebx
lea eax, [ebp + 0xc]
push str._src:_d__scan:0
push eax
call fcn.004020ff
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
add esp, 0xc
push 2
pop ecx
cmp eax, ecx
jne 0x4a4cac
mov eax, dword [ebp + 0x18]
push str.kcleaner.exe
lea ecx, [ebp + 0xc]
mov dword [eax], 1
call fcn.004a37bc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push edi
push eax
call fcn.00411735
pop ecx
pop ecx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407c1f
mov ecx, dword [ebp - 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401405
mov esi, dword [ebp - 0xc]
push edi
push edi
push ebx
push esi
push 0x58b168
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.00401405
jmp 0x4a4ced
cmp eax, 1
jne 0x4a4cb8
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x4a4ced
cmp eax, edi
jne 0x4a4cc7
mov eax, dword [ebp + 0x18]
mov dword [eax], 5
jmp 0x4a4ced
cmp eax, 3
jne 0x4a4ced
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
push 0x59d374
mov dword [eax], 6
mov eax, dword [ebp + 0x1c]
push str.no_show
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebx - 0x10]
call fcn.00401405
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a4d05
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call fcn.004c8a51
test eax, eax
jne 0x4a4e96
lea eax, [ebp - 8]
push 0x400000
push eax
call fcn.00411735
push str.datakfreepromotecache.ini
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00407c58
push str.dataktrashud.dat
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407c58
push str.dataknewvip.ini
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00407c58
add esp, 0x2c
push 0x5e7310
lea ecx, [ebp - 4]
call fcn.00401c3d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.004a3820
mov ebx, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop ecx
pop ecx
push ebx
push 0
push str.no_show
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4a4e62
push dword [ebp - 0xc]
mov edi, str.kfreepromote_msgbox_trash
push 0x64
push str.trash_limit
push edi
call esi
mov dword [ebp - 0x10], eax
call fcn.004a3b15
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
shrd eax, edx, 0x14
shr edx, 0x14
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jl 0x4a4e62
push dword [ebp - 0x14]
push 0
push str.last_used_time
push str.kcleaner
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004a33e6
test eax, eax
pop ecx
jne 0x4a4e62
push dword [ebp - 0xc]
push 7
push str.show_interval_days
push edi
call esi
push ebx
push 0
push str.last_pop_time
push edi
mov dword [ebp - 0x18], eax
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004a3408
test eax, eax
pop ecx
pop ecx
jne 0x4a4e62
and dword [ebp - 0x10], eax
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a4b88
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 1
push dword [ebp + 0xc]
call fcn.004a3d03
add esp, 0x2c
push ebx
push ecx
mov ecx, esp
push edi
call fcn.0040460b
call fcn.004a36d1
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401405
lea ecx, [ebx - 0x10]
call fcn.00401405
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401405
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b150b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ressrcchsuplive.svr
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056f17c
leave
ret