joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4585a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.CalendarButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.CalendarButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x4586c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.SkinButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.SkinButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x4587e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.TransparentButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.TransparentButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x458900
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.ToadyPicButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.ToadyPicButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x458a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.AutoRunButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.AutoRunButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x458b40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
push str.UpDataTimeButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x418]
add eax, 1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
push str.UpDataTimeButton
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x458c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004b7bc0
add esp, 0xc
call fcn.0040b960
mov ecx, eax
call fcn.004013b0
push eax
push 0x555a8c
lea eax, [ebp - 0x20c]
push eax
call fcn.0040fcd0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x61c], ax
push 0x206
push 0
lea eax, [ebp - 0x61a]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.SkinStyle_s
lea ecx, [ebp - 0x61c]
push ecx
call fcn.0040fcd0
add esp, 0xc
mov dword [ebp - 0x620], 0
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0x556014
lea edx, [ebp - 0x61c]
push edx
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x620]
add eax, 1
mov dword [ebp - 0x620], eax
mov ecx, dword [ebp - 0x620]
push ecx
push 0x555fb4
lea edx, [ebp - 0x414]
push edx
call fcn.0040fcd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
push str.UserData
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x459840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.0040b960
mov ecx, eax
call fcn.00401350
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004b7b9a
add esp, 8
push str.Config.ini
lea eax, [ebp - 0x210]
push eax
call fcn.004b7b6c
add esp, 8
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], eax
xor eax, eax
mov word [ebp - 0x41c], ax
push 0x206
push 0
lea eax, [ebp - 0x41a]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp - 0x214]
push eax
push 0x104
lea ecx, [ebp - 0x41c]
push ecx
push 0x556014
push 0x557e9c
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x350]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x350]
mov edx, dword [edx]
mov eax, dword [edx + 0x2c]
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret

Function at 0x459d10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x34c], 0
mov eax, dword [ebp - 4]
add eax, 0x33c
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x459d60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0x338], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459d80
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a58b
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.0040b960
mov ecx, eax
call fcn.00401350
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004b7b9a
add esp, 8
push str.Config.ini
lea eax, [ebp - 0x21c]
push eax
call fcn.004b7b6c
add esp, 8
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], eax
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea eax, [ebp - 0x426]
push eax
call fcn.004b7bc0
add esp, 0xc
mov eax, dword [ebp - 0x220]
push eax
push 0x104
lea ecx, [ebp - 0x428]
push ecx
push 0x556014
push str.UserID
push str.UserData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x428]
push eax
call fcn.004ba9cf
add esp, 4
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 0x430]
call fcn.0040db30
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x42c]
push eax
push str.Mutual.exe
call fcn.0040b960
mov ecx, eax
call fcn.00401350
push eax
push str.__s_s__DownCfg__d
lea ecx, [ebp - 0x430]
push ecx
call fcn.0040d300
add esp, 0x14
lea ecx, [ebp - 0x430]
call fcn.0040daf0
push eax
call fcn.00410af0
add esp, 4
push 0x55971c
call fcn.00410af0
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x474]
push eax
call fcn.004b7bc0
add esp, 0xc
mov dword [ebp - 0x474], 0x44
push 0x10
push 0
lea eax, [ebp - 0x484]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x474]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x430]
call fcn.004049e0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34c], 1
mov dword [ebp - 0x4c8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.00404940
mov eax, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret
Function at 0x45cd10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x55e1d4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45cd3f
xor eax, eax
jmp 0x45ce09
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004be710
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0045ce50
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x45cddf
xor eax, eax
jmp 0x45ce09
mov ecx, dword [ebp - 0x20]
call fcn.0045d0c0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov ecx, dword [ebp - 0x20]
call fcn.0045d100
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x471034
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x47104a
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x471056
or edi, 1
push 1
call esi
test ax, ax
jge 0x471062
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x47106e
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x47107a
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x4711e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b7bc0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.mrl.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b7b5d
leave
ret

Function at 0x47369e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x4736c3
cmp ebx, dword [esi + 0x54]
je 0x4736c3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x473785
push edi
test eax, eax
je 0x473716
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.mrl.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x473784
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x473784
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x473784
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x473784
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.mrl.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x473982
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call sym.mrl.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x4739d1
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.mrl.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x473a32
mov ecx, edi
inc ebx
call sym.mrl.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x4739a0
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x473a8b
sub eax, 4
je 0x473a36
dec eax
dec eax
jne 0x473a82
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004bd360
pop ecx
mov ecx, dword [esi + 0x50]
push reloc.OLEAUT32.dll_VariantCopyInd
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.mrl.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x473a82
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x473a84
cmp dword [esi + 0x54], 0
je 0x473a82
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00471034
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x473a82
cmp dword [esi + 0x54], 0
je 0x473ada
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x473ada
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x473ada
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004b7c66
pop ecx
pop ecx
test eax, eax
je 0x473ada
mov ecx, dword [esi + 0x54]
call sym.mrl.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x473a82
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call sym.mrl.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x473a32
Function at 0x47c48d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x47c4fe
cmp dword [esi + 0x10], ebx
je 0x47c4fe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.004c0300
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x47c4fe
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.004705ca
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.mrl.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7b5d
leave
ret 0x10

Function at 0x4805db
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x480643
cmp dword [ebp + 8], 0x100
jne 0x480632
cmp word [ebp + 0xc], 0xd
jne 0x480632
cmp byte [esi + 0x4da], bl
je 0x480619
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x480632
cmp byte [esi + 0x4db], bl
jne 0x480632
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x48062e
push ebx
push ebx
push ebx
push str.return
push esi
call sym.mrl.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x480646
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10