Function at 0x401280
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.004fcb20
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 0x401324
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 + 0x64], eax
mov dword [esi + 0x6c], ecx
je 0x401370
jmp 0x401324
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 + 0x60], eax
call ecx
mov dword [esi + 0x5c], eax
jmp 0x4012c2
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 + 0x58], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ecx
jmp 0x401377
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 + 0x4c], eax
jmp 0x40139e
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 1
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x40], edx
je 0x401352
jmp 0x401391
mov eax, dword [esi + 0x44]
sub eax, 8
mov dword [esi + 0x3c], eax
jne 0x4013ff
jmp 0x40139e
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.004fcb50
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
mov eax, dword [esi + 0x48]
add eax, 1
cmp eax, 0x2dd
sete cl
mov dword [esi + 0x28], eax
mov byte [esi + 0x27], cl
mov al, byte [esi + 0x27]
test al, 1
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x50], ecx
jne 0x401427
jmp 0x401377
xor eax, eax
xor ecx, ecx
mov edx, dword [esi + 0x68]
sub edx, 0x12
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x18], edx
je 0x4012f4
jmp 0x401442
mov eax, dword [esi + 0x68]
sub eax, 0x58
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
jne 0x40149a
jmp 0x401455
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 + 0xc], 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 + 8], eax
jmp 0x4012f4
mov eax, dword [esi + 0x10]
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 + 4], eax
call ecx
mov ecx, dword [esi + 4]
add ecx, 1
cmp ecx, 0xa
mov dword [esi], eax
mov dword [esi + 0x10], ecx
je 0x4012c2
jmp 0x40149a