Function at 0x475670
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd8], edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xcc], esi
cmp eax, 0x2111
jne 0x47570a
shr esi, 0x10
mov eax, 0x300
cmp si, ax
jne 0x4756d9
cmp byte [edi + 0x1c], 0
je 0x4759cf
call fcn.0046dac0
jmp 0x475ad7
mov eax, 0x400
cmp si, ax
jne 0x4759cf
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x475ad7
cmp eax, 0x100
jne 0x4757f2
xorps xmm0, xmm0
mov dword [ebp - 0xfc], 3
movups xmmword [ebp - 0xe8], xmm0
mov word [ebp - 0xe4], si
movups xmmword [ebp - 0xf8], xmm0
call fcn.00427d90
mov word [ebp - 0xe2], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xcc], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x184]
cmp eax, method.UiLib::CCheckBoxUI.virtual_388
jne 0x475791
lea eax, [ebp - 0xfc]
add ecx, 0x28
push eax
call fcn.0041d420
test al, al
je 0x47579a
mov ecx, dword [ebp - 0xcc]
lea edx, [ebp - 0xfc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x188]
jmp 0x47579a
lea edx, [ebp - 0xfc]
push edx
call eax
cmp si, 0xd
jne 0x4759cf
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
cmp eax, method.UiLib::CCheckBoxUI.virtual_28
jne 0x4757b8
mov eax, dword [ecx + 0x40]
jmp 0x4757ba
call eax
mov ecx, eax
call fcn.004243f0
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
cmp eax, method.UiLib::CCheckBoxUI.virtual_28
jne 0x4757d5
mov eax, dword [ecx + 0x40]
jmp 0x4757d7
call eax
push ecx
push 0
push 0
push str.editreturn
push dword [edi + 0x14]
mov ecx, eax
call fcn.004229a0
xor eax, eax
jmp 0x475ad7
cmp eax, 8
jne 0x47582a
push dword [ebp + 0x10]
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x14]
mov esi, eax
push 0
push 0
push 0x10
mov dword [ecx + 0xc7c], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, esi
jmp 0x475ad7
cmp eax, 0x102
jne 0x475a60
cmp dword [edi + 0x14], 0
je 0x475a01
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x475a01
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0xc4]
push eax
call fcn.00479080
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc0]
cmp word [eax], 0
je 0x4759ef
cmp esi, 8
je 0x4759ef
call dword [sym.imp.KERNEL32.DLL_AreFileApisANSI]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xc0]
neg eax
push 0
sbb edi, edi
inc edi
push edi
mov dword [ebp - 0xd4], edi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea esi, [eax + 1]
push esi
call fcn.004933e1
add esp, 4
push 0
push 0
push esi
mov esi, eax
push esi
push 0xffffffffffffffff
push dword [ebp - 0xc0]
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push esi
test eax, eax
jne 0x4758f2
call fcn.00493645
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00424110
xor eax, eax
jmp 0x475ad7
lea ecx, [ebp - 0x3c]
mov byte [esi + eax], 0
call fcn.00403320
push 1
push esi
mov byte [ebp - 4], 1
call fcn.004933d3
cmp dword [ebp - 0x28], 0x10
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
cmovae eax, dword [ebp - 0x3c]
add esp, 4
push eax
call fcn.0046fe30
push 4
mov byte [ebp - 4], 2
call fcn.004933e1
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0xcc]
mov word [edi], ax
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push edi
push eax
push dword [ebp - 0xd4]
mov word [edi + 2], ax
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea esi, [eax + 1]
push esi
call fcn.004933e1
add esp, 4
push 0
push 0
push esi
mov esi, eax
push esi
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push 2
push edi
mov byte [esi + eax], 0
call fcn.004933d3
add esp, 4
lea edx, [ebp - 0x24]
mov ecx, esi
call fcn.00470210
add esp, 4
mov byte [ebp - 0xc5], al
test esi, esi
je 0x4759b0
push 1
push esi
call fcn.004933d3
mov al, byte [ebp - 0xc5]
add esp, 8
lea ecx, [ebp - 0x24]
test al, al
jne 0x4759d6
call fcn.0046fdb0
lea ecx, [ebp - 0x3c]
call fcn.00403260
lea ecx, [ebp - 0xc4]
call fcn.00424110
xor eax, eax
jmp 0x475ad7
call fcn.0046fdb0
lea ecx, [ebp - 0x3c]
call fcn.00403260
mov edi, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.00424110
xorps xmm0, xmm0
mov dword [ebp - 0x120], 5
movups xmmword [ebp - 0x10c], xmm0
mov word [ebp - 0x108], si
movups xmmword [ebp - 0x11c], xmm0
call fcn.00427d90
mov word [ebp - 0x106], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x120]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 0x184]
cmp byte [ebp - 0x11c], 0
je 0x475a6e
xor eax, eax
jmp 0x475ad7
cmp eax, 0x2133
je 0x475a94
cmp eax, 0x2138
je 0x475a94
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4759cf
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
push dword [edi + 4]
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x475ad7
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x14]
mov edx, dword [eax + 0x2a40]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x475ad7
push eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret 0xc