joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432531
Capabilities:
Query environment variable

Disassembly:
push ecx
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jne 0x432540
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
cmp eax, esi
mov dword [esp + 4], eax
je 0x43253b
push ebx
push ebp
push edi
xor edi, edi
jmp 0x432558
inc eax
inc eax
inc edi
cmp dword [eax], esi
jne 0x432555
mov ebx, str.Kingsoft_LBStart1
push ebx
call dword [sym.imp.MSVCR80.dll_wcslen]
lea ebp, [eax + edi + 3]
xor ecx, ecx
push 2
pop edx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ce6ea
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x43259b
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop edi
pop ebp
mov eax, esi
pop ebx
jmp 0x43253d
lea eax, [ebp + ebp]
push eax
push 0
push esi
call sub.MSVCR80.dll_memset
add edi, edi
push edi
push dword [esp + 0x20]
push esi
call sub.MSVCR80.dll_memcpy
lea eax, [edi + esi + 2]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
mov eax, dword [esp + 0x38]
mov dword [eax], esi
xor esi, esi
add esp, 0x20
inc esi
jmp 0x43258a

Function at 0x4326aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x206]
push esi
push eax
or edi, 0xffffffff
mov word [ebp - 0x208], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x432745
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0x10
test eax, eax
je 0x432742
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0xc], esi
jne 0x43273e
cmp eax, 0x20
jle 0x432747
xor eax, eax
jmp 0x432747
push 0xfffffffffffffffe
pop edi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x43274b
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
push esi
push edi
xor edi, edi
push 0x206
lea eax, [ebp - 0x2f2]
push edi
push eax
or esi, 0xffffffff
mov word [ebp - 0x2f4], di
call sub.MSVCR80.dll_memset
mov dword [ebp - 0xc], edi
add esp, 0xc
lea edi, [ebp - 0x28]
call fcn.00494adc
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, edi
push ecx
call fcn.00494b45
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432906
push 0x104
lea eax, [ebp - 0x2f4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x432906
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x2f4]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x2f4]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4327f8
push 0xfffffffffffffffe
pop esi
jmp 0x432906
push str.litedeskadmin
lea eax, [ebp - 0x28]
call fcn.00494ea7
test al, al
je 0x432914
push dword [ebp + 8]
lea eax, [ebp - 8]
call fcn.004014ce
push ebx
lea edi, [ebp - 0x10]
call fcn.00496dac
mov dword [esp], 0x50edd8
push str.__litedeskadmin
lea eax, [ebp - 8]
push eax
call fcn.00407090
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x64]
push 0
push eax
call sub.MSVCR80.dll_memset
mov edi, dword [ebp - 0x10]
and dword [ebp - 0x5c], 0
add esp, 0xc
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 8]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x58], str.runas
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [edi - 0x10]
call fcn.00401239
lea eax, [esi - 0x10]
call fcn.00401239
mov edi, dword [ebp - 0xc]
mov esi, edi
cmp edi, 0x1f
jne 0x432906
push str.rundll32_shell32_OpenAs_RunDLL
lea esi, [ebp - 8]
call fcn.0041670c
mov edi, 0x512820
push edi
mov eax, esi
push eax
call fcn.00433294
push ebx
lea esi, [ebp - 0xe8]
call fcn.0042c014
push dword [eax]
lea eax, [ebp - 8]
push eax
call fcn.00433294
lea eax, [ebp - 0xe4]
cmp dword [ebp - 0xe8], eax
je 0x4328dd
push dword [ebp - 0xe8]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push edi
lea eax, [ebp - 8]
push eax
call fcn.00433294
mov edi, dword [ebp - 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1f
pop ecx
cmp ecx, eax
sbb esi, esi
not esi
and esi, eax
lea eax, [edi - 0x10]
call fcn.00401239
lea ecx, [ebp - 0x28]
call fcn.00494b1c
pop edi
mov eax, esi
pop esi
leave
ret
push ebx
lea edi, [ebp - 0xc]
call fcn.00496dac
mov esi, dword [ebp - 0xc]
pop ecx
push 1
push esi
push dword [ebp + 8]
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00401239
cmp edi, 0x20
jle 0x432889
xor esi, esi
jmp 0x43288b
Function at 0x432a2c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov ebx, 0x5438cc
mov ecx, ebx
mov esi, edi
call fcn.0040121e
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x5438cc]
mov ecx, ebx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 8], ebx
call fcn.00432124
test eax, eax
pop ecx
je 0x432a8a
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432a8a
lea eax, [ebp - 4]
call fcn.0042a0a0
jmp 0x432b06
lea eax, [ebp - 8]
push eax
call fcn.004a7931
test eax, eax
mov ebx, dword [ebp - 8]
pop ecx
je 0x432b06
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432b06
lea eax, [ebp - 8]
call fcn.0042a0a0
lea eax, [ebx - 0x10]
call fcn.0042a0e1
add eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
call fcn.00407211
push str.iexplore.exe
xor ecx, ecx
lea esi, [ebp - 8]
call fcn.00429fa6
cmp eax, 0xffffffff
je 0x432afb
lea eax, [ebp - 4]
push eax
call fcn.00432124
test eax, eax
pop ecx
je 0x432afb
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432afb
lea eax, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00401239
lea eax, [ebx - 0x10]
call fcn.00401239
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00401239
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432b20
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
or esi, 0xffffffff
cmp dword [ebp + 8], 0
push edi
je 0x432c4a
lea eax, [ebp - 8]
call fcn.00432a2c
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, str.open
je 0x432bcb
lea eax, [ebp - 8]
call fcn.00407211
push str.liebao.exe
xor ecx, ecx
lea esi, [ebp - 8]
call fcn.00429fa6
cmp eax, 0xffffffff
je 0x432bb1
call fcn.00431f94
test eax, eax
je 0x432bb1
call fcn.0043169b
test eax, eax
je 0x432bb1
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00431dda
mov esi, dword [ebp - 0xc]
add esp, 0x14
jmp 0x432bc7
push 1
xor esi, esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
push ebx
push esi
call edi
cmp eax, 0x20
jg 0x432c3f
mov esi, eax
test esi, esi
je 0x432c3f
and word [ebp - 0x21c], 0
push 0x206
lea eax, [ebp - 0x21a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0x26
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x432c2d
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
xor esi, esi
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push ebx
push esi
call edi
cmp eax, 0x20
jg 0x432c3f
push 0xfffffffffffffffe
pop esi
test esi, esi
je 0x432c3f
push 0
push dword [ebp + 8]
call fcn.004326aa
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x433f3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
call dword [section..data]
mov eax, dword [ebp + 8]
xor esi, esi
push 2
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x410], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp + 0xc], ebx
jne 0x433f84
call fcn.00433cce
mov esi, eax
jmp 0x43406f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x433fa1
call fcn.00433cce
jmp 0x434064
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x433f97
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
jae 0x433ff0
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x433fda
lea eax, [ebp - 0x410]
call fcn.0043408f
mov edi, 0x8007000e
lea esi, [ebp - 4]
call fcn.0042e894
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
push 2
push eax
call fcn.0042e70e
cmp eax, 0x400
pop ecx
pop ecx
jbe 0x434010
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00434e27
jmp 0x43401c
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov ebx, dword [ebp - 0x410]
cmp ebx, esi
jne 0x43402d
mov esi, 0x8007000e
jmp 0x434066
call dword [section..data]
push edi
push ebx
push edi
push dword [ebp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x433f97
mov ecx, dword [ebp - 0x410]
push dword [ebp + 0x18]
mov word [ecx + eax*2], si
push dword [ebp - 0x410]
lea ecx, [ebp - 0xc]
call fcn.00434099
mov esi, eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x40c]
cmp dword [ebp - 0x410], eax
je 0x434088
lea eax, [ebp - 0x410]
call fcn.0043408f
mov edi, esi
jmp 0x433fdf
Function at 0x434ddd
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x434df0
push 0x80004005
call fcn.004016a9
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x434df7
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x434ebe
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.004017a0
mov edi, eax
cmp edi, esi
je 0x434efb
cmp dword [ebp - 8], esi
je 0x434ef7
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x434f68
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x434f19
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 8]
call fcn.00434ebe
cmp eax, esi
mov dword [ebp - 0x10], eax
jne 0x434f6f
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x100
call edi
test eax, eax
je 0x434f03
cmp dword [ebp - 8], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x434f4f
push dword [ebp - 8]
call edi
mov dword [ebp - 8], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 8], esi
mov ebx, eax
je 0x434f66
push dword [ebp - 8]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
cmp dword [ebp - 8], esi
je 0x434f7d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
jmp 0x434f68

Function at 0x4352f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x435305
push 0x80004005
call fcn.004016a9
push edi
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push ebx
push str.InstallLocation
push dword [eax]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, ebx
je 0x43535f
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x43535c
cmp dword [ebp - 4], ebx
jbe 0x435359
cmp dword [ebp - 4], 2
jbe 0x435364
cmp dword [ebp - 4], 7
jne 0x435359
test cl, 1
jne 0x435359
shr ecx, 1
cmp ecx, 1
jb 0x435359
cmp word [esi + ecx*2 - 2], bx
jne 0x435359
cmp ecx, 1
jbe 0x43535f
cmp word [esi + ecx*2 - 4], bx
je 0x43535f
push 0xd
pop eax
mov word [esi], bx
pop ebx
leave
ret 4
test cl, 1
jne 0x435359
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jmp 0x435357

Function at 0x43609c
Capabilities:
Check mutex on windows

Disassembly:
push esi
push edi
push str.D6EA0E19_58FB_453a_AF9E_474B89347555
push 1
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4360be
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
ret
Function at 0x436520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea edi, [ebp - 0x18]
xor esi, esi
call fcn.00490b69
mov eax, dword [0x5438cc]
mov ecx, 0x5438cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
call fcn.00496e16
pop ecx
lea edi, [ebp - 4]
call fcn.0042a0a0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00401239
push str.liectrl.config
mov eax, edi
push eax
call fcn.00407371
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4365a3
push 2
push edi
lea ebx, [ebp - 0x18]
call fcn.00490c36
test eax, eax
je 0x4365a3
push str.Enable
push str.LBLock
mov eax, ebx
push eax
xor eax, eax
call fcn.0049111f
mov esi, eax
lea eax, [edi - 0x10]
call fcn.00401239
lea edi, [ebp - 0x18]
call fcn.00490b82
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x436747
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x4367d0
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
jne 0x4367cf
push esi
mov esi, dword [ebp + 0xc]
call fcn.00401314
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.004015aa
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x4367ce
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x4367c0
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, esi
call fcn.00401354
mov dword [ebp - 0xc], 1
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x436a62
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x48]
call fcn.00485256
mov ebx, dword [ebp + 0x14]
mov eax, esi
call fcn.00438b59
lea ebx, [edi + 0x28]
mov dword [ebp + 0x14], ebx
call fcn.00435596
mov eax, dword [ebp + 0x18]
mov ecx, ebx
call fcn.00438a3e
lea ebx, [edi + 0x38]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xb4
mov dword [ebp - 0xc], 0x62
lea esi, [ebp - 0x18]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
cmp dword [0x53f128], eax
mov dword [ebp - 8], ebx
jne 0x436ac9
mov dword [0x53f128], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
push 0x53f0f8
call fcn.004242ae
movzx eax, ax
push eax
push edi
mov edi, dword [ebp + 0x10]
push 0x88
push SysReAllocStringLen
push 0
push ebx
push edi
mov ebx, esi
call fcn.0040a74b
mov dword [esi + 0x24], edi
mov edi, dword [ebp + 0x18]
mov eax, edi
mov dword [esi + 0x58], 0xffffff
call fcn.00438c7f
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], eax
mov eax, edi
call fcn.00438c7f
test eax, eax
jbe 0x436b60
xor esi, esi
call fcn.00438c92
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
dec eax
dec eax
imul eax, eax, 0xc
mov esi, ebx
add dword [esi + 0x40], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [esi + 0x3c]
call fcn.00438c7f
imul eax, dword [esi + 0x70]
push 0x40
add eax, edi
push eax
push dword [esi + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 8]
push edi
push dword [eax]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x14

Function at 0x437114
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
push edi
mov esi, ecx
jne 0x437179
cmp dword [ebp + 0xc], 0xf
jne 0x437138
mov eax, esi
call fcn.00437181
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x43717b
xor edi, edi
inc edi
cmp dword [ebp + 0xc], edi
jne 0x437149
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, edi
jmp 0x43717b
cmp dword [ebp + 0xc], 0x113
jne 0x437179
mov eax, 0x400
cmp dword [ebp + 0x10], eax
jne 0x437140
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x24], 0
jne 0x437140
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x437140
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x437c40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
push esi
push edi
mov edi, eax
xor esi, esi
lea eax, [ebp - 0x20]
push eax
mov eax, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
call fcn.00438326
lea eax, [ebp - 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x2c]
cmp eax, esi
mov dword [edi + 0x34], 1
je 0x437cd0
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
je 0x437c93
mov dword [eax + 0x70], ecx
mov ecx, dword [edi + 0x5c]
mov edx, dword [edi + 0x58]
mov esi, dword [edi + 0x54]
mov ebx, dword [edi + 0x50]
mov eax, dword [edi + 0x2c]
mov dword [eax + 0x78], ebx
mov dword [eax + 0x7c], esi
mov dword [eax + 0x80], edx
mov dword [eax + 0x5c], ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [edi + 4]
push dword [edi + 0x2c]
call fcn.00436a62
xor esi, esi
push 0x5c
lea eax, [ebp - 0xa0]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x5c
lea eax, [ebp - 0xa0]
push esi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x50ee88
lea eax, [ebp - 0x84]
push 0x20
push eax
mov dword [ebp - 0xa0], 0xc
mov dword [ebp - 0x90], 0x190
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
mov eax, dword [edi + 0xbc]
cmp eax, esi
je 0x437d43
cmp eax, ebx
je 0x437d43
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0xbc], ebx
test byte [edi + 0xc0], 1
je 0x437de9
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov eax, ecx
sub eax, esi
push 3
pop ebx
cdq
idiv ebx
lea edx, [ecx - 2]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], edx
lea edx, [ebp - 0x30]
shl eax, 2
sub ecx, eax
add ecx, ebx
push ecx
mov dword [ebp - 0x28], ecx
mov ecx, esp
lea eax, [esi + 2]
mov esi, dword [ebp - 0x10]
push 0
push 0x500000c0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
push ecx
add esi, 4
mov dword [ebp - 0x30], esi
mov dword [ecx], 0x3ff
mov ecx, esp
push eax
push str.EDIT
lea esi, [edi + 0x30]
push esi
mov dword [ecx], edx
call fcn.004246a9
push dword [esi]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 0xbc]
push 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x38]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [edi + 0x4c]
call fcn.00438369
test byte [edi + 0xc0], 2
je 0x437e0b
push dword [edi + 4]
lea esi, [edi + 0x78]
call fcn.0043728c
mov dword [esi + 0x3c], 1
mov dword [esi + 0x40], 0x1f4
lea esi, [ebp - 0x40]
call fcn.00438b3e
lea esi, [ebp - 0x20]
call fcn.0043566d
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x439df6
Capabilities:
Log keystrokes via polling

Disassembly:
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x439e3d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x439e36
cmp dword [esp + 4], 0x1b
jne 0x439e1d
push 0
push 2
jmp 0x439e28
cmp dword [esp + 4], 0xd
jne 0x439e36
push 0
push 1
push 0x111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x37c], 0
ret 4

Function at 0x43b57b
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebx + 4], 0
je 0x43b58b
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 0x43b623
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 0x43b5f2
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.kvipcore.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 0x43b666
push edi
call esi
test eax, eax
mov dword [ebx + 4], eax
je 0x43b6ba
push str.KVipGetClassObject
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b6ba
lea esi, [ebx + 8]
and dword [esi], 0
push esi
push 0x5137d8
call eax
test eax, eax
jl 0x43b6ba
mov esi, dword [esi]
test esi, esi
je 0x43b6ba
push dword [0x543d40]
mov eax, dword [esi]
push dword [0x543d3c]
push esi
call dword [eax + 0xc]
test eax, eax
jl 0x43b6ba
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 0x43b6a9

Function at 0x43b71a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43b731
test al, 0x10
jne 0x43b731
xor eax, eax
inc eax
ret
xor eax, eax
ret