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

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
cmp edi, 0x20
je 0x463a28
cmp edi, 0x200
jb 0x463f78
cmp edi, 0x206
ja 0x463f78
mov ebx, dword [esp + 0x6c]
movzx ecx, ax
mov dword [esp + 0x24], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x28], ecx
cmp edi, 0x20
jne 0x463a72
cmp edx, dword [ebx + 4]
jne 0x463f78
cmp ax, 1
jne 0x463f78
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0xbc]
xor edx, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
cmp eax, edx
je 0x463b19
mov esi, dword [eax + 0x20]
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004654e0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ebx + 4]
lea esi, [ebx + 4]
push 0x1038
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x34]
mov edx, dword [ebx + 0xbc]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x38]
mov ebp, eax
sub ebp, dword [edx + 0xc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ebp
mov ebp, ecx
sub ebp, dword [edx + 0x10]
mov dword [esp + 0x30], ebp
cmp edi, 0x200
jne 0x463d49
push ecx
push eax
add edx, 0xc
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x463cbb
mov ecx, dword [ebx + 0xbc]
mov dword [esp + 0x18], ecx
jmp 0x463cbb
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
push ecx
push edx
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
push 0x1039
push edx
mov dword [esp + 0x64], eax
call ebp
cmp edi, 0x200
jne 0x463bb8
cmp dword [ebx + 0x78], 0
je 0x463bb8
mov eax, dword [ebx + 0x7c]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
je 0x463bb8
mov dword [ebx + 0x7c], ecx
cmp eax, 0xffffffff
je 0x463b88
mov edx, dword [esi]
lea ecx, [esp + 0x44]
push ecx
push eax
push 0x100e
push edx
mov dword [esp + 0x54], 0
call ebp
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x7c]
cmp eax, 0xffffffff
je 0x463bb8
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [esi]
push 0x100e
push eax
mov dword [esp + 0x54], 0
call ebp
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
je 0x463caf
cmp dword [esp + 0x64], 0xffffffff
je 0x463caf
push eax
mov edx, esi
call fcn.004687e0
mov edi, eax
test edi, edi
je 0x463cab
mov eax, dword [esp + 0x64]
cmp eax, dword [edi + 4]
jge 0x463cab
test eax, eax
jl 0x463d38
mov ecx, dword [edi]
cmp dword [ecx + eax*4], 0
je 0x463cab
mov ecx, dword [esi]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x64]
push eax
push 0x1038
push ecx
mov dword [esp + 0x54], 2
call ebp
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x24]
sub ebp, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov ecx, edi
call fcn.00465c20
mov edi, dword [eax]
mov edx, dword [edi + 0xc]
add edi, 8
xor ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
test edx, edx
jle 0x463cab
test ecx, ecx
jl 0x463d38
cmp ecx, dword [edi + 4]
jge 0x463d38
mov eax, dword [edi]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx + 4]
test al, 1
je 0x463c9e
shr eax, 2
not eax
test al, 1
je 0x463c9e
mov ecx, dword [esp + 0x38]
push ecx
push ebp
lea edx, [ebx + 0xc]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x463d19
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, edx
mov dword [esp + 0x1c], ecx
jl 0x463c58
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
cmp edi, 0x200
jne 0x463d49
mov ecx, dword [ebx + 0xc0]
mov ebp, dword [esp + 0x18]
cmp ebp, ecx
je 0x463ced
test ecx, ecx
je 0x463cd4
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
call edx
mov dword [ebx + 0xc0], ebp
test ebp, ebp
je 0x463ced
mov eax, dword [ebp]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [esp + 0x74]
mov dword [ecx], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x463e04
cmp edi, 0x200
jne 0x463dc1
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
jmp 0x463dec
sub ebp, dword [ebx + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ebp
sub eax, dword [ebx + 0x10]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], eax
jmp 0x463ca7
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp edi, 0x20
jne 0x463ced
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x463d6b
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
lea edx, [esp + 0x2c]
push edx
call eax
test eax, eax
je 0x463d6b
lea eax, [edi - 0x1f]
jmp 0x463d6d
xor eax, eax
cmp dword [ebx + 0xc8], 0
mov edi, dword [esp + 0x74]
mov dword [edi], eax
je 0x463db2
mov eax, dword [esp + 0x60]
cmp eax, 0xffffffff
je 0x463db2
push eax
mov edx, esi
call fcn.004687e0
test eax, eax
je 0x463d94
mov eax, dword [eax + 0x18]
test al, 2
je 0x463db2
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi], 1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
cmp edi, 0x201
jne 0x463dd0
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
jmp 0x463dec
cmp edi, 0x202
jne 0x463ddf
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
jmp 0x463dec
cmp edi, 0x203
jne 0x463e04
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x2c]
push eax
call edx
mov ecx, dword [esp + 0x74]
mov edx, ecx
mov dword [ecx], eax
cmp dword [edx], 0
jne 0x463f78
mov ebp, dword [sym.imp.USER32.dll_GetParent]
cmp edi, 0x201
mov edi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
jne 0x463e50
mov eax, dword [esi]
push eax
mov dword [esp + 0x48], eax
call edi
mov ecx, dword [esi]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x60]
push ecx
mov dword [esp + 0x50], 0xffffd8ec
mov dword [esp + 0x54], eax
call ebp
lea edx, [esp + 0x44]
push edx
push 0
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x70]
jmp 0x463e60
mov ecx, dword [esp + 0x70]
cmp ecx, 0x204
jne 0x463f0b
mov eax, dword [ebx + 0x80]
mov edx, dword [esp + 0x60]
cmp edx, eax
je 0x463f0f
mov dword [ebx + 0x80], edx
cmp eax, 0xffffffff
je 0x463ea9
mov edx, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push eax
push 0x100e
push edx
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [ebx + 0x80]
cmp ebx, 0xffffffff
je 0x463ee0
mov eax, dword [esi]
lea edx, [esp + 0x34]
push edx
push ebx
push 0x100e
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
push eax
mov dword [esp + 0x48], eax
call edi
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0xffffd8f0
mov dword [esp + 0x50], ecx
push edx
jmp 0x463f5c
mov edx, dword [esp + 0x60]
cmp ecx, 0x203
jne 0x463f2f
cmp edx, 0xffffffff
je 0x463f6e
mov eax, dword [esi]
push eax
mov dword [esp + 0x48], eax
call edi
mov dword [esp + 0x4c], 0xffffd8ef
jmp 0x463f4d
cmp ecx, 0x205
jne 0x463f6e
cmp edx, 0xffffffff
je 0x463f6e
mov eax, dword [esi]
push eax
mov dword [esp + 0x48], eax
call edi
mov dword [esp + 0x4c], 0xffffd8ee
mov edx, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esi]
push eax
mov dword [esp + 0x54], edx
call ebp
lea ecx, [esp + 0x44]
push ecx
push 0
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x74]
mov dword [edx], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x58
ret 0xc