joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fcf4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45fd2c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fd0d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fd1c
or bl, 4
test esi, 0x20000000
je 0x45fd27
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4663d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4663e6
add esp, 0xfffffff0
call fcn.004035dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004244a8
mov eax, dword [0x4b728c]
mov dword [eax + 4], ebx
mov dword [eax], 0x466778
mov eax, dword [0x4b72a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x466784
mov eax, ebx
call fcn.00466790
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x462bac
push eax
push 0
push 0
mov eax, dword [0x4b74d8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425f34]
call fcn.004276a8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425f34]
call fcn.004276a8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425f34]
call fcn.004276a8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00466bb0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466a8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466a8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466a8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466523
call fcn.00403634
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x466870
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466a1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4669fc
mov dl, 1
mov eax, dword [0x419dc8]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404008
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4669eb
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004543a0
test al, al
je 0x4669de
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x466a2c
lea eax, [ebp - 0x254]
call fcn.004095a0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4669de
xor eax, eax
push ebp
push 0x4669d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x466a64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4669c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404278
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4669c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4669de
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4668e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e544
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466a22
lea eax, [ebp - 0x260]
call fcn.00404008
ret

Function at 0x467350
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4b8be0]
cmp byte [eax + 0xa5], 0
jne 0x4673c1
cmp dword [0x4b8bf8], 0
jne 0x467382
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46730c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b8bf8], eax
cmp dword [0x4b8bf4], 0
jne 0x46739d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b8bf4], eax
cmp dword [0x4b8bfc], 0
jne 0x4673c1
push esp
push 0
push 0
push 0x4672b0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b8bfc], eax
pop edx
ret
Function at 0x4674b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4674cf
add esp, 0xfffffff0
call fcn.004035dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004244a8
mov eax, dword [0x4b74c4]
cmp word [eax + 2], 0
jne 0x4674f7
mov eax, dword [0x4b74c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468c38
mov eax, dword [0x4b75d8]
cmp word [eax + 2], 0
jne 0x467511
mov eax, dword [0x4b75d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468e30
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419764]
call fcn.00403248
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426a14]
call fcn.0042e1c4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x467698
mov eax, dword [0x4b7330]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e594
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4693d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b7330]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d41c
test eax, eax
je 0x467606
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408f64
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d444
test eax, eax
je 0x46761a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404278
mov eax, dword [0x4b713c]
cmp byte [eax], 0
jne 0x46764e
mov eax, ebx
call fcn.004677c0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004695ac
mov eax, ebx
call fcn.00469f70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46768e
call fcn.00403634
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467a40
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b8be0]
cmp dword [eax + 0x30], 0
je 0x467aea
cmp dword [ebx + 0x94], 0
jne 0x467ae4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4679d0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467ae4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x467aaa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467ae4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041bf98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467ab9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46864c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x468681
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004040f8
jmp 0x46868e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040405c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469788
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4697c9
mov eax, esi
call fcn.0044f820
test al, al
je 0x4697c9
mov eax, dword [ebx + 0x84]
call fcn.0044f51c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4697c9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044f51c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48c9d7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4b6eba
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48ca2f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4b6edb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48ca25
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48ca33
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x49c684
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c8e4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49c6e7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cf48
cmp al, 1
jne 0x49c6e7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049c464
test al, al
je 0x49c873
cmp dword [ebp - 8], 0
jge 0x49c705
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 0x210]
call fcn.004042c8
cmp ebx, eax
jge 0x49c74f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b77c8]
and eax, 0xff
bt dword [edx], eax
jae 0x49c74f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49c763
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c660
cmp ebx, dword [ebp - 8]
je 0x49c865
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49c78f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b708c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49c852
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b708c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044f51c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b708c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044f51c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c859
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49c8c6
cmp dword [ebp - 8], 0
jge 0x49c87e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 0x218]
call fcn.004042c8
cmp eax, dword [ebp - 8]
jg 0x49c8b8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049c14c
mov eax, dword [ebp - 0x21c]
call fcn.004042c8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049c660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c8eb
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040402c
ret
Function at 0x10004af0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1c]
push 0
push eax
mov dword [esi], 0x1000e22c
call edi
mov ecx, dword [esi + 0x14]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x18]
push 0
push edx
call edi
mov eax, dword [esi + 0x20]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x20]
push 0
push ecx
call edi
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x10004b43
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x10004b4d
push eax
call edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10004b57
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10004b61
push eax
call edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 8]
push eax
call edi
mov ecx, dword [esi + 0xc]
push ecx
call edi
mov edx, dword [esi + 0x10]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov ecx, dword [esi + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x1c]
push eax
call edi
lea ecx, [esi + 0x24]
call fcn.10001030
pop edi
pop esi
ret
Function at 0x40a4b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x84], 0
je 0x40a4eb
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x84]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x88], 0
je 0x40a513
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x88]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x88]
mov edx, dword [eax]
call edx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x19
jne 0x40a582
lea ecx, [ebp - 0x14]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COPoint::constructor_void_]
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x170
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::CORect::PtInRect_struct_tagPOINT_const]
test eax, eax
je 0x40a582
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x40a624
lea ecx, [ebp - 0xc]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COPoint::constructor_void_]
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x170
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::CORect::PtInRect_struct_tagPOINT_const]
test eax, eax
jne 0x40a5d9
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x7c], 0
je 0x40a600
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x180]
test eax, eax
jne 0x40a5fe
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x180], 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x58]
call edx
jmp 0x40a617
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x180], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call dword [sym.imp.ouilibx.dll_public_virtual:_void___thiscall_OUI::COVWnd::DoEvent_struct_OUI::tagTEventUI__]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4
Function at 0x410c90
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463b8c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 5
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x410d22
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call dword [0x46b654]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
lea ecx, [ebp - 0x14]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::IsEmpty_void_const]
test eax, eax
je 0x410d6d
push str.IDS_EXAM_DEFAULT
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::OSTRING_TABLE____cdecl_OUI::OSTRING_TABLE::GetStringTable_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COString___thiscall_OUI::OSTRING_TABLE::LoadStringW_wchar_t_const__]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call dword [0x46b5c0]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_class_OUI::COString_const__]
mov ecx, dword [ebp - 0x24]
or ecx, 1
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4
Function at 0x414f60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49b784], 0
je 0x414f85
mov eax, dword [0x49b784]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x49b77c], 0
je 0x414fdf
mov ecx, dword [0x49b77c]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x414fdf
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x49b780], 0
je 0x414fdf
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x49b780]
push ecx
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x414fdf
mov edx, dword [0x49b780]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.isafepxy.dll_public:_static_class_elex::commumod::SCommuMod____cdecl_elex::commumod::SCommuMod::instance_void_]
call dword [sym.imp.isafepxy.dll_public:_static_int___cdecl_elex::commumod::SCommuMod::ClearCommu_void_]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push str.ClearCommu:__d
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret
Function at 0x423630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4666d8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x497060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00423a40
test eax, eax
jne 0x42367e
push str.isafe2::AppStoreControler::StartDownload::InitDownloader_Fail_r_n
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogString]
add esp, 8
xor eax, eax
jmp 0x423762
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00424460
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00424660
push 0
mov ecx, dword [ebp - 0x2c]
call fcn.00424760
mov byte [ebp - 0x2d], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1086
push ecx
lea ecx, [ebp - 0x28]
call fcn.00410860
mov dword [ebp - 4], 0
push str..apptdl
lea ecx, [ebp - 0x28]
call fcn.004160b0
lea ecx, [ebp - 0x28]
call fcn.00408270
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4236df
mov byte [ebp - 0x2d], 0
mov edx, dword [ebp - 0x2c]
add edx, 0x1086
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x34]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x3c], eax
movzx edx, byte [ebp - 0x2d]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x34]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1086
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
push str.isafe2::AppStoreControler::StartDownload__s__s__r_n
push 0xffffffffffffffff
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLog]
add esp, 0x10
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004082c0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460da6
mov esp, ebp
pop ebp
ret 4