Function at 0x401290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
xor eax, eax
lea ecx, [esi + 0x80]
mov edx, 8
mov dword [esi + 0x7c], eax
mov eax, edx
mov dword [esi + 0x78], ecx
call fcn.004f84d0
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], edx
jmp 0x4013bb
xor eax, eax
xor ecx, ecx
mov edx, dword [esi + 0x68]
sub edx, 0x12
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], edx
je 0x40144d
jmp 0x4012f0
mov eax, dword [esi + 0x68]
sub eax, 0x58
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ecx
je 0x40140d
jmp 0x40147d
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 8
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], edx
je 0x401351
jmp 0x401324
mov eax, dword [esi + 0x48]
sub eax, 1
mov dword [esi + 0x40], eax
jne 0x4013ec
jmp 0x401335
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x978
mov dword [eax], 0x36e
mov eax, dword [sym.imp.USER32.dll_SetCursorPos]
call eax
mov dword [esi + 0x3c], eax
sub esp, 4
mov eax, esp
mov dword [eax], 0x64fe67
mov eax, dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
call eax
xor ecx, ecx
mov edx, 0x18
sub esp, 0xc
mov edi, dword [esi + 0x70]
mov dword [esp], edi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
call fcn.004f8500
add esp, 0xc
sub esp, 8
mov eax, esp
lea ecx, [esi + 0x80]
mov dword [eax], ecx
mov dword [eax + 4], 0xfa0
mov eax, dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call eax
mov dword [esi + 0x2c], eax
jmp 0x4013ec
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x6c]
mov ecx, dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esi + 0x68], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 1
mov ecx, dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
mov dword [esi + 0x28], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x50], ecx
jmp 0x40130a
mov eax, dword [esi + 0x4c]
add eax, 1
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x20]
cmp eax, 0x2dd
mov dword [esi + 0x50], eax
je 0x4012d5
jmp 0x40130a
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0xcb0
mov dword [eax], 0x90735d
mov eax, dword [sym.imp.USER32.dll_GetWindow]
call eax
mov dword [esi + 0x1c], eax
sub esp, 0x14
mov eax, esp
mov ecx, dword [esi + 0x74]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], 0xbcaf21
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadTimes]
call eax
mov dword [esi + 0x18], eax
sub esp, 0xc
mov eax, esp
mov dword [eax + 8], 0xacd
mov dword [eax + 4], str.U19c_8_B5Ku_ro
mov dword [eax], 0xa5a
mov eax, dword [sym.imp.USER32.dll_CharNextExA]
call eax
mov ecx, dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esi + 0x14], eax
call ecx
mov dword [esi + 0x10], eax
jmp 0x4014b4
mov eax, dword [esi + 0x54]
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.SHLWAPI.dll_ChrCmpIW]
mov dword [esi + 0xc], eax
call ecx
mov ecx, dword [esi + 0xc]
add ecx, 1
cmp ecx, 0xa
mov dword [esi + 8], eax
mov dword [esi + 0x54], ecx
jne 0x40147d
sub esp, 8
mov eax, esp
mov dword [eax + 4], 0x79a
mov dword [eax], 0xbc7041
mov eax, dword [sym.imp.USER32.dll_SetWindowContextHelpId]
call eax
mov ecx, dword [esi + 0x68]
add ecx, 1
cmp ecx, 0xb2
mov dword [esi + 4], eax
mov dword [esi + 0x6c], ecx
je 0x4013b4
jmp 0x4013bb