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

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, esp
mov dword [eax], 0x1a9
mov eax, dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
call eax
sub esp, 4
mov dword [esp + 0xc4], 0x51a
mov ecx, esp
lea edx, [esp + 0xc4]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x55e
mov dword [ecx], 0x5f5f29
mov ecx, dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov dword [esp + 0xa0], eax
call ecx
sub esp, 0x14
mov ecx, esp
mov dword [ecx + 0xc], 0x27d
mov dword [ecx + 8], 0x374
mov dword [ecx + 4], 0x723
mov dword [ecx], 0x91103c
mov ecx, dword [sym.imp.KERNEL32.dll_WriteTapemark]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 0x10
xor ecx, ecx
lea edx, [esp + 0xc8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], ecx
jmp 0x10001335
xor eax, eax
mov ecx, 0x18
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x18
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
call fcn.10177fb0
mov eax, esp
lea ecx, [esp + 0xc8]
mov dword [eax], ecx
mov dword [eax + 4], 0xe9b
mov eax, dword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xad0
mov dword [ecx], 0x5d61cf
mov ecx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x84], eax
call ecx
sub esp, 8
mov dword [esp + 0x80], eax
jmp 0x100013af
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov ecx, esp
lea edx, [esp + 0xa8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x8fe2d8
mov ecx, dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov dword [esp + 0xa4], 0x697bf7
mov ecx, esp
lea edx, [esp + 0xa4]
mov dword [ecx + 4], edx
mov dword [ecx], 0xd44
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x78]
sub ecx, 0x48
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
je 0x100012ad
jmp 0x100013a0
mov eax, dword [esp + 0x78]
sub eax, 0x12
mov dword [esp + 0x68], eax
jne 0x100013c1
jmp 0x100013af
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0x7c], eax
jmp 0x1000132a
mov eax, esp
mov dword [eax + 4], 0x54d
mov dword [eax], 0x54d
mov eax, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
call eax
sub esp, 8
mov ecx, dword [esp + 0x78]
add ecx, 1
mov edx, esp
lea esi, [esp + 0xb0]
mov dword [edx + 4], esi
mov dword [edx], 0x556678
mov edx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
call edx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x58], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x54], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x50], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x4c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x48], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x44], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x40], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x34], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x28], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x54d
mov dword [ecx], 0x54d
mov ecx, dword [sym.imp.ADVAPI32.dll_AreAllAccessesGranted]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x556678
mov ecx, dword [sym.imp.USER32.dll_GetWindowRgnBox]
mov dword [esp + 0x18], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x60]
cmp ecx, 0x79
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], ecx
jne 0x1000132a
lea esp, [ebp - 4]
pop esi
pop ebp
ret