Function at 0x4012c0
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.00576220
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 0x4013c4
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 + 0x68], 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 + 0x64], eax
jmp 0x401391
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 + 0x60], eax
jmp 0x40141f
mov eax, dword [esi + 0x5c]
add eax, 1
cmp eax, 0x2dd
sete cl
mov dword [esi + 0x58], eax
mov byte [esi + 0x57], cl
mov al, byte [esi + 0x57]
test al, 1
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], ecx
jne 0x401485
jmp 0x4013f0
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 + 0x4c], eax
call ecx
mov dword [esi + 0x48], eax
jmp 0x4014ee
mov eax, dword [esi + 0x6c]
mov ecx, dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [esi + 0x44], eax
call ecx
sub esp, 4
mov ecx, esp
mov dword [ecx], 1
mov ecx, dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
mov dword [esi + 0x40], eax
call ecx
xor ecx, ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x50], ecx
mov eax, dword [esi + 0x50]
mov ecx, eax
and ecx, 0xf
mov edx, ecx
sub edx, 1
mov dword [esi + 0x5c], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], edx
je 0x401347
jmp 0x40140e
mov eax, dword [esi + 0x38]
sub eax, 8
mov dword [esi + 0x30], eax
jne 0x401368
jmp 0x40141f
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 + 0x2c], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], edx
call fcn.00576250
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 + 0x20], eax
jmp 0x401368
xor eax, eax
xor ecx, ecx
mov edx, dword [esi + 0x44]
sub edx, 0x12
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edx
je 0x401391
jmp 0x4014a0
mov eax, dword [esi + 0x44]
sub eax, 0x58
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], ecx
je 0x401305
jmp 0x4014b7
mov eax, dword [esi + 0xc]
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 + 8], eax
call ecx
mov ecx, dword [esi + 8]
add ecx, 1
cmp ecx, 0xa
mov dword [esi + 4], eax
mov dword [esi + 0xc], ecx
jne 0x4014b7
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 + 0x44]
add ecx, 1
cmp ecx, 0xb2
mov dword [esi], eax
mov dword [esi + 0x6c], ecx
jne 0x4013c4
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret