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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55974a
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [sym.imp.USER32.dll_GetCapture]
call esi
test eax, eax
jne 0x469bb6
mov eax, dword [ebp + 0x11c]
mov edi, dword [eax + 0xcc]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x469bb6
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004dfd70
mov dword [esp + 0x18], 0
call esi
push eax
call fcn.004dfd70
cmp eax, edi
jne 0x4699b1
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
jmp 0x469750
push 0
push 0xf
push 0xf
push 0
lea edx, [esp + 0x6c]
push edx
call ebx
test eax, eax
je 0x46979a
push 0xf
push 0xf
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x469bb6
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0xf
push 0xf
push 0
lea edx, [esp + 0x6c]
push edx
call ebx
test eax, eax
jne 0x469763
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x46999d
mov eax, dword [esp + 0x60]
cmp eax, 0x202
je 0x4699a9
cmp eax, 0x200
jne 0x469867
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00415ff0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp + 0xf8]
sub edx, eax
mov eax, dword [ebp + 0xf4]
sub eax, ecx
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0040fcd0
mov eax, dword [esp + 0x2c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x469820
mov eax, dword [esp + 0x30]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x469987
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov esi, dword [ebp]
sub esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push eax
add esi, 0x10
call fcn.00415ff0
mov edx, dword [esi]
mov ecx, ebp
call edx
push 0
push 0
lea ecx, [esp + 0x44]
call fcn.0040fcd0
mov ecx, dword [eax]
mov dword [ebp + 0xf4], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xf8], edx
jmp 0x469987
cmp eax, 0x100
je 0x469885
cmp eax, 0x101
je 0x469885
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x469987
cmp dword [ebp + 0x124], 0
je 0x46993f
cmp eax, 0x100
jne 0x46993f
mov eax, dword [esp + 0x64]
cmp eax, 0xd
je 0x4699a9
lea ecx, [eax - 0x25]
cmp ecx, 3
ja 0x469943
mov edx, dword [ebp + 0xec]
mov ecx, dword [ebp + 0xf0]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
cmp eax, 0x25
jne 0x4698d6
sub dword [esp + 0x24], 0xa
jmp 0x4698f8
cmp eax, 0x27
jne 0x4698e2
add dword [esp + 0x24], 0xa
jmp 0x4698f8
cmp eax, 0x26
jne 0x4698ee
sub dword [esp + 0x28], 0xa
jmp 0x4698f8
cmp eax, 0x28
jne 0x4698f8
add dword [esp + 0x28], 0xa
lea edi, [esp + 0x24]
call fcn.00466150
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push esi
push edi
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
push esi
push edi
mov ecx, ebp
call eax
push 0
push 0
lea ecx, [esp + 0x4c]
call fcn.0040fcd0
mov ecx, dword [eax]
mov edi, dword [esp + 0x1c]
mov dword [ebp + 0xf4], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xf8], edx
mov eax, dword [esp + 0x64]
cmp eax, 0x11
jne 0x469982
mov ecx, dword [ebp + 0xf0]
mov eax, dword [ebp]
mov edx, dword [ebp + 0xec]
mov eax, dword [eax + 0x10]
push ecx
push edx
mov ecx, ebp
call eax
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.0040fcd0
mov ecx, dword [eax]
mov dword [ebp + 0xf4], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x64]
mov dword [ebp + 0xf8], edx
cmp eax, 0x1b
je 0x4699b1
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004dfd70
cmp eax, edi
je 0x469750
jmp 0x4699b1
mov eax, dword [esp + 0x64]
push eax
call fcn.004e7bdd
jmp 0x4699b1
mov dword [esp + 0x18], 1
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
mov ecx, ebp
call eax
cmp dword [esp + 0x18], 0
je 0x469bb6
push 0
push 0
lea ecx, [esp + 0x54]
call fcn.0040fcd0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [ebp + 0xf4], ecx
jne 0x469bb6
cmp dword [ebp + 0xf8], eax
jne 0x469bb6
lea esi, [esp + 0x78]
mov dword [esp + 0x18], 1
call fcn.004247b0
mov dword [esp + 0xa0], 0
mov ecx, dword [ebp + 0x120]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov eax, esi
push eax
push 0
call edx
cmp dword [ebp + 0x144], 0
je 0x469a53
mov esi, dword [ebp + 0x11c]
mov ecx, dword [ebp + 0x12c]
mov edx, dword [ebp + 0x120]
push esi
call fcn.00422f80
mov eax, esi
call fcn.00422a10
mov dword [esp + 0x18], 7
jmp 0x469b5d
cmp dword [ebp + 0x12c], 0
je 0x469ac3
mov eax, dword [ebp + 0x11c]
mov ecx, dword [eax + 0xcc]
mov esi, dword [ebp + 0x188]
call fcn.004e32a9
test eax, 0x400000
je 0x469a8c
test esi, esi
jne 0x469a85
mov esi, 1
jmp 0x469a8c
cmp esi, 1
jne 0x469a8c
xor esi, esi
mov eax, dword [ebp + 0x12c]
mov ecx, dword [ebp + 0x120]
mov ebx, dword [ebp + 0x11c]
push eax
push esi
call fcn.00422e60
mov ecx, dword [ebp + 0x12c]
mov eax, dword [ebp + 0x11c]
call fcn.00424020
mov dword [esp + 0x18], 5
jmp 0x469b5d
cmp dword [ebp + 0x148], 0
je 0x469ba1
lea esi, [ebp + 0xfc]
mov ecx, esi
call fcn.004139f0
mov ebx, eax
call fcn.00452410
mov edi, eax
mov ecx, ebx
lea eax, [esp + 0x4c]
call fcn.00452750
mov ecx, dword [ebp + 0x100]
mov eax, dword [esp + 0x50]
cmp ecx, eax
jge 0x469b0b
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp + 0x120]
cmp dword [eax + 0x18], 2
jne 0x469b37
push 1
mov ecx, esi
mov edi, eax
call fcn.004139f0
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
push eax
mov eax, esi
call fcn.004247f0
jmp 0x469b5d
mov edx, dword [esi]
mov ebx, dword [ebp + 0x11c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xc]
mov dword [ecx + 0xc], edx
call fcn.00422b30
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x469ba1
mov edi, dword [esp + 0x18]
lea esp, [esp]
mov eax, esi
mov eax, dword [eax + 8]
mov esi, dword [esi]
test eax, eax
je 0x469b80
add eax, 0xffffffe0
jmp 0x469b82
xor eax, eax
mov ecx, dword [ebp + 0x188]
mov edx, dword [ebp + 0x12c]
push ecx
mov ecx, dword [ebp + 0x11c]
push edx
mov edx, edi
call fcn.00422ae0
test esi, esi
jne 0x469b70
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xa4], 0xffffffff
call fcn.00424a70
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret