Function at 0x10001254
Capabilities:
Encrypt or decrypt via wincrypt
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, esp
mov dword [eax + 8], 0x6d
mov dword [eax + 4], 0x6d
mov dword [eax], 0xf0e3fa
mov eax, dword [sym.imp.USER32.dll_RemoveMenu]
call eax
sub esp, 0xc
mov dword [esp + 0x94], eax
mov eax, esp
mov dword [eax], 0xd0e256
mov eax, dword [sym.imp.KERNEL32.dll_SetCommBreak]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x1f1a82
mov ecx, dword [sym.imp.USER32.dll_IsHungAppWindow]
mov dword [esp + 0x90], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.USER32.dll_InSendMessage]
mov dword [esp + 0x8c], eax
call ecx
xor ecx, ecx
lea edx, [esp + 0xa0]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], ecx
jmp 0x10001453
mov eax, esp
mov dword [eax + 0x10], 0x887
mov dword [eax + 0xc], 0x887
mov dword [eax + 8], 0x887
mov dword [eax + 4], 0x887
mov dword [eax], 0xa0982e
mov eax, dword [sym.imp.GDI32.dll_Rectangle]
call eax
sub esp, 0x14
mov ecx, dword [esp + 0x7c]
add ecx, 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ecx
jmp 0x10001453
mov eax, dword [esp + 0x74]
mov ecx, esp
mov dword [ecx + 8], 0x7b5
mov dword [ecx + 4], 0xaff
mov dword [ecx], 0xbac
mov ecx, dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esp + 0x70], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x70]
add ecx, 1
mov edx, esp
mov dword [edx], 0x58
mov edx, dword [sym.imp.USER32.dll_IsCharAlphaW]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
call edx
sub esp, 4
mov ecx, dword [esp + 0x68]
cmp ecx, 0xa
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ecx
je 0x100015d1
jmp 0x1000132e
mov eax, esp
mov dword [eax], 0xdc9522
mov eax, dword [sym.imp.GDI32.dll_GetBkColor]
call eax
sub esp, 4
mov dword [esp + 0x60], eax
jmp 0x10001572
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov word [esp + 0x9e], 0xd
mov dword [esp + 0x98], 0xe1c
mov edx, esp
lea esi, [esp + 0x98]
mov dword [edx + 8], esi
lea esi, [esp + 0x9e]
mov dword [edx + 4], esi
mov dword [edx], ecx
mov edx, dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
mov dword [esp + 0x5c], eax
call edx
sub esp, 0xc
xor ecx, ecx
mov edx, dword [esp + 0x7c]
sub edx, 9
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
je 0x100012e6
jmp 0x10001435
mov eax, dword [esp + 0x7c]
sub eax, 0x56
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x74], ecx
je 0x1000158c
jmp 0x1000132e
mov eax, dword [esp + 0x80]
mov ecx, esp
mov dword [ecx], 0x49d08e
mov ecx, dword [sym.imp.USER32.dll_SwitchDesktop]
mov dword [esp + 0x7c], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx + 0xc], 0x859
mov dword [ecx + 8], 2
mov dword [ecx + 4], 0x3dc
mov dword [ecx], 0xd0ef06
mov ecx, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [esp + 0x48], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], 0x209893
mov ecx, dword [sym.imp.GDI32.dll_GetTextColor]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov dword [esp + 0xb8], 0x685
mov byte [esp + 0xb7], 2
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 0x14], edx
lea edx, [esp + 0xb7]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x18], 0x685
mov dword [ecx + 0xc], 0x685
mov dword [ecx + 8], 0x4c
mov dword [ecx + 4], 0x6ee3e8
mov dword [ecx], 0xac3f94
mov ecx, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [esp + 0x40], eax
call ecx
sub esp, 0x1c
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x38]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x34], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x34]
sub ecx, eax
mov eax, ecx
sub eax, 9
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x10001396
jmp 0x10001548
mov eax, dword [esp + 0x30]
sub eax, 4
mov dword [esp + 0x28], eax
jne 0x10001572
jmp 0x10001557
mov eax, esp
mov dword [eax], 8
mov eax, dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
call eax
sub esp, 4
mov dword [esp + 0x24], eax
jmp 0x10001396
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, 0x32c
mov dword [esp + 0x38], eax
je 0x100013b1
jmp 0x10001518
mov eax, esp
mov dword [eax + 0x18], 0x28c
mov dword [eax + 0x14], 0x823
mov dword [eax + 0x10], 0x506
mov dword [eax + 0xc], 0x506
mov dword [eax + 8], 0x823
mov dword [eax + 4], 0x823
mov dword [eax], 0xc0c3f5
mov eax, dword [sym.imp.GDI32.dll_RoundRect]
call eax
sub esp, 0x1c
mov dword [esp + 0x20], eax
jmp 0x100012e6
mov eax, esp
mov dword [eax + 0x10], 0x887
mov dword [eax + 0xc], 0x887
mov dword [eax + 8], 0x887
mov dword [eax + 4], 0x887
mov dword [eax], 0xa0982e
mov eax, dword [sym.imp.GDI32.dll_Rectangle]
call eax
sub esp, 0x14
mov ecx, dword [esp + 0x7c]
add ecx, 1
cmp ecx, 0x42
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
jne 0x10001453
lea esp, [ebp - 4]
pop esi
pop ebp
ret