joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ba75
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x2ec
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
xor ebx, ebx
push 0xd2
lea eax, [ebp - 0x5e]
push ebx
push eax
mov dword [ebp - 0x270], ecx
mov word [ebp - 0x60], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp eax, ebx
jne 0x46bac0
xor eax, eax
jmp 0x46bb81
push esi
cdq
push edi
and edx, 3
add eax, edx
mov esi, eax
push 0x208
lea eax, [ebp - 0x26a]
push ebx
push eax
sar esi, 2
mov word [ebp - 0x26c], bx
call sub.MSVCR80.dll_memset
mov word [ebp - 0x64], bx
mov ebx, dword [ebp - 0x270]
add ebx, 4
add esp, 0xc
mov ecx, ebx
lea edi, [ebp - 0x60]
call fcn.0046b66e
test esi, esi
jle 0x46bb7c
and word [edi + 4], 0
push 0x104
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46bb76
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x274]
call fcn.0040460b
lea eax, [ebp - 0x274]
push eax
mov ecx, ebx
call fcn.00463797
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00401405
push edi
lea ecx, [ebp - 0x270]
call fcn.0040460b
lea eax, [ebp - 0x270]
push eax
mov ecx, ebx
call fcn.00463797
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00401405
add edi, 8
dec esi
jne 0x46bb04
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x78
leave
ret

Function at 0x46c73d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
cmp dword [ebp + 8], ecx
je 0x46c795
cmp dword [ebp + 0xc], ecx
je 0x46c795
mov eax, dword [ebp + 0x10]
push esi
xor esi, esi
cmp dword [ebp + 0xc], ecx
jbe 0x46c794
push ebx
push edi
push 0x5851f42d
push 0x4c957f2d
push ecx
push eax
call fcn.0056f730
add eax, 1
adc edx, 0
mov ecx, edx
mov ebx, eax
mov edi, ecx
shrd ebx, edi, 0x13
mov edx, esi
and edx, 3
xor bl, byte [ebp + edx + 0x10]
shr edi, 0x13
mov edi, dword [ebp + 8]
xor byte [esi + edi], bl
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x46c759
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x46d7a7
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x58
lea eax, [ebp - 0x5c]
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x48], 0
and dword [ebp - 0x4c], 0
push esi
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
call fcn.0046d682
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0046d718
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056f17c
leave
ret
Function at 0x46d816
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
push esi
je 0x46d84f
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x46d84f
mov ecx, esi
shr ecx, 2
push 0
pop eax
je 0x46d83d
xor dword [edx + eax*4], 0xd8d8d8d8
inc eax
cmp eax, ecx
jb 0x46d831
shl eax, 2
jmp 0x46d847
xor byte [eax + edx], 0xd8
inc eax
cmp eax, esi
jb 0x46d842
xor eax, eax
pop esi
ret
mov eax, 0x80004005
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp ecx, ebx
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ebx
je 0x46dea9
cmp word [ecx], bx
je 0x46dea9
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x46dea9
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jbe 0x46de9f
push ebx
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
call edi
test eax, eax
je 0x46de9f
lea eax, [ebp - 0xc]
push eax
call fcn.0046d856
test eax, eax
pop ecx
je 0x46de9f
add esi, 0xfffffffc
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x46de9f
mov eax, dword [ebp - 0x1c]
push ebx
push ebx
push 4
push dword [ebp - 0x14]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x46de9f
push esi
push dword [ebp - 0x10]
call fcn.0046d816
test eax, eax
pop ecx
pop ecx
jge 0x46de9f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.0056f17c
leave
ret

Function at 0x46ecc6
Capabilities:
Create thread

Disassembly:
push 0xc
call fcn.0056f1ce
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x46ecd7
xor eax, eax
ret
push dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push eax
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
push 0x46e75a
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
push ecx
push ecx
mov dword [eax + 4], edx
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
ret
Function at 0x47286b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x472902
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], 1
je 0x4728b6
cmp dword [ebp - 0xc], 2
jne 0x472901
mov ecx, dword [ebp + 0x14]
push edi
call fcn.00401bb7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
shr eax, 1
inc eax
push eax
call fcn.00401e99
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4728f6
mov eax, dword [ebp - 8]
shr eax, 1
mov word [edi + eax*2], bx
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
call fcn.00403287
pop edi
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x472911
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
leave
ret
Function at 0x472a9f
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x472ab7
xor eax, eax
jmp 0x472c35
lea ecx, [ebp - 0x24]
call fcn.00465621
push 0x5e7310
lea ecx, [ebp - 0xc]
call fcn.00401c3d
lea eax, [ebp - 4]
push eax
call fcn.004112e5
pop ecx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
call fcn.00401e7b
push str.kxetray.exe
push 0x104
lea ecx, [ebp - 8]
call fcn.00401e99
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00403287
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472b32
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00411735
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403cc2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401405
push edi
push str.ressrcchsuplive.svr
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407c58
push str.datakswitch.dat
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00407c58
mov edi, dword [ebp - 0x14]
add esp, 0x18
push edi
push ebx
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
call fcn.004729f7
lea eax, [ebp - 0xc]
push eax
push str.InstallTime
push str.softwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047286b
mov ebx, dword [ebp - 0xc]
add esp, 0x14
push ebx
lea ecx, [ebp - 0x24]
call fcn.00465d07
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00465b9a
pop ecx
mov ecx, eax
call fcn.0046565b
lea ecx, [ebp - 0x44]
call fcn.00465632
lea ecx, [ebp - 0x34]
call fcn.004655e7
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
call fcn.004727b3
lea ecx, [ebp - 0x34]
mov dword [esi + 0x58], 1
call fcn.004655e0
lea ecx, [ebp - 0x58]
call fcn.0046f0d8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401405
lea ecx, [edi - 0x10]
call fcn.00401405
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00401405
lea ecx, [ebx - 0x10]
call fcn.00401405
lea ecx, [ebp - 0x24]
call fcn.00465632
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4768d5
Capabilities:
Hide graphical window

Disassembly:
push esi
push dword [ecx + 0x10]
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x4768fc
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4768fc
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x477759
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00477746
test eax, eax
jne 0x47776d
and dword [esi + 0xc0], eax
pop esi
ret
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47779e
push 0
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0xc8], 0
pop esi
ret

Function at 0x47f846
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
sub edi, dword [esi + 0x18]
sub ebx, dword [esi + 0x14]
xor eax, eax
push 1
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov eax, dword [esi]
push ebx
call dword [eax + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x100]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x47f95b
push eax
call fcn.004753f6
test eax, eax
pop ecx
mov dword [ebp + 0x10], eax
je 0x47f925
mov ecx, dword [eax + 0x10]
push 2
push 0
mov dword [ebp - 0xc], ecx
push eax
mov ecx, esi
call fcn.0047f4cc
movzx edi, di
movzx eax, bx
mov ebx, dword [ebp + 0x10]
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x100], eax
jne 0x47f901
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x47f8f3
cmp word [ecx], ax
je 0x47f8f3
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x47f925
cmp dword [ebx + 0x10], eax
je 0x47f925
mov dword [ebp - 4], 1
jmp 0x47f925
xor ebx, ebx
inc ebx
push ebx
push 0
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0047f4cc
mov ecx, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push 0x2a3
call fcn.00473c99
mov dword [ebp - 8], ebx
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0x100], ecx
je 0x47f936
push 0x67
jmp 0x47f951
cmp dword [ebp - 8], ecx
je 0x47f95b
cmp dword [ebp - 0xc], ecx
je 0x47f95b
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xfc]
cmp edx, dword [eax]
jne 0x47f94f
mov dword [eax], ecx
push 0x6a
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0047f4fa
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x48097b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0040460b
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 2]
push eax
movzx eax, word [ebp - 4]
push eax
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
lea eax, [ebp + 8]
push str.__02d__02d__02d__03d__n
push eax
call fcn.00403d6f
mov esi, dword [ebp + 8]
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esi - 0x10]
call fcn.00401405
pop esi
leave
ret 4
Function at 0x483238
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
jne 0x48329a
test byte [esi + 0x14], 2
je 0x48329a
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x48328b
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x48328b
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x48329a
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop esi
leave
ret 0xc

Function at 0x48329f
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
test byte [esi + 0x14], 1
je 0x4832be
cmp dword [esp + 0xc], 0
jne 0x4832be
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xf9
pop esi
ret 0xc

Function at 0x4832c2
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
mov byte [esi + 0xd], 0
mov byte [esi + 0xc], 0
pop esi
ret 0xc

Function at 0x483338
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x48339b
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x483449
mov eax, dword [ebp - 0x98]
dec eax
je 0x483435
dec eax
jne 0x483449
cmp dword [ebp - 0xa4], 6
jne 0x4833e6
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x4833ce
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
add ecx, 8
jmp 0x4833e2
cmp dword [ebp - 0xa0], edi
jne 0x483422
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x483449
cmp dword [ebp - 0xa4], 5
jne 0x483415
cmp dword [ebp - 0xa0], 2
jne 0x4833fc
push 5
jmp 0x483432
cmp dword [ebp - 0xa0], 1
jne 0x483409
push 6
jmp 0x483432
cmp dword [ebp - 0xa0], edi
jne 0x483449
push 3
jmp 0x483432
cmp dword [ebp - 0xa4], 4
ja 0x483449
push 4
jmp 0x483432
cmp dword [ebp - 0xa0], 2
jne 0x483449
cmp byte [ebp + 0x72], al
jne 0x483449
push 0xa
pop edi
jmp 0x483449
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0056f17c
add ebp, 0x78
leave
ret
Function at 0x484f84
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 0x484fd2
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 0x484fd2
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 0x48504c
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x484ff0
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x485045
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 0x48546a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 1
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
jne 0x48548e
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
jmp 0x4854ed
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x4854f2
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x4854f2
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x4854ed
or byte [esi + 0x14], 4
mov al, byte [esi + 0x14]
test al, 2
jne 0x4854e4
push dword [ebp + 8]
or al, 2
mov ecx, esi
mov byte [esi + 0x14], al
call fcn.00484d7c
push 8
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4854ed
cmp dword [esi + 0x18], edi
je 0x4854ed
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x485501
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
pop edi
pop esi
leave
ret 0xc
Function at 0x485bd6
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 0x485c07
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 0x485c4b
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 0x485c4b
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 0x485d79
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x485cf8
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004855a3
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 0x485cd5
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x485cc7
cmp word [ecx], ax
je 0x485cc7
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x485cf8
cmp dword [ebx + 0x10], eax
je 0x485cf8
mov dword [ebp - 0xc], 1
jmp 0x485cf8
push 1
push 0
push ebx
mov ecx, esi
call fcn.004855a3
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 0x485d3a
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 0x485d79
cmp dword [ebp - 0x10], eax
je 0x485d79
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x485d79
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 0x485d79
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x493863
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
xor esi, esi
push 0x208
lea eax, [ebp - 0x7e]
push esi
push eax
mov word [ebp - 0x80], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kismain.exe
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4938e6
push 5
push esi
push str._tool:SwitchTab:duba
lea eax, [ebp - 0x80]
push eax
push 0x58b168
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
pop esi
call fcn.0056f17c
add ebp, 0x190
leave
ret

Function at 0x493a64
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00493863
push 3
mov ecx, esi
call fcn.0049397b
pop esi
ret

Function at 0x494c30
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 0x494c7e
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 0x494c7e
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 0x494cf8
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x494c9c
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x494cf1
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