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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2f00
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x51ec70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push dword [ebx + 4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46745c
mov ecx, dword [ebx + 0x4c]
xor eax, eax
mov dword [ebp - 0x64], eax
test ecx, ecx
jne 0x46747b
cmp byte [ebx + 0x48], al
jne 0x46746e
mov eax, dword [ebx + 0x2c]
lea esi, [ebx + 0x38]
mov edx, dword [eax - 0xc]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax - 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebx + 0x74]
mov dword [ebp - 0x70], eax
lea eax, [ebx + 0x70]
push dword [ebp - 0x70]
push eax
mov eax, dword [ebp + 0x14]
shr eax, 2
not eax
and eax, 1
push eax
push ecx
push dword [ebp + 0x14]
push edx
push dword [ebx + 0x28]
push esi
call fcn.0046f100
add esp, 0x20
mov dword [ebp - 0x64], eax
test eax, eax
jne 0x467463
cmp byte [ebx + 0x48], al
jne 0x4675d1
push dword [ebx + 0x3c]
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
test eax, eax
je 0x46745c
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x46745c
push dword [ebx + 0x74]
push eax
push 0x4cc
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
jmp 0x467846
cmp eax, 1
jne 0x4675d1
jmp 0x467499
mov eax, 2
mov dword [ebp - 0x64], eax
jmp 0x4675d1
cmp ecx, 1
jne 0x4675d1
push dword [ebx + 0x38]
mov eax, dword [sym.imp.USER32.dll_IsWindow]
lea esi, [ebx + 0x38]
call eax
test eax, eax
je 0x4675cf
test byte [ebp + 0x14], 2
je 0x467508
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 0
push eax
push dword [esi]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x34], 2
jne 0x467508
push 9
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x70], eax
jb 0x467516
mov edi, dword [edi]
mov eax, dword [esi]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], 0
test eax, eax
je 0x467591
push eax
call esi
test eax, eax
je 0x467591
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x6c]
push eax
push 0xbb8
push 0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], edi
push eax
push 0
push 0x4a
push dword [ebp - 0x74]
mov dword [ebp - 0x6c], 0
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x467591
cmp dword [ebp - 0x6c], 0
je 0x467591
push dword [ebp + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x68]
mov dword [ebp - 0x64], 1
call dword [eax + 0x14]
mov al, byte [ebp - 0x64]
jmp 0x467846
mov eax, dword [ebx + 0x28]
cmp dword [eax - 0xc], 0
je 0x4675c7
mov dword [ebx + 0x70], 0x69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x3c]
mov dword [ebx + 0x74], eax
call esi
test eax, eax
je 0x4675c7
push dword [ebx + 0x74]
push dword [ebx + 0x70]
push 0x4cc
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [ebp - 0x64]
jmp 0x467846
xor eax, eax
xor cl, cl
mov byte [ebp - 0x5d], cl
cmp eax, 2
je 0x4675e4
cmp byte [ebx + 0x48], cl
je 0x46783b
lea esi, [ebx + 0x58]
push esi
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x64], 2
mov dword [ebp - 4], 0
jne 0x467604
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x74]
mov byte [ebx + 0x48], 1
push ecx
push dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, ebx
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
call eax
cmp al, 1
jne 0x467673
cmp dword [ebp - 0x74], 0
jne 0x46763a
cmp dword [ebp - 0x6c], 0
je 0x467673
mov edx, dword [ebx + 0x7c]
mov eax, dword [ebx + 0x78]
mov dword [ebp - 0x70], edx
cmp eax, edx
je 0x467673
mov ecx, dword [ebp - 0x68]
lea ebx, [ebx]
cmp dword [eax], ecx
jne 0x46766c
mov ecx, dword [eax + 4]
cmp dword [ebp - 0x74], ecx
je 0x4676e2
cmp dword [ebp - 0x6c], ecx
je 0x467831
mov ecx, dword [ebp - 0x68]
add eax, 0x20
cmp eax, edx
jne 0x467650
mov byte [ebp - 0x5d], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], edx
cmp eax, edi
je 0x4676b3
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4676a4
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x54]
push eax
call fcn.004196d0
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x5c], ecx
cmp dword [ebx + 0x80], eax
je 0x4677fa
mov dword [eax], ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [eax + 8]
mov dword [eax + 4], edx
call fcn.00406430
add dword [ebx + 0x7c], 0x20
jmp 0x467807
lea edx, [eax + 0x20]
cmp edx, dword [ebp - 0x70]
je 0x4677ab
lea ecx, [edx + 0x1c]
sub edx, eax
mov dword [ebp - 0x64], ecx
lea edi, [eax + 8]
mov dword [ebp - 0x78], edx
lea esp, [esp]
mov eax, dword [ecx - 0x1c]
add edx, edi
mov dword [edi - 8], eax
mov eax, dword [ecx - 0x18]
mov dword [edi - 4], eax
mov dword [ebp - 0x68], edx
cmp edi, edx
je 0x467792
cmp dword [edi + 0x14], 0x10
jb 0x46774f
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x46773f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467864
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x64]
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [edx]
mov dword [edi], eax
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edi + 8], eax
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ecx - 4], 0
mov dword [ecx], 0xf
mov byte [edx], 0
add ecx, 0x20
add edi, 0x20
mov dword [ebp - 0x64], ecx
lea eax, [ecx - 0x1c]
cmp eax, dword [ebp - 0x70]
je 0x4677ab
mov edx, dword [ebp - 0x78]
jmp 0x467700
mov edi, dword [ebx + 0x7c]
mov ecx, dword [edi - 4]
cmp ecx, 0x10
jb 0x4677e2
mov eax, dword [edi - 0x18]
inc ecx
cmp ecx, 0x1000
jb 0x4677d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467864
mov eax, edx
push ecx
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [edi - 8], 0
mov dword [edi - 4], 0xf
mov byte [edi - 0x18], 0
add dword [ebx + 0x7c], 0xffffffe0
jmp 0x467831
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea ecx, [ebx + 0x78]
call fcn.0042c2c0
cmp dword [ebx + 0x44], 0
jne 0x467829
push 0
push 0x1f4
push 0x64
push dword [ebx + 4]
mov dword [ebx + 0x40], 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x44], eax
lea ecx, [ebp - 0x5c]
call fcn.00440600
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [ebp - 0x5d]
cmp byte [ebp + 0x18], 0
setne al
dec al
and al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d761c
mov esp, ebp
pop ebp
ret 0x14
call fcn.004cb910
int3