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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x561dd0
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x41d5e5
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
push 0xa
lea ecx, [esp + 0x98]
call fcn.0052c260
mov dword [esp + 0x94], 0x580f08
mov eax, dword [esp + 0xc4]
xor ebp, ebp
and eax, 0xc
mov dword [esp + 0xb8], ebp
mov dword [esp + 0x2c], eax
je 0x41d630
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.0041de20
push esi
lea ecx, [esp + 0x84]
call fcn.00536350
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
mov byte [esp + 0xc0], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push 0x44
mov dword [esp + 0x3c], eax
call edi
mov ecx, dword [esi + 0x1c]
mov ebx, 1
push ebp
push 0x4b
push ebx
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.USER32.dll_SetTimer]
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0052f378
push ebp
mov ecx, esi
mov edi, eax
call fcn.0052f378
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x50], eax
xor eax, eax
mov ebp, edi
push eax
push eax
push 0x110a
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41d6ea
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call fcn.0052a556
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
imul edi, eax
mov dword [esp + 0x30], eax
mov ebp, edi
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
add edi, ecx
add eax, ebp
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], eax
push 0
push 0
lea edx, [esp + 0x60]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x41d7d6
mov ebp, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, ebp
jne 0x41d7d6
mov eax, dword [esp + 0x5c]
cmp eax, 0x200
ja 0x41d9d9
je 0x41d81c
sub eax, 0x100
je 0x41d7c1
sub eax, 0x13
jne 0x41d9ed
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push edx
push ebp
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41d7a2
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x41d70e
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
and ecx, 0xffff
and edx, 0xffff
shl ecx, 0x10
or ecx, edx
mov dword [esp + 0x64], ecx
jmp 0x41d820
cmp word [esp + 0x60], 0x1b
jne 0x41d9ed
push 0
mov ecx, esi
call fcn.0041cfb0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41d9fd
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call fcn.005483e4
jmp 0x41da0e
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x18]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
test edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x41d8c3
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x3c]
cmp eax, edx
jg 0x41d868
mov edx, dword [esp + 0xcc]
mov eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x41d70e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], 1
test eax, eax
jne 0x41d881
push 0
mov ecx, esi
call fcn.0041cfb0
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebp, dword [esp + 0xcc]
lea ecx, [esp + 0x1c]
push ebp
push edi
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call fcn.005483e4
jmp 0x41d8ca
mov ebp, dword [esp + 0xcc]
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea eax, [esp + 0x34]
push ebx
push eax
lea ecx, [esp + 0xa0]
call fcn.005483e4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x41d905
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x115
push ecx
jmp 0x41d918
cmp eax, dword [esp + 0x4c]
jl 0x41d91e
mov edx, dword [esi + 0x1c]
push 0
push 1
push 0x115
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jge 0x41d939
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x114
push eax
jmp 0x41d94c
cmp eax, dword [esp + 0x48]
jl 0x41d952
mov ecx, dword [esi + 0x1c]
push 0
push 1
push 0x114
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov ecx, esi
mov dword [esp + 0x54], edi
call fcn.0052f378
push 1
mov ecx, esi
sub edi, eax
call fcn.0052f378
imul eax, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
sub ebp, eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ebp
lea ecx, [esp + 0x28]
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea ecx, [esp + 0x1c]
call fcn.005488d6
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.0041dab0
push 0
mov eax, 1
push 0
push eax
push ebx
push 0
push eax
lea edx, [esp + 0x34]
push ebx
push edx
lea ecx, [esp + 0xa0]
call fcn.005483e4
mov edi, dword [esp + 0xc8]
jmp 0x41d70e
sub eax, 0x202
je 0x41d7d6
sub eax, 3
je 0x41d7d6
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x41d70e
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x41da0e
push 0
mov ecx, esi
call fcn.0041cfb0
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x78], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esp + 0xc0]
lea edx, [esp + 0x74]
neg ecx
sbb ecx, ecx
push edx
and ecx, 3
mov dword [esp + 0x7c], eax
add ecx, 0xfffffffb
mov dword [esp + 0x80], ecx
mov ecx, esi
call fcn.0041ced0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 0
call fcn.005363c2
lea ecx, [esp + 0x94]
mov dword [esp + 0xb8], 0xffffffff
call fcn.0052c2bf
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret 0x10