joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470f3e
Capabilities:
Read file via mapping

Disassembly:
push ecx
push ecx
push ebx
push esi
mov esi, eax
push edi
lea ebx, [esi + 0x14]
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi], edi
mov dword [esp + 0xc], edi
je 0x470f7a
cmp dword [esi + 4], edi
je 0x470f7a
cmp dword [esi + 8], edi
je 0x470f7a
cmp dword [esi + 0xc], edi
je 0x470f7a
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x471099
mov eax, dword [esi + 4]
cmp eax, edi
je 0x470f8b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 4], edi
mov eax, dword [esi]
cmp eax, edi
je 0x470f9a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x470fab
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x470fbc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
push ebp
push str.GlobalA7B1CAE3_3722_4357_894E_FAAEC406F7D9
push edi
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
cmp ebp, edi
jne 0x470fed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenFileMapping_failed:__d_n
call dword [sym.imp.MSVCR80.dll_printf]
pop ecx
pop ecx
jmp 0x471071
push edi
push edi
push edi
push 6
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
cmp ebx, edi
je 0x47103d
push str.0D0E6E32_68D7_4072_9B4F_F73CF34B78F2_flow
push 4
push edi
push 4
push edi
push 0xffffffffffffffff
mov dword [esi], ebp
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x47102d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileMapping_failed:__d_n
jmp 0x471049
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
jne 0x471082
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MapViewOfFile_failed:__d_n
call dword [sym.imp.MSVCR80.dll_printf]
cmp ebx, edi
pop ecx
pop ecx
je 0x47105c
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
cmp dword [esp + 0x10], edi
je 0x471071
push dword [esp + 0x10]
call esi
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x471098
mov ecx, dword [esp + 0x10]
push dword [esp + 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret

Function at 0x471250
Capabilities:
Read file via mapping

Disassembly:
call fcn.0047110b
call fcn.00470f1a
test eax, eax
jne 0x471264
mov eax, 0x80004005
ret
call fcn.0047110b
jmp fcn.00470f3e
Function at 0x47198f
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
push esi
lea esi, [edi + 0x8d8]
mov eax, dword [esi]
test eax, eax
je 0x4719aa
push eax
call ebx
and dword [esi], 0
mov eax, dword [edi + 0x8dc]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
je 0x4719df
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4719df
push esi
push dword [edi + 0x8dc]
call ebp
push dword [edi + 0x8dc]
call ebx
mov dword [edi + 0x8dc], esi
lea esi, [edi + 0x8f0]
mov eax, esi
call fcn.00444abf
test eax, eax
je 0x471a07
push 0x2710
mov eax, esi
call fcn.00444ae6
mov esi, dword [esi]
test esi, esi
je 0x471a07
push 0
push esi
call ebp
push str.Global0CAC304D_8762_42bd_9C9B_A3D6D63EB989_auto
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov esi, eax
test esi, esi
je 0x471a29
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call ebx
push str.____Kxetray_End____________________________________________________
lea esi, [edi + 0x870]
call fcn.0046e220
pop ecx
push dword [edi + 0x468]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 4]
call fcn.00478513
pop ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
pop ebp
pop ebx
ret

Function at 0x4726dd
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0045179a
test eax, eax
je 0x472742
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x543ffc]
xor edx, edx
mov ecx, 0x3e8
div ecx
push eax
push 0x50edd8
push 0
lea eax, [ebp - 4]
push str.gameid_dgamename_sgametime_d
push eax
call fcn.0042a016
mov esi, dword [ebp - 4]
add esp, 0x14
mov edi, str.vip_gameopt_trayout
call fcn.00445488
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, dword [0x544e58]
xor esi, esi
cmp eax, esi
je 0x47277f
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47276d
push esi
push dword [0x544e58]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x544e58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x544e58], esi
mov ecx, dword [0x54521c]
cmp ecx, esi
je 0x472796
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [0x54521c], esi
mov ecx, dword [0x545220]
cmp ecx, esi
je 0x4727ad
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [0x545220], esi
mov edi, 0x5450d4
call fcn.0046f662
mov esi, 0x545098
call fcn.004547b5
mov esi, 0x5452c8
call fcn.0047072e
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x47283d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea esi, [ebp - 8]
call fcn.004038c8
mov esi, dword [ebp - 4]
test esi, esi
je 0x47285f
mov eax, dword [esi]
push str.duba_tlaunchs
mov ecx, esi
call dword [eax + 0xc]
call fcn.004a8259
test esi, esi
je 0x472875
mov edx, dword [esi]
push eax
push str.360safe
mov ecx, esi
call dword [edx + 0x14]
call fcn.00403be1
test esi, esi
je 0x47289b
mov edx, dword [esi]
push eax
push str.recordtime
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push str._r_auto
push str.ksetupwiz.exe
call fcn.0047838b
test eax, eax
pop ecx
pop ecx
jne 0x4728ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebx], 0xfffffff8
inc dword [edi]
push dword [edi]
mov dword [0x545814], eax
call fcn.00478cd4
pop ecx
jmp 0x4728e9
cmp dword [0x545814], 0
je 0x4728e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x545814]
cmp eax, 0xea60
jge 0x4728e9
and dword [ebx], 0xfffffff8
xor eax, eax
pop esi
leave
ret

Function at 0x47305e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
push str.kwifi.exe
push 0
lea eax, [ebp - 4]
call fcn.00496e16
pop ecx
lea ecx, [ebp - 8]
call fcn.0042a029
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47309e
call fcn.0042fc66
jmp 0x4730b6
xor ecx, ecx
push ecx
mov eax, 0x4730c3
push eax
push esi
call fcn.00473d85
add esp, 0xc
mov dword [esi + 0x8dc], eax
lea eax, [edi - 0x10]
call fcn.00401239
xor eax, eax
pop edi
leave
ret
Function at 0x4732f4
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [0x543f94]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x473311
mov ebp, dword [eax + 4]
jmp 0x473313
xor ebp, ebp
cmp ebp, esi
jne 0x473323
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x473348
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x473348
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x473348
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x1c], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], esi
push ebp
mov ebx, edi
mov dword [eax], esi
call fcn.004738a6
cmp eax, esi
mov dword [esp + 0x14], eax
jne 0x473373
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x473458
mov edx, eax
call fcn.0042429b
mov dword [esp + 0x20], eax
lea ebx, [edi + 4]
push ebx
mov eax, ebp
call fcn.0042414e
cmp dword [edi + 0x36c], esi
je 0x473403
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x4733e3
push 1
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x10]
je 0x473403
push esi
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004ae26a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x378], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x1c], esi
je 0x473444
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x473444
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x473444
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x20]
call fcn.0042429b
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x473710
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov edi, eax
mov dword [esp + 0x18], esi
jne 0x473747
mov eax, dword [0x543f94]
cmp eax, esi
je 0x473735
mov ebp, dword [eax + 4]
jmp 0x473737
xor ebp, ebp
cmp ebp, esi
jne 0x473747
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebp, eax
cmp ebp, esi
je 0x47376c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebp, eax
je 0x47376c
push ebp
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x47376c
push esi
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x18], 1
push ecx
mov eax, esp
mov dword [edi + 0x378], esi
push ebp
mov ebx, edi
mov dword [eax], esi
call fcn.00473ab2
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x473797
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x47387c
mov edx, eax
call fcn.0042429b
mov dword [esp + 0x1c], eax
lea ebx, [edi + 4]
push ebx
mov eax, ebp
call fcn.0042414e
cmp dword [edi + 0x36c], esi
je 0x473827
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
je 0x473807
push 1
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
je 0x473827
push esi
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004ae26a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x378], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x18], esi
je 0x473868
push 1
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, esi
je 0x473868
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x473868
push ebp
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x1c]
call fcn.0042429b
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x473d85
Capabilities:
Create thread

Disassembly:
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x473d96
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x14]
push 0x473dc1
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], edx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
ret
Function at 0x473e0d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, 0x50edd8
push esi
lea eax, [ebp - 4]
call fcn.004014ce
push esi
lea eax, [ebp - 8]
call fcn.004014ce
push str.install
lea eax, [ebp - 4]
push eax
call fcn.0040127c
mov ebx, dword [ebp - 4]
push 3
push ebx
lea eax, [ebp - 8]
push str._weatherpanel:_s__src:_d
push eax
call fcn.0042a016
push 0
lea eax, [ebp - 4]
call fcn.00496e16
push str.kwtpanel.exe
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
call fcn.0042a029
mov esi, dword [ebp - 0x10]
and dword [ebp - 0xc], 0
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edi, dword [ebp - 8]
je 0x473e97
push 1
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], eax
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [edi - 0x10]
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
xor eax, eax
cmp dword [ebp - 0xc], 0x20
pop edi
pop esi
setg al
pop ebx
leave
ret

Function at 0x475d7f
Capabilities:
Hide graphical window

Disassembly:
and dword [esi + 0x5c8], 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
call fcn.00476d18
and dword [esi + 0x7b4], 0
ret

Function at 0x476a66
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push str.data_floatwinsetting.ini
lea eax, [ebp - 4]
call fcn.00496f4f
lea ecx, [ebp - 8]
call fcn.0042a029
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.00401239
mov esi, dword [ebp - 8]
push esi
push 1
push str.kxetray_floatwin_show
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401239
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x476ab4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
xor esi, esi
push 0x208
mov dword [eax + 0x7b4], 4
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kcleaner.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push esi
push str._scan:0__src:16
lea eax, [ebp - 0x20c]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
leave
ret
Function at 0x476b36
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [eax + 0x7b4], 8
xor esi, esi
push esi
lea eax, [ebp - 4]
call fcn.00496e16
lea eax, [ebp - 4]
mov dword [esp], str.kwifi.exe
push eax
call fcn.00407371
push dword [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x476b8d
push 1
push esi
push str._dubatary
push dword [ebp - 4]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x476bcf
push ebx
push esi
lea eax, [ebp - 8]
call fcn.00496e16
lea eax, [ebp - 8]
mov dword [esp], 0x50cd38
push eax
call fcn.00407371
mov ebx, dword [ebp - 8]
push ebx
call edi
test eax, eax
je 0x476bc6
push 1
push esi
push str._tool:kwifi
push ebx
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [ebx - 0x10]
call fcn.00401239
pop ebx
mov esi, dword [ebp + 8]
call fcn.00475d7f
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
pop esi
leave
ret 4

Function at 0x476be8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, eax
xor edi, edi
push 0x208
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [esi + 0x7b4], 2
mov word [ebp - 0x20c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ksysslim.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push edi
push str._from:3
lea eax, [ebp - 0x20c]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push str.menu_ksysslim_show
call fcn.00430297
pop ecx
pop ecx
call fcn.00475d7f
pop edi
pop esi
leave
ret

Function at 0x476c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, eax
xor edi, edi
push 0x208
lea eax, [ebp - 0x20a]
push edi
push eax
mov dword [esi + 0x7b4], 9
mov word [ebp - 0x20c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kbootopt.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push edi
push str._src:3
lea eax, [ebp - 0x20c]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push str.menu_kbootopt_show
call fcn.00430297
pop ecx
pop ecx
call fcn.00475d7f
pop edi
pop esi
leave
ret
Function at 0x476ed9
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [0x543f94]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x20], esi
je 0x476eff
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
jmp 0x476f03
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], esi
jne 0x476f17
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x476f44
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [esp + 0x10], eax
je 0x476f44
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x476f44
push esi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x20], 1
push ecx
mov eax, esp
push dword [esp + 0x14]
mov dword [edi + 0x378], esi
mov ebx, edi
mov dword [eax], esi
call fcn.00477404
mov edx, eax
cmp edx, esi
mov dword [esp + 0x18], edx
jne 0x476f77
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x477064
call fcn.0042429b
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
lea ebx, [edi + 4]
push ebx
call fcn.0042414e
cmp dword [edi + 0x36c], esi
je 0x477007
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x476fe7
push 1
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
je 0x477007
push esi
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_AttachThreadInput]
call fcn.004ae26a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [ebx]
mov dword [edi + 0x378], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x20], esi
je 0x477050
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [esp + 0x10], esi
je 0x477050
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx]
jne 0x477050
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov edx, dword [esp + 0x24]
call fcn.0042429b
push dword [ebx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4770f5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x477105
xor eax, eax
inc eax
leave
ret
mov eax, dword [0x5438cc]
push esi
push edi
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.0043b2e0
lea edi, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x47719d
push 0x104
push 0x10e
mov esi, edi
call fcn.004015aa
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
cmp dword [ebp - 4], eax
je 0x47716c
push dword [ebp - 4]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 4]
call fcn.00401354
push 0x5c
lea esi, [ebp - 4]
call fcn.0042d702
mov ecx, eax
inc ecx
lea edx, [ebp - 8]
mov eax, esi
call fcn.0042a06a
mov edi, esi
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edi, str.kvip.dll
push edi
lea eax, [ebp - 4]
lea ecx, [ebp - 8]
call fcn.0042a029
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov dword [ebx + 4], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
cmp dword [ebx + 4], 0
jne 0x4771e0
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x477234
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x477234
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x51ea08
call eax
test eax, eax
jl 0x477234
mov esi, dword [esi]
test esi, esi
je 0x477234
push dword [0x543d40]
mov eax, dword [esi]
push dword [0x543d3c]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x477234
xor esi, esi
inc esi
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
pop edi
mov eax, esi
pop esi
leave
ret
mov esi, ebx
call fcn.00455d17
xor esi, esi
jmp 0x477223

Function at 0x47824c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, eax
mov ecx, 0x5438cc
call fcn.0040121e
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20e]
push ebx
push eax
mov word [ebp - 0x210], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
push 0x23
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.0040127c
lea eax, [ebp - 8]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.00407292
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4782d1
cmp ecx, ebx
jge 0x4782c5
push 0x80070057
call fcn.004016a9
movzx eax, word [eax]
cmp ax, 0x5c
mov byte [ebp - 1], bl
je 0x4782d5
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
cmp byte [ebp - 1], bl
je 0x4782f0
push 0x4da9e4
push esi
call fcn.00407371
mov eax, esi
pop esi
pop ebx
leave
ret