joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x294], 2
jne 0x471b79
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x471b3c
lea eax, [esi + 0x6f4]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x294], 1
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x657014], 0
mov dword [0x657018], 0
pop esi
pop ebp
ret 8

Function at 0x473940
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi]
call fcn.00427430
test eax, eax
je 0x47395b
push esi
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x294], 2
jne 0x473996
lea eax, [esi + 1]
push eax
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [0x657014], 0
mov dword [0x657018], 0
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
pop esi
ret
Function at 0x473ba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x473bbb
test eax, eax
je 0x473d8f
push ebx
push esi
cmp dword [edi + 0x5c], ecx
jne 0x473bc7
cmp dword [edi + 0x60], eax
je 0x473c37
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x6579b8]
call ebx
mov esi, dword [0x6579b8]
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfff7ffff
push eax
push 0xffffffffffffffec
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
call esi
push 0x85
push 0
push 0
push dword [0x6579b8]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, edi
call fcn.00473da0
test eax, eax
je 0x473c1e
push 0x800a8
jmp 0x473c23
push 0x88
push 0xffffffffffffffec
push dword [0x6579b8]
call esi
push 5
push dword [0x6579b8]
call ebx
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
call esi
push 0xa
push ebx
mov dword [edi + 0x5c], eax
call esi
cmp dword [edi + 0x298], 0
mov dword [edi + 0x60], eax
jne 0x473cc1
cmp dword [edi + 0x2b4], 0
jne 0x473cc1
movd xmm1, dword [edi + 0x5c]
movd xmm0, dword [edi + 0x54]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movd xmm1, eax
movss dword [edi + 0x6c], xmm0
movd xmm0, dword [edi + 0x58]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [edi + 0x70], xmm0
jmp 0x473ccf
mov dword [edi + 0x6c], 0x3f800000
mov dword [edi + 0x70], 0x3f800000
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x38]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movss xmm3, dword [0x524ca8]
movd xmm2, eax
mov eax, edx
sub eax, ecx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [edi + 0x6c]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm1, dword [edi + 0x74]
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ecx
cmovl eax, ecx
cvttss2si ecx, xmm2
mov dword [edi + 0x28], eax
sub edx, ecx
cmp eax, edx
jle 0x473d23
mov dword [edi + 0x28], edx
mov eax, dword [edi + 0x28]
mov edx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x44]
sub eax, dword [edi + 0x3c]
movd xmm2, eax
mov eax, edx
sub eax, ecx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [edi + 0x70]
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm2
mulss xmm1, dword [edi + 0x78]
mulss xmm0, xmm3
subss xmm1, xmm0
cvttss2si eax, xmm1
cmp eax, ecx
cmovl eax, ecx
cvttss2si ecx, xmm2
mov dword [edi + 0x2c], eax
sub edx, ecx
cmp eax, edx
jle 0x473d77
mov dword [edi + 0x2c], edx
mov eax, dword [edi + 0x2c]
add eax, ecx
mov ecx, edi
mov dword [edi + 0x34], eax
call fcn.00475470
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x475920
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ecx + 0x34]
push 0x524d18
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00414540
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x475943
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 4], 8
jb 0x47595b
push dword [ebp - 0x18]
call fcn.004cf489
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x475960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508a68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor eax, eax
mov dword [ebp - 0x10], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x24], ax
lea eax, [ecx + 0x34]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0
call fcn.0040a2f0
xor ecx, ecx
mov dword [ebp - 4], 0
cmp word [0x524d18], cx
mov eax, 4
cmove eax, ecx
lea ecx, [ebp - 0x24]
push eax
push 0x524d18
call fcn.00433830
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [ebp - 0x10], 8
mov esi, eax
jb 0x4759ec
push dword [ebp - 0x24]
call fcn.004cf489
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4764c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push esi
mov esi, ecx
mov dword [ebp - 0x24], 7
xor eax, eax
mov dword [ebp - 0x28], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x38]
lea eax, [esi + 0x34]
push eax
call fcn.0040a2f0
xor ecx, ecx
mov dword [ebp - 4], 0
cmp word [0x524d18], cx
mov eax, 4
cmove eax, ecx
lea ecx, [ebp - 0x38]
push eax
push 0x524d18
call fcn.00433830
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push str.w__ccsUNICODE
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call fcn.004d546f
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x476677
test eax, eax
jne 0x476677
push str.Overwrite
push 0x510340
push str.Version
push 0x524e0c
lea eax, [ebp - 0x258]
push 0x104
push eax
call fcn.004d1718
push dword [ebp - 0x10]
lea eax, [ebp - 0x258]
push eax
call fcn.004d531a
lea eax, [esi + 4]
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x4765a2
mov eax, dword [eax]
push eax
push str.Description
push 0x524e24
push dword [ebp - 0x10]
call fcn.004d53c6
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str.SoftwareSynapticsPersistent
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004158d0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x20]
call fcn.00477130
cmp dword [ebp - 0x3c], 8
mov byte [ebp - 4], 1
jb 0x476603
push dword [ebp - 0x50]
call fcn.004cf489
add esp, 4
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push str.SoftwareSynaptics
push SysReAllocString
push dword [ebp - 0x10]
call fcn.004766a0
push dword [ebp - 0x10]
mov esi, eax
call fcn.004d187c
add esp, 4
test esi, esi
jne 0x47663e
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x476679
push dword [ebp - 0x10]
lea ecx, [ebp - 0x11]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.00475500
push dword [ebp - 0x20]
call fcn.004cf489
add esp, 0x14
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x476679
xor esi, esi
cmp dword [ebp - 0x24], 8
jb 0x47668a
push dword [ebp - 0x38]
call fcn.004cf489
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x478260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x508a68
push eax
mov dword fs:[0], esp
sub esp, 0x18
cmp dword [ecx + 4], 0
je 0x478306
cmp dword [ecx + 0xc], 0
je 0x478306
cmp dword [ecx + 0x3c], 8
push esi
lea esi, [ecx + 0x28]
jb 0x478299
mov eax, dword [esi]
jmp 0x47829b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4782f2
cmp dword [esi + 0x14], 8
jb 0x4782ae
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x24]
call fcn.004158d0
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004c6390
add esp, 0xc
mov esi, eax
cmp dword [ebp - 0x10], 8
jb 0x4782e1
push dword [ebp - 0x24]
call fcn.004cf489
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov eax, 1
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x478a70
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x28], 7
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3c]
lea eax, [ebx + 0x28]
push eax
call fcn.0040a2f0
xor eax, eax
mov dword [ebp - 4], 0
cmp word [0x51a7c0], ax
lea ecx, [ebp - 0x3c]
setne al
push eax
push 0x51a7c0
call fcn.00433830
xor ecx, ecx
mov eax, 4
cmp word [0x524d18], cx
cmove eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push 0x524d18
call fcn.00433830
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x478c1f
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
cmp word [ebp - 0x260], ax
jne 0x478b3a
xor ecx, ecx
jmp 0x478b52
lea ecx, [ebp - 0x260]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478b43
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a410
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.004785b0
cmp dword [ebp - 0x10], 8
mov byte [ebp - 4], 0
jb 0x478b86
push dword [ebp - 0x24]
call fcn.004cf489
add esp, 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x28c]
push eax
push esi
call edi
test eax, eax
je 0x478c17
nop
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], 0
mov word [ebp - 0x24], ax
cmp word [ebp - 0x260], ax
je 0x478bd5
lea eax, [ebp - 0x260]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x478bc6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a410
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.004785b0
cmp dword [ebp - 0x10], 8
mov byte [ebp - 4], 0
jb 0x478c09
push dword [ebp - 0x24]
call fcn.004cf489
add esp, 4
lea eax, [ebp - 0x28c]
push eax
push esi
call edi
test eax, eax
jne 0x478ba0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
cmp dword [ebp - 0x28], 8
pop esi
pop ebx
jb 0x478c32
push dword [ebp - 0x3c]
call fcn.004cf489
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x47a3f0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.004220d0
cmp word [eax], 0
je 0x47a44d
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004220d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47a44d
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x6586c8]
test al, 1
jne 0x47a46b
or eax, 1
mov dword [0x6586c8], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6586c4], eax
jmp 0x47a470
mov eax, dword [0x6586c4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x47a490
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x6586c4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push str.c_a2A
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x47a4c1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x47a4cd
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x47c090
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
cmp dword [esi + 0x908], 0
je 0x47c0ae
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.0047c1b0
mov eax, dword [esi + 0x8a8]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x47c0ec
test edi, edi
jns 0x47c0d4
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x47c0ec
push edi
push eax
call fcn.004c9ab0
add esp, 8
test eax, eax
je 0x47c0ec
mov dword [esi + 0x8a8], 0
mov eax, dword [esi + 0x8a4]
test eax, eax
je 0x47c19e
cmp dword [ebp + 8], 0
je 0x47c19e
test edi, edi
jns 0x47c186
push 0
push 0
push 0
mov dword [ebp - 0x20c], eax
lea eax, [ebp + 0xc]
push 0xba
push eax
call fcn.004a51b0
push dword [eax]
lea eax, [ebp - 0x208]
push 0x104
push eax
call fcn.004d1327
mov edx, dword [ebp + 0xc]
add esp, 0x20
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c155
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20c]
push eax
push 0x4b9f50
call dword [sym.imp.USER32.dll_EnumWindows]
push 0
push 0
push 0x10
push dword [esi + 0x8a4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push eax
call fcn.004c9ab0
add esp, 8
test eax, eax
je 0x47c19e
mov dword [esi + 0x8a4], 0
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x47e250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a896
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [0x6586e0]
mov dword [ebp - 0x14], 0
test al, 1
jne 0x47e2b0
or eax, 1
mov dword [0x6586e0], eax
push str.NO_INIT
mov ecx, 0x6586dc
mov dword [ebp - 4], 0
call fcn.0040c140
push 0x50c860
call fcn.004d08ee
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x6586dc]
mov edx, str.NO_INIT
mov ecx, eax
push esi
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [edx]
jne 0x47e2e6
test si, si
je 0x47e2e2
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x47e2e6
add ecx, 4
add edx, 4
test si, si
jne 0x47e2c0
xor ecx, ecx
jmp 0x47e2eb
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
test cl, cl
je 0x47e3d2
push 0
push 0x50daec
mov ecx, 0x6586dc
call fcn.0040dad0
push 0
lea ecx, [ebp - 0x30]
call fcn.004b90e0
push 0x208
lea eax, [ebp - 0x238]
mov dword [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x10], 0x208
call fcn.004cf600
add esp, 0xc
lea ecx, [ebp - 0x30]
push 0
push 0
push 0
push str.SoftwareSynapticsSynTPInstall
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004bcca0
test eax, eax
je 0x47e3be
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x238]
push eax
push str.ProgDir
lea ecx, [ebp - 0x2c]
call fcn.004cbe60
test eax, eax
je 0x47e3be
push edi
lea edi, [ebp - 0x238]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x47e380
mov ecx, 8
lea eax, [ebp - 0x238]
mov esi, str.SynTPHelper.exe
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x47e3be
lea eax, [ebp - 0x238]
mov ecx, 0x6586dc
push eax
call fcn.0040c500
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004b93f0
mov eax, dword [0x6586dc]
add eax, 0xfffffff0
push eax
call fcn.0040c810
add esp, 4
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x480650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b23b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x34
mov esi, ecx
call fcn.004cf48e
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x48068d
mov ecx, eax
call fcn.004a8af0
jmp 0x48068f
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14f0], eax
call fcn.004a8c20
mov eax, dword [esi + 0x14f0]
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
push 5
call dword [eax + 4]
mov dword [esi + 0x14e8], eax
test eax, eax
jne 0x4806f5
test byte [0x652fc0], 1
je 0x4806e4
push str.Failed_to_get_zoom_window__n
push 1
push str.CSynTPEnh::InitIBMFeature
call fcn.004cb3a0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.004a97f0
push dword [esi + 0x14e8]
mov ecx, dword [esi + 0x14b4]
call fcn.00447d80
test eax, eax
jne 0x480735
push str.Couldnt_init_plugin_action_n
push eax
push str.CSynTPEnh::InitIBMFeature
call fcn.004cb3a0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
push 6
call dword [eax + 4]
mov dword [esi + 0x14ec], eax
test eax, eax
jne 0x48075b
test byte [0x652fc0], 1
je 0x4806e4
push str.Failed_to_scroll_app._n
jmp 0x4806d5
mov ecx, eax
call fcn.004a7d20
push dword [esi + 0x14ec]
mov ecx, dword [esi + 0x14b4]
call fcn.00447d40
test eax, eax
jne 0x480782
push str.Couldnt_init_plugin_action._n
push eax
jmp 0x4806d7
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x481550
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50aa2b
push eax
mov eax, 0x32ec
mov dword fs:[0], esp
call fcn.004d12b0
cmp dword [0x656fe0], 0
push esi
mov esi, ecx
jne 0x481607
push 0
push str.notifyiconoverflowwindow
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x48159c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x32f8]
call fcn.00452a80
push 0
push dword [esi + 0x910]
lea ecx, [ebp - 0x32f8]
mov dword [ebp - 4], 0
push 0x4da
push dword [0x657be0]
call fcn.00437fa0
mov eax, dword [esi + 0x8a4]
test eax, eax
je 0x4815e1
push 0
push eax
call fcn.004c7260
add esp, 8
lea ecx, [ebp - 0x32f8]
mov dword [ebp - 4], 0xffffffff
call fcn.00452b00
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x8d0]
test eax, eax
je 0x48161c
push 0
push eax
call fcn.004c7260
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x485c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
call fcn.004c7a40
add esp, 4
cmp eax, 7
jl 0x485d42
push 0x104
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edi, [ebp - 0x208]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x485c80
lea eax, [ebp - 0x208]
mov ecx, 7
mov esi, 0x526130
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x485cd1
test byte [0x652fc0], 1
je 0x485cc8
push str.Couldnt_get_handle_to_WtsApi32.DLL_n
push 1
push str.CSynTPEnh::RegisterForSystemNotification
call fcn.004cb3a0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.WTSRegisterSessionNotification
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x485d0e
test byte [0x652fc0], 1
je 0x485cfe
push str.Couldnt_get_address_of_WTSRegisterSessionNotification_n
push 1
push str.CSynTPEnh::RegisterForSystemNotification
call fcn.004cb3a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebx + 0x910]
call eax
mov edi, eax
test edi, edi
je 0x485d3b
test byte [0x652fc0], 1
je 0x485d3b
push str.Registered_for_Session_Notification_n
push 1
push str.CSynTPEnh::RegisterForSystemNotification
call fcn.004cb3a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x486380
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
xor eax, eax
xor esi, esi
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004cf600
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push 1
push str.control.exe_keyboard
call fcn.004caec0
add esp, 0xc
test eax, eax
jne 0x4863fe
push 0x10
push eax
push 6
call fcn.00481630
add esp, 0xc
mov esi, eax
cmp word [ebp - 0x208], 0
je 0x486415
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4864c0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
xor eax, eax
xor esi, esi
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004cf600
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x104
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
push 1
push 0x51a7c8
call fcn.004caec0
add esp, 0xc
test eax, eax
jne 0x48653e
push 0x10
push eax
push 6
call fcn.00481630
add esp, 0xc
mov esi, eax
cmp word [ebp - 0x208], 0
je 0x486555
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret