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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [0x10123014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], ecx
xor ecx, 0x7fffffff
mov dword [esp + 0x34], eax
not eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
or eax, ecx
mov dword [esp + 0x6c], 4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jne 0x1006a7c9
mov dword [esp + 0x68], 0xffffffff
jmp 0x1006a849
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov edx, ecx
or edx, eax
je 0x1006a7e9
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
jmp 0x1006a7fd
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.100699e0
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
sub edx, ecx
mov ecx, dword [esp + 0x30]
sbb ecx, eax
seto al
mov edi, ecx
sar edi, 0x1f
test al, al
cmovne edx, edi
add edi, 0x80000000
test al, al
cmove edi, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
lea ecx, [esp + 0x70]
call fcn.10069950
test edx, edx
je 0x1006a83d
sar edx, 0x1f
not edx
mov eax, edx
mov dword [esp + 0x68], eax
test eax, eax
je 0x1006aaf4
mov eax, dword [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.10010790
lea eax, [esp + 0x6c]
mov dword [esp], eax
call fcn.10010790
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x1cff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
sub esp, 0x14
test eax, eax
je 0x1006a907
mov eax, 0xffffffff
mov ecx, dword [esp + 0x38]
or ecx, dword [esp + 0x3c]
je 0x1006a83d
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.100699e0
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
sbb ecx, dword [esp + 0x44]
seto dl
mov edi, ecx
sar edi, 0x1f
test dl, dl
cmovne eax, edi
add edi, 0x80000000
test dl, dl
cmove edi, ecx
mov dword [esp + 0x70], eax
jmp 0x1006a825
mov eax, dword [esi + 8]
mov ebx, dword [eax]
mov eax, dword [ebx]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
test byte [0x101254a4], 0x19
jne 0x1006a9aa
mov dword [esp], 0x40
call dword [sym.imp.USER32.dll_GetQueueStatus]
sub esp, 4
test eax, 0x400000
jne 0x1006aadf
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x4c], xmm0
movdqa xmmword [esp + 0x40], xmm0
test byte [0x101254a4], 0x19
jne 0x1006aa44
pxor xmm0, xmm0
movdqu xmmword [esp + 4], xmm0
lea eax, [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
sub esp, 0x14
test eax, eax
jne 0x1006aadf
mov dword [esp + 0x6c], 0
test ebx, ebx
je 0x1006a8ab
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
jmp 0x1006a8ab
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_GetQueueStatus
mov dword [esp + 4], 0x101254a4
mov dword [esp], 0x58
call fcn.1001dbe0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
mov dword [esp], 0x40
call dword [sym.imp.USER32.dll_GetQueueStatus]
sub esp, 4
mov edi, eax
cmp byte [0x101254a4], 0
je 0x1006aa33
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
movq xmm0, qword [esp + 0x40]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.MessagePumpForUI::WaitForWork_GetQueueStatus
mov dword [esp], 0x101254a4
call fcn.10074430
test edi, 0x400000
je 0x1006a945
jmp 0x1006aadf
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.MessagePumpForUI::WaitForWork_PeekMessage
mov dword [esp + 4], 0x101254a4
mov dword [esp], 0x58
call fcn.1001dbe0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
pxor xmm0, xmm0
movdqu xmmword [esp + 4], xmm0
lea eax, [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_PeekMessageW]
sub esp, 0x14
mov edi, eax
cmp byte [0x101254a4], 0
je 0x1006aad7
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
movq xmm0, qword [esp + 0x70]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.MessagePumpForUI::WaitForWork_PeekMessage
mov dword [esp], 0x101254a4
call fcn.10074430
test edi, edi
je 0x1006a984
test ebx, ebx
je 0x1006aaf4
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [section..00cfg]
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.100dea63
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18